Struct ckb_shared::shared::Shared [−][src]
pub struct Shared { /* fields omitted */ }
Expand description
TODO(doc): @quake
Implementations
Spawn freeze background thread that periodically checks and moves ancient data from the kv database into the freezer.
TODO(doc): @quake
TODO(doc): @quake
TODO(doc): @quake
TODO(doc): @quake
TODO(doc): @quake
pub fn new_snapshot(
&self,
tip_header: HeaderView,
total_difficulty: U256,
epoch_ext: EpochExt,
proposals: ProposalView
) -> Arc<Snapshot>
pub fn new_snapshot(
&self,
tip_header: HeaderView,
total_difficulty: U256,
epoch_ext: EpochExt,
proposals: ProposalView
) -> Arc<Snapshot>
TODO(doc): @quake
Return async runtime handle
TODO(doc): @quake
Return whether chain is in initial block download
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Shared
impl !UnwindSafe for Shared
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V