Documentation ¶
Index ¶
- func CalculateHash(scheme core.PlatformCryptographyScheme, list []core.Node) (result []byte, err error)
- func NewNode(id core.RecordRef, role core.StaticRole, publicKey crypto.PublicKey, ...) core.Node
- func NewNodeKeeper(origin core.Node) network.NodeKeeper
- func NewNodeNetwork(configuration configuration.HostNetwork, certificate core.Certificate) (core.NodeNetwork, error)
- type MutableNode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalculateHash ¶ added in v0.6.3
func CalculateHash(scheme core.PlatformCryptographyScheme, list []core.Node) (result []byte, err error)
CalculateHash calculates hash of active node list
func NewNodeKeeper ¶ added in v0.6.3
func NewNodeKeeper(origin core.Node) network.NodeKeeper
NewNodeKeeper create new NodeKeeper
func NewNodeNetwork ¶
func NewNodeNetwork(configuration configuration.HostNetwork, certificate core.Certificate) (core.NodeNetwork, error)
NewNodeNetwork create active node component
Types ¶
type MutableNode ¶ added in v0.6.3
type MutableNode interface { core.Node SetShortID(shortID core.ShortNodeID) }
Click to show internal directories.
Click to hide internal directories.