Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Result ¶
Result is a mock result that can be used for testing.
func NewMockResult ¶
NewMockResult creates a mock result for testing.
func VerifiableResults ¶
VerifiableResults creates a set of results that will pass a `chain.Verify` check.
func (*Result) AssertValid ¶
AssertValid checks that this result is valid.
func (*Result) PreviousSignature ¶
PreviousSignature is the signature of the previous round.
func (*Result) Randomness ¶
Randomness is a hash of the signature.
Click to show internal directories.
Click to hide internal directories.