Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPStore ¶
type HTTPStore struct {
// contains filtered or unexported fields
}
func (*HTTPStore) GetRewardsSession ¶
func (*HTTPStore) GetSearchSession ¶
type HTTPStoreSession ¶
type HTTPStoreSession struct {
// contains filtered or unexported fields
}
type JsonRPCError ¶
type JsonRPCResponse ¶
type JsonRPCResponse struct { ID uint64 `json:"id"` JSONRPC string `json:"jsonrpc"` Error *JsonRPCError `json:"error,omitempty"` Result json.RawMessage `json:"result"` }
type RewardStore ¶
type RewardStore struct {
*HTTPStoreSession
}
func (*RewardStore) StoreClaimedRewards ¶
func (s *RewardStore) StoreClaimedRewards(ctx context.Context, rewards []structs.ClaimedReward) error
func (*RewardStore) StoreUnclaimedRewards ¶
func (s *RewardStore) StoreUnclaimedRewards(ctx context.Context, rewards []structs.UnclaimedReward) error
type SearchStore ¶
type SearchStore struct {
*HTTPStoreSession
}
func (*SearchStore) ConfirmHeights ¶
func (s *SearchStore) ConfirmHeights(ctx context.Context, heights []structs.BlockWithMeta) error
func (*SearchStore) StoreBlocks ¶
func (s *SearchStore) StoreBlocks(ctx context.Context, blocks []structs.BlockWithMeta) error
func (*SearchStore) StoreTransactions ¶
func (s *SearchStore) StoreTransactions(ctx context.Context, txs []structs.TransactionWithMeta) error
Click to show internal directories.
Click to hide internal directories.