Documentation
¶
Index ¶
- func AddPeer(nodeInfo []byte)
- func Config(key []byte) interface{}
- func Epoch() int
- func InitConfig(args [][]byte)
- func InnerRingList() []common.IRNode
- func ListConfig() []record
- func Migrate(script []byte, manifest []byte, data interface{}) bool
- func Netmap() []storageNode
- func NetmapCandidates() []netmapNode
- func NewEpoch(epochNum int)
- func SetConfig(id, key, val []byte)
- func Snapshot(diff int) []storageNode
- func SnapshotByEpoch(epoch int) []storageNode
- func UpdateInnerRing(keys []interop.PublicKey)
- func UpdateState(state int, publicKey interop.PublicKey)
- func Version() int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitConfig ¶
func InitConfig(args [][]byte)
func InnerRingList ¶
func ListConfig ¶
func ListConfig() []record
func NetmapCandidates ¶ added in v0.9.0
func NetmapCandidates() []netmapNode
NetmapCandidates returns all node candidates for next epoch and their status codes.
func SnapshotByEpoch ¶ added in v0.3.1
func SnapshotByEpoch(epoch int) []storageNode
func UpdateInnerRing ¶
func UpdateState ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.