Arik Sosman
|
8f9b3443d2
|
add fixture to verify input type classification
(cherry picked from commit 8f9d8b7)
|
7 years ago |
Daniel Cousens
|
8f01e4273c
|
match scriptHash types 1 for 1, ignore classify order
|
7 years ago |
Daniel Cousens
|
deb8b0f7d8
|
tests: script tests can validate template fixtures too
|
7 years ago |
dabura667
|
7563d8f74a
|
Fix absurd fee in fixture
|
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
|
56dfb873d3
|
add bech32 fixture
|
7 years ago |
Daniel Cousens
|
e7c59c4b8b
|
script: use asMinimalOP for ASM/decompile
|
7 years ago |
Daniel Cousens
|
3ba17a1479
|
TxBuilder: restrict uncompressed keyPairs for P2WPK and P2WSH
|
7 years ago |
Daniel Cousens
|
5057d8d1ba
|
tests/txb: add P2WSH(multisig), incomplete fixture
|
7 years ago |
Daniel Cousens
|
9bae30d112
|
tests: resist txn-mempool-conflicts
|
7 years ago |
Daniel Cousens
|
6d0a20cee1
|
tests: add P2WPK, P2WSH spend example
|
7 years ago |
Daniel Cousens
|
5b1d443bf1
|
README/tests: add BIP173/BIP16 SegWit address examples
|
7 years ago |
Daniel Cousens
|
b1272a1200
|
add Bech32 support to toOutputScript/fromOutputScript
|
8 years ago |
Daniel Cousens
|
d1052e4996
|
add from/toBech32
|
8 years ago |
Daniel Cousens
|
99c1b50961
|
tests/integration: add BIP32 serialization and multi-child examples
|
8 years ago |
Daniel Cousens
|
a4fe3d3139
|
testing/integration/examples: isolate to addresses/transactions
examples, use public broadcast endpoints
|
8 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 |
Ian Coleman
|
bc3aef5a92
|
add testnet bip49 example
|
8 years ago |
Daniel Cousens
|
dddbf0a142
|
tests: grammar
|
8 years ago |
Daniel Cousens
|
0b9b30a8c5
|
tests: re-add missing transaction_builder missing sigs test
|
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 |
Karel Bilek
|
f4e3b52325
|
Testing virtualSize and weight
|
8 years ago |
Karel Bilek
|
4f03a5d32e
|
Adding weights and vsize to fixtures
I took vsize from bitcoind; and I set weight as vsize*4 and fiddled with it until it passed.
|
8 years ago |
Daniel Cousens
|
200217c2c2
|
rename network to testnet
|
8 years ago |
Daniel Cousens
|
f1ab151c31
|
tests: use safe-buffers throughout
|
8 years ago |
Thomas Kerin
|
4128634b1c
|
test vector for litecoin-pubkeyhash and litecoin-scripthash
|
8 years ago |
Daniel Cousens
|
2d6064f8d1
|
README: add examples for BIP39 wallet path derivation
|
8 years ago |
Daniel Cousens
|
170328341b
|
tests: avoid too-long-mempool-chain errors
|
8 years ago |
Daniel Cousens
|
4d6928a68b
|
tests: fix shadowed/unused variable warnings
|
8 years ago |
Daniel Cousens
|
c852372559
|
tests: add a timeout to let the backend keep up
|
8 years ago |
Daniel Cousens
|
f3d0dddc5a
|
block: add byteLength
|
8 years ago |
Daniel Cousens
|
e205b99180
|
tests/block: check that block.transactions exists and cleanup
|
8 years ago |
Daniel Cousens
|
8e1c69183f
|
tests/integration: add testnet bip32 example
|
8 years ago |
Daniel Cousens
|
29316a2fbc
|
block: use writeUInt32BE for target calculation
|
8 years ago |
Daniel Cousens
|
771491bc5a
|
tests: add coinbase with witness transaction fixture
|
8 years ago |
Daniel Cousens
|
46c87afa3f
|
tests: move export as witness to independent test
|
8 years ago |
Thomas Kerin
|
793939dc8c
|
scriptHash return true for chunks.length=1 so long as its witness
|
8 years ago |
Thomas Kerin
|
1edfd30425
|
P2WPKH correct tx
|
8 years ago |
Thomas Kerin
|
c2dfc03869
|
Add test vectors, and transaction_builder input stores signScript
|
8 years ago |
Thomas Kerin
|
1d168592a3
|
Add P2SH|P2WSH|P2PK vector
|
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 |
Thomas Kerin
|
b6ae10b2f1
|
buildStack, and make tests pass
|
8 years ago |
Daniel Cousens
|
a793166eb8
|
wip
|
8 years ago |
Daniel Cousens
|
b862a62867
|
tests/templates: remove unused pushOnly data
|
8 years ago |