Struct ckb_app_config::ReplayArgs
source · 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 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