7c6a0f8388
* 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> |
||
---|---|---|
.. | ||
commitment | ||
keys | ||
note | ||
tests | ||
tree | ||
arbitrary.rs | ||
commitment.rs | ||
keys.rs | ||
note.rs | ||
output.rs | ||
shielded_data.rs | ||
spend.rs | ||
tests.rs | ||
tree.rs |