Commit graph

1161 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
junderw
b4bab427f8
Merge pull request #1201 from bitcoinjs/p2msmore
tests: add extra P2MS testing fixtures
2018-09-26 14:13:16 +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
f89ef93d1e rm empty file 2018-09-17 10:38:18 +10:00
JP Richardson
09b2475117
remove superfluous package.json file in payments/ 2018-09-16 01:17:04 -05: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
55207e5742 tests/payments/p2pk*: add signature mismatch tests 2018-07-27 20:48:32 +10:00
Daniel Cousens
3ed77c4820 payments: cleanup 2018-07-27 20:48:28 +10:00
Daniel Cousens
54ec449a75 payments/p2sh: try not to rely on o. in validation 2018-07-27 20:31:30 +10:00
Daniel Cousens
cf9a35f59b payments: more const 2018-07-27 20:31:30 +10:00
Daniel Cousens
85b1b92b6d tests/ECPair: test fromPublic/fromPrivate in isolation 2018-07-26 18:05:39 +10:00
Daniel Cousens
079d83d887 txbuilder: note consensus issue 2018-07-23 10:41:01 +10:00
Daniel Cousens
de0259a820 tests/integration/payments: enable failing P2SH(P2WSH(P2WPKH)) tests 2018-07-20 17:30:29 +10:00
Daniel Cousens
74756ed597 TransactionBuilder: fix P2WPKH not using a P2PKH signScript for P2WPKH 2018-07-17 22:33:32 +10:00
Daniel Cousens
14d9636b6e testing/p2wsh: add missing test case coverage 2018-07-17 15:35:08 +10:00
Daniel Cousens
5481bde49c templates: rm unused nulldata code 2018-07-14 20:49:01 +10:00
Daniel Cousens
de90fea0ac payments: rename p2data to embed 2018-07-14 20:49:01 +10:00
Daniel Cousens
44c13665c8 payments: add p2data 2018-07-14 20:49:01 +10:00
Daniel Cousens
7104bb412e tests/payments: add missing tests 2018-07-14 20:45:30 +10:00
Daniel Cousens
0d9619aeed payments/p2wpkh: fix exception messages 2018-07-14 20:14:15 +10:00
Daniel Cousens
35e0956ed9 payments/p2ms: add const to p2ms 2018-07-14 20:14:13 +10:00
Daniel Cousens
a9090dc0cc templates: rm dead code 2018-07-03 23:00:00 +10:00
Daniel Cousens
0d0f1d0847 payments: rm dependence on address export 2018-07-03 22:07:08 +10:00
Daniel Cousens
6cacea6f31 rm templates export, rename to classify 2018-07-03 22:07:08 +10:00
Daniel Cousens
400be7114b use payments in TxBuilder 2018-06-27 17:39:55 +10:00
Daniel Cousens
1fba0c62a5 tests: add missing context information to Sighash V1 description 2018-06-27 17:38:27 +10:00
Daniel Cousens
47e5a0e179 witnessScriptHash: fix null decompile leading to errors -- TODO: add test 2018-06-27 17:38:27 +10:00
Daniel Cousens
38efc35fdf payments: dont always require output data 2018-06-27 13:40:20 +10:00
Daniel Cousens
6c957533d6 index: expose payments 2018-06-26 21:24:08 +10:00
Daniel Cousens
f9a739e1db add payments p2ms, p2pk, p2pkh, p2sh, p2wpkh, p2wsh 2018-06-26 21:24:08 +10:00
Daniel Cousens
a5db0a4e44 sed -i 's/ var / const /', with const->let fixes 2018-06-25 18:26:23 +10:00
Daniel Cousens
91b8823aa8 sed -i 's/^var /const /' 2018-06-25 16:25:46 +10:00
Daniel Cousens
93b1ae4303 sed -i 's/^let /const /' 2018-06-25 16:24:37 +10:00
Daniel Cousens
e50679d2c3
Merge pull request #1094 from bitcoinjs/canon
script isCanonical* refactor/renames
2018-06-21 12:45:21 +10:00
Daniel Cousens
7592a6bcc2 script: rename isCanonicalSignature to isCanonicalScriptSignature 2018-06-05 17:26:52 +10:00
Daniel Cousens
d934e543d8 rm Litecoin 2018-06-05 17:22:39 +10:00
Daniel Cousens
726e4c53b6 script: use ecc.isPoint for canonical public keys 2018-06-05 17:15:53 +10:00
Daniel Cousens
2fe220517f transition ECPair to properties over getters 2018-05-30 15:52:03 +10:00
Daniel Cousens
fba0699dd3 rm ecdsa, add new ECPair using secp256k1 2018-05-30 15:52:03 +10:00
Daniel Cousens
c2a5d9dc1a rm getAddress 2018-05-30 11:09:07 +10:00
Daniel Cousens
4aaf295cd5 fix standard 11 issues 2018-05-29 11:37:03 +10:00