MCPcopy Create free account
hub / github.com/SmartPool/smartpool-client / node

Struct node

mtree/merkle_tree.go:11–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9}
10
11type node struct {
12 Data NodeData
13 NodeCount uint32
14 Branches *map[uint32]BranchTree
15}
16
17func (n node) Copy() node {
18 return node{n.Data.Copy(), n.NodeCount, &map[uint32]BranchTree{}}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected