Documentation
¶
Index ¶
- type UtxoStore
- func (u *UtxoStore) GetBlockTokenUtxoOutputSeq(blockHeight uint64) map[string]int64
- func (u *UtxoStore) GetMaxUtxoOutputSeq(tokenId common.Address) int64
- func (u *UtxoStore) GetRandomUtxoOutputs(counts int, tokenId common.Address) []*types.UTXOOutputData
- func (u *UtxoStore) GetUtxoOutput(tokenId common.Address, seq uint64) (*types.UTXOOutputData, error)
- func (u *UtxoStore) GetUtxoOutputs(seqs []uint64, tokenId common.Address) ([]*types.UTXOOutputData, error)
- func (u *UtxoStore) HaveTxKeyimgAsSpent(kImg *lctypes.Key) bool
- func (u *UtxoStore) SaveKImages(kImgs []*lctypes.Key) error
- func (u *UtxoStore) SaveUtxo(kImgs []*lctypes.Key, utxoOutputs []*types.UTXOOutputData, blockHeight uint64) error
- func (u *UtxoStore) SaveUtxoOutputs(utxoOutputs []*types.UTXOOutputData) error
- func (u *UtxoStore) SetLogger(logger log.Logger)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UtxoStore ¶
type UtxoStore struct {
// contains filtered or unexported fields
}
func NewUtxoStore ¶
func (*UtxoStore) GetBlockTokenUtxoOutputSeq ¶
func (*UtxoStore) GetMaxUtxoOutputSeq ¶
func (*UtxoStore) GetRandomUtxoOutputs ¶
func (*UtxoStore) GetUtxoOutput ¶
func (*UtxoStore) GetUtxoOutputs ¶
func (*UtxoStore) HaveTxKeyimgAsSpent ¶
func (*UtxoStore) SaveUtxoOutputs ¶
func (u *UtxoStore) SaveUtxoOutputs(utxoOutputs []*types.UTXOOutputData) error
Click to show internal directories.
Click to hide internal directories.