containercontract

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2021 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

func Delete(containerID, signature []byte) bool

func EACL

func EACL(containerID []byte) extendedACL

func Get

func Get(containerID []byte) []byte

func GetContainerSize added in v0.4.0

func GetContainerSize(id []byte) containerSizes

func Init

func Init(owner interop.Hash160, addrNetmap, addrBalance, addrID []byte)

func List

func List(owner []byte) [][]byte

func ListContainerSizes added in v0.4.0

func ListContainerSizes(epoch int) [][]byte

func Migrate added in v0.4.0

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

func Owner

func Owner(containerID []byte) []byte

func ProcessEpoch added in v0.4.0

func ProcessEpoch(epochNum int)

func Put

func Put(container, signature, publicKey []byte) bool

func PutContainerSize added in v0.4.0

func PutContainerSize(epoch int, cid []byte, usedSize int, pubKey interop.PublicKey) bool

func SetEACL

func SetEACL(eACL, signature []byte) bool

func StartContainerEstimation added in v0.4.0

func StartContainerEstimation(epoch int) bool

func StopContainerEstimation added in v0.4.0

func StopContainerEstimation(epoch int) 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