mirror of
https://github.com/luxfi/node.git
synced 2026-07-27 03:39:39 +00:00
CommitteeCert.Verify(committee) now verifies each endorsement as a BLS signature over the certificate's canonical signing digest by a distinct, known committee member's registered public key. Rejects (fail-closed) nil, unknown, duplicate, or invalid endorsements, parameter mismatches, and sub-threshold sets; requires >= Threshold valid distinct signatures. The engine holds a committee registry (RegisterCommittee) and VerifyResult fails closed on an unknown committee. Replaces the count-only stub. Tests: valid quorum + sub-threshold, duplicate-signer, forged-signature, unknown-signer, parameter-mismatch, and engine fail-closed cases.