Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MetaMask/torus-node
/ functions
Functions
1,344 in github.com/MetaMask/torus-node
⨍
Functions
1,344
◇
Types & classes
457
↓ 1 callers
Method
SetSelfIndex
(int)
dkgnode/service_library.go:134
↓ 1 callers
Method
SetSign
(sig []byte)
dkgnode/p2p.go:123
↓ 1 callers
Method
SetVerifierEncData
Verifier should call this function when it receives l = g1^m * h1^s as the first protocol message.
pvss/verenc.go:519
↓ 1 callers
Function
SetupManagementRPCHander
(actions Actions)
mrpc/handlers.go:61
↓ 1 callers
Method
SetupMethodRouting
()
dkgnode/services.go:105
↓ 1 callers
Function
SignedTextToProposeProof
(c00 common.Point, st map[NodeDetailsID]SignedText)
keygennofsm/p2p_messages.go:703
↓ 1 callers
Method
StartPSSMonitor
()
dkgnode/service_library.go:145
↓ 1 callers
Function
Stop
(ctx context.Context)
telemetry/prometheus.go:201
↓ 1 callers
Method
Stop
()
dkgnode/service.go:24
↓ 1 callers
Method
StopForwardP2PToEventBus
(proto string)
dkgnode/p2p.go:165
↓ 1 callers
Method
StorePublicKeyToKeyIndex
(publicKey common.Point, keyIndex big.Int)
db/torus.go:146
↓ 1 callers
Method
Subscribe
Subscribe subscribes to a topic in a remote event bus
eventbus/client.go:73
↓ 1 callers
Method
TokenCommitExists
(verifier string, tokenCommitment string)
dkgnode/service_library.go:1634
↓ 1 callers
Method
UpdateEpoch
UpdateEpoch is a paid mutator transaction binding the contract method 0xae4df20c. Solidity: function updateEpoch(uint256 epoch, uint256 n, uint256 k,
solidity/goContracts/NodeList.go:716
↓ 1 callers
Method
UpdatePssStatus
UpdatePssStatus is a paid mutator transaction binding the contract method 0x6967ac51. Solidity: function updatePssStatus(uint256 oldEpoch, uint256 ne
solidity/goContracts/NodeList.go:737
↓ 1 callers
Method
UpdateWhitelist
UpdateWhitelist is a paid mutator transaction binding the contract method 0x3d4602a9. Solidity: function updateWhitelist(uint256 epoch, address nodeA
solidity/goContracts/NodeList.go:758
↓ 1 callers
Method
Valid
Implements Iterator.
db/level_db.go:238
↓ 1 callers
Method
Validate
(pubKeyX, pubKeyY big.Int, sig []byte)
dkgnode/handlers.go:198
↓ 1 callers
Method
Validate
()
dealer/types.go:123
↓ 1 callers
Method
Validate
()
dealer/types.go:156
↓ 1 callers
Method
ValidateAndUpdateAndTagBFTTx
Validates transactions to be delivered to the BFT. is the master switch for all tx
dkgnode/bftruleset.go:29
↓ 1 callers
Method
ValidateEpochPubKey
(nodeAddress ethCommon.Address, pubK common.Point)
dkgnode/service_library.go:148
↓ 1 callers
Method
VerifyDLEQProof
(G common.Point, H common.Point, xG common.Point, xH common.Point)
pvss/verenc.go:60
↓ 1 callers
Method
VerifyDataWithEpoch
(pk common.Point, sig []byte, data []byte, epoch int)
dkgnode/service_library.go:144
↓ 1 callers
Method
VerifyDataWithNodelist
(pk common.Point, sig []byte, data []byte)
dkgnode/service_library.go:143
↓ 1 callers
Method
VerifyRequestIdentity
(*bijson.RawMessage)
auth/verifier.go:39
↓ 1 callers
Method
VerifyRequestIdentity
VerifyRequestIdentity - verifies identity of user based on their token
auth/demo_verifier.go:32
↓ 1 callers
Method
Wait
()
dkgnode/service.go:147
↓ 1 callers
Function
abciMonitor
(t *TendermintService)
dkgnode/tendermint.go:139
↓ 1 callers
Function
assignKey
(c context.Context, eventBus eventbus.Bus, verifier string, verifierID string)
dkgnode/jrpc_handlers.go:335
↓ 1 callers
Function
authMiddleware
(eventBus eventbus.Bus)
dkgnode/middleware.go:134
↓ 1 callers
Function
batchSigncryptShare
(nodeList []pcmn.Node, shares []pcmn.PrimaryShare, privKey big.Int)
pvss/pvss.go:267
↓ 1 callers
Function
bftWorker
(t *TendermintService)
dkgnode/tendermint.go:157
↓ 1 callers
Function
bytes2Int64
(buf []byte)
db/level_db_test.go:104
↓ 1 callers
Function
bytes32
(bytes []byte)
pvss/pvss.go:147
↓ 1 callers
Function
checkAllPSSEndedIfNotComplete
(pssNode *PSSNode, sharingID SharingID, pssArr []PSSID)
pss/keygen_pss.go:1000
↓ 1 callers
Function
checkStatus
()
scripts/js/checkSharesPSS.js:37
↓ 1 callers
Function
checkStatus
()
scripts/js/checkShares.js:29
↓ 1 callers
Function
checkStatus
()
scripts/js/allmetrics.js:61
↓ 1 callers
Function
checkSufficientRecoversIfNotComplete
checkSufficientRecoversIfNotComplete - checks if there are sufficient recovers (by checking if recover.D is nil) if the recover instance has already b
pss/keygen_pss.go:1034
↓ 1 callers
Method
collector
()
telemetry/prometheus.go:25
↓ 1 callers
Method
createConfigWithFlags
createConfigWithFlags edits a config with flags parsed in. NOTE: It will note override with defaults
config/config.go:234
↓ 1 callers
Function
createDirectory
(dirName string)
dkgnode/utils.go:61
↓ 1 callers
Function
currentNodesMonitor
(e *EthereumService)
dkgnode/ethereum.go:1082
↓ 1 callers
Function
decGauge
(name string)
telemetry/gauge.go:49
↓ 1 callers
Function
deconstructVerifierKey
(key []byte)
dkgnode/abci_app.go:144
↓ 1 callers
Method
doPublishAsync
(handler *eventHandler, topic string, data interface{})
eventbus/event_bus.go:209
↓ 1 callers
Function
filterBytes
(bytes []byte, keys ...string)
dkgnode/middleware.go:277
↓ 1 callers
Method
findHandlerIdx
(topic string, callback func(interface{}))
eventbus/event_bus.go:235
↓ 1 callers
Function
findValue
scripts/js/checkSharesPSS.js:5
↓ 1 callers
Function
findValue
scripts/js/checkShares.js:5
↓ 1 callers
Function
findValue
(data, targetMetric)
scripts/js/allmetrics.js:29
↓ 1 callers
Method
generateKey
()
pvss/verenc.go:323
↓ 1 callers
Function
generateRandomPolynomial
Mobile Proactive Secret Sharing Generate random polynomial Note: this does not have a y-intercept of 0
pvss/pss.go:17
↓ 1 callers
Function
getDKGAndKeygensIfKeygensEnded
getDKGAndKeygensIfKeygensEnded - gets references to dkg and keygens, which are safe to use and won't be affected by cleanup if the dkg has already end
keygennofsm/keygen_nofsm.go:358
↓ 1 callers
Function
getDKGIfDbarExists
getDKGIfDbarExists - gets references to dkg, which are safe to use and won't be affected by cleanup if the dkg has been cleaned up (alreadyCleanUp) or
keygennofsm/p2p_messages.go:718
↓ 1 callers
Method
getIndexesFromVerifierID
(verifier, verifierID string)
dkgnode/abci_app.go:500
↓ 1 callers
Method
getTokenCommitKey
(verifier string, tokenCommitment string)
dkgnode/cache.go:157
↓ 1 callers
Function
incGauge
(name string)
telemetry/gauge.go:30
↓ 1 callers
Function
incomingPSSMonitor
(e eventbus.Bus)
dkgnode/ethereum.go:959
↓ 1 callers
Function
incrementCounter
(metricName, prefix string)
telemetry/wrapper.go:109
↓ 1 callers
Function
incrementLastBit
incrementLastBit - used to delimit the range of elements in the db that were stored based on this prefix
dkgnode/utils.go:149
↓ 1 callers
Method
init
()
db/sqlite_db.go:39
↓ 1 callers
Function
mapFromNodeList
(nodeList []pcmn.Node)
keygennofsm/types.go:509
↓ 1 callers
Method
mergeWithFlags
mergeWithFlags explicitly merges flags for a given instance of Config NOTE: It will note override with defaults
config/config.go:202
↓ 1 callers
Function
nextNodesMonitor
(e *EthereumService)
dkgnode/ethereum.go:1132
↓ 1 callers
Function
outgoingPSSMonitor
(e eventbus.Bus)
dkgnode/ethereum.go:782
↓ 1 callers
Function
previousNodesMonitor
(e *EthereumService)
dkgnode/ethereum.go:1050
↓ 1 callers
Function
printStatus
()
scripts/js/checkSharesPSS.js:60
↓ 1 callers
Function
printStatus
()
scripts/js/checkShares.js:52
↓ 1 callers
Function
printStatus
()
scripts/js/allmetrics.js:86
↓ 1 callers
Method
processCompleteMessage
(keygenMsgComplete KeygenMsgComplete, keygenIDDetails KeygenIDDetails, senderDetails NodeDetails)
keygennofsm/p2p_messages.go:489
↓ 1 callers
Method
processEchoMessage
(keygenMsgEcho KeygenMsgEcho, keygen *Keygen, keygenIDDetails KeygenIDDetails, senderDetails NodeDetails)
keygennofsm/p2p_messages.go:167
↓ 1 callers
Method
processNIZKPMessage
(keygenMsgNIZKP KeygenMsgNIZKP, keygen *Keygen, senderDetails NodeDetails)
keygennofsm/p2p_messages.go:591
↓ 1 callers
Method
processReadyMessage
(keygenMsgReady KeygenMsgReady, keygen *Keygen, keygenIDDetails KeygenIDDetails, senderDetails NodeDetails)
keygennofsm/p2p_messages.go:302
↓ 1 callers
Method
processSendMessage
(keygenMsgSend KeygenMsgSend, keygen *Keygen, keygenIDDetails KeygenIDDetails, senderDetails NodeDetails)
keygennofsm/p2p_messages.go:89
↓ 1 callers
Method
processShareMessage
(keygenMsgShare KeygenMsgShare, keygen *Keygen)
keygennofsm/p2p_messages.go:21
↓ 1 callers
Function
rawPointToTMPubKey
(X, Y *big.Int)
dkgnode/tendermint.go:406
↓ 1 callers
Function
readAndMarshallJSONConfig
(configPath string, c *Config)
config/config.go:285
↓ 1 callers
Method
recordSignerSig
(signature string)
dkgnode/cache.go:143
↓ 1 callers
Method
recordTokenCommit
(verifier string, tokenCommitment string, pubKey common.Point)
dkgnode/cache.go:169
↓ 1 callers
Function
registerNode
(e *EthereumService)
dkgnode/ethereum.go:721
↓ 1 callers
Function
retrieveKeysFromVerifierID
(c context.Context, eventBus eventbus.Bus, verifier string, verifierID string)
dkgnode/jrpc_handlers.go:424
↓ 1 callers
Method
rpcCallback
(subscribeArg *SubscribeArg)
eventbus/server.go:61
↓ 1 callers
Function
run
()
scripts/js/checkSharesPSS.js:65
↓ 1 callers
Function
run
()
scripts/js/checkShares.js:57
↓ 1 callers
Function
run
()
scripts/js/allmetrics.js:95
↓ 1 callers
Function
runMiddleware
(middleware []*func(string, interface{}) interface{}, topic string, input interface{})
eventbus/event_bus.go:95
↓ 1 callers
Method
runReceiveMiddleware
(pssMessage PSSMessage)
pss/keygen_pss_test.go:699
↓ 1 callers
Method
runReceiveMiddleware
(pssMessage PSSMessage)
pss/keygen_pss_test.go:809
↓ 1 callers
Method
runReceiveMiddleware
(keygenMessage KeygenMessage)
keygennofsm/keygen_nofsm_test.go:456
↓ 1 callers
Method
runSendMiddleware
(pssMessage PSSMessage)
pss/keygen_pss_test.go:683
↓ 1 callers
Method
runSendMiddleware
(pssMessage PSSMessage)
pss/keygen_pss_test.go:793
↓ 1 callers
Method
runSendMiddleware
(keygenMessage KeygenMessage)
keygennofsm/keygen_nofsm_test.go:441
↓ 1 callers
Method
selfSignData
(data []byte)
dkgnode/node_auth.go:83
↓ 1 callers
Method
sendP2PMessage
helper method - writes a p2pMessage go data object to a network stream s: network stream to write the data to
dkgnode/p2p.go:459
↓ 1 callers
Function
setUpDebugHandler
(eventBus eventbus.Bus)
dkgnode/handlers.go:327
↓ 1 callers
Function
setUpJRPCHandler
(eventBus eventbus.Bus)
dkgnode/handlers.go:291
↓ 1 callers
Function
setUpRouter
(eventBus eventbus.Bus)
dkgnode/server.go:262
↓ 1 callers
Function
setupRequestLoggingMiddleware
(serviceRegistry *ServiceRegistry)
dkgnode/middleware.go:303
← previous
next →
501–600 of 1,344, ranked by callers