Commit graph

2355 commits

Author SHA1 Message Date
junderw
44a98c0fa6
Add regtest network 2018-11-15 15:32:03 +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
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
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
Dabura667
6afd4b04d3
Merge pull request #1183 from bitcoinjs/delays
integration tests: 1 timeout to rule them
2018-08-21 23:08:00 +09:00
Daniel Cousens
ad6fa57a6d 1 timeout to rule them all 2018-08-21 18:11:35 +10:00
Daniel Cousens
77bb5f9bf8 test/integration/addresses: add missing extra timeout 2018-08-21 18:09:20 +10:00
Daniel Cousens
fbaad04f24
Merge pull request #1165 from fybwid/patch-1
Update README.md
2018-08-08 13:30:17 +10:00
Yosef Benny Widyokarsono
64b9646870
Update README.md
Fix example anchor at Documentation
2018-08-08 10:53:20 +08:00
Jonathan Underwood
e672875394
Merge pull request #1160 from bitcoinjs/notealt
CHANGELOG: note alternative to templates
2018-08-07 10:54:10 +09:00
Daniel Cousens
e639914d22
CHANGELOG: note alternative to templates 2018-08-03 10:34:49 +10:00
Jonathan Underwood
836f2b4263
Merge pull request #1146 from bitcoinjs/ectests
tests/ECPair: test fromPublic/fromPrivate in isolation
2018-08-01 11:47:05 +09:00
Daniel Cousens
cd9e6d1d5e tests/p2wsh: add secondary stacksEqual test 2018-07-27 21:00:49 +10:00