Trait sp_domains::DomainBundleSubmitted

source ·
pub trait DomainBundleSubmitted {
    // Required method
    fn domain_bundle_submitted(domain_id: DomainId);
}
Expand description

Post hook to know if the domain had bundle submitted in the previous block.

Required Methods§

source

fn domain_bundle_submitted(domain_id: DomainId)

Called in the next block initialisation if there was a domain bundle in the previous block. This hook if called for domain represents that there is a new domain block for parent consensus block.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl DomainBundleSubmitted for ()

Implementors§