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
↓ 3 callers
Method
Transfer
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
solidity/goContracts/NodeList.go:1201
↓ 3 callers
Method
TransferOwnership
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b. Solidity: function transferOwnership(address newOwner) return
solidity/goContracts/NodeList.go:1312
↓ 3 callers
Method
Valid
Valid returns whether the current position is valid. Once invalid, an Iterator is forever invalid.
db/types.go:100
↓ 3 callers
Method
WaitAsync
()
eventbus/event_bus.go:31
↓ 3 callers
Method
Write
()
db/types.go:62
↓ 3 callers
Method
assertIsValid
()
db/level_db.go:314
↓ 3 callers
Method
getNodeRefsByEpoch
getNodeRefsByEpoch - Retreives NodeList from ethereum and gets their details appends and returns an array of node references
dkgnode/ethereum.go:1021
↓ 3 callers
Function
getTelemetry
()
telemetry/prometheus.go:59
↓ 3 callers
Function
int642Bytes
(i int64)
db/level_db_test.go:98
↓ 3 callers
Method
removeHandler
(topic string, idx int)
eventbus/event_bus.go:217
↓ 3 callers
Method
retrieveKeyMapping
(keyIndex big.Int)
dkgnode/abci_app.go:160
↓ 3 callers
Method
retrieveVerifierToKeyIndex
(verifier, verifierID string)
dkgnode/abci_app.go:173
↓ 3 callers
Method
storeKeyMapping
(keyIndex big.Int, assignment KeyAssignmentPublic)
dkgnode/abci_app.go:186
↓ 2 callers
Function
AVSSVerifyShare
AVSSVerifyShare - Verify-share from Cachin et al. 2002
pvss/avss.go:183
↓ 2 callers
Function
AddCommitments
(commitments ...[]common.Point)
pvss/pvss.go:74
↓ 2 callers
Method
AwaitNodesConnected
(epoch int)
dkgnode/service_library.go:141
↓ 2 callers
Method
Byte
()
dealer/types.go:61
↓ 2 callers
Method
CleanToken
(verifierIdentifier string, idtoken string)
dkgnode/service_library.go:1562
↓ 2 callers
Method
Complete
(sharingID SharingID)
pss/types.go:532
↓ 2 callers
Function
DefaultConfigSettings
()
config/config.go:351
↓ 2 callers
Method
Encrypt
Returns (u, e, v).
pvss/verenc.go:219
↓ 2 callers
Method
EpochInfo
EpochInfo is a free data retrieval call binding the contract method 0x3894228e. Solidity: function epochInfo(uint256 ) constant returns(uint256 id, u
solidity/goContracts/NodeList.go:234
↓ 2 callers
Method
EventBus
EventBus - returns wrapped event bus
eventbus/network_bus.go:36
↓ 2 callers
Method
FromNodeDetailsID
(nodeDetailsID NodeDetailsID)
keygennofsm/types.go:32
↓ 2 callers
Method
FromString
(data string)
dkgnode/handlers.go:276
↓ 2 callers
Method
Get
(key int64)
db/sqlite_db.go:47
↓ 2 callers
Function
GetCommitH
Commit creates a public commitment polynomial for the h base point
pvss/gennaro2006.go:14
↓ 2 callers
Method
GetFreezeState
(mappingID mapping.MappingID)
dkgnode/service_library.go:1205
↓ 2 callers
Method
GetMappingID
(oldEpoch, newEpoch int)
dkgnode/mapping.go:218
↓ 2 callers
Method
GetNextEpoch
()
dkgnode/service_library.go:128
↓ 2 callers
Method
GetNodeDetails
GetNodeDetails is a free data retrieval call binding the contract method 0xbafb3581. Solidity: function getNodeDetails(address nodeAddress) constant
solidity/goContracts/NodeList.go:342
↓ 2 callers
Method
GetNodePubKey
GetNodePubKey - in older versions <= v0.7.0 returns pubkey that is unmarshallable to p2pID secp pubkey Post v0.7.0 this returns a pubkey that is unmar
dkgnode/p2p.go:111
↓ 2 callers
Method
GetOrSet
(gaugeName string, gauge *Gauge)
telemetry/gauge.go:16
↓ 2 callers
Method
GetOrSet
(dkgID DKGID, input *DKG)
keygennofsm/types.go:319
↓ 2 callers
Method
GetOrSetIfNotComplete
(pssid PSSID, input *PSS)
pss/types.go:523
↓ 2 callers
Method
GetOrSetIfNotComplete
(dkgID DKGID, input *DKG)
keygennofsm/types.go:327
↓ 2 callers
Method
GetPSSProtocolPrefix
(oldEpoch int, newEpoch int)
dkgnode/pss.go:37
↓ 2 callers
Method
GetSelfAddress
()
dkgnode/service_library.go:133
↓ 2 callers
Method
GetSerializedBody
()
dkgnode/p2p.go:45
↓ 2 callers
Method
GetSerializedBody
()
dkgnode/p2p.go:126
↓ 2 callers
Method
GetShareCount
()
dkgnode/service_library.go:1342
↓ 2 callers
Method
GetSign
()
dkgnode/p2p.go:114
↓ 2 callers
Method
Init
()
pss/types.go:463
↓ 2 callers
Method
Iterator
Iterate over a domain of keys in ascending order. End is exclusive. Start must be less than end, or the Iterator is invalid. A nil start is interprete
db/types.go:34
↓ 2 callers
Method
KeygennofsmMethods
()
dkgnode/service_library.go:41
↓ 2 callers
Method
ListNode
ListNode is a paid mutator transaction binding the contract method 0xbf2d6f81. Solidity: function listNode(uint256 epoch, string declaredIp, uint256
solidity/goContracts/NodeList.go:653
↓ 2 callers
Function
MockEngine
(engineState *MockEngineState, localTransportNodeDirectory *map[NodeDetailsID]PSSTransport)
pss/keygen_pss_test.go:838
↓ 2 callers
Function
NewCSPaillierECFromPubKey
(pubKey *CSPaillierECPubKey)
pvss/verenc.go:212
↓ 2 callers
Function
NewCounter
(name, help string)
telemetry/prometheus.go:79
↓ 2 callers
Function
NewGauge
(name, help string)
telemetry/prometheus.go:108
↓ 2 callers
Function
NewKeygenNode
( nodeDetails pcmn.Node, currNodeList []pcmn.Node, currNodesT int, currNodesK int, nodeIndex int, transp
keygennofsm/keygen_nofsm.go:322
↓ 2 callers
Method
NewMappingNode
(mappingStartData MappingStartData, isOldNode bool, isNewNode bool)
dkgnode/service_library.go:1201
↓ 2 callers
Function
NewMessageQueue
(processMessageFunc func(msg []byte) (response interface{}, err error))
msgqueue/msg_queue.go:21
↓ 2 callers
Function
NewNetworkBus
NewNetworkBus - returns a new network bus object at the server address and path
eventbus/network_bus.go:24
↓ 2 callers
Function
NewNoopLogger
()
tmlog/tmlog.go:74
↓ 2 callers
Method
NewPSSNode
(pssStartData PSSStartData, isDealer bool, isPlayer bool)
dkgnode/service_library.go:1007
↓ 2 callers
Function
NewSqliteDB
New returns a new sql database.
db/sqlite_db.go:20
↓ 2 callers
Function
NewTMLoggerLogrus
()
tmlog/tmlog.go:40
↓ 2 callers
Function
NewTelemetry
()
telemetry/prometheus.go:55
↓ 2 callers
Method
NodeExists
(nodeDetails NodeDetails)
mapping/types.go:153
↓ 2 callers
Method
ProcessBroadcastMessage
ProcessBroadcastMessage is called when the node receives a message via broadcast (eg. Tendermint)
mapping/mapping.go:168
↓ 2 callers
Method
ProcessMessage
ProcessMessage is called when the transport for the node receives a message via direct send. It works similar to a router, processing different messag
mapping/mapping.go:24
↓ 2 callers
Method
PssStatus
PssStatus is a free data retrieval call binding the contract method 0x52fc47b4. Solidity: function pssStatus(uint256 , uint256 ) constant returns(uin
solidity/goContracts/NodeList.go:594
↓ 2 callers
Function
RandomPoly
(secret big.Int, threshold int)
pvss/pvss.go:21
↓ 2 callers
Method
Receive
(senderDetails keygennofsm.NodeDetails, keygenMessage keygennofsm.KeygenMessage)
dkgnode/keygen_nofsm.go:252
↓ 2 callers
Method
Receive
(senderDetails pss.NodeDetails, originalPSSMessage pss.PSSMessage)
dkgnode/pss.go:489
↓ 2 callers
Method
Receive
(nodeDetails mapping.NodeDetails, mappingMessage mapping.MappingMessage)
dkgnode/mapping.go:369
↓ 2 callers
Method
RecordSignerSig
(signature string)
dkgnode/service_library.go:1638
↓ 2 callers
Method
RetrieveCommitmentMatrix
(keyIndex big.Int)
dkgnode/service_library.go:1337
↓ 2 callers
Method
RetrieveConnectionDetails
(nodeAddress ethCommon.Address)
dkgnode/service_library.go:1346
↓ 2 callers
Method
RetrieveNodePubKey
(nodeAddress ethCommon.Address)
dkgnode/service_library.go:1348
↓ 2 callers
Method
RunMsgEngine
(num int)
msgqueue/msg_queue.go:34
↓ 2 callers
Function
SeedKeys
(keys int, k int, currNodeList []pcmn.Node, currNodes []*KeygenNode)
keygennofsm/keygen_nofsm_test.go:614
↓ 2 callers
Function
SeedMappings
(keyMappings map[hexstring]MappingKey, verifiers *[]pcmn.VerifierData, numberOfKeys int)
mapping/mapping_test.go:166
↓ 2 callers
Method
SendBroadcast
(KeygenMessage)
keygennofsm/types.go:111
↓ 2 callers
Method
Set
(key, val int64)
db/sqlite_db.go:62
↓ 2 callers
Method
Set
Implements DB.
db/level_db.go:52
↓ 2 callers
Method
SetB
(key string, value bool)
config/config.go:155
↓ 2 callers
Method
SetI
(key string, value int)
config/config.go:143
↓ 2 callers
Method
SetPSSNode
(ref *PSSNode)
pss/keygen_pss_test.go:609
↓ 2 callers
Method
SetPSSNode
(ref *PSSNode)
pss/keygen_pss_test.go:732
↓ 2 callers
Method
SetS
(key string, value string)
config/config.go:131
↓ 2 callers
Function
SetupTestNodes
(n int, k int, t int)
keygennofsm/keygen_nofsm_test.go:559
↓ 2 callers
Method
Sign
([]byte)
keygennofsm/types.go:108
↓ 2 callers
Method
SignerSigExists
(signature string)
dkgnode/service_library.go:1637
↓ 2 callers
Method
Start
Start - helper method to serve a network bus service
eventbus/network_bus.go:47
↓ 2 callers
Method
Start
Start - starts the client service to listen to remote events
eventbus/client.go:83
↓ 2 callers
Method
Stop
Stop - signal for the service to stop serving
eventbus/network_bus.go:81
↓ 2 callers
Method
Stop
Stop - signal for the service to stop serving
eventbus/client.go:115
↓ 2 callers
Method
StoreCompletedKeygenShare
(keyIndex big.Int, si big.Int, siprime big.Int)
dkgnode/service_library.go:1334
↓ 2 callers
Method
StoreConnectionDetails
(nodeAddress ethCommon.Address, connectionDetails ConnectionDetails)
dkgnode/service_library.go:1345
↓ 2 callers
Method
StoreKeygenCommitmentMatrix
(keyIndex big.Int, c [][]common.Point)
dkgnode/service_library.go:1332
↓ 2 callers
Method
StoreNodePubKey
(nodeAddress ethCommon.Address, pubKey common.Point)
dkgnode/service_library.go:1347
↓ 2 callers
Method
String
()
dkgnode/handlers.go:194
↓ 2 callers
Method
SubscribeOnceAsync
(topic string, fn func(interface{}))
eventbus/event_bus.go:16
↓ 2 callers
Function
SumPoints
(pts ...common.Point)
pvss/pvss.go:503
↓ 2 callers
Method
SyncUpdate
(transferSummaryID TransferSummaryID, cb func(valueInMap int) int)
mapping/types.go:324
↓ 2 callers
Method
ToString
()
dkgnode/handlers.go:265
↓ 2 callers
Method
Validate
(existingPubKey common.Point)
dealer/types.go:65
↓ 2 callers
Method
Verify
(*bijson.RawMessage)
auth/verifier.go:53
← previous
next →
201–300 of 1,344, ranked by callers