Skip to main content

MultisigVerifierInterface

type MultisigVerifierInterface​

type MultisigVerifierInterface interface {
Verify(message []byte, signature *MultisigAggregatedSignature) error
// Accept passkey members inside a multisig. Disabled by default.
WithAcceptPasskeyInMultisig(accept bool) *MultisigVerifier
// Reject partially signed multisigs whose committee mixes Ed25519 with other key schemes. Such
// a multisig is still accepted when every member has signed. `MultisigAggregator::finish`
// applies the same rule through its verifier.
//
// Enabled by default. The network accepted such multisigs before protocol version 39 (node
// release 1.35), so disabling it accepts them again, but a partially signed one can then not
// be told apart from one forged through a committee whose address collides with the signer's.
WithRejectPartiallySignedMixedEd25519(reject bool) *MultisigVerifier
}