netmapcontract

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 25, 2021 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddPeer

func AddPeer(nodeInfo []byte) bool

func Config

func Config(key []byte) interface{}

func Epoch

func Epoch() int

func Init

func Init(owner, addrBalance, addrContainer interop.Hash160)

Init function sets up initial list of inner ring public keys and should be invoked once at neofs infrastructure setup.

func InitConfig

func InitConfig(args [][]byte) bool

func ListConfig

func ListConfig() []record

func Migrate added in v0.4.0

func Migrate(script []byte, manifest []byte) bool

func Netmap

func Netmap() []storageNode

func NewEpoch

func NewEpoch(epochNum int) bool

func SetConfig

func SetConfig(id, key, val []byte) bool

func Snapshot

func Snapshot(diff int) []storageNode

func SnapshotByEpoch added in v0.3.1

func SnapshotByEpoch(epoch int) []storageNode

func UpdateState

func UpdateState(state int, publicKey interop.PublicKey) bool

func Version

func Version() int

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL