Daniel Cousens
|
a5db0a4e44
|
sed -i 's/ var / const /', with const->let fixes
|
2018-06-25 18:26:23 +10:00 |
|
Daniel Cousens
|
93b1ae4303
|
sed -i 's/^let /const /'
|
2018-06-25 16:24:37 +10:00 |
|
Daniel Cousens
|
58f50e9f1c
|
tests: fix invalid pubKey used in testing
|
2018-06-05 18:27:33 +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
|
a463c41fb0
|
tests/txb: fix bad BIP66 encoding (R = 0)
|
2018-05-22 16:59:05 +10:00 |
|
Daniel Cousens
|
024c541d7e
|
Merge branch 'master' into __tx
|
2018-04-30 10:43:44 +10:00 |
|
Daniel Cousens
|
647f06e629
|
amend test fixtures and add default test case
|
2018-04-16 11:33:04 +10:00 |
|
Daniel Cousens
|
5af87c0c49
|
privatise internals for TxBuilder
|
2018-04-14 01:31:02 +10:00 |
|
Daniel Cousens
|
39a681d2d3
|
tests: add failing test for #981
|
2018-01-17 14:48:56 +11:00 |
|
Daniel Cousens
|
5e500910df
|
tests: use P2* acronyms, not full-length text
|
2018-01-17 14:20:04 +11:00 |
|
Daniel Cousens
|
34df503421
|
tests: fix should warn fee fail
|
2017-12-01 13:06:35 +11:00 |
|
Daniel Cousens
|
a868d27407
|
TxBuilder: add support for RSBuffer type keyPairs and .publicKey
|
2017-10-19 13:41:57 +11:00 |
|
Daniel Cousens
|
c729d322c2
|
tests: add failing staged transaction building example #901
|
2017-09-27 10:00:36 +10:00 |
|
Daniel Cousens
|
f4a83f8aed
|
address/txbuilder: require templates to prevent undefined exports
|
2017-09-27 07:08:19 +10:00 |
|
Arik Sosman
|
5508e26469
|
respond to Jonathan Underwood's comments
(cherry picked from commit 8126ca2)
|
2017-09-21 20:23:19 -07:00 |
|
Arik Sosman
|
8f9b3443d2
|
add fixture to verify input type classification
(cherry picked from commit 8f9d8b7)
|
2017-09-21 20:23:13 -07:00 |
|
junderw
|
286dfb3750
|
Add test case
|
2017-09-15 12:31:35 +10:00 |
|
Daniel Cousens
|
9503e64bde
|
TransactionBuilder: collect witnessValue as input.value, and match it
|
2017-09-06 20:59:10 +10:00 |
|
junderw
|
003df6694b
|
Add test for witness = true edge case during multisigning
|
2017-09-06 20:46:20 +10:00 |
|
Daniel Cousens
|
5057d8d1ba
|
tests/txb: add P2WSH(multisig), incomplete fixture
|
2017-08-23 16:07:28 +10:00 |
|
Thomas Kerin
|
912f5d4d03
|
remove redundant baddress.toOutputScript call from tests
|
2017-08-09 15:11:05 +10:00 |
|
Thomas Kerin
|
0b1c3bfbd9
|
Should be able to deal with incomplete P2SH/P2WSH inputs when allowIncomplete is set
|
2017-08-09 15:11:05 +10:00 |
|
Alex Melville
|
eae2c57e73
|
remove errant argument to buildInput in __build
|
2017-07-21 12:12:29 +10:00 |
|
Daniel Cousens
|
1d6b978aff
|
txb: do not classify blank input scripts as nonstandard
|
2017-07-14 14:16:52 +10:00 |
|
Daniel Cousens
|
f1ab151c31
|
tests: use safe-buffers throughout
|
2017-05-23 18:39:53 +10:00 |
|
Daniel Cousens
|
4d6928a68b
|
tests: fix shadowed/unused variable warnings
|
2017-04-18 14:34:54 +10:00 |
|
Thomas Kerin
|
793939dc8c
|
scriptHash return true for chunks.length=1 so long as its witness
|
2017-02-07 12:40:49 +11:00 |
|
Thomas Kerin
|
c2dfc03869
|
Add test vectors, and transaction_builder input stores signScript
|
2017-02-07 12:40:49 +11:00 |
|
Thomas Kerin
|
fff9319fa4
|
scriptHash.input.check - should tolerate 1 field in scriptSig if it's P2WSH or P2WPKH
|
2017-02-07 12:40:49 +11:00 |
|
Thomas Kerin
|
f8a94f3496
|
messy commits, clean later, just one test left
|
2017-02-07 12:40:49 +11:00 |
|
Thomas Kerin
|
a213435135
|
Commit work to date
|
2017-02-07 12:40:49 +11:00 |
|
Daniel Cousens
|
a793166eb8
|
wip
|
2017-02-07 12:40:49 +11:00 |
|
Daniel Cousens
|
14f9218389
|
package: bump bs58check, drop node 0.12
|
2016-12-22 08:21:18 +11:00 |
|
Daniel Cousens
|
33c72e49c4
|
package/*: use bitcoin-ops, pushdata-bitcoin packages
|
2016-12-18 10:38:43 +00:00 |
|
Daniel Cousens
|
913f21c34d
|
tests: s/sign/dontSign, less mistakes
|
2016-12-15 11:45:59 +11:00 |
|
Daniel Cousens
|
62389ed247
|
TransactionBuilder: change to ABSURD_FEERATE, not ABSURD_FEE
|
2016-11-12 12:53:53 +01:00 |
|
Daniel Cousens
|
e835f1fe95
|
TransactionBuilder: add fee safety
|
2016-11-12 12:53:53 +01:00 |
|
Daniel Cousens
|
d9fa39a2cc
|
scripts: extract all scripts to encode/decode/check style
|
2016-11-04 07:23:02 +11:00 |
|
Daniel Cousens
|
f07ccabe6e
|
tests: flatten construct function
|
2016-10-13 00:55:19 +11:00 |
|
Daniel Cousens
|
17377381c4
|
TransactionBuilder: if prevOutScript is defined, but not signable, try 1 last time
|
2016-10-09 22:04:32 +11:00 |
|
Daniel Cousens
|
76c7c77311
|
tests: add failing test for #633
|
2016-09-28 01:23:37 +10:00 |
|
Daniel Cousens
|
418c315c78
|
tests: clarify multisig edge case for easier debugging
|
2016-09-28 00:46:14 +10:00 |
|
Daniel Cousens
|
d5eec5df70
|
tests: fix invalid test description
|
2016-09-28 00:20:49 +10:00 |
|
Daniel Cousens
|
6faeae397f
|
TxBuilder: add setVersion
|
2016-06-22 14:57:33 +10:00 |
|
Daniel Cousens
|
8a37c1193a
|
tests: add signature invalidation test for setLockTime
|
2016-01-28 00:55:45 +11:00 |
|
Daniel Cousens
|
6c0745adce
|
TxBuilder: add setLockTime
|
2016-01-28 00:55:44 +11:00 |
|
Ruben de Vries
|
ccec864785
|
locktime and version were set too late in test scenario and not included when signing (the test scenario).
|
2016-01-26 17:13:07 +01:00 |
|
Kirill Fomichev
|
5de6818fcb
|
Fix TransactionBuilder.addOutput
|
2015-11-24 08:18:16 +03:00 |
|