package
0.0.0-20250101065929-58636c60f564
Repository: https://github.com/tokamak-network/drb-node.git
Documentation: pkg.go.dev
# Functions
CalculateRV hashes all COS values into a single RV value.
CREATE_MERKLE_TREE generates a Merkle root using the provided leaves.
DetermineOrder calculates the reveal order by comparing COS values with RV.
No description provided by the author
GenerateCommit generates the secret value, cos, and cvs for a single regular node.
keccak256 performs a Keccak-256 hash on the input data and returns the result.
No description provided by the author
SaveCommitData saves the commit data to a JSON file.
SaveRevealOrder stores the RV and reveal order in a file.
SignCommitRequest signs the commit request with the EOA address and round.