Zebra/zebra-state/src
teor 334329f38a state: Move block header hashing to block_index
Only hash block headers in the lowest-level block index code.

This design has a few benefits:
  - failures are obvious, because the hash is not available,
  - get_tip() returns a smaller object,
  - we avoid re-hashing block headers multiple times.

These efficiency changes may be needed to support chain reorganisations,
multiple tips, and heavy query loads.
2020-06-12 09:46:18 -07:00
..
in_memory state: Move block header hashing to block_index 2020-06-12 09:46:18 -07:00
in_memory.rs state: Move block header hashing to block_index 2020-06-12 09:46:18 -07:00
lib.rs state: Make Response::Added return the block header hash 2020-06-12 09:46:18 -07:00