zebra/zebra-consensus
teor a4d1a1801c
Security: Drop blocks that are a long way ahead of the tip (#3167)
* Document the chain verifier

* Drop gossiped blocks that are too far ahead of the tip

* Add extra gossiped block metrics

* Allow extra gossiped blocks, now we have a stricter limit

* Fix a comment

* Check the exact number of blocks in a downloaded block response

* Drop synced blocks that are too far ahead of the tip

* Add extra synced block metrics

* Test dropping gossiped blocks that are too far ahead of the tip

* Allow an extra checkpoint's worth of blocks in the verifier queues

* Actually let's try two extra checkpoints

* Scale extra height limit with lookahead limit

* Also drop blocks that are behind the finalized tip

* Downgrade a noisy log

* Use a debug log for already verified gossiped blocks

* Use debug logs for already verified synced blocks
2021-12-17 13:31:51 -03:00
..
examples Download Zcash Sapling parameters and load them from cached files (#3057) 2021-11-19 23:02:56 +00:00
src Security: Drop blocks that are a long way ahead of the tip (#3167) 2021-12-17 13:31:51 -03:00
Cargo.toml Bump tokio from 1.14.0 to 1.15.0 (#3245) 2021-12-17 06:58:07 +10:00