pub struct Prune {
pub checkpoints_below: u64,
pub history: Option<(u64, u64)>,
pub blocks: Option<(u64, u32)>,
}Expand description
確定を上げたときに消すもの
Fields§
§checkpoints_below: u64これより下のチェックポイント
history: Option<(u64, u64)>刈り込むなら、状態の差分、木のノードの差分を、それぞれこの高さ以下で消す
blocks: Option<(u64, u32)>ブロックとステートメントをこの高さ以下で、証明をこのエポックより前で消す
Auto Trait Implementations§
impl Freeze for Prune
impl RefUnwindSafe for Prune
impl Send for Prune
impl Sync for Prune
impl Unpin for Prune
impl UnsafeUnpin for Prune
impl UnwindSafe for Prune
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more