pub struct ReplayArgs {
pub config: Box<CKBAppConfig>,
pub consensus: Consensus,
pub tmp_target: PathBuf,
pub profile: Option<(Option<u64>, Option<u64>)>,
pub sanity_check: bool,
pub full_verification: bool,
}
Expand description
Parsed command line arguments for ckb replay
.
Fields§
§config: Box<CKBAppConfig>
Parsed ckb.toml
.
consensus: Consensus
Loaded consensus.
tmp_target: PathBuf
The directory to store the temporary files during the replay.
profile: Option<(Option<u64>, Option<u64>)>
Enable profile on blocks in the range [from, to]
.
sanity_check: bool
Enable sanity check.
full_verification: bool
Enable full verification.
Auto Trait Implementations§
impl !Freeze for ReplayArgs
impl RefUnwindSafe for ReplayArgs
impl Send for ReplayArgs
impl Sync for ReplayArgs
impl Unpin for ReplayArgs
impl UnwindSafe for ReplayArgs
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