mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
refactor(engine, tree): connect buffered blocks on pruner finish (#4613)
This commit is contained in:
@ -88,9 +88,8 @@ impl EngineHookEvent {
|
||||
pub enum EngineHookAction {
|
||||
/// Notify about a [SyncState] update.
|
||||
UpdateSyncState(SyncState),
|
||||
/// Read the last relevant canonical hashes from the database and update the block indices of
|
||||
/// the blockchain tree.
|
||||
RestoreCanonicalHashes,
|
||||
/// Connect blocks buffered during the hook execution to canonical hashes.
|
||||
ConnectBufferedBlocks,
|
||||
}
|
||||
|
||||
/// An error returned by [hook][`EngineHook`].
|
||||
|
||||
Reference in New Issue
Block a user