Compute the full aggregate pubkey from the given participant pubkeys in their current order.

Synopsis

Declared in <musig.h>

std::optional<CPubKey>
MuSig2AggregatePubkeys(std::vector<CPubKey> const& pubkeys);

Return Value

The aggregate public key, or std::nullopt if aggregation fails.

Parameters

Name

Description

pubkeys

The participant public keys, in the order they should be aggregated.

Created with MrDocs