[−][src]Trait grin_chain::types::TxHashsetWriteStatus
Inform the caller of the current status of a txhashset write operation, as it can take quite a while to process. Each function is called in the order defined below and can be used to provide some feedback to the caller. Functions taking arguments can be called repeatedly to update those values as the processing progresses.
Required methods
pub fn on_setup(&self)
[src]
First setup of the txhashset
pub fn on_validation_kernels(&self, kernels: u64, kernel_total: u64)
[src]
Starting kernel validation
pub fn on_validation_rproofs(&self, rproofs: u64, rproof_total: u64)
[src]
Starting rproof validation
pub fn on_save(&self)
[src]
Starting to save the txhashset and related data
pub fn on_done(&self)
[src]
Done writing a new txhashset