Documentation
¶
Index ¶
- func AddPeer(nodeInfo []byte) bool
- func Config(key []byte) interface{}
- func Epoch() int
- func Init(owner interop.Hash160, keys [][]byte)
- func InitConfig(args [][]byte) bool
- func InnerRingList() []common.IRNode
- func ListConfig() []record
- func Migrate(script []byte, manifest []byte) bool
- func Netmap() []storageNode
- func NewEpoch(epochNum int) bool
- func SetConfig(id, key, val []byte) bool
- func Snapshot(diff int) []storageNode
- func SnapshotByEpoch(epoch int) []storageNode
- func UpdateInnerRing(keys [][]byte) bool
- func UpdateState(state int, publicKey []byte) bool
- func Version() int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Init ¶
Init function sets up initial list of inner ring public keys and should be invoked once at neofs infrastructure setup.
func InitConfig ¶
func InnerRingList ¶
func ListConfig ¶
func ListConfig() []record
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.