package
0.0.0-20250101065929-58636c60f564
Repository: https://github.com/tokamak-network/drb-node.git
Documentation: pkg.go.dev
# Functions
AcceptSecretValue processes and stores secret values sent by regular nodes.
ActivateOnChain handles the on-chain activation of the node.
Fetch activated operators for a specific round.
handleSecretValueResponse processes a response and sends the next request if applicable.
LoadRegisteredNodes loads the registered nodes from a JSON file.
MonitorCommits continuously checks for rounds where all EOAs have submitted their secret values.
RegisterNode handles both saving node information and activating the node on-chain.
SaveRegisteredNodes saves the registered nodes to a JSON file.
StartSecretValueRequests initializes the secret value request process for a given round.