github.com/lazyledger/lazyledger-core@v0.35.0-dev.0.20210613111200-4c651f053571/blockchain/doc.go (about) 1 /* 2 Package blockchain provides two implementations of the fast-sync protocol. 3 4 - v0 was the very first implementation. it's battle tested, but does not have a 5 lot of test coverage. 6 - v2 is the newest implementation, with a focus on testability and readability. 7 Note: we deleted v2 in LL until it stabilizes / gets simplified. 8 9 Check out ADR-40 for the formal model and requirements. 10 11 # Termination criteria 12 13 1. the maximum peer height is reached 14 2. termination timeout is triggered, which is set if the peer set is empty or 15 there are no pending requests. 16 17 */ 18 package blockchain