Computes an arbitrary unique session ID to identify ongoing signing sessions. It is the SHA256 of the signing (aggregate) pubkey, the participant pubkey, the sighash, and the pubnonce
Declared in <musig.h>
uint256
MuSig2SessionID(
CPubKey const& script_pubkey,
CPubKey const& part_pubkey,
uint256 const& sighash,
std::vector<uint8_t> const& pubnonce);
A unique session identifier derived from the inputs.
| Name | Description |
|---|---|
| script_pubkey | The signing (aggregate) public key for the session. |
| part_pubkey | The participant public key. |
| sighash | The signature hash being signed. |
| pubnonce | The serialized public nonce. |