ProtocolClosedKeyRegistration

Type Alias ProtocolClosedKeyRegistration 

Source
pub type ProtocolClosedKeyRegistration = ClosedKeyRegistration<MithrilMembershipDigest>;
Expand description

Alias of a wrapper of MithrilStm:ClosedKeyRegistration.

Aliased Type§

pub struct ProtocolClosedKeyRegistration {
    pub reg_parties: Vec<MerkleTreeConcatenationLeaf>,
    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>>>, MerkleTreeConcatenationLeaf>>,
}

Fields§

§reg_parties: Vec<MerkleTreeConcatenationLeaf>

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>>>, MerkleTreeConcatenationLeaf>>

Unique public key out of the key registration instance.