Commit graph

2563 commits

Author SHA1 Message Date
Apichan Chaiyutthasat
b93d9d99cc
Update addresses.js 2018-10-06 13:13:40 +07:00
junderw
a88aa33348
Revert function hoisting removal 2018-09-26 16:30:33 +09:00
Jonathan Underwood
582727f6de
Merge pull request #1232 from bitcoinjs/payments
P2SH/P2WSH payments .network should use .redeem.network if undefined
2018-09-26 15:09:39 +09:00
Daniel Cousens
a976fba27b add network derivation from redeem.network 2018-09-26 16:03:45 +10:00
Daniel Cousens
1b4dc48d75 add failing tests for redeem.network derivation 2018-09-26 16:03:42 +10:00
Daniel Cousens
6927f74b7a add inverted Network mismatch tests 2018-09-26 16:03:42 +10:00
Daniel Cousens
df2a66c852 tests/payments: fix redeem fixture mutation 2018-09-26 16:03:42 +10:00
junderw
17c89fdc5e
Move Transaction to ES6 2018-09-26 14:54:53 +09:00
junderw
b4bab427f8
Merge pull request #1201 from bitcoinjs/p2msmore
tests: add extra P2MS testing fixtures
2018-09-26 14:13:16 +09:00
junderw
3c8e8fb4ae
Merge branch 'stricttxb' into 'master' 2018-09-26 14:10:07 +09:00
Daniel Cousens
c8ae86b9ce refactor(txb): maxSignatures is optional 2018-09-26 15:02:18 +10:00
Daniel Cousens
7c3d1f292d txb: add inline explanatory comment 2018-09-26 14:57:03 +10:00
Daniel Cousens
1119a449a5 txbuilder: add missing signature P2MS fixture 2018-09-26 14:54:03 +10:00
Daniel Cousens
d232545ac8 rename MULTISIG to P2MS 2018-09-26 14:54:03 +10:00
Daniel Cousens
a58c5b4f5b txb/tests: add solo SIGHASH_ALL fixes 2018-09-26 14:52:05 +10:00
Daniel Cousens
2223e6170e txb/tests: test solo SIGHASH_ALL, support existing SIGHASH_NONE 2018-09-26 14:39:58 +10:00
Daniel Cousens
ed1c1a5661 txb: enforce outputs exist when signing 2018-09-26 14:36:10 +10:00
Daniel Cousens
acdfb34545 rename Sighash: to SIGHASH 2018-09-26 14:36:09 +10:00
Daniel Cousens
43f52c452b tests: enforce something threw for invalid cases 2018-09-26 14:36:09 +10:00
Daniel Cousens
4616d24016 tests/txb: remove getAddress 2018-09-26 14:36:09 +10:00
Daniel Cousens
a6f2cc2924
Merge pull request #1229 from bitcoinjs/brows
explicitly import mocha variables
2018-09-26 13:25:07 +10:00
Dabura667
6e574136b3
Merge pull request #1224 from bitcoinjs/dcousens-patch-1
bump dhttp
2018-09-24 16:57:17 +09:00
Daniel Cousens
da88e1c5af
bump dhttp 2018-09-24 15:24:23 +10:00
Dabura667
625f5e01ce
Merge pull request #1219 from bitcoinjs/deadfile
rm empty file
2018-09-17 10:03:30 +09:00
Daniel Cousens
f89ef93d1e rm empty file 2018-09-17 10:38:18 +10:00
JP Richardson
6378a06db0
Merge pull request #1217 from bitcoinjs/402
v4.0.2 + CHANGELOG
2018-09-16 18:28:37 -05:00
Daniel Cousens
a309ee53e2
CHANGELOG: add rogue packagejson removal 2018-09-16 16:54:51 +10:00
Daniel Cousens
c8b7906058 4.0.2 2018-09-16 16:52:46 +10:00
Daniel Cousens
35dbcfaa0c CHANGELOG: note TxBuilder fixes 2018-09-16 16:52:36 +10:00
Daniel Cousens
9fe542ac10
Merge pull request #1216 from bitcoinjs/jprichardson-patch-1
remove superfluous package.json file in payments/
2018-09-16 16:47:28 +10:00
JP Richardson
09b2475117
remove superfluous package.json file in payments/ 2018-09-16 01:17:04 -05:00
Jonathan Underwood
567fa93ff0
Merge pull request #1213 from bitcoinjs/youssefthx
CHANGELOG: amend script.decompile return type
2018-09-15 21:19:49 +09:00
Jonathan Underwood
d082c9b41c
Merge pull request #1214 from bitcoinjs/hoodwink
use Hoodwink 2
2018-09-15 21:17:26 +09:00
Daniel Cousens
1c64094c29 use hoodwink@2.0.0 2018-09-13 17:34:50 +10:00
Daniel Cousens
07fcbe5890 rm unused imports 2018-09-13 17:34:42 +10:00
Daniel Cousens
b906fd6be6
CHANGELOG: amend script.decompile return type 2018-09-13 08:50:14 +10:00
junderw
e6ac7c16ce
Use fromASM instead. Much cleaner. 2018-09-03 16:54:56 +09:00
junderw
a103e48444
Fix indents + references + lawyer changed to mediator 2018-09-03 15:53:09 +09:00
Daniel Cousens
3588d1100f
Merge pull request #1195 from bitcoinjs/fixP2MS
Fix default assignment of validate key for payments
2018-09-03 14:24:56 +10:00
Daniel Cousens
d06c149ec3 avoid special code path, add explicit fixture overwrite 2018-09-03 14:23:29 +10:00
junderw
f84a5d18a3
Fix test cases to make sure that validate: true is being set to default 2018-09-03 12:05:06 +09:00
Jonathan Underwood
8bafb4273f
Merge pull request #1188 from bitcoinjs/breakup
break test/transaction_builder contruct stages, add sequential example
2018-09-03 11:41:49 +09:00
junderw
24d541d0ed
Fix default assignment of validate key for payments
Fixes problems with p2ms experienced in issue below.

Related: #1194
2018-08-28 14:21:18 +09:00
Jonathan Underwood
20551fd380
Merge pull request #1153 from bitcoinjs/paybetter
Increased coverage for payments
2018-08-23 13:47:07 +09:00
Daniel Cousens
89eb6fac03 break test/transaction_builder contruct stages, add sequential example 2018-08-23 12:43:31 +10:00
junderw
d7cbbb553b
Fix indent 2018-08-22 14:41:41 +09:00
junderw
9a9ab3b883
Add examples to readme 2018-08-22 14:33:58 +09:00
junderw
86842c821e
Make test faster (manually tested failure for 1 and 4 vs 2 and 5) 2018-08-22 14:18:21 +09:00
junderw
ce60e72cd4
Add complex CSV case for integration tests 2018-08-22 12:23:56 +09:00
Dabura667
6afd4b04d3
Merge pull request #1183 from bitcoinjs/delays
integration tests: 1 timeout to rule them
2018-08-21 23:08:00 +09:00