junderw
|
1b39d9caf4
|
Make errors clearer and increase coverage
|
6 years ago |
junderw
|
071e201a75
|
Silence console.warn during old arg tests
|
6 years ago |
junderw
|
4bed585f6a
|
Test old args as well
|
6 years ago |
junderw
|
969b3a5e18
|
Fix tests to use new sign method
|
6 years ago |
junderw
|
352e9ef0a3
|
Add low R signing to TransactionBuilder
|
6 years ago |
junderw
|
dc1ef5958b
|
Tests to arrow functions, use strict asserts, travis uses docker instead of regtest server
|
6 years ago |
junderw
|
512b03e284
|
Fix lint transaction_builder.ts
|
6 years ago |
junderw
|
bc28949056
|
Commit js, ts, and definitions in separate folders
|
6 years ago |
junderw
|
fce08352f5
|
Add TransactionBuilder
|
6 years ago |
junderw
|
a652d0492d
|
Added Transaction
|
6 years ago |
junderw
|
d684a6b2ef
|
Fix compiler errors, tests, and scripts
|
6 years ago |
Daniel Cousens
|
a58c5b4f5b
|
txb/tests: add solo SIGHASH_ALL fixes
|
6 years ago |
Daniel Cousens
|
ed1c1a5661
|
txb: enforce outputs exist when signing
|
7 years ago |
Daniel Cousens
|
43f52c452b
|
tests: enforce something threw for invalid cases
|
6 years ago |
Daniel Cousens
|
4616d24016
|
tests/txb: remove getAddress
|
7 years ago |
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
|
16195cc6ce
|
explicitly import mocha variables
|
7 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 |