Function: provideDrandProof(DataTypes.DrandProof proof)
This allows providing the proof for the specific round.
Inputs
proof
Control: Fully controlled by calling function.
Constraints: Checked that the round is not already submitted.
Impact: The proof for the specific round.
Branches and code coverage
Intended branches
Assure that the
previous_signature
matches the previous roundsignature
. Currently not performed.Assure that the signature is legitimate and recovers into the
submitter
. Currently not performed.Should set the
drands
mapping for theproof.round
to theproof
.