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.
Click to show internal directories.
Click to hide internal directories.