containercontract

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: 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, addrNetmap, addrBalance, addrID interop.Hash160)

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 NewEpoch added in v0.5.0

func NewEpoch(epochNum int)

func Owner

func Owner(containerID []byte) []byte

func Put

func Put(container []byte, signature interop.Signature, publicKey interop.PublicKey) 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