File tree 3 files changed +653
-623
lines changed
3 files changed +653
-623
lines changed Original file line number Diff line number Diff line change 5
5
//! The components in this crate are involved in:
6
6
//! * Handling and reacting to incoming consensus events ([`EngineHandler`](engine::EngineHandler))
7
7
//! * Advancing the chain ([`ChainOrchestrator`](chain::ChainOrchestrator))
8
- //! * Keeping track of the chain structure in-memory ([`TreeState`](tree::TreeState))
8
+ //! * Keeping track of the chain structure in-memory ([`TreeState`](tree::state:: TreeState))
9
9
//! * Performing backfill sync and handling its progress ([`BackfillSync`](backfill::BackfillSync))
10
10
//! * Downloading blocks ([`BlockDownloader`](download::BlockDownloader)), and
11
11
//! * Persisting blocks and performing pruning
58
58
//!
59
59
//! ## Chain representation
60
60
//!
61
- //! The chain is represented by the [`TreeState`](tree::TreeState) data structure, which keeps
62
- //! tracks of blocks by hash and number, as well as keeping track of parent-child relationships
63
- //! between blocks. The hash and number of the current head of the canonical chain is also tracked
64
- //! in the [`TreeState`](tree::TreeState).
61
+ //! The chain is represented by the [`TreeState`](tree::state:: TreeState) data structure, which
62
+ //! keeps tracks of blocks by hash and number, as well as keeping track of parent-child
63
+ //! relationships between blocks. The hash and number of the current head of the canonical chain is
64
+ //! also tracked in the [`TreeState`](tree::state ::TreeState).
65
65
//!
66
66
//! ## Persistence model
67
67
//!
You can’t perform that action at this time.
0 commit comments