feat: improve block downloads (#2941)

This commit is contained in:
Matthias Seitz
2023-06-02 16:28:03 +02:00
committed by GitHub
parent f7a35f09b5
commit 7d14525307
6 changed files with 210 additions and 68 deletions

View File

@ -120,7 +120,7 @@ pub enum BlockStatus {
/// If block validation is valid and block extends canonical chain.
/// In BlockchainTree sense it forks on canonical tip.
Valid,
/// If the block is valid, but it does not extend canonical chain
/// If the block is valid, but it does not extend canonical chain.
/// (It is side chain) or hasn't been fully validated but ancestors of a payload are known.
Accepted,
/// If blocks is not connected to canonical chain.