Skip to main content

Interface: MultisigVerifierLike

Methods​

verify()​

verify(message, signature): void;

Parameters​

message​

ArrayBuffer

signature​

MultisigAggregatedSignatureLike

Returns​

void


withAcceptPasskeyInMultisig()​

withAcceptPasskeyInMultisig(accept): MultisigVerifierLike;

Accept passkey members inside a multisig. Disabled by default.

Parameters​

accept​

boolean

Returns​

MultisigVerifierLike


withRejectPartiallySignedMixedEd25519()​

withRejectPartiallySignedMixedEd25519(reject): MultisigVerifierLike;

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.

Parameters​

reject​

boolean

Returns​

MultisigVerifierLike