Deserialize a PSBT_{IN,OUT}_MUSIG2_PARTICIPANT_PUBKEYS field.

Synopsis

Declared in <psbt.h>

template<typename Stream>
void
DeserializeMuSig2ParticipantPubkeys(
    Stream& s,
    SpanReader& skey,
    std::map<CPubKey, std::vector<CPubKey>>& out,
    std::string context);

Parameters

Name

Description

s

The input stream carrying the participant public keys value.

skey

The key reader positioned at the aggregate public key.

out

Map from aggregate public key to its participant public keys.

context

A label used in error messages to identify the field.

Created with MrDocs