MCPcopy Create free account
hub / github.com/MetaMask/torus-node / ProcessBroadcastMessage

Method ProcessBroadcastMessage

keygennofsm/keygen_nofsm.go:187–312  ·  view source on GitHub ↗

ProcessBroadcastMessage is called when the node receives a message via broadcast (eg. Tendermint) It works similar to a router, processing different messages differently based on their associated method. Each method handler's code path consists of parsing the message -> logic -> state updates. Defer

(keygenMessage KeygenMessage)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

ReceiveBroadcastMethod · 0.45

Calls 15

IncrementCounterFunction · 0.92
SumScalarsFunction · 0.92
AddCommitmentsFunction · 0.92
VerifyShareCommitmentFunction · 0.92
GenerateNIZKPKFunction · 0.92
CreateKeygenMessageFunction · 0.85
DebugMethod · 0.80
AddMethod · 0.80
LockMethod · 0.80
UnlockMethod · 0.80
OutputMethod · 0.65

Tested by 1

ReceiveBroadcastMethod · 0.36