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 StoreClaimedReward(ctx context.Context, rwds structs.ClaimedReward) error StoreUnclaimedRewards(ctx context.Context, rwds []structs.UnclaimedReward) error StoreEarnedRewards(ctx context.Context, rwds []structs.EarnedReward) error StoreEarnedReward(ctx context.Context, rwds structs.EarnedReward) error Close(ctx context.Context) error }
type SearchStore ¶
type SearchStore interface { StoreTransactions(ctx context.Context, txs []structs.TransactionWithMeta) error StoreBlocks(ctx context.Context, blocks []structs.BlockWithMeta) error StoreBlocksAndTransactionsBinary(ctx context.Context, blocks []structs.BlockWithMeta, txs []structs.TransactionWithMeta) error ConfirmHeights(ctx context.Context, heights []structs.BlockWithMeta) error SearchBlockAtTime(ctx context.Context, timeAccount structs.TimeAccount) (*structs.Block, error) Close(ctx context.Context) 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
Click to show internal directories.
Click to hide internal directories.