idepositpool

package
v0.0.0-...-4f0ab6e Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2021 License: MIT Imports: 5 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DepositPool

type DepositPool interface {
	Add(out *wire.OutPoint, height wire.BlockHeight, proof *merkle.MerklePath) error
	Remove(out *wire.OutPoint) error
	Update(update *state.Update, shard shard.Index, height wire.BlockHeight) error
	GetBiggest(address multivacaddress.Address) ([]byte, error)
	GetAll(shard shard.Index, address multivacaddress.Address) ([]*wire.OutWithProof, error)
	Verify(address multivacaddress.Address, proof []byte) bool
	Lock(out *wire.OutPoint) error
}

DepositPool used to manage deposit outs.

Jump to

Keyboard shortcuts

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