sign: Add CreateMuSig2AggregateSig

This commit is contained in:
Ava Chow
2024-01-29 17:32:49 -05:00
parent bf69442b3f
commit 258db93889
4 changed files with 125 additions and 0 deletions

View File

@@ -62,4 +62,6 @@ public:
uint256 MuSig2SessionID(const CPubKey& script_pubkey, const CPubKey& part_pubkey, const uint256& sighash);
std::optional<std::vector<uint8_t>> CreateMuSig2AggregateSig(const std::vector<CPubKey>& participants, const CPubKey& aggregate_pubkey, const std::vector<std::pair<uint256, bool>>& tweaks, const uint256& sighash, const std::map<CPubKey, std::vector<uint8_t>>& pubnonces, const std::map<CPubKey, uint256>& partial_sigs);
#endif // BITCOIN_MUSIG_H