Daniel Cousens
cdcbb2ccb4
tests: fix inconsistent key compression
10 years ago
Daniel Cousens
c79fecffa3
tests: add failing test for transaction builder multisig
10 years ago
Daniel Cousens
3a15f0c6ba
tests: add scriptHash(pubKeyHash) test fixture
10 years ago
Daniel Cousens
f87ac58df0
tests: add reverse order multisig 2-of-2
10 years ago
Daniel Cousens
d68eb496a9
tests: use fffff... unless txHash is actually useful
10 years ago
Daniel Cousens
3a371fccec
TxBuilder: remove initialized field from signature inputs
10 years ago
Daniel Cousens
d3af28e37e
tests: fix TxBuilder fixtures to be consistent w/ compression
10 years ago
Daniel Cousens
1fde0a401d
tests: move inconsistent hashType/redeemScript test
10 years ago
Daniel Cousens
ebbe1278a0
tests: add non-standard input fixture
10 years ago
Daniel Cousens
f0c4a76325
tests: add scriptHash(pubKey) test fixture
10 years ago
Daniel Cousens
3f53b528a8
tests: reduce setup-code duplication
10 years ago
Daniel Cousens
95911c5dde
tests: consistent test data names
10 years ago
Daniel Cousens
4c9fd6010e
TxBuilder: fix failing test for non-standard/multisig inputs
Instead of failing in `fromTransaction`, TxBuilder will now only fail in
`sign` if you attempt to sign a non-standard input.
Transactions with non-standard inputs can only be built with
buildIncomplete() (for now).
10 years ago
Daniel Cousens
b048627a59
tests: move TxBuilder.sign tests to fixtures
10 years ago
Daniel Cousens
396e4d4235
tests: add [failing] test for nulldata signing
10 years ago
Daniel Cousens
35fa86c1f9
tests: add [failing] raw multisig fixture for TxBuilder
10 years ago
Daniel Cousens
cbf8c6f932
tests: format JSON consistently
10 years ago
Daniel Cousens
a529b3fa0b
TxBuilder: copy version/locktime in fromTransaction
10 years ago
Daniel Cousens
1d0fd3e9a4
TxBuilder: add more failing cases and error handling
11 years ago
Daniel Cousens
1c744cfa5a
TxBuilder: add failing test for non-zero vin inputs
11 years ago
Daniel Cousens
f9fed3c815
TxBuilder: adds fromTransaction impl. and basic tests
11 years ago
Daniel Cousens
31ea956e8e
TxBuilder: add invalid nulldata case
11 years ago
Daniel Cousens
d0ac9b405a
tests: add TxBuilder pubKey test fixture
11 years ago
Daniel Cousens
36b225a3df
TxBuilder: use data fixtures for invalid tests
11 years ago
Daniel Cousens
bcbcd58964
TxBuilder: Initial commit and tests
11 years ago