Trait sc_client_api::client::PreCommitActions
source · pub trait PreCommitActions<Block: BlockT> {
// Required methods
fn register_import_action(&self, op: OnImportAction<Block>);
fn register_finality_action(&self, op: OnFinalityAction<Block>);
}
Expand description
Interface to perform auxiliary actions before committing a block import or finality operation.
Required Methods§
sourcefn register_import_action(&self, op: OnImportAction<Block>)
fn register_import_action(&self, op: OnImportAction<Block>)
Actions to be performed on block import.
sourcefn register_finality_action(&self, op: OnFinalityAction<Block>)
fn register_finality_action(&self, op: OnFinalityAction<Block>)
Actions to be performed on block finalization.