Daniel Cousens
|
41378f9648
|
txbuilder: apply input.value before prepareInput
|
7 years ago |
Daniel Cousens
|
f4a83f8aed
|
address/txbuilder: require templates to prevent undefined exports
|
7 years ago |
Daniel Cousens
|
eb6eac67b0
|
txbuilder: fix canSign returning true for missing witness value
|
7 years ago |
Thomas Kerin
|
da49e389c4
|
multisig.input.encodestack - replace OP_0 (permitted by partialSignature) with EMPTY_BUFFER
|
7 years ago |
Thomas Kerin
|
105a82762c
|
buildstack - don't return op_0
|
7 years ago |
junderw
|
6e5742d86d
|
Fix txb.__overMaximumFees for segwit
|
8 years ago |
Daniel Cousens
|
9503e64bde
|
TransactionBuilder: collect witnessValue as input.value, and match it
|
7 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
|
8 years ago |
Daniel Cousens
|
61be897429
|
TransactionBuilder: move ABSURD_FEERATE to static constant
|
8 years ago |
Daniel Cousens
|
62389ed247
|
TransactionBuilder: change to ABSURD_FEERATE, not ABSURD_FEE
|
8 years ago |
Daniel Cousens
|
e835f1fe95
|
TransactionBuilder: add fee safety
|
8 years ago |
Thomas Kerin
|
b5e46c2931
|
Replace script type strings with constants
|
8 years ago |
Daniel Cousens
|
d9fa39a2cc
|
scripts: extract all scripts to encode/decode/check style
|
8 years ago |
Thomas Kerin
|
27b48e8aa2
|
Add methods to decode information from output scripts
|
8 years ago |
Daniel Cousens
|
3de754a9a2
|
TransactionBuilder: remove hashTypes inconsistency issues, resolves #642
|
8 years ago |
Daniel Cousens
|
9dcf4d4b8b
|
TransactionBuilder: add note why fixMultisigOrder is separate
|
8 years ago |
Daniel Cousens
|
7059b177eb
|
TransactionBuilder: re-order in order of usage
|
8 years ago |
Daniel Cousens
|
6056e7913e
|
TransactionBuilder: fixMultisigOrder only works if a redeemScript exists
|
8 years ago |
Daniel Cousens
|
1ff64d207e
|
TransactionBuilder: flatten prepareInput P2SH detection
|
8 years ago |
Daniel Cousens
|
a58c959099
|
TransactionBuilder: localize fixMultisigOrder assumptions
|
8 years ago |
Daniel Cousens
|
0e2480523a
|
TransactionBuilder: expandInput, consistent variable names
|
8 years ago |
Daniel Cousens
|
f3cc71a75f
|
TransactionBuilder: simplify buildInput logic
|
8 years ago |
Daniel Cousens
|
090b8177d1
|
TransactionBuilder: flatten inconsistency checks
|
8 years ago |
Daniel Cousens
|
f7b2fdfe60
|
TransactionBuilder: avoid input mutation until after exception possibility
|
8 years ago |