Daniel Cousens
|
07fcbe5890
|
rm unused imports
|
6 years ago |
Daniel Cousens
|
d06c149ec3
|
avoid special code path, add explicit fixture overwrite
|
6 years ago |
junderw
|
f84a5d18a3
|
Fix test cases to make sure that validate: true is being set to default
|
6 years ago |
Daniel Cousens
|
89eb6fac03
|
break test/transaction_builder contruct stages, add sequential example
|
6 years ago |
Daniel Cousens
|
eb01d35aa4
|
tests: rm last use of templates for txbuilder
|
7 years ago |
Daniel Cousens
|
400be7114b
|
use payments in TxBuilder
|
7 years ago |
Daniel Cousens
|
a5db0a4e44
|
sed -i 's/ var / const /', with const->let fixes
|
7 years ago |
Daniel Cousens
|
93b1ae4303
|
sed -i 's/^let /const /'
|
7 years ago |
Daniel Cousens
|
58f50e9f1c
|
tests: fix invalid pubKey used in testing
|
7 years ago |
Daniel Cousens
|
2fe220517f
|
transition ECPair to properties over getters
|
7 years ago |
Daniel Cousens
|
fba0699dd3
|
rm ecdsa, add new ECPair using secp256k1
|
7 years ago |
Daniel Cousens
|
c2a5d9dc1a
|
rm getAddress
|
7 years ago |
Daniel Cousens
|
a463c41fb0
|
tests/txb: fix bad BIP66 encoding (R = 0)
|
7 years ago |
Daniel Cousens
|
647f06e629
|
amend test fixtures and add default test case
|
7 years ago |
Daniel Cousens
|
5af87c0c49
|
privatise internals for TxBuilder
|
7 years ago |
Daniel Cousens
|
39a681d2d3
|
tests: add failing test for #981
|
7 years ago |
Daniel Cousens
|
5e500910df
|
tests: use P2* acronyms, not full-length text
|
7 years ago |
Daniel Cousens
|
34df503421
|
tests: fix should warn fee fail
|
7 years ago |
Daniel Cousens
|
a868d27407
|
TxBuilder: add support for RSBuffer type keyPairs and .publicKey
|
7 years ago |
Daniel Cousens
|
c729d322c2
|
tests: add failing staged transaction building example #901
|
7 years ago |
Daniel Cousens
|
f4a83f8aed
|
address/txbuilder: require templates to prevent undefined exports
|
7 years ago |
Arik Sosman
|
5508e26469
|
respond to Jonathan Underwood's comments
(cherry picked from commit 8126ca2)
|
7 years ago |
Arik Sosman
|
8f9b3443d2
|
add fixture to verify input type classification
(cherry picked from commit 8f9d8b7)
|
7 years ago |
junderw
|
286dfb3750
|
Add test case
|
7 years ago |
Daniel Cousens
|
9503e64bde
|
TransactionBuilder: collect witnessValue as input.value, and match it
|
7 years ago |
junderw
|
003df6694b
|
Add test for witness = true edge case during multisigning
|
7 years ago |
Daniel Cousens
|
5057d8d1ba
|
tests/txb: add P2WSH(multisig), incomplete fixture
|
7 years ago |
Thomas Kerin
|
912f5d4d03
|
remove redundant baddress.toOutputScript call from tests
|
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
|
f1ab151c31
|
tests: use safe-buffers throughout
|
8 years ago |
Daniel Cousens
|
4d6928a68b
|
tests: fix shadowed/unused variable warnings
|
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
|
fff9319fa4
|
scriptHash.input.check - should tolerate 1 field in scriptSig if it's P2WSH or P2WPKH
|
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 |
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
|
913f21c34d
|
tests: s/sign/dontSign, less mistakes
|
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 |
Daniel Cousens
|
d9fa39a2cc
|
scripts: extract all scripts to encode/decode/check style
|
8 years ago |
Daniel Cousens
|
f07ccabe6e
|
tests: flatten construct function
|
8 years ago |
Daniel Cousens
|
17377381c4
|
TransactionBuilder: if prevOutScript is defined, but not signable, try 1 last time
|
8 years ago |
Daniel Cousens
|
76c7c77311
|
tests: add failing test for #633
|
8 years ago |
Daniel Cousens
|
418c315c78
|
tests: clarify multisig edge case for easier debugging
|
8 years ago |
Daniel Cousens
|
d5eec5df70
|
tests: fix invalid test description
|
8 years ago |