MCPcopy Index your code
hub / github.com/MetaMask/torus-node / NewMappingNode

Function NewMappingNode

mapping/mapping.go:254–311  ·  view source on GitHub ↗
(
	nodeDetails pcmn.Node,
	oldEpoch int,
	oldNodeList []pcmn.Node,
	oldNodesT int,
	oldNodesK int,
	newEpoch int,
	newNodeList []pcmn.Node,
	newNodesT int,
	newNodesK int,
	nodeIndex int,
	transport MappingTransport,
	dataSource MappingDataSource,
	isOldNode bool,
	isNewNode bool,
)

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 9

NewNodeDetailsToIntCMapFunction · 0.85
NodeDetailsTypeAlias · 0.70
mapFromNodeListFunction · 0.70
InitMethod · 0.65
SetMappingNodeMethod · 0.65
ErrorMethod · 0.45

Tested by 1

setupTestNodesFunction · 0.68