mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
refactor: give Pipeline a database (#2558)
This commit is contained in:
@ -16,7 +16,7 @@ pub trait SyncStateProvider: Send + Sync {
|
||||
/// Eventually the node reaches the `Finish` stage and will transition to [`SyncState::Idle`], it
|
||||
/// which point the node is considered fully synced.
|
||||
#[auto_impl::auto_impl(&, Arc, Box)]
|
||||
pub trait SyncStateUpdater: Send + Sync + 'static {
|
||||
pub trait SyncStateUpdater: std::fmt::Debug + Send + Sync + 'static {
|
||||
/// Notifies about an [SyncState] update.
|
||||
fn update_sync_state(&self, state: SyncState);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user