HashGraph.this

Creates a graph with node_size nodes

class HashGraph
this
(
const size_t node_size
,
const SecureNet net
,,
GossipNet gossip_net
,
string name = null
)
in (node_size >= 4)

Parameters

node_size size_t

number of nodes handles byt the graph

net SecureNet

Securety element handles hash function, signing and signature validation

gossip_net GossipNet

gossip interface used to select the valid channel etc.

name string

used for debugging label the node name