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 SearchBlockAtTime(ctx context.Context, timeAccount structs.TimeAccount) (*structs.Block, error) }
type StoreCaller ¶ added in v0.5.0
type StoreCaller interface { GetSearchSession(ctx context.Context) (SearchStore, error) GetRewardsSession(ctx context.Context) (RewardStore, error) GetValidatorsSession(ctx context.Context) (ValidatorStore, error) }
type ValidatorStore ¶ added in v0.8.0
type ValidatorStore interface {
StoreValidatorStatuses(ctx context.Context, statuses []structs.ValidatorStatus) error
}
Click to show internal directories.
Click to hide internal directories.