@orangecheck/vote-core / verifyPoll
Function: verifyPoll()
function verifyPoll(poll: Poll, verify: SignatureVerifier): Promise<VerifyResult>;
Defined in: vote-core/src/verify.ts:46
Structural checks from SPEC §3.3 plus the creator's BIP-322 signature over
poll_id (§10.1). A poll that fails MUST be rejected.
Parameters
| Parameter | Type |
|---|---|
poll | Poll |
verify | SignatureVerifier |
Returns
Promise<VerifyResult>