DeserializeMuSig2ParticipantPubkeys

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

NameDescription
sThe input stream carrying the participant public keys value.
skeyThe key reader positioned at the aggregate public key.
outMap from aggregate public key to its participant public keys.
contextA label used in error messages to identify the field.