MCPcopy Create free account

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

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

↓ 5 callersMethodServe
()
telemetry/prometheus.go:20
↓ 5 callersMethodSignP2PMessage
(message P2PMessage)
dkgnode/service_library.go:806
↓ 5 callersMethodToKeygenID
()
keygennofsm/types.go:85
↓ 5 callersFunctionUnsigncryptShare
(signcryption pcmn.Signcryption, privKey big.Int, sendingNodePubKey common.Point)
pvss/pvss.go:312
↓ 5 callersMethodValidate
(existingPubKey common.Point)
dealer/types.go:51
↓ 5 callersFunctionVerifyNIZKPK
(c, u1, u2 big.Int, gs, gshr common.Point)
pvss/nizkpk.go:77
↓ 5 callersFunctionVerifyShareCommitment
VerifyShareCommitment - checks if a dlog commitment matches the original pubpoly
pvss/gennaro2006.go:89
↓ 5 callersFunctiongetCommonNodesFromNodeRefArray
(nodeRefs []NodeReference)
dkgnode/pss.go:255
↓ 5 callersFunctionpt
(x, y *big.Int)
pvss/verenc.go:99
↓ 4 callersFunctionAVSSVerifyPoly
AVSSVerifyPoly - verify-poly as described in Cachin et al 2002
pvss/avss.go:99
↓ 4 callersMethodAbs
(a *big.Int)
pvss/verenc.go:308
↓ 4 callersFunctionCreateAndPrepareShares
deprecated: use CreateShares and let client handle signcryption. Client may need to add more information before signcrypting (eg. broadcast id)
pvss/pvss.go:294
↓ 4 callersFunctionCreateSharesGen
CreateSharesGen - Creating shares for gennaro DKG
pvss/gennaro2006.go:23
↓ 4 callersMethodDeserialize
(serializedNodeRef SerializedNodeReference)
dkgnode/ethereum.go:112
↓ 4 callersFunctionECDSAVerifyBytes
(b []byte, pubKey *common.Point, signature []byte)
pvss/pvss.go:200
↓ 4 callersMethodExists
(key string)
dkgnode/cache.go:37
↓ 4 callersMethodFromNodeDetailsID
(nodeDetailsID NodeDetailsID)
dkgnode/abci_app.go:560
↓ 4 callersFunctionGenerateDKGID
(index big.Int)
keygennofsm/types.go:518
↓ 4 callersMethodGetEpochInfo
(epoch int, skipCache bool)
dkgnode/ethereum.go:646
↓ 4 callersMethodGetIndex
()
pss/types.go:215
↓ 4 callersMethodGetIndex
GetIndex - get index from dkgid
keygennofsm/types.go:69
↓ 4 callersFunctionIncGauge
(name string)
telemetry/gauge.go:22
↓ 4 callersMethodIsOwner
IsOwner is a free data retrieval call binding the contract method 0x8f32d59b. Solidity: function isOwner() constant returns(bool)
solidity/goContracts/NodeList.go:1232
↓ 4 callersFunctionLagrangePolys
LagrangePolys is used in PSS When each share is subshared, each share is associated with a commitment polynomial we then choose k such subsharings to
pvss/pss.go:41
↓ 4 callersMethodListMutableConfigs
()
config/config.go:159
↓ 4 callersMethodMappingInstanceExists
(mappingID mapping.MappingID)
dkgnode/mapping.go:211
↓ 4 callersFunctionNewClient
NewClient - create a client object with the address and server path
eventbus/client.go:32
↓ 4 callersFunctionNewServer
NewServer - create a new Server at the address and path
eventbus/server.go:46
↓ 4 callersMethodNext
Next moves the iterator to the next sequential key in the database, as defined by order of iteration. If Valid returns false, this method will panic.
db/types.go:106
↓ 4 callersMethodNodeDetails
NodeDetails is a free data retrieval call binding the contract method 0x859da85f. Solidity: function nodeDetails(address ) constant returns(string de
solidity/goContracts/NodeList.go:490
↓ 4 callersMethodOutput
(interface{})
keygennofsm/types.go:113
↓ 4 callersMethodOwner
Owner is a free data retrieval call binding the contract method 0x8da5cb5b. Solidity: function owner() constant returns(address)
solidity/goContracts/NodeList.go:1258
↓ 4 callersMethodReceive
(NodeDetails, PSSMessage)
pss/types.go:468
↓ 4 callersMethodRetrieveIndexToPublicKey
(keyIndex big.Int)
dkgnode/service_library.go:1339
↓ 4 callersMethodRetrieveKeyMapping
(keyIndex big.Int)
dkgnode/service_library.go:513
↓ 4 callersMethodSend
(NodeDetails, MappingMessage)
mapping/types.go:70
↓ 4 callersMethodSerialize
()
dkgnode/ethereum.go:86
↓ 4 callersFunctionSetupTestNodes
( keys int, nOld int, kOld int, tOld int, nNew int, kNew int, tNew int, sameNodes bool, )
pss/keygen_pss_test.go:947
↓ 4 callersMethodStart
()
dkgnode/service.go:23
↓ 4 callersFunctionSumScalars
(scalars ...big.Int)
pvss/pvss.go:494
↓ 4 callersMethodToMappingID
()
mapping/types.go:119
↓ 4 callersMethodUnsubscribeAll
(topic string)
eventbus/event_bus.go:18
↓ 4 callersMethodVerifierMethods
()
dkgnode/service_library.go:45
↓ 4 callersFunctionVerifyPedersonCommitment
Verify Pederson commitment, Equation (4) in Gennaro 2006
pvss/gennaro2006.go:46
↓ 4 callersFunctionVerifyShare
VerifyShare - verifies share against public polynomial
pvss/gennaro2006.go:68
↓ 4 callersMethodassertNoError
()
db/level_db.go:308
↓ 4 callersFunctionbindNodeList
bindNodeList binds a generic wrapper to an already deployed contract.
solidity/goContracts/NodeList.go:185
↓ 4 callersFunctionbindOwnable
bindOwnable binds a generic wrapper to an already deployed contract.
solidity/goContracts/NodeList.go:1183
↓ 4 callersMethoddoSubscribe
doSubscribe handles the subscription logic and is utilized by the public Subscribe functions
eventbus/event_bus.go:69
↓ 4 callersFunctiongetShares
(polynomial pcmn.PrimaryPolynomial, nodes []pcmn.Node)
pvss/pvss.go:57
↓ 4 callersFunctionkeyvalsToFields
(keyvals []interface{})
tmlog/tmlog.go:30
↓ 4 callersFunctionvalidateNode
Checks if status update is from a valid node in a particular epoch
dkgnode/bftruleset.go:656
↓ 3 callersFunctionAESdecrypt
(key []byte, cipherText []byte)
pvss/AES.go:40
↓ 3 callersFunctionAESencrypt
(key []byte, plainText []byte)
pvss/AES.go:13
↓ 3 callersMethodAcquire
()
common/utils.go:47
↓ 3 callersMethodAddMiddleware
(*func(string, interface{}) interface{})
eventbus/event_bus.go:28
↓ 3 callersMethodAuthenticateMessage
(p2pBasicMsg P2PBasicMsg)
dkgnode/service_library.go:803
↓ 3 callersMethodComplete
(dkgID DKGID)
keygennofsm/types.go:324
↓ 3 callersMethodConnectToP2PNode
(nodeP2PConnection string, nodePeerID peer.ID)
dkgnode/service_library.go:808
↓ 3 callersFunctionECDSASign
Signs using Ethereum ECDSA (where randomness is deterministic)
pvss/pvss.go:158
↓ 3 callersFunctionGenerateNIZKPK
Generates NIZK Proof with the aims of increasing asynchronicity within AVSS Returns proof in the form of c, u1, u2
pvss/nizkpk.go:25
↓ 3 callersMethodGet
Implements DB.
db/level_db.go:34
↓ 3 callersFunctionGetCIDFromPointMatrix
(pm [][]common.Point)
pss/types.go:320
↓ 3 callersFunctionGetCIDFromPointMatrix
(pm [][]common.Point)
keygennofsm/types.go:481
↓ 3 callersMethodGetEpochParams
GetEpochParams - returns values for epochOld, nOld, kOld, tOld, epochNew, nNew, kNew, tNew
pss/types.go:241
↓ 3 callersMethodGetI
(key string)
config/config.go:135
↓ 3 callersMethodGetIndexesFromVerifierID
(verifier, veriferID string)
dkgnode/service_library.go:514
↓ 3 callersMethodGetKeygenID
()
pss/types.go:230
↓ 3 callersMethodGetKeygenStarted
(keygenID string)
dkgnode/service_library.go:1343
↓ 3 callersMethodGetNodes
GetNodes is a free data retrieval call binding the contract method 0x47de074f. Solidity: function getNodes(uint256 epoch) constant returns(address[])
solidity/goContracts/NodeList.go:386
↓ 3 callersFunctionGetPeerIDFromP2pListenAddress
(p2pListenAddress string)
dkgnode/utils.go:79
↓ 3 callersMethodGetPssStatus
GetPssStatus is a free data retrieval call binding the contract method 0xc7aa8ff7. Solidity: function getPssStatus(uint256 oldEpoch, uint256 newEpoch
solidity/goContracts/NodeList.go:412
↓ 3 callersFunctionHashToString
HashToString hashes the first 6 chars to a hex string
dkgnode/utils.go:143
↓ 3 callersMethodInc
()
telemetry/prometheus.go:123
↓ 3 callersMethodInit
()
mapping/types.go:66
↓ 3 callersMethodIsWhitelisted
IsWhitelisted is a free data retrieval call binding the contract method 0x7d22c35c. Solidity: function isWhitelisted(uint256 epoch, address nodeAddre
solidity/goContracts/NodeList.go:464
↓ 3 callersMethodListVerifiers
()
dkgnode/service_library.go:1563
↓ 3 callersFunctionNewGoLevelDB
(name string)
db/level_db.go:18
↓ 3 callersFunctionNewMappingNode
( nodeDetails pcmn.Node, oldEpoch int, oldNodeList []pcmn.Node, oldNodesT int, oldNodesK int, newEpoch i
mapping/mapping.go:254
↓ 3 callersFunctionNewPSSNode
NewPSSNode creates a new pss node instance
pss/keygen_pss.go:926
↓ 3 callersMethodNodeRegistered
NodeRegistered is a free data retrieval call binding the contract method 0x86470e9e. Solidity: function nodeRegistered(uint256 epoch, address nodeAdd
solidity/goContracts/NodeList.go:542
↓ 3 callersMethodOutput
(interface{})
pss/types.go:471
↓ 3 callersFunctionPad
pkcs7Pad right-pads the given byte slice with 1 to n bytes, where n is the block size. The size of the result is x times n, where x is at least 1.
pkcs7/pkcs7.go:24
↓ 3 callersMethodReceiveBFTMessage
(protocolPrefix PSSProtocolPrefix, pssMessage pss.PSSMessage)
dkgnode/service_library.go:1000
↓ 3 callersFunctionRegister
Register registers the metrics to be collected for the default telemetry.
telemetry/prometheus.go:197
↓ 3 callersMethodRemoveMiddleware
(*func(string, interface{}) interface{})
eventbus/event_bus.go:29
↓ 3 callersMethodRenounceOwnership
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6. Solidity: function renounceOwnership() returns()
solidity/goContracts/NodeList.go:1291
↓ 3 callersMethodRetrieveCompletedShare
(keyIndex big.Int)
dkgnode/service_library.go:1341
↓ 3 callersMethodSendBroadcast
(MappingMessage)
mapping/types.go:72
↓ 3 callersMethodSetFreezeState
(mappingID mapping.MappingID, freezeState int, lastUnassignedIndex uint)
dkgnode/service_library.go:1206
↓ 3 callersMethodSetKeygenStarted
(keygenID string, started bool)
dkgnode/service_library.go:1344
↓ 3 callersMethodSetMappingNode
(*MappingNode)
mapping/types.go:68
↓ 3 callersMethodSetPSSNode
(*PSSNode)
pss/types.go:465
↓ 3 callersMethodSign
([]byte)
pss/types.go:466
↓ 3 callersMethodStart
Start - starts a service for remote clients to subscribe to events
eventbus/server.go:92
↓ 3 callersMethodStop
Stop - signal for the service to stop serving
eventbus/server.go:121
↓ 3 callersMethodStoreCompletedPSSShare
(keyIndex big.Int, si big.Int, siprime big.Int)
dkgnode/service_library.go:1335
↓ 3 callersMethodStorePSSCommitmentMatrix
(keyIndex big.Int, c [][]common.Point)
dkgnode/service_library.go:1333
↓ 3 callersMethodStorePublicKeyToIndex
(publicKey common.Point, keyIndex big.Int)
dkgnode/service_library.go:1336
↓ 3 callersMethodSubscribeOnce
(topic string, fn func(interface{}))
eventbus/event_bus.go:15
← previousnext →101–200 of 1,344, ranked by callers