verify Signature
Verifies the beacon's BLS signature using the chain's public key and cryptographic scheme.
This is the core cryptographic verification that proves the beacon was produced by the drand network and hasn't been forged. The signature is verified using:
The chain's public key (aggregated from multiple nodes)
The appropriate BLS signing scheme (BLS12-381 on G1 or G2)
The message digest (computed from round number and optionally previous signature)
For chained beacons, the message includes the previous signature to create a verifiable chain of randomness. For unchained beacons, only the round number is signed.
Return
Result.success if signature is valid, Result.failure with DrandError.VerificationFailed if invalid or verification errors occur
Parameters
The beacon to verify
The chain configuration with public key and scheme