Commit Graph

21 Commits

Author SHA1 Message Date
Larry Ruane ddf3781a60 parse V5 (nu5) transactions
TODO:
- store, instead of just skip over, nu5 transaction fields
- add relevant nu5 fields to CompactBlock
- restore disabled V4 unit tests
- add V5 test vectors to unit tests

The reason most of the V4 transaction and block unit tests are removed
is that they used V3 transactions, which lightwalletd never sees in
production, since lightwalletd starts at Sapling activation (which has
V4 transactions). So these tests were always wrong, in a way. This
commit simplifies the parsing code by removing support for V3 (since it
was never needed). The tests need to be updated to V4, but we'll do
that in a later PR.
2021-10-24 13:30:35 -06:00
Larry Ruane faca1ecbef
increase the 252 per-block transaction limit (#273) 2020-06-03 18:58:26 -06:00
Larry Ruane 1dc439080b add COPYING and copyright lines 2020-03-12 12:02:55 -06:00
Larry Ruane a4f968823f test improvements, and minor cleanups 2020-01-31 16:36:31 -07:00
Larry Ruane 5c77cca6bf remove unnecessary ok's, no functional change (#118) 2019-10-29 17:35:13 -07:00
Larry Ruane 4724e403a3 add tests for GetTx* methods 2019-10-16 16:11:36 -06:00
Larry Ruane 6dab32677a add test for tx GetDisplayHash() 2019-10-14 10:43:18 -06:00
George Tankersley 7726a6752d cleanup: rename package and vendor dependencies for old go versions
Fixes #8 and begins to address deployability.
2019-01-03 19:14:51 +00:00
George Tankersley 71c0624abe ingest: make zmq client store raw transaction data 2018-12-14 21:54:33 -05:00
George Tankersley abca4335ec tests: unify testdata directory 2018-12-14 19:19:12 -05:00
George Tankersley 58e5f3e78b parser: implement whole-block parsing and publicize constructors 2018-09-28 00:52:40 +00:00
George Tankersley e3b5a9558d parser: finish ZIP243 tests 2018-09-26 23:29:03 +00:00
George Tankersley f41cf60f5c parser: break header checks into subroutine 2018-09-26 20:58:30 +00:00
George Tankersley e297819781 parser: transcribe ZIP243 test vectors 2018-09-26 20:58:30 +00:00
George Tankersley f460b3cfb7 parser: remove unused raw field from test structs 2018-09-25 19:45:06 +00:00
George Tankersley 9703c779ed parser: TODO: ZIP243 tests 2018-09-25 03:24:18 +00:00
George Tankersley b6f8edffda parser: finish zip143 tests 2018-09-25 03:19:14 +00:00
George Tankersley 47e727f1ba parser: move transparent in/out tests to separate functions 2018-09-25 02:13:57 +00:00
George Tankersley e089380dfb parser: transcribe zip143 joinsplits 2018-09-25 01:55:30 +00:00
George Tankersley b742b8a5d5 parser: add ZIP143 (pre-Sapling) test vectors 2018-09-25 00:53:33 +00:00
George Tankersley 48a24aeca1 parser: WIP transaction parsing tests 2018-09-20 22:40:39 +00:00