checkValidPrecommitmentValue

@buff-beacon-project/curby-clientDocs


@buff-beacon-project/curby-client / checkValidPrecommitmentValue

Function: checkValidPrecommitmentValue()

checkValidPrecommitmentValue(pulse, previous, hasher): Promise<boolean>

Check if a precommitment value is valid

Parameters

Parameter
Type
Default value

pulse

Pulse

undefined

previous

Pulse

undefined

hasher

Hasher<"sha3-512", 20>

sha3512

Returns

Promise<boolean>

Defined in

src/extract-randomness.ts:83

Last updated