Zebra/zebra-consensus
teor 59bc8d7167 consensus: Make BlockVerifier only call AddBlock on success
We don't want to call the state's AddBlock until we know the block is
valid. This avoids subtle bugs if the state is modified in call().

(in_memory currently modifies the state in call(), on_disk modifies the
state in the async block.)

Part of #477.
2020-06-24 18:22:36 +10:00
..
src consensus: Make BlockVerifier only call AddBlock on success 2020-06-24 18:22:36 +10:00
Cargo.toml consensus: Add a block time check function 2020-06-24 18:22:36 +10:00