MCPcopy Create free account

hub / github.com/MetaMask/torus-node / functions

Functions1,344 in github.com/MetaMask/torus-node

↓ 1 callersMethodSetSelfIndex
(int)
dkgnode/service_library.go:134
↓ 1 callersMethodSetSign
(sig []byte)
dkgnode/p2p.go:123
↓ 1 callersMethodSetVerifierEncData
Verifier should call this function when it receives l = g1^m * h1^s as the first protocol message.
pvss/verenc.go:519
↓ 1 callersFunctionSetupManagementRPCHander
(actions Actions)
mrpc/handlers.go:61
↓ 1 callersMethodSetupMethodRouting
()
dkgnode/services.go:105
↓ 1 callersFunctionSignedTextToProposeProof
(c00 common.Point, st map[NodeDetailsID]SignedText)
keygennofsm/p2p_messages.go:703
↓ 1 callersMethodStartPSSMonitor
()
dkgnode/service_library.go:145
↓ 1 callersFunctionStop
(ctx context.Context)
telemetry/prometheus.go:201
↓ 1 callersMethodStop
()
dkgnode/service.go:24
↓ 1 callersMethodStopForwardP2PToEventBus
(proto string)
dkgnode/p2p.go:165
↓ 1 callersMethodStorePublicKeyToKeyIndex
(publicKey common.Point, keyIndex big.Int)
db/torus.go:146
↓ 1 callersMethodSubscribe
Subscribe subscribes to a topic in a remote event bus
eventbus/client.go:73
↓ 1 callersMethodTokenCommitExists
(verifier string, tokenCommitment string)
dkgnode/service_library.go:1634
↓ 1 callersMethodUpdateEpoch
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 callersMethodUpdatePssStatus
UpdatePssStatus is a paid mutator transaction binding the contract method 0x6967ac51. Solidity: function updatePssStatus(uint256 oldEpoch, uint256 ne
solidity/goContracts/NodeList.go:737
↓ 1 callersMethodUpdateWhitelist
UpdateWhitelist is a paid mutator transaction binding the contract method 0x3d4602a9. Solidity: function updateWhitelist(uint256 epoch, address nodeA
solidity/goContracts/NodeList.go:758
↓ 1 callersMethodValid
Implements Iterator.
db/level_db.go:238
↓ 1 callersMethodValidate
(pubKeyX, pubKeyY big.Int, sig []byte)
dkgnode/handlers.go:198
↓ 1 callersMethodValidate
()
dealer/types.go:123
↓ 1 callersMethodValidate
()
dealer/types.go:156
↓ 1 callersMethodValidateAndUpdateAndTagBFTTx
Validates transactions to be delivered to the BFT. is the master switch for all tx
dkgnode/bftruleset.go:29
↓ 1 callersMethodValidateEpochPubKey
(nodeAddress ethCommon.Address, pubK common.Point)
dkgnode/service_library.go:148
↓ 1 callersMethodVerifyDLEQProof
(G common.Point, H common.Point, xG common.Point, xH common.Point)
pvss/verenc.go:60
↓ 1 callersMethodVerifyDataWithEpoch
(pk common.Point, sig []byte, data []byte, epoch int)
dkgnode/service_library.go:144
↓ 1 callersMethodVerifyDataWithNodelist
(pk common.Point, sig []byte, data []byte)
dkgnode/service_library.go:143
↓ 1 callersMethodVerifyRequestIdentity
(*bijson.RawMessage)
auth/verifier.go:39
↓ 1 callersMethodVerifyRequestIdentity
VerifyRequestIdentity - verifies identity of user based on their token
auth/demo_verifier.go:32
↓ 1 callersMethodWait
()
dkgnode/service.go:147
↓ 1 callersFunctionabciMonitor
(t *TendermintService)
dkgnode/tendermint.go:139
↓ 1 callersFunctionassignKey
(c context.Context, eventBus eventbus.Bus, verifier string, verifierID string)
dkgnode/jrpc_handlers.go:335
↓ 1 callersFunctionauthMiddleware
(eventBus eventbus.Bus)
dkgnode/middleware.go:134
↓ 1 callersFunctionbatchSigncryptShare
(nodeList []pcmn.Node, shares []pcmn.PrimaryShare, privKey big.Int)
pvss/pvss.go:267
↓ 1 callersFunctionbftWorker
(t *TendermintService)
dkgnode/tendermint.go:157
↓ 1 callersFunctionbytes2Int64
(buf []byte)
db/level_db_test.go:104
↓ 1 callersFunctionbytes32
(bytes []byte)
pvss/pvss.go:147
↓ 1 callersFunctioncheckAllPSSEndedIfNotComplete
(pssNode *PSSNode, sharingID SharingID, pssArr []PSSID)
pss/keygen_pss.go:1000
↓ 1 callersFunctioncheckStatus
()
scripts/js/checkSharesPSS.js:37
↓ 1 callersFunctioncheckStatus
()
scripts/js/checkShares.js:29
↓ 1 callersFunctioncheckStatus
()
scripts/js/allmetrics.js:61
↓ 1 callersFunctioncheckSufficientRecoversIfNotComplete
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 callersMethodcollector
()
telemetry/prometheus.go:25
↓ 1 callersMethodcreateConfigWithFlags
createConfigWithFlags edits a config with flags parsed in. NOTE: It will note override with defaults
config/config.go:234
↓ 1 callersFunctioncreateDirectory
(dirName string)
dkgnode/utils.go:61
↓ 1 callersFunctioncurrentNodesMonitor
(e *EthereumService)
dkgnode/ethereum.go:1082
↓ 1 callersFunctiondecGauge
(name string)
telemetry/gauge.go:49
↓ 1 callersFunctiondeconstructVerifierKey
(key []byte)
dkgnode/abci_app.go:144
↓ 1 callersMethoddoPublishAsync
(handler *eventHandler, topic string, data interface{})
eventbus/event_bus.go:209
↓ 1 callersFunctionfilterBytes
(bytes []byte, keys ...string)
dkgnode/middleware.go:277
↓ 1 callersMethodfindHandlerIdx
(topic string, callback func(interface{}))
eventbus/event_bus.go:235
↓ 1 callersFunctionfindValue
scripts/js/checkSharesPSS.js:5
↓ 1 callersFunctionfindValue
scripts/js/checkShares.js:5
↓ 1 callersFunctionfindValue
(data, targetMetric)
scripts/js/allmetrics.js:29
↓ 1 callersMethodgenerateKey
()
pvss/verenc.go:323
↓ 1 callersFunctiongenerateRandomPolynomial
Mobile Proactive Secret Sharing Generate random polynomial Note: this does not have a y-intercept of 0
pvss/pss.go:17
↓ 1 callersFunctiongetDKGAndKeygensIfKeygensEnded
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 callersFunctiongetDKGIfDbarExists
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 callersMethodgetIndexesFromVerifierID
(verifier, verifierID string)
dkgnode/abci_app.go:500
↓ 1 callersMethodgetTokenCommitKey
(verifier string, tokenCommitment string)
dkgnode/cache.go:157
↓ 1 callersFunctionincGauge
(name string)
telemetry/gauge.go:30
↓ 1 callersFunctionincomingPSSMonitor
(e eventbus.Bus)
dkgnode/ethereum.go:959
↓ 1 callersFunctionincrementCounter
(metricName, prefix string)
telemetry/wrapper.go:109
↓ 1 callersFunctionincrementLastBit
incrementLastBit - used to delimit the range of elements in the db that were stored based on this prefix
dkgnode/utils.go:149
↓ 1 callersMethodinit
()
db/sqlite_db.go:39
↓ 1 callersFunctionmapFromNodeList
(nodeList []pcmn.Node)
keygennofsm/types.go:509
↓ 1 callersMethodmergeWithFlags
mergeWithFlags explicitly merges flags for a given instance of Config NOTE: It will note override with defaults
config/config.go:202
↓ 1 callersFunctionnextNodesMonitor
(e *EthereumService)
dkgnode/ethereum.go:1132
↓ 1 callersFunctionoutgoingPSSMonitor
(e eventbus.Bus)
dkgnode/ethereum.go:782
↓ 1 callersFunctionpreviousNodesMonitor
(e *EthereumService)
dkgnode/ethereum.go:1050
↓ 1 callersFunctionprintStatus
()
scripts/js/checkSharesPSS.js:60
↓ 1 callersFunctionprintStatus
()
scripts/js/checkShares.js:52
↓ 1 callersFunctionprintStatus
()
scripts/js/allmetrics.js:86
↓ 1 callersMethodprocessCompleteMessage
(keygenMsgComplete KeygenMsgComplete, keygenIDDetails KeygenIDDetails, senderDetails NodeDetails)
keygennofsm/p2p_messages.go:489
↓ 1 callersMethodprocessEchoMessage
(keygenMsgEcho KeygenMsgEcho, keygen *Keygen, keygenIDDetails KeygenIDDetails, senderDetails NodeDetails)
keygennofsm/p2p_messages.go:167
↓ 1 callersMethodprocessNIZKPMessage
(keygenMsgNIZKP KeygenMsgNIZKP, keygen *Keygen, senderDetails NodeDetails)
keygennofsm/p2p_messages.go:591
↓ 1 callersMethodprocessReadyMessage
(keygenMsgReady KeygenMsgReady, keygen *Keygen, keygenIDDetails KeygenIDDetails, senderDetails NodeDetails)
keygennofsm/p2p_messages.go:302
↓ 1 callersMethodprocessSendMessage
(keygenMsgSend KeygenMsgSend, keygen *Keygen, keygenIDDetails KeygenIDDetails, senderDetails NodeDetails)
keygennofsm/p2p_messages.go:89
↓ 1 callersMethodprocessShareMessage
(keygenMsgShare KeygenMsgShare, keygen *Keygen)
keygennofsm/p2p_messages.go:21
↓ 1 callersFunctionrawPointToTMPubKey
(X, Y *big.Int)
dkgnode/tendermint.go:406
↓ 1 callersFunctionreadAndMarshallJSONConfig
(configPath string, c *Config)
config/config.go:285
↓ 1 callersMethodrecordSignerSig
(signature string)
dkgnode/cache.go:143
↓ 1 callersMethodrecordTokenCommit
(verifier string, tokenCommitment string, pubKey common.Point)
dkgnode/cache.go:169
↓ 1 callersFunctionregisterNode
(e *EthereumService)
dkgnode/ethereum.go:721
↓ 1 callersFunctionretrieveKeysFromVerifierID
(c context.Context, eventBus eventbus.Bus, verifier string, verifierID string)
dkgnode/jrpc_handlers.go:424
↓ 1 callersMethodrpcCallback
(subscribeArg *SubscribeArg)
eventbus/server.go:61
↓ 1 callersFunctionrun
()
scripts/js/checkSharesPSS.js:65
↓ 1 callersFunctionrun
()
scripts/js/checkShares.js:57
↓ 1 callersFunctionrun
()
scripts/js/allmetrics.js:95
↓ 1 callersFunctionrunMiddleware
(middleware []*func(string, interface{}) interface{}, topic string, input interface{})
eventbus/event_bus.go:95
↓ 1 callersMethodrunReceiveMiddleware
(pssMessage PSSMessage)
pss/keygen_pss_test.go:699
↓ 1 callersMethodrunReceiveMiddleware
(pssMessage PSSMessage)
pss/keygen_pss_test.go:809
↓ 1 callersMethodrunReceiveMiddleware
(keygenMessage KeygenMessage)
keygennofsm/keygen_nofsm_test.go:456
↓ 1 callersMethodrunSendMiddleware
(pssMessage PSSMessage)
pss/keygen_pss_test.go:683
↓ 1 callersMethodrunSendMiddleware
(pssMessage PSSMessage)
pss/keygen_pss_test.go:793
↓ 1 callersMethodrunSendMiddleware
(keygenMessage KeygenMessage)
keygennofsm/keygen_nofsm_test.go:441
↓ 1 callersMethodselfSignData
(data []byte)
dkgnode/node_auth.go:83
↓ 1 callersMethodsendP2PMessage
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 callersFunctionsetUpDebugHandler
(eventBus eventbus.Bus)
dkgnode/handlers.go:327
↓ 1 callersFunctionsetUpJRPCHandler
(eventBus eventbus.Bus)
dkgnode/handlers.go:291
↓ 1 callersFunctionsetUpRouter
(eventBus eventbus.Bus)
dkgnode/server.go:262
↓ 1 callersFunctionsetupRequestLoggingMiddleware
(serviceRegistry *ServiceRegistry)
dkgnode/middleware.go:303
← previousnext →501–600 of 1,344, ranked by callers