Trait oasis_core_runtime::consensus::roothash::NodeLookup

source ·
pub trait NodeLookup {
    // Required method
    fn node(&self, id: PublicKey) -> Result<Node, Error>;
}
Expand description

A trait for looking up registry node descriptors.

Required Methods§

source

fn node(&self, id: PublicKey) -> Result<Node, Error>

Implementors§