Daniel Cousens
|
00bbab1a93
|
txb: fix redeemScript/witnessScript is undefined when throwing
unsupported
|
7 years ago |
Daniel Cousens
|
7be698b5a1
|
txb: add fixes for P2SH(P2WSH(...)) and P2WSH(...) in BIP143 compliance
|
7 years ago |
Daniel Cousens
|
39a681d2d3
|
tests: add failing test for #981
|
7 years ago |
Daniel Cousens
|
098188dd3a
|
tests: add independent error message for missing witnessScript
|
7 years ago |
Melvillian
|
f4caa54d9e
|
increase max feerate sanity check from 1000 to 2500
|
8 years ago |
Daniel Cousens
|
a868d27407
|
TxBuilder: add support for RSBuffer type keyPairs and .publicKey
|
8 years ago |
Daniel Cousens
|
e0b227e4ef
|
s/checkP2shInput/checkP2SHInput
|
8 years ago |
Daniel Cousens
|
41378f9648
|
txbuilder: apply input.value before prepareInput
|
8 years ago |
Daniel Cousens
|
f4a83f8aed
|
address/txbuilder: require templates to prevent undefined exports
|
8 years ago |
Daniel Cousens
|
eb6eac67b0
|
txbuilder: fix canSign returning true for missing witness value
|
8 years ago |
Thomas Kerin
|
da49e389c4
|
multisig.input.encodestack - replace OP_0 (permitted by partialSignature) with EMPTY_BUFFER
|
8 years ago |
Thomas Kerin
|
105a82762c
|
buildstack - don't return op_0
|
8 years ago |
junderw
|
6e5742d86d
|
Fix txb.__overMaximumFees for segwit
|
8 years ago |
Daniel Cousens
|
9503e64bde
|
TransactionBuilder: collect witnessValue as input.value, and match it
|
8 years ago |
junderw
|
1495384862
|
Add witness is true to signing
|
8 years ago |
Daniel Cousens
|
3ba17a1479
|
TxBuilder: restrict uncompressed keyPairs for P2WPK and P2WSH
|
8 years ago |
Daniel Cousens
|
5057d8d1ba
|
tests/txb: add P2WSH(multisig), incomplete fixture
|
8 years ago |
Daniel Cousens
|
0157f18510
|
txbuilder: refactor branches for readability
|
8 years ago |
Thomas Kerin
|
798ec3512c
|
set p2sh=true only if redeemScriptType is set
|
8 years ago |
Thomas Kerin
|
0b1c3bfbd9
|
Should be able to deal with incomplete P2SH/P2WSH inputs when allowIncomplete is set
|
8 years ago |
Alex Melville
|
eae2c57e73
|
remove errant argument to buildInput in __build
|
8 years ago |
Daniel Cousens
|
1d6b978aff
|
txb: do not classify blank input scripts as nonstandard
|
8 years ago |
Daniel Cousens
|
fe0ad81472
|
package: use safe-buffer
|
8 years ago |
Daniel Cousens
|
aeb0312d63
|
use safe-buffers throughout impl
|
8 years ago |
Daniel Cousens
|
cdb518686f
|
txbuilder: remove unused y var
|
8 years ago |
Thomas Kerin
|
4b4f32ffac
|
buildStack: allow empty stack if allowIncomplete is set
|
8 years ago |
Thomas Kerin
|
793939dc8c
|
scriptHash return true for chunks.length=1 so long as its witness
|
8 years ago |
Thomas Kerin
|
c2dfc03869
|
Add test vectors, and transaction_builder input stores signScript
|
8 years ago |
Thomas Kerin
|
c5541c8f96
|
transaction_builder: expandInput - check p2sh early, can avoid redundant assignments
|
8 years ago |
Thomas Kerin
|
a32cc5b3be
|
remove debugging code
|
8 years ago |
Thomas Kerin
|
52745d1d0c
|
fromTransaction.build tests pass - look for segwit transaction vectors
|
8 years ago |
Thomas Kerin
|
f8a94f3496
|
messy commits, clean later, just one test left
|
8 years ago |
Thomas Kerin
|
a213435135
|
Commit work to date
|
8 years ago |
Thomas Kerin
|
b24dc44770
|
P2WSH working, now for tests
|
8 years ago |
Thomas Kerin
|
3ad31571b6
|
P2WSH initial commit, tests pass with new logic
|
8 years ago |
Thomas Kerin
|
b6ae10b2f1
|
buildStack, and make tests pass
|
8 years ago |
Daniel Cousens
|
a793166eb8
|
wip
|
8 years ago |
Daniel Cousens
|
14f9218389
|
package: bump bs58check, drop node 0.12
|
8 years ago |
Daniel Cousens
|
33c72e49c4
|
package/*: use bitcoin-ops, pushdata-bitcoin packages
|
8 years ago |
Daniel Cousens
|
5824a84fd5
|
transaction_builder: keep a mapping from prevTxOut to vin
|
8 years ago |
Daniel Cousens
|
aeeee4f3ec
|
TransactionBuilder: move ABSURD_FEE to a constructor parameter
|
9 years ago |
Daniel Cousens
|
61be897429
|
TransactionBuilder: move ABSURD_FEERATE to static constant
|
9 years ago |
Daniel Cousens
|
62389ed247
|
TransactionBuilder: change to ABSURD_FEERATE, not ABSURD_FEE
|
9 years ago |
Daniel Cousens
|
e835f1fe95
|
TransactionBuilder: add fee safety
|
9 years ago |
Thomas Kerin
|
b5e46c2931
|
Replace script type strings with constants
|
9 years ago |
Daniel Cousens
|
d9fa39a2cc
|
scripts: extract all scripts to encode/decode/check style
|
9 years ago |
Thomas Kerin
|
27b48e8aa2
|
Add methods to decode information from output scripts
|
9 years ago |
Daniel Cousens
|
3de754a9a2
|
TransactionBuilder: remove hashTypes inconsistency issues, resolves #642
|
9 years ago |
Daniel Cousens
|
9dcf4d4b8b
|
TransactionBuilder: add note why fixMultisigOrder is separate
|
9 years ago |
Daniel Cousens
|
7059b177eb
|
TransactionBuilder: re-order in order of usage
|
9 years ago |