store

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2021 License: Apache-2.0 Imports: 2 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RewardStore

type RewardStore interface {
	StoreClaimedRewards(ctx context.Context, rwds []structs.ClaimedReward) error
	StoreUnclaimedRewards(ctx context.Context, rwds []structs.UnclaimedReward) error
}

type SearchStore

type SearchStore interface {
	StoreTransactions(ctx context.Context, txs []structs.TransactionWithMeta) error
	StoreBlocks(ctx context.Context, blocks []structs.BlockWithMeta) error
	ConfirmHeights(ctx context.Context, heights []structs.BlockWithMeta) error
}

type StoreCaller added in v0.5.0

type StoreCaller interface {
	GetSearchSession(ctx context.Context) (SearchStore, error)
	GetRewardsSession(ctx context.Context) (RewardStore, error)
}

Directories

Path Synopsis
transport

Jump to

Keyboard shortcuts

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