Zebra/zebra-chain/src/block
Marek daee5e5fcd
fix(chain): Return errors instead of panicking in methods for `Height`s (#7591)
* Return errors instead of panicking

* Apply suggestions from code review

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

* Turn `unwrap`s into `expect`s

* Refactor the error messages

---------

Co-authored-by: teor <teor@riseup.net>
2023-09-21 05:58:04 +00:00
..
height change(utils): Add a direct connection mode to zebra-checkpoints (#6516) 2023-04-26 23:35:53 +00:00
tests change(deps): Run `cargo update` (#7429) 2023-08-31 00:49:01 +00:00
arbitrary.rs fix(state): Use correct end heights for end of block subtrees during the full sync (#7566) 2023-09-19 14:49:36 +00:00
commitment.rs fix(diagnostics): Hex-encode debug format of commitments, nonces, and nullifiers (#5960) 2023-01-17 13:57:22 +00:00
error.rs remove dead code from zebra-chain (#5464) 2022-10-25 03:23:50 +00:00
hash.rs change(rpc): Refactor get block template RPC into stages (#5837) 2022-12-13 21:25:04 +00:00
header.rs fix(diagnostics): Hex-encode debug format of commitments, nonces, and nullifiers (#5960) 2023-01-17 13:57:22 +00:00
height.rs fix(chain): Return errors instead of panicking in methods for `Height`s (#7591) 2023-09-21 05:58:04 +00:00
merkle.rs cleanup(rust): Fix new nightly clippy warnings (#7135) 2023-07-05 07:11:27 +00:00
serialize.rs fix(chain): Validate header versions when serializing blocks (#6475) 2023-04-12 04:54:02 +00:00
tests.rs change(docs): Replaces XXX with TODO (#6417) 2023-03-28 04:13:04 +00:00