* Derive & impl helper traits from `std` * Create `compact_to_v4` fn * Create `fake_block` fn * Refactor existing tests to use the new functions * Cosmetics * Refactor docs * Put `Default` behind `cfg_attr(test)` Rationale --------- We avoid implementing `Default` on consensus-critical types because it's easy to miss an incorrect use in a review. It's easy to hide a `default()` in a call like `unwrap_or_default()` or even more subtle methods. --------- Co-authored-by: teor <teor@riseup.net> |
||
|---|---|---|
| .. | ||
| benches | ||
| proptest-regressions | ||
| src | ||
| Cargo.toml | ||