mithril_common::crypto_helper

Type Alias ProtocolClosedKeyRegistration

source
pub type ProtocolClosedKeyRegistration = ClosedKeyReg<Blake2b<U32>>;
Expand description

Alias of a wrapper of MithrilStm:ClosedKeyReg.

Aliased Type§

struct ProtocolClosedKeyRegistration {
    pub reg_parties: Vec<MTLeaf>,
    pub total_stake: u64,
    pub merkle_tree: Arc<MerkleTree<CoreWrapper<CtVariableCoreWrapper<Blake2bVarCore, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>>>>,
}

Fields§

§reg_parties: Vec<MTLeaf>

Ordered list of registered parties.

§total_stake: u64

Total stake of the registered parties.

§merkle_tree: Arc<MerkleTree<CoreWrapper<CtVariableCoreWrapper<Blake2bVarCore, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>>>>

Unique public key out of the key registration instance.