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

Function NewPSSNode

pss/keygen_pss.go:926–982  ·  view source on GitHub ↗

NewPSSNode creates a new pss node instance

(
	nodeDetails pcmn.Node,
	oldEpoch int,
	oldNodeList []pcmn.Node,
	oldNodesT int,
	oldNodesK int,
	newEpoch int,
	newNodeList []pcmn.Node,
	newNodesT int,
	newNodesK int,
	nodeIndex int,
	dataSource PSSDataSource,
	transport PSSTransport,
	isDealer bool,
	isPlayer bool,
	staggerDelay int,
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

CallMethod · 0.92
SetupTestNodesFunction · 0.85

Calls 5

NodeDetailsTypeAlias · 0.70
mapFromNodeListFunction · 0.70
InitMethod · 0.65
SetPSSNodeMethod · 0.65
ErrorMethod · 0.45

Tested by 1

SetupTestNodesFunction · 0.68