* 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> |
||
|---|---|---|
| .. | ||
| examples | ||
| src | ||
| Cargo.toml | ||