package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Oct 4, 2024
License: AGPL-3.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package nodestate is used to persist the state of a Constellation node to disk.
type NodeState struct {
Role role.Role
MeasurementSalt []byte
}
NodeState is the state of a constellation node that is required to recover from a reboot.
Can be persisted to disk and reloaded later.
FromFile reads a NodeState from disk.
ToFile writes a NodeState to disk.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.