Documentation ¶
Index ¶
- type MockBlockRewardFetcher
- func (m *MockBlockRewardFetcher) GetBlockRewardsData(_ context.Context, _ interfaces.ReadOnlyBeaconBlock) (*structs.BlockRewards, *httputil.DefaultJsonError)
- func (m *MockBlockRewardFetcher) GetStateForRewards(_ context.Context, _ interfaces.ReadOnlyBeaconBlock) (state.BeaconState, *httputil.DefaultJsonError)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBlockRewardFetcher ¶
type MockBlockRewardFetcher struct { Rewards *structs.BlockRewards Error *httputil.DefaultJsonError State state.BeaconState }
func (*MockBlockRewardFetcher) GetBlockRewardsData ¶
func (m *MockBlockRewardFetcher) GetBlockRewardsData(_ context.Context, _ interfaces.ReadOnlyBeaconBlock) (*structs.BlockRewards, *httputil.DefaultJsonError)
func (*MockBlockRewardFetcher) GetStateForRewards ¶
func (m *MockBlockRewardFetcher) GetStateForRewards(_ context.Context, _ interfaces.ReadOnlyBeaconBlock) (state.BeaconState, *httputil.DefaultJsonError)
Click to show internal directories.
Click to hide internal directories.