mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-05 21:14:53 +00:00
18 lines
513 B
Go
18 lines
513 B
Go
/*
|
|
Package blockchain provides two implementations of the fast-sync protocol.
|
|
|
|
- v0 was the very first implementation. it's battle tested, but does not have a
|
|
lot of test coverage.
|
|
- v2 is the newest implementation, with a focus on testability and readability.
|
|
|
|
Check out ADR-40 for the formal model and requirements.
|
|
|
|
# Termination criteria
|
|
|
|
1. the maximum peer height is reached
|
|
2. termination timeout is triggered, which is set if the peer set is empty or
|
|
there are no pending requests.
|
|
|
|
*/
|
|
package blockchain
|