Skip to main content

encode

Function encode 

Source
pub(super) fn encode(
    epoch: u64,
    view: u64,
    parent_view: u64,
    digest: B256,
    output: &Output<MinSig, PublicKey>,
    share: &Share,
) -> Bytes
Expand description

Signs a proposal with the local 1-of-1 committee and encodes its finalization certificate.