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

Method ProcessMessage

keygennofsm/keygen_nofsm.go:35–181  ·  view source on GitHub ↗

ProcessMessage is called when the transport for the node receives a message via direct send. 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 -> state checks -> logic -> state upd

(senderDetails NodeDetails, keygenMessage KeygenMessage)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

ReceiveMethod · 0.45

Calls 14

processShareMessageMethod · 0.95
FromKeygenIDMethod · 0.95
processSendMessageMethod · 0.95
processEchoMessageMethod · 0.95
processReadyMessageMethod · 0.95
processNIZKPMessageMethod · 0.95
IncrementCounterFunction · 0.92
DebugMethod · 0.80
LockMethod · 0.80
UnlockMethod · 0.80
ToNodeDetailsIDMethod · 0.45

Tested by 1

ReceiveMethod · 0.36