Zebra/zebra-chain/src/serialization
Marek 683b88c819
Support large block heights (#3401)
* Support large block heights

* Document consensus rules referring to expiry heights

* Refactor the docs

* Apply suggestions from code review

Co-authored-by: teor <teor@riseup.net>

* Fix the formatting of an error message

* refactor: Simplify coinbase expiry code so the consensus rule is clear (#3408)

* Fix some outdated TODO comments

* refactor(coinbase expiry): Simplify the code so consensus rule is clear

* Fix the formatting of an error message

* Remove a redundant comment

Co-authored-by: Marek <mail@marek.onl>

Co-authored-by: Marek <mail@marek.onl>

* Check the max expiry height at parse time

* Test that 2^31 - 1 is the last valid height

* Add tests for nExpiryHeight

* Add tests for expiry heights of V4 transactions

* Add tests for V5 transactions

Co-authored-by: teor <teor@riseup.net>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-02-11 00:32:57 +00:00
..
tests Simplify preallocate tests (#3032) 2021-11-11 07:53:21 +10:00
arbitrary.rs Simplify preallocate tests (#3032) 2021-11-11 07:53:21 +10:00
compact_size.rs Create CompactSize64 for non-message-length fields (#3008) 2021-11-04 15:57:30 +00:00
constraint.rs 1. Create an API for a missing inventory registry, but don't register any missing inventory yet (#3255) 2022-02-06 23:05:52 +00:00
date_time.rs Stop doing thousands of time checks each time we connect to a peer (#3106) 2021-12-03 15:09:43 -03:00
error.rs Support large block heights (#3401) 2022-02-11 00:32:57 +00:00
read_zcash.rs Refactor addr v1 serialization using a separate AddrV1 type (#3021) 2021-11-10 06:47:50 +10:00
serde_helpers.rs Rebase tidies 2021-04-30 00:48:23 -04:00
sha256d.rs Call `zebra_test::init` where needed. (#1227) 2020-11-10 10:29:25 +10:00
tests.rs Simplify preallocate tests (#3032) 2021-11-11 07:53:21 +10:00
write_zcash.rs Refactor addr v1 serialization using a separate AddrV1 type (#3021) 2021-11-10 06:47:50 +10:00
zcash_deserialize.rs Simplify preallocate tests (#3032) 2021-11-11 07:53:21 +10:00
zcash_serialize.rs Refactor addr v1 serialization using a separate AddrV1 type (#3021) 2021-11-10 06:47:50 +10:00