Daniel Cousens
|
400be7114b
|
use payments in TxBuilder
|
7 years ago |
Daniel Cousens
|
1fba0c62a5
|
tests: add missing context information to Sighash V1 description
|
7 years ago |
Daniel Cousens
|
a5db0a4e44
|
sed -i 's/ var / const /', with const->let fixes
|
7 years ago |
Daniel Cousens
|
91b8823aa8
|
sed -i 's/^var /const /'
|
7 years ago |
Daniel Cousens
|
fba0699dd3
|
rm ecdsa, add new ECPair using secp256k1
|
7 years ago |
Daniel Cousens
|
581f57ff6f
|
script/tx: decompile returns maybe chunks
|
7 years ago |
Daniel Cousens
|
6c4977983d
|
ECPair/script_signature: switch to 64-byte RS buffers only
|
7 years ago |
Daniel Cousens
|
c58ada362e
|
rm ECSignature, add script.signature instead
|
9 years ago |
Wesley Smith
|
c3c98709e2
|
fixes adding version field to transaction instance
|
7 years ago |
Daniel Cousens
|
5af87c0c49
|
privatise internals for TxBuilder
|
7 years ago |
Daniel Cousens
|
3bfdacafa2
|
change TransactionBuilder to default to version 2
|
7 years ago |
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 |
Dabura667
|
64d9f72f77
|
Update comment
fixes #979
|
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 |