Deserialize the MuSig2 participant identifiers from a PSBT MuSig2 field.
Declared in <psbt.h>
template<typename Stream>
void
DeserializeMuSig2ParticipantDataIdentifier(
Stream& skey,
CPubKey& agg_pub,
CPubKey& part_pub,
uint256& leaf_hash);
Both the pubnonce and partial-signature fields share the same layout after the type byte: aggregate pubkey, participant pubkey, and optional leaf hash.
| Name | Description |
|---|---|
| skey | The key reader positioned after the type byte. |
| agg_pub | Receives the aggregate public key. |
| part_pub | Receives the participant public key. |
| leaf_hash | Receives the leaf script hash, or null when absent. |