Function hotshot_testing::helpers::build_assembled_sig

source ·
pub async fn build_assembled_sig<TYPES: NodeType, V: Versions, VOTE: Vote<TYPES>, CERT: Certificate<TYPES, Voteable = VOTE::Commitment>, DATAType: Committable + Clone + Eq + Hash + Serialize + Debug + 'static>(
    data: &DATAType,
    membership: &TYPES::Membership,
    view: TYPES::View,
    epoch: TYPES::Epoch,
    upgrade_lock: &UpgradeLock<TYPES, V>,
) -> <TYPES::SignatureKey as SignatureKey>::QcType
Expand description

create signature

§Panics

if fails to convert node id into keypair