Commit graph

25 commits

Author SHA1 Message Date
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.
2017-06-21 01:38:05 +10:00
Daniel Cousens 771491bc5a tests: add coinbase with witness transaction fixture 2017-03-09 12:51:40 +11:00
Daniel Cousens a023d23907 tests: rename hashForWitnessV0 tests for actuality 2016-12-17 14:17:00 +11:00
Daniel Cousens 637aa0f60c tests/transaction: remove unused data 2016-12-17 14:17:00 +11:00
Daniel Cousens bd616f469e tests: re-order fixtures so invalid is last 2016-12-15 11:45:59 +11:00
Daniel Cousens 0c198ffa6a tests: merge witness fixtures with valid transactions, reverse reversed hashs (failing) 2016-11-14 15:05:30 +11:00
Daniel Cousens 5150e3c027 tests: enforce witness transactions use legacy txId 2016-11-14 15:05:30 +11:00
Daniel Cousens dfcb04c9b4 tests: add coinbase flag to each transaction fixture 2016-11-14 15:05:30 +11:00
Thomas Kerin 95059df96a Update vectors with value of UTXO 2016-11-14 11:22:22 +11:00
Thomas Kerin 6d4c4d4cf2 test/fixtures/transaction.json
New fixtures for Witness
2016-11-14 11:22:22 +11:00
Thomas Kerin 3f731d090a Test that parsing a transaction with superfluous witness data leads to an error 2016-11-14 11:22:22 +11:00
Thomas Kerin 035ec47868 Better test vectors for witness serialization (available on testnet) 2016-11-14 11:22:22 +11:00
Daniel Cousens 5c2fdb6043 Transaction: add Witness serialization and hashForWitnessV0 2016-11-14 11:22:22 +11:00
Daniel Cousens b91cfcf196 package: update to typeforce 1.8.7 2016-10-06 12:34:11 +11:00
Daniel Cousens 4898cc7b67 tests: add tests for Transaction.hashForSignature 2016-06-22 14:45:49 +10:00
Daniel Cousens ea2a7449ad tests: add isCoinbase tests and flags to fixtures 2016-05-03 21:51:30 +10:00
Daniel Cousens 706f5d7a9c scripts: adds tests for *HashOutput 2015-08-18 14:44:30 +10:00
Daniel Cousens 254b670427 add types 2015-08-14 10:56:30 +10:00
Daniel Cousens 2f100e0eae tests: add failing pushDataInt fixtures 2015-03-04 20:47:52 +11:00
Daniel Cousens 445eb260c0 tests: add failing Coinbase transaction fixture 2015-02-19 12:51:24 +11:00
Daniel Cousens c716367f77 tests: add test for null sequence number 2014-12-16 15:15:39 +11:00
Daniel Cousens fc690d418b tests: rename txid to id in Transaction context 2014-12-13 09:48:31 +11:00
Daniel Cousens ca4e64d071 tests: use ASM for fixtures, avoid JSON comparison 2014-12-13 09:41:52 +11:00
Daniel Cousens 8eaf44881a Transaction: improve hash length checking + tests 2014-06-17 20:18:39 +10:00
Daniel Cousens 6ea89eeaae Transaction: data driven tests 2014-06-17 11:55:43 +10:00