Commit Graph

11 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 36b5c588ec improve test coverage 2019-11-06 10:50:24 -07:00
Larry Ruane 82d4312196 add test for blockHeader.GetDisplayPrevHash() but needs work 2019-11-05 13:55:04 -07:00
Jack Grigg 49a1552523
parser: Correctly serialize Equihash solution 2019-05-23 14:09:43 +01:00
George Tankersley abca4335ec tests: unify testdata directory 2018-12-14 19:19:12 -05:00
George Tankersley 38d61b509c rpc: update for API and protobuf changes 2018-12-04 18:22:06 -05:00
George Tankersley f42dea2b1e parser: present block hashes in big endian order 2018-11-16 21:57:21 +00:00
George Tankersley 58e5f3e78b parser: implement whole-block parsing and publicize constructors 2018-09-28 00:52:40 +00:00
George Tankersley 273de97b00 parser: split block header parsing into its own files 2018-09-19 22:48:33 +00:00