ckb_traits

Trait ExtensionProvider

Source
pub trait ExtensionProvider {
    // Required method
    fn get_block_extension(&self, hash: &Byte32) -> Option<Bytes>;
}
Expand description

Trait for block extension field storage

Required Methods§

Source

fn get_block_extension(&self, hash: &Byte32) -> Option<Bytes>

Get the extension field of the given block hash

Implementors§