Documentation ¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: ./beacons.go
Generated by this command:
mockgen -typed -package=mocks -destination=./mocks/beacons.go -source=./beacons.go
Package mocks is a generated GoMock package.
Code generated by MockGen. DO NOT EDIT. Source: ./fetcher.go
Generated by this command:
mockgen -typed -package=mocks -destination=./mocks/fetcher.go -source=./fetcher.go
Package mocks is a generated GoMock package.
Code generated by MockGen. DO NOT EDIT. Source: ./sync.go
Generated by this command:
mockgen -typed -package=mocks -destination=./mocks/sync.go -source=./sync.go
Package mocks is a generated GoMock package.
Code generated by MockGen. DO NOT EDIT. Source: ./tortoise.go
Generated by this command:
mockgen -typed -package=mocks -destination=./mocks/tortoise.go -source=./tortoise.go
Package mocks is a generated GoMock package.
Code generated by MockGen. DO NOT EDIT. Source: ./vm.go
Generated by this command:
mockgen -typed -package=mocks -destination=./mocks/vm.go -source=./vm.go
Package mocks is a generated GoMock package.
Index ¶
- type ActiveSetFetcherGetActiveSetCall
- func (c *ActiveSetFetcherGetActiveSetCall) Do(f func(context.Context, types.Hash32) error) *ActiveSetFetcherGetActiveSetCall
- func (c *ActiveSetFetcherGetActiveSetCall) DoAndReturn(f func(context.Context, types.Hash32) error) *ActiveSetFetcherGetActiveSetCall
- func (c *ActiveSetFetcherGetActiveSetCall) Return(arg0 error) *ActiveSetFetcherGetActiveSetCall
- type AtxFetcherGetAtxsCall
- type BallotFetcherGetBallotsCall
- func (c *BallotFetcherGetBallotsCall) Do(f func(context.Context, []types.BallotID) error) *BallotFetcherGetBallotsCall
- func (c *BallotFetcherGetBallotsCall) DoAndReturn(f func(context.Context, []types.BallotID) error) *BallotFetcherGetBallotsCall
- func (c *BallotFetcherGetBallotsCall) Return(arg0 error) *BallotFetcherGetBallotsCall
- type BeaconCollectorReportBeaconFromBallotCall
- func (c *BeaconCollectorReportBeaconFromBallotCall) Do(f func(types.EpochID, *types.Ballot, types.Beacon, fixed.Fixed)) *BeaconCollectorReportBeaconFromBallotCall
- func (c *BeaconCollectorReportBeaconFromBallotCall) DoAndReturn(f func(types.EpochID, *types.Ballot, types.Beacon, fixed.Fixed)) *BeaconCollectorReportBeaconFromBallotCall
- func (c *BeaconCollectorReportBeaconFromBallotCall) Return() *BeaconCollectorReportBeaconFromBallotCall
- type BeaconGetterGetBeaconCall
- func (c *BeaconGetterGetBeaconCall) Do(f func(types.EpochID) (types.Beacon, error)) *BeaconGetterGetBeaconCall
- func (c *BeaconGetterGetBeaconCall) DoAndReturn(f func(types.EpochID) (types.Beacon, error)) *BeaconGetterGetBeaconCall
- func (c *BeaconGetterGetBeaconCall) Return(arg0 types.Beacon, arg1 error) *BeaconGetterGetBeaconCall
- type BlockFetcherGetBlocksCall
- func (c *BlockFetcherGetBlocksCall) Do(f func(context.Context, []types.BlockID) error) *BlockFetcherGetBlocksCall
- func (c *BlockFetcherGetBlocksCall) DoAndReturn(f func(context.Context, []types.BlockID) error) *BlockFetcherGetBlocksCall
- func (c *BlockFetcherGetBlocksCall) Return(arg0 error) *BlockFetcherGetBlocksCall
- type FetcherGetActiveSetCall
- func (c *FetcherGetActiveSetCall) Do(f func(context.Context, types.Hash32) error) *FetcherGetActiveSetCall
- func (c *FetcherGetActiveSetCall) DoAndReturn(f func(context.Context, types.Hash32) error) *FetcherGetActiveSetCall
- func (c *FetcherGetActiveSetCall) Return(arg0 error) *FetcherGetActiveSetCall
- type FetcherGetAtxsCall
- type FetcherGetBallotsCall
- type FetcherGetBlockTxsCall
- func (c *FetcherGetBlockTxsCall) Do(f func(context.Context, []types.TransactionID) error) *FetcherGetBlockTxsCall
- func (c *FetcherGetBlockTxsCall) DoAndReturn(f func(context.Context, []types.TransactionID) error) *FetcherGetBlockTxsCall
- func (c *FetcherGetBlockTxsCall) Return(arg0 error) *FetcherGetBlockTxsCall
- type FetcherGetBlocksCall
- type FetcherGetPoetProofCall
- func (c *FetcherGetPoetProofCall) Do(f func(context.Context, types.Hash32) error) *FetcherGetPoetProofCall
- func (c *FetcherGetPoetProofCall) DoAndReturn(f func(context.Context, types.Hash32) error) *FetcherGetPoetProofCall
- func (c *FetcherGetPoetProofCall) Return(arg0 error) *FetcherGetPoetProofCall
- type FetcherGetProposalTxsCall
- func (c *FetcherGetProposalTxsCall) Do(f func(context.Context, []types.TransactionID) error) *FetcherGetProposalTxsCall
- func (c *FetcherGetProposalTxsCall) DoAndReturn(f func(context.Context, []types.TransactionID) error) *FetcherGetProposalTxsCall
- func (c *FetcherGetProposalTxsCall) Return(arg0 error) *FetcherGetProposalTxsCall
- type FetcherGetProposalsCall
- func (c *FetcherGetProposalsCall) Do(f func(context.Context, []types.ProposalID) error) *FetcherGetProposalsCall
- func (c *FetcherGetProposalsCall) DoAndReturn(f func(context.Context, []types.ProposalID) error) *FetcherGetProposalsCall
- func (c *FetcherGetProposalsCall) Return(arg0 error) *FetcherGetProposalsCall
- type FetcherRegisterPeerHashesCall
- func (c *FetcherRegisterPeerHashesCall) Do(f func(p2p.Peer, []types.Hash32)) *FetcherRegisterPeerHashesCall
- func (c *FetcherRegisterPeerHashesCall) DoAndReturn(f func(p2p.Peer, []types.Hash32)) *FetcherRegisterPeerHashesCall
- func (c *FetcherRegisterPeerHashesCall) Return() *FetcherRegisterPeerHashesCall
- type MockActiveSetFetcher
- type MockActiveSetFetcherMockRecorder
- type MockAtxFetcher
- type MockAtxFetcherMockRecorder
- type MockBallotFetcher
- type MockBallotFetcherMockRecorder
- type MockBeaconCollector
- type MockBeaconCollectorMockRecorder
- type MockBeaconGetter
- type MockBeaconGetterMockRecorder
- type MockBlockFetcher
- type MockBlockFetcherMockRecorder
- type MockFetcher
- func (m *MockFetcher) EXPECT() *MockFetcherMockRecorder
- func (m *MockFetcher) GetActiveSet(arg0 context.Context, arg1 types.Hash32) error
- func (m *MockFetcher) GetAtxs(arg0 context.Context, arg1 []types.ATXID) error
- func (m *MockFetcher) GetBallots(arg0 context.Context, arg1 []types.BallotID) error
- func (m *MockFetcher) GetBlockTxs(arg0 context.Context, arg1 []types.TransactionID) error
- func (m *MockFetcher) GetBlocks(arg0 context.Context, arg1 []types.BlockID) error
- func (m *MockFetcher) GetPoetProof(arg0 context.Context, arg1 types.Hash32) error
- func (m *MockFetcher) GetProposalTxs(arg0 context.Context, arg1 []types.TransactionID) error
- func (m *MockFetcher) GetProposals(arg0 context.Context, arg1 []types.ProposalID) error
- func (m *MockFetcher) RegisterPeerHashes(peer p2p.Peer, hashes []types.Hash32)
- type MockFetcherMockRecorder
- func (mr *MockFetcherMockRecorder) GetActiveSet(arg0, arg1 any) *FetcherGetActiveSetCall
- func (mr *MockFetcherMockRecorder) GetAtxs(arg0, arg1 any) *FetcherGetAtxsCall
- func (mr *MockFetcherMockRecorder) GetBallots(arg0, arg1 any) *FetcherGetBallotsCall
- func (mr *MockFetcherMockRecorder) GetBlockTxs(arg0, arg1 any) *FetcherGetBlockTxsCall
- func (mr *MockFetcherMockRecorder) GetBlocks(arg0, arg1 any) *FetcherGetBlocksCall
- func (mr *MockFetcherMockRecorder) GetPoetProof(arg0, arg1 any) *FetcherGetPoetProofCall
- func (mr *MockFetcherMockRecorder) GetProposalTxs(arg0, arg1 any) *FetcherGetProposalTxsCall
- func (mr *MockFetcherMockRecorder) GetProposals(arg0, arg1 any) *FetcherGetProposalsCall
- func (mr *MockFetcherMockRecorder) RegisterPeerHashes(peer, hashes any) *FetcherRegisterPeerHashesCall
- type MockPeerTracker
- type MockPeerTrackerMockRecorder
- type MockPoetProofFetcher
- type MockPoetProofFetcherMockRecorder
- type MockProposalFetcher
- type MockProposalFetcherMockRecorder
- type MockSyncStateProvider
- type MockSyncStateProviderMockRecorder
- type MockTortoise
- func (m *MockTortoise) EXPECT() *MockTortoiseMockRecorder
- func (m *MockTortoise) LatestComplete() types.LayerID
- func (m *MockTortoise) OnApplied(arg0 types.LayerID, arg1 types.Hash32) bool
- func (m *MockTortoise) OnAtx(arg0 *types.AtxTortoiseData)
- func (m *MockTortoise) OnBlock(arg0 types.BlockHeader)
- func (m *MockTortoise) OnHareOutput(arg0 types.LayerID, arg1 types.BlockID)
- func (m *MockTortoise) OnMalfeasance(arg0 types.NodeID)
- func (m *MockTortoise) OnWeakCoin(arg0 types.LayerID, arg1 bool)
- func (m *MockTortoise) TallyVotes(arg0 context.Context, arg1 types.LayerID)
- func (m *MockTortoise) Updates() []result.Layer
- type MockTortoiseMockRecorder
- func (mr *MockTortoiseMockRecorder) LatestComplete() *TortoiseLatestCompleteCall
- func (mr *MockTortoiseMockRecorder) OnApplied(arg0, arg1 any) *TortoiseOnAppliedCall
- func (mr *MockTortoiseMockRecorder) OnAtx(arg0 any) *TortoiseOnAtxCall
- func (mr *MockTortoiseMockRecorder) OnBlock(arg0 any) *TortoiseOnBlockCall
- func (mr *MockTortoiseMockRecorder) OnHareOutput(arg0, arg1 any) *TortoiseOnHareOutputCall
- func (mr *MockTortoiseMockRecorder) OnMalfeasance(arg0 any) *TortoiseOnMalfeasanceCall
- func (mr *MockTortoiseMockRecorder) OnWeakCoin(arg0, arg1 any) *TortoiseOnWeakCoinCall
- func (mr *MockTortoiseMockRecorder) TallyVotes(arg0, arg1 any) *TortoiseTallyVotesCall
- func (mr *MockTortoiseMockRecorder) Updates() *TortoiseUpdatesCall
- type MockTxFetcher
- type MockTxFetcherMockRecorder
- type MockValidationRequest
- type MockValidationRequestMockRecorder
- type PeerTrackerRegisterPeerHashesCall
- func (c *PeerTrackerRegisterPeerHashesCall) Do(f func(p2p.Peer, []types.Hash32)) *PeerTrackerRegisterPeerHashesCall
- func (c *PeerTrackerRegisterPeerHashesCall) DoAndReturn(f func(p2p.Peer, []types.Hash32)) *PeerTrackerRegisterPeerHashesCall
- func (c *PeerTrackerRegisterPeerHashesCall) Return() *PeerTrackerRegisterPeerHashesCall
- type PoetProofFetcherGetPoetProofCall
- func (c *PoetProofFetcherGetPoetProofCall) Do(f func(context.Context, types.Hash32) error) *PoetProofFetcherGetPoetProofCall
- func (c *PoetProofFetcherGetPoetProofCall) DoAndReturn(f func(context.Context, types.Hash32) error) *PoetProofFetcherGetPoetProofCall
- func (c *PoetProofFetcherGetPoetProofCall) Return(arg0 error) *PoetProofFetcherGetPoetProofCall
- type ProposalFetcherGetProposalsCall
- func (c *ProposalFetcherGetProposalsCall) Do(f func(context.Context, []types.ProposalID) error) *ProposalFetcherGetProposalsCall
- func (c *ProposalFetcherGetProposalsCall) DoAndReturn(f func(context.Context, []types.ProposalID) error) *ProposalFetcherGetProposalsCall
- func (c *ProposalFetcherGetProposalsCall) Return(arg0 error) *ProposalFetcherGetProposalsCall
- type SyncStateProviderIsBeaconSyncedCall
- func (c *SyncStateProviderIsBeaconSyncedCall) Do(f func(types.EpochID) bool) *SyncStateProviderIsBeaconSyncedCall
- func (c *SyncStateProviderIsBeaconSyncedCall) DoAndReturn(f func(types.EpochID) bool) *SyncStateProviderIsBeaconSyncedCall
- func (c *SyncStateProviderIsBeaconSyncedCall) Return(arg0 bool) *SyncStateProviderIsBeaconSyncedCall
- type SyncStateProviderIsSyncedCall
- func (c *SyncStateProviderIsSyncedCall) Do(f func(context.Context) bool) *SyncStateProviderIsSyncedCall
- func (c *SyncStateProviderIsSyncedCall) DoAndReturn(f func(context.Context) bool) *SyncStateProviderIsSyncedCall
- func (c *SyncStateProviderIsSyncedCall) Return(arg0 bool) *SyncStateProviderIsSyncedCall
- type TortoiseLatestCompleteCall
- type TortoiseOnAppliedCall
- type TortoiseOnAtxCall
- type TortoiseOnBlockCall
- type TortoiseOnHareOutputCall
- type TortoiseOnMalfeasanceCall
- type TortoiseOnWeakCoinCall
- type TortoiseTallyVotesCall
- type TortoiseUpdatesCall
- type TxFetcherGetBlockTxsCall
- func (c *TxFetcherGetBlockTxsCall) Do(f func(context.Context, []types.TransactionID) error) *TxFetcherGetBlockTxsCall
- func (c *TxFetcherGetBlockTxsCall) DoAndReturn(f func(context.Context, []types.TransactionID) error) *TxFetcherGetBlockTxsCall
- func (c *TxFetcherGetBlockTxsCall) Return(arg0 error) *TxFetcherGetBlockTxsCall
- type TxFetcherGetProposalTxsCall
- func (c *TxFetcherGetProposalTxsCall) Do(f func(context.Context, []types.TransactionID) error) *TxFetcherGetProposalTxsCall
- func (c *TxFetcherGetProposalTxsCall) DoAndReturn(f func(context.Context, []types.TransactionID) error) *TxFetcherGetProposalTxsCall
- func (c *TxFetcherGetProposalTxsCall) Return(arg0 error) *TxFetcherGetProposalTxsCall
- type ValidationRequestParseCall
- func (c *ValidationRequestParseCall) Do(f func() (*types.TxHeader, error)) *ValidationRequestParseCall
- func (c *ValidationRequestParseCall) DoAndReturn(f func() (*types.TxHeader, error)) *ValidationRequestParseCall
- func (c *ValidationRequestParseCall) Return(arg0 *types.TxHeader, arg1 error) *ValidationRequestParseCall
- type ValidationRequestVerifyCall
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActiveSetFetcherGetActiveSetCall ¶ added in v1.1.5
ActiveSetFetcherGetActiveSetCall wrap *gomock.Call
func (*ActiveSetFetcherGetActiveSetCall) Do ¶ added in v1.1.5
func (c *ActiveSetFetcherGetActiveSetCall) Do(f func(context.Context, types.Hash32) error) *ActiveSetFetcherGetActiveSetCall
Do rewrite *gomock.Call.Do
func (*ActiveSetFetcherGetActiveSetCall) DoAndReturn ¶ added in v1.1.5
func (c *ActiveSetFetcherGetActiveSetCall) DoAndReturn(f func(context.Context, types.Hash32) error) *ActiveSetFetcherGetActiveSetCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ActiveSetFetcherGetActiveSetCall) Return ¶ added in v1.1.5
func (c *ActiveSetFetcherGetActiveSetCall) Return(arg0 error) *ActiveSetFetcherGetActiveSetCall
Return rewrite *gomock.Call.Return
type AtxFetcherGetAtxsCall ¶ added in v1.1.5
AtxFetcherGetAtxsCall wrap *gomock.Call
func (*AtxFetcherGetAtxsCall) Do ¶ added in v1.1.5
func (c *AtxFetcherGetAtxsCall) Do(f func(context.Context, []types.ATXID) error) *AtxFetcherGetAtxsCall
Do rewrite *gomock.Call.Do
func (*AtxFetcherGetAtxsCall) DoAndReturn ¶ added in v1.1.5
func (c *AtxFetcherGetAtxsCall) DoAndReturn(f func(context.Context, []types.ATXID) error) *AtxFetcherGetAtxsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*AtxFetcherGetAtxsCall) Return ¶ added in v1.1.5
func (c *AtxFetcherGetAtxsCall) Return(arg0 error) *AtxFetcherGetAtxsCall
Return rewrite *gomock.Call.Return
type BallotFetcherGetBallotsCall ¶ added in v1.1.5
BallotFetcherGetBallotsCall wrap *gomock.Call
func (*BallotFetcherGetBallotsCall) Do ¶ added in v1.1.5
func (c *BallotFetcherGetBallotsCall) Do(f func(context.Context, []types.BallotID) error) *BallotFetcherGetBallotsCall
Do rewrite *gomock.Call.Do
func (*BallotFetcherGetBallotsCall) DoAndReturn ¶ added in v1.1.5
func (c *BallotFetcherGetBallotsCall) DoAndReturn(f func(context.Context, []types.BallotID) error) *BallotFetcherGetBallotsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*BallotFetcherGetBallotsCall) Return ¶ added in v1.1.5
func (c *BallotFetcherGetBallotsCall) Return(arg0 error) *BallotFetcherGetBallotsCall
Return rewrite *gomock.Call.Return
type BeaconCollectorReportBeaconFromBallotCall ¶ added in v1.1.5
BeaconCollectorReportBeaconFromBallotCall wrap *gomock.Call
func (*BeaconCollectorReportBeaconFromBallotCall) Do ¶ added in v1.1.5
func (c *BeaconCollectorReportBeaconFromBallotCall) Do(f func(types.EpochID, *types.Ballot, types.Beacon, fixed.Fixed)) *BeaconCollectorReportBeaconFromBallotCall
Do rewrite *gomock.Call.Do
func (*BeaconCollectorReportBeaconFromBallotCall) DoAndReturn ¶ added in v1.1.5
func (c *BeaconCollectorReportBeaconFromBallotCall) DoAndReturn(f func(types.EpochID, *types.Ballot, types.Beacon, fixed.Fixed)) *BeaconCollectorReportBeaconFromBallotCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*BeaconCollectorReportBeaconFromBallotCall) Return ¶ added in v1.1.5
func (c *BeaconCollectorReportBeaconFromBallotCall) Return() *BeaconCollectorReportBeaconFromBallotCall
Return rewrite *gomock.Call.Return
type BeaconGetterGetBeaconCall ¶ added in v1.1.5
BeaconGetterGetBeaconCall wrap *gomock.Call
func (*BeaconGetterGetBeaconCall) Do ¶ added in v1.1.5
func (c *BeaconGetterGetBeaconCall) Do(f func(types.EpochID) (types.Beacon, error)) *BeaconGetterGetBeaconCall
Do rewrite *gomock.Call.Do
func (*BeaconGetterGetBeaconCall) DoAndReturn ¶ added in v1.1.5
func (c *BeaconGetterGetBeaconCall) DoAndReturn(f func(types.EpochID) (types.Beacon, error)) *BeaconGetterGetBeaconCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*BeaconGetterGetBeaconCall) Return ¶ added in v1.1.5
func (c *BeaconGetterGetBeaconCall) Return(arg0 types.Beacon, arg1 error) *BeaconGetterGetBeaconCall
Return rewrite *gomock.Call.Return
type BlockFetcherGetBlocksCall ¶ added in v1.1.5
BlockFetcherGetBlocksCall wrap *gomock.Call
func (*BlockFetcherGetBlocksCall) Do ¶ added in v1.1.5
func (c *BlockFetcherGetBlocksCall) Do(f func(context.Context, []types.BlockID) error) *BlockFetcherGetBlocksCall
Do rewrite *gomock.Call.Do
func (*BlockFetcherGetBlocksCall) DoAndReturn ¶ added in v1.1.5
func (c *BlockFetcherGetBlocksCall) DoAndReturn(f func(context.Context, []types.BlockID) error) *BlockFetcherGetBlocksCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*BlockFetcherGetBlocksCall) Return ¶ added in v1.1.5
func (c *BlockFetcherGetBlocksCall) Return(arg0 error) *BlockFetcherGetBlocksCall
Return rewrite *gomock.Call.Return
type FetcherGetActiveSetCall ¶ added in v1.1.5
FetcherGetActiveSetCall wrap *gomock.Call
func (*FetcherGetActiveSetCall) Do ¶ added in v1.1.5
func (c *FetcherGetActiveSetCall) Do(f func(context.Context, types.Hash32) error) *FetcherGetActiveSetCall
Do rewrite *gomock.Call.Do
func (*FetcherGetActiveSetCall) DoAndReturn ¶ added in v1.1.5
func (c *FetcherGetActiveSetCall) DoAndReturn(f func(context.Context, types.Hash32) error) *FetcherGetActiveSetCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*FetcherGetActiveSetCall) Return ¶ added in v1.1.5
func (c *FetcherGetActiveSetCall) Return(arg0 error) *FetcherGetActiveSetCall
Return rewrite *gomock.Call.Return
type FetcherGetAtxsCall ¶ added in v1.1.5
FetcherGetAtxsCall wrap *gomock.Call
func (*FetcherGetAtxsCall) Do ¶ added in v1.1.5
func (c *FetcherGetAtxsCall) Do(f func(context.Context, []types.ATXID) error) *FetcherGetAtxsCall
Do rewrite *gomock.Call.Do
func (*FetcherGetAtxsCall) DoAndReturn ¶ added in v1.1.5
func (c *FetcherGetAtxsCall) DoAndReturn(f func(context.Context, []types.ATXID) error) *FetcherGetAtxsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*FetcherGetAtxsCall) Return ¶ added in v1.1.5
func (c *FetcherGetAtxsCall) Return(arg0 error) *FetcherGetAtxsCall
Return rewrite *gomock.Call.Return
type FetcherGetBallotsCall ¶ added in v1.1.5
FetcherGetBallotsCall wrap *gomock.Call
func (*FetcherGetBallotsCall) Do ¶ added in v1.1.5
func (c *FetcherGetBallotsCall) Do(f func(context.Context, []types.BallotID) error) *FetcherGetBallotsCall
Do rewrite *gomock.Call.Do
func (*FetcherGetBallotsCall) DoAndReturn ¶ added in v1.1.5
func (c *FetcherGetBallotsCall) DoAndReturn(f func(context.Context, []types.BallotID) error) *FetcherGetBallotsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*FetcherGetBallotsCall) Return ¶ added in v1.1.5
func (c *FetcherGetBallotsCall) Return(arg0 error) *FetcherGetBallotsCall
Return rewrite *gomock.Call.Return
type FetcherGetBlockTxsCall ¶ added in v1.1.5
FetcherGetBlockTxsCall wrap *gomock.Call
func (*FetcherGetBlockTxsCall) Do ¶ added in v1.1.5
func (c *FetcherGetBlockTxsCall) Do(f func(context.Context, []types.TransactionID) error) *FetcherGetBlockTxsCall
Do rewrite *gomock.Call.Do
func (*FetcherGetBlockTxsCall) DoAndReturn ¶ added in v1.1.5
func (c *FetcherGetBlockTxsCall) DoAndReturn(f func(context.Context, []types.TransactionID) error) *FetcherGetBlockTxsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*FetcherGetBlockTxsCall) Return ¶ added in v1.1.5
func (c *FetcherGetBlockTxsCall) Return(arg0 error) *FetcherGetBlockTxsCall
Return rewrite *gomock.Call.Return
type FetcherGetBlocksCall ¶ added in v1.1.5
FetcherGetBlocksCall wrap *gomock.Call
func (*FetcherGetBlocksCall) Do ¶ added in v1.1.5
func (c *FetcherGetBlocksCall) Do(f func(context.Context, []types.BlockID) error) *FetcherGetBlocksCall
Do rewrite *gomock.Call.Do
func (*FetcherGetBlocksCall) DoAndReturn ¶ added in v1.1.5
func (c *FetcherGetBlocksCall) DoAndReturn(f func(context.Context, []types.BlockID) error) *FetcherGetBlocksCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*FetcherGetBlocksCall) Return ¶ added in v1.1.5
func (c *FetcherGetBlocksCall) Return(arg0 error) *FetcherGetBlocksCall
Return rewrite *gomock.Call.Return
type FetcherGetPoetProofCall ¶ added in v1.1.5
FetcherGetPoetProofCall wrap *gomock.Call
func (*FetcherGetPoetProofCall) Do ¶ added in v1.1.5
func (c *FetcherGetPoetProofCall) Do(f func(context.Context, types.Hash32) error) *FetcherGetPoetProofCall
Do rewrite *gomock.Call.Do
func (*FetcherGetPoetProofCall) DoAndReturn ¶ added in v1.1.5
func (c *FetcherGetPoetProofCall) DoAndReturn(f func(context.Context, types.Hash32) error) *FetcherGetPoetProofCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*FetcherGetPoetProofCall) Return ¶ added in v1.1.5
func (c *FetcherGetPoetProofCall) Return(arg0 error) *FetcherGetPoetProofCall
Return rewrite *gomock.Call.Return
type FetcherGetProposalTxsCall ¶ added in v1.1.5
FetcherGetProposalTxsCall wrap *gomock.Call
func (*FetcherGetProposalTxsCall) Do ¶ added in v1.1.5
func (c *FetcherGetProposalTxsCall) Do(f func(context.Context, []types.TransactionID) error) *FetcherGetProposalTxsCall
Do rewrite *gomock.Call.Do
func (*FetcherGetProposalTxsCall) DoAndReturn ¶ added in v1.1.5
func (c *FetcherGetProposalTxsCall) DoAndReturn(f func(context.Context, []types.TransactionID) error) *FetcherGetProposalTxsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*FetcherGetProposalTxsCall) Return ¶ added in v1.1.5
func (c *FetcherGetProposalTxsCall) Return(arg0 error) *FetcherGetProposalTxsCall
Return rewrite *gomock.Call.Return
type FetcherGetProposalsCall ¶ added in v1.1.5
FetcherGetProposalsCall wrap *gomock.Call
func (*FetcherGetProposalsCall) Do ¶ added in v1.1.5
func (c *FetcherGetProposalsCall) Do(f func(context.Context, []types.ProposalID) error) *FetcherGetProposalsCall
Do rewrite *gomock.Call.Do
func (*FetcherGetProposalsCall) DoAndReturn ¶ added in v1.1.5
func (c *FetcherGetProposalsCall) DoAndReturn(f func(context.Context, []types.ProposalID) error) *FetcherGetProposalsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*FetcherGetProposalsCall) Return ¶ added in v1.1.5
func (c *FetcherGetProposalsCall) Return(arg0 error) *FetcherGetProposalsCall
Return rewrite *gomock.Call.Return
type FetcherRegisterPeerHashesCall ¶ added in v1.1.5
FetcherRegisterPeerHashesCall wrap *gomock.Call
func (*FetcherRegisterPeerHashesCall) Do ¶ added in v1.1.5
func (c *FetcherRegisterPeerHashesCall) Do(f func(p2p.Peer, []types.Hash32)) *FetcherRegisterPeerHashesCall
Do rewrite *gomock.Call.Do
func (*FetcherRegisterPeerHashesCall) DoAndReturn ¶ added in v1.1.5
func (c *FetcherRegisterPeerHashesCall) DoAndReturn(f func(p2p.Peer, []types.Hash32)) *FetcherRegisterPeerHashesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*FetcherRegisterPeerHashesCall) Return ¶ added in v1.1.5
func (c *FetcherRegisterPeerHashesCall) Return() *FetcherRegisterPeerHashesCall
Return rewrite *gomock.Call.Return
type MockActiveSetFetcher ¶ added in v1.1.5
type MockActiveSetFetcher struct {
// contains filtered or unexported fields
}
MockActiveSetFetcher is a mock of ActiveSetFetcher interface.
func NewMockActiveSetFetcher ¶ added in v1.1.5
func NewMockActiveSetFetcher(ctrl *gomock.Controller) *MockActiveSetFetcher
NewMockActiveSetFetcher creates a new mock instance.
func (*MockActiveSetFetcher) EXPECT ¶ added in v1.1.5
func (m *MockActiveSetFetcher) EXPECT() *MockActiveSetFetcherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockActiveSetFetcher) GetActiveSet ¶ added in v1.1.5
GetActiveSet mocks base method.
type MockActiveSetFetcherMockRecorder ¶ added in v1.1.5
type MockActiveSetFetcherMockRecorder struct {
// contains filtered or unexported fields
}
MockActiveSetFetcherMockRecorder is the mock recorder for MockActiveSetFetcher.
func (*MockActiveSetFetcherMockRecorder) GetActiveSet ¶ added in v1.1.5
func (mr *MockActiveSetFetcherMockRecorder) GetActiveSet(arg0, arg1 any) *ActiveSetFetcherGetActiveSetCall
GetActiveSet indicates an expected call of GetActiveSet.
type MockAtxFetcher ¶
type MockAtxFetcher struct {
// contains filtered or unexported fields
}
MockAtxFetcher is a mock of AtxFetcher interface.
func NewMockAtxFetcher ¶
func NewMockAtxFetcher(ctrl *gomock.Controller) *MockAtxFetcher
NewMockAtxFetcher creates a new mock instance.
func (*MockAtxFetcher) EXPECT ¶
func (m *MockAtxFetcher) EXPECT() *MockAtxFetcherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockAtxFetcherMockRecorder ¶
type MockAtxFetcherMockRecorder struct {
// contains filtered or unexported fields
}
MockAtxFetcherMockRecorder is the mock recorder for MockAtxFetcher.
func (*MockAtxFetcherMockRecorder) GetAtxs ¶
func (mr *MockAtxFetcherMockRecorder) GetAtxs(arg0, arg1 any) *AtxFetcherGetAtxsCall
GetAtxs indicates an expected call of GetAtxs.
type MockBallotFetcher ¶
type MockBallotFetcher struct {
// contains filtered or unexported fields
}
MockBallotFetcher is a mock of BallotFetcher interface.
func NewMockBallotFetcher ¶
func NewMockBallotFetcher(ctrl *gomock.Controller) *MockBallotFetcher
NewMockBallotFetcher creates a new mock instance.
func (*MockBallotFetcher) EXPECT ¶
func (m *MockBallotFetcher) EXPECT() *MockBallotFetcherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBallotFetcher) GetBallots ¶
GetBallots mocks base method.
type MockBallotFetcherMockRecorder ¶
type MockBallotFetcherMockRecorder struct {
// contains filtered or unexported fields
}
MockBallotFetcherMockRecorder is the mock recorder for MockBallotFetcher.
func (*MockBallotFetcherMockRecorder) GetBallots ¶
func (mr *MockBallotFetcherMockRecorder) GetBallots(arg0, arg1 any) *BallotFetcherGetBallotsCall
GetBallots indicates an expected call of GetBallots.
type MockBeaconCollector ¶
type MockBeaconCollector struct {
// contains filtered or unexported fields
}
MockBeaconCollector is a mock of BeaconCollector interface.
func NewMockBeaconCollector ¶
func NewMockBeaconCollector(ctrl *gomock.Controller) *MockBeaconCollector
NewMockBeaconCollector creates a new mock instance.
func (*MockBeaconCollector) EXPECT ¶
func (m *MockBeaconCollector) EXPECT() *MockBeaconCollectorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockBeaconCollectorMockRecorder ¶
type MockBeaconCollectorMockRecorder struct {
// contains filtered or unexported fields
}
MockBeaconCollectorMockRecorder is the mock recorder for MockBeaconCollector.
func (*MockBeaconCollectorMockRecorder) ReportBeaconFromBallot ¶
func (mr *MockBeaconCollectorMockRecorder) ReportBeaconFromBallot(arg0, arg1, arg2, arg3 any) *BeaconCollectorReportBeaconFromBallotCall
ReportBeaconFromBallot indicates an expected call of ReportBeaconFromBallot.
type MockBeaconGetter ¶
type MockBeaconGetter struct {
// contains filtered or unexported fields
}
MockBeaconGetter is a mock of BeaconGetter interface.
func NewMockBeaconGetter ¶
func NewMockBeaconGetter(ctrl *gomock.Controller) *MockBeaconGetter
NewMockBeaconGetter creates a new mock instance.
func (*MockBeaconGetter) EXPECT ¶
func (m *MockBeaconGetter) EXPECT() *MockBeaconGetterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockBeaconGetterMockRecorder ¶
type MockBeaconGetterMockRecorder struct {
// contains filtered or unexported fields
}
MockBeaconGetterMockRecorder is the mock recorder for MockBeaconGetter.
func (*MockBeaconGetterMockRecorder) GetBeacon ¶
func (mr *MockBeaconGetterMockRecorder) GetBeacon(arg0 any) *BeaconGetterGetBeaconCall
GetBeacon indicates an expected call of GetBeacon.
type MockBlockFetcher ¶
type MockBlockFetcher struct {
// contains filtered or unexported fields
}
MockBlockFetcher is a mock of BlockFetcher interface.
func NewMockBlockFetcher ¶
func NewMockBlockFetcher(ctrl *gomock.Controller) *MockBlockFetcher
NewMockBlockFetcher creates a new mock instance.
func (*MockBlockFetcher) EXPECT ¶
func (m *MockBlockFetcher) EXPECT() *MockBlockFetcherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockBlockFetcherMockRecorder ¶
type MockBlockFetcherMockRecorder struct {
// contains filtered or unexported fields
}
MockBlockFetcherMockRecorder is the mock recorder for MockBlockFetcher.
func (*MockBlockFetcherMockRecorder) GetBlocks ¶
func (mr *MockBlockFetcherMockRecorder) GetBlocks(arg0, arg1 any) *BlockFetcherGetBlocksCall
GetBlocks indicates an expected call of GetBlocks.
type MockFetcher ¶
type MockFetcher struct {
// contains filtered or unexported fields
}
MockFetcher is a mock of Fetcher interface.
func NewMockFetcher ¶
func NewMockFetcher(ctrl *gomock.Controller) *MockFetcher
NewMockFetcher creates a new mock instance.
func (*MockFetcher) EXPECT ¶
func (m *MockFetcher) EXPECT() *MockFetcherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFetcher) GetActiveSet ¶ added in v1.1.5
GetActiveSet mocks base method.
func (*MockFetcher) GetBallots ¶
GetBallots mocks base method.
func (*MockFetcher) GetBlockTxs ¶
func (m *MockFetcher) GetBlockTxs(arg0 context.Context, arg1 []types.TransactionID) error
GetBlockTxs mocks base method.
func (*MockFetcher) GetPoetProof ¶
GetPoetProof mocks base method.
func (*MockFetcher) GetProposalTxs ¶
func (m *MockFetcher) GetProposalTxs(arg0 context.Context, arg1 []types.TransactionID) error
GetProposalTxs mocks base method.
func (*MockFetcher) GetProposals ¶
func (m *MockFetcher) GetProposals(arg0 context.Context, arg1 []types.ProposalID) error
GetProposals mocks base method.
func (*MockFetcher) RegisterPeerHashes ¶
func (m *MockFetcher) RegisterPeerHashes(peer p2p.Peer, hashes []types.Hash32)
RegisterPeerHashes mocks base method.
type MockFetcherMockRecorder ¶
type MockFetcherMockRecorder struct {
// contains filtered or unexported fields
}
MockFetcherMockRecorder is the mock recorder for MockFetcher.
func (*MockFetcherMockRecorder) GetActiveSet ¶ added in v1.1.5
func (mr *MockFetcherMockRecorder) GetActiveSet(arg0, arg1 any) *FetcherGetActiveSetCall
GetActiveSet indicates an expected call of GetActiveSet.
func (*MockFetcherMockRecorder) GetAtxs ¶
func (mr *MockFetcherMockRecorder) GetAtxs(arg0, arg1 any) *FetcherGetAtxsCall
GetAtxs indicates an expected call of GetAtxs.
func (*MockFetcherMockRecorder) GetBallots ¶
func (mr *MockFetcherMockRecorder) GetBallots(arg0, arg1 any) *FetcherGetBallotsCall
GetBallots indicates an expected call of GetBallots.
func (*MockFetcherMockRecorder) GetBlockTxs ¶
func (mr *MockFetcherMockRecorder) GetBlockTxs(arg0, arg1 any) *FetcherGetBlockTxsCall
GetBlockTxs indicates an expected call of GetBlockTxs.
func (*MockFetcherMockRecorder) GetBlocks ¶
func (mr *MockFetcherMockRecorder) GetBlocks(arg0, arg1 any) *FetcherGetBlocksCall
GetBlocks indicates an expected call of GetBlocks.
func (*MockFetcherMockRecorder) GetPoetProof ¶
func (mr *MockFetcherMockRecorder) GetPoetProof(arg0, arg1 any) *FetcherGetPoetProofCall
GetPoetProof indicates an expected call of GetPoetProof.
func (*MockFetcherMockRecorder) GetProposalTxs ¶
func (mr *MockFetcherMockRecorder) GetProposalTxs(arg0, arg1 any) *FetcherGetProposalTxsCall
GetProposalTxs indicates an expected call of GetProposalTxs.
func (*MockFetcherMockRecorder) GetProposals ¶
func (mr *MockFetcherMockRecorder) GetProposals(arg0, arg1 any) *FetcherGetProposalsCall
GetProposals indicates an expected call of GetProposals.
func (*MockFetcherMockRecorder) RegisterPeerHashes ¶
func (mr *MockFetcherMockRecorder) RegisterPeerHashes(peer, hashes any) *FetcherRegisterPeerHashesCall
RegisterPeerHashes indicates an expected call of RegisterPeerHashes.
type MockPeerTracker ¶
type MockPeerTracker struct {
// contains filtered or unexported fields
}
MockPeerTracker is a mock of PeerTracker interface.
func NewMockPeerTracker ¶
func NewMockPeerTracker(ctrl *gomock.Controller) *MockPeerTracker
NewMockPeerTracker creates a new mock instance.
func (*MockPeerTracker) EXPECT ¶
func (m *MockPeerTracker) EXPECT() *MockPeerTrackerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPeerTracker) RegisterPeerHashes ¶
func (m *MockPeerTracker) RegisterPeerHashes(peer p2p.Peer, hashes []types.Hash32)
RegisterPeerHashes mocks base method.
type MockPeerTrackerMockRecorder ¶
type MockPeerTrackerMockRecorder struct {
// contains filtered or unexported fields
}
MockPeerTrackerMockRecorder is the mock recorder for MockPeerTracker.
func (*MockPeerTrackerMockRecorder) RegisterPeerHashes ¶
func (mr *MockPeerTrackerMockRecorder) RegisterPeerHashes(peer, hashes any) *PeerTrackerRegisterPeerHashesCall
RegisterPeerHashes indicates an expected call of RegisterPeerHashes.
type MockPoetProofFetcher ¶
type MockPoetProofFetcher struct {
// contains filtered or unexported fields
}
MockPoetProofFetcher is a mock of PoetProofFetcher interface.
func NewMockPoetProofFetcher ¶
func NewMockPoetProofFetcher(ctrl *gomock.Controller) *MockPoetProofFetcher
NewMockPoetProofFetcher creates a new mock instance.
func (*MockPoetProofFetcher) EXPECT ¶
func (m *MockPoetProofFetcher) EXPECT() *MockPoetProofFetcherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPoetProofFetcher) GetPoetProof ¶
GetPoetProof mocks base method.
type MockPoetProofFetcherMockRecorder ¶
type MockPoetProofFetcherMockRecorder struct {
// contains filtered or unexported fields
}
MockPoetProofFetcherMockRecorder is the mock recorder for MockPoetProofFetcher.
func (*MockPoetProofFetcherMockRecorder) GetPoetProof ¶
func (mr *MockPoetProofFetcherMockRecorder) GetPoetProof(arg0, arg1 any) *PoetProofFetcherGetPoetProofCall
GetPoetProof indicates an expected call of GetPoetProof.
type MockProposalFetcher ¶
type MockProposalFetcher struct {
// contains filtered or unexported fields
}
MockProposalFetcher is a mock of ProposalFetcher interface.
func NewMockProposalFetcher ¶
func NewMockProposalFetcher(ctrl *gomock.Controller) *MockProposalFetcher
NewMockProposalFetcher creates a new mock instance.
func (*MockProposalFetcher) EXPECT ¶
func (m *MockProposalFetcher) EXPECT() *MockProposalFetcherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockProposalFetcher) GetProposals ¶
func (m *MockProposalFetcher) GetProposals(arg0 context.Context, arg1 []types.ProposalID) error
GetProposals mocks base method.
type MockProposalFetcherMockRecorder ¶
type MockProposalFetcherMockRecorder struct {
// contains filtered or unexported fields
}
MockProposalFetcherMockRecorder is the mock recorder for MockProposalFetcher.
func (*MockProposalFetcherMockRecorder) GetProposals ¶
func (mr *MockProposalFetcherMockRecorder) GetProposals(arg0, arg1 any) *ProposalFetcherGetProposalsCall
GetProposals indicates an expected call of GetProposals.
type MockSyncStateProvider ¶
type MockSyncStateProvider struct {
// contains filtered or unexported fields
}
MockSyncStateProvider is a mock of SyncStateProvider interface.
func NewMockSyncStateProvider ¶
func NewMockSyncStateProvider(ctrl *gomock.Controller) *MockSyncStateProvider
NewMockSyncStateProvider creates a new mock instance.
func (*MockSyncStateProvider) EXPECT ¶
func (m *MockSyncStateProvider) EXPECT() *MockSyncStateProviderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSyncStateProvider) IsBeaconSynced ¶
func (m *MockSyncStateProvider) IsBeaconSynced(arg0 types.EpochID) bool
IsBeaconSynced mocks base method.
type MockSyncStateProviderMockRecorder ¶
type MockSyncStateProviderMockRecorder struct {
// contains filtered or unexported fields
}
MockSyncStateProviderMockRecorder is the mock recorder for MockSyncStateProvider.
func (*MockSyncStateProviderMockRecorder) IsBeaconSynced ¶
func (mr *MockSyncStateProviderMockRecorder) IsBeaconSynced(arg0 any) *SyncStateProviderIsBeaconSyncedCall
IsBeaconSynced indicates an expected call of IsBeaconSynced.
func (*MockSyncStateProviderMockRecorder) IsSynced ¶
func (mr *MockSyncStateProviderMockRecorder) IsSynced(arg0 any) *SyncStateProviderIsSyncedCall
IsSynced indicates an expected call of IsSynced.
type MockTortoise ¶
type MockTortoise struct {
// contains filtered or unexported fields
}
MockTortoise is a mock of Tortoise interface.
func NewMockTortoise ¶
func NewMockTortoise(ctrl *gomock.Controller) *MockTortoise
NewMockTortoise creates a new mock instance.
func (*MockTortoise) EXPECT ¶
func (m *MockTortoise) EXPECT() *MockTortoiseMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTortoise) LatestComplete ¶
func (m *MockTortoise) LatestComplete() types.LayerID
LatestComplete mocks base method.
func (*MockTortoise) OnAtx ¶
func (m *MockTortoise) OnAtx(arg0 *types.AtxTortoiseData)
OnAtx mocks base method.
func (*MockTortoise) OnBlock ¶
func (m *MockTortoise) OnBlock(arg0 types.BlockHeader)
OnBlock mocks base method.
func (*MockTortoise) OnHareOutput ¶
func (m *MockTortoise) OnHareOutput(arg0 types.LayerID, arg1 types.BlockID)
OnHareOutput mocks base method.
func (*MockTortoise) OnMalfeasance ¶
func (m *MockTortoise) OnMalfeasance(arg0 types.NodeID)
OnMalfeasance mocks base method.
func (*MockTortoise) OnWeakCoin ¶
func (m *MockTortoise) OnWeakCoin(arg0 types.LayerID, arg1 bool)
OnWeakCoin mocks base method.
func (*MockTortoise) TallyVotes ¶
func (m *MockTortoise) TallyVotes(arg0 context.Context, arg1 types.LayerID)
TallyVotes mocks base method.
func (*MockTortoise) Updates ¶
func (m *MockTortoise) Updates() []result.Layer
Updates mocks base method.
type MockTortoiseMockRecorder ¶
type MockTortoiseMockRecorder struct {
// contains filtered or unexported fields
}
MockTortoiseMockRecorder is the mock recorder for MockTortoise.
func (*MockTortoiseMockRecorder) LatestComplete ¶
func (mr *MockTortoiseMockRecorder) LatestComplete() *TortoiseLatestCompleteCall
LatestComplete indicates an expected call of LatestComplete.
func (*MockTortoiseMockRecorder) OnApplied ¶ added in v1.2.2
func (mr *MockTortoiseMockRecorder) OnApplied(arg0, arg1 any) *TortoiseOnAppliedCall
OnApplied indicates an expected call of OnApplied.
func (*MockTortoiseMockRecorder) OnAtx ¶
func (mr *MockTortoiseMockRecorder) OnAtx(arg0 any) *TortoiseOnAtxCall
OnAtx indicates an expected call of OnAtx.
func (*MockTortoiseMockRecorder) OnBlock ¶
func (mr *MockTortoiseMockRecorder) OnBlock(arg0 any) *TortoiseOnBlockCall
OnBlock indicates an expected call of OnBlock.
func (*MockTortoiseMockRecorder) OnHareOutput ¶
func (mr *MockTortoiseMockRecorder) OnHareOutput(arg0, arg1 any) *TortoiseOnHareOutputCall
OnHareOutput indicates an expected call of OnHareOutput.
func (*MockTortoiseMockRecorder) OnMalfeasance ¶
func (mr *MockTortoiseMockRecorder) OnMalfeasance(arg0 any) *TortoiseOnMalfeasanceCall
OnMalfeasance indicates an expected call of OnMalfeasance.
func (*MockTortoiseMockRecorder) OnWeakCoin ¶
func (mr *MockTortoiseMockRecorder) OnWeakCoin(arg0, arg1 any) *TortoiseOnWeakCoinCall
OnWeakCoin indicates an expected call of OnWeakCoin.
func (*MockTortoiseMockRecorder) TallyVotes ¶
func (mr *MockTortoiseMockRecorder) TallyVotes(arg0, arg1 any) *TortoiseTallyVotesCall
TallyVotes indicates an expected call of TallyVotes.
func (*MockTortoiseMockRecorder) Updates ¶
func (mr *MockTortoiseMockRecorder) Updates() *TortoiseUpdatesCall
Updates indicates an expected call of Updates.
type MockTxFetcher ¶
type MockTxFetcher struct {
// contains filtered or unexported fields
}
MockTxFetcher is a mock of TxFetcher interface.
func NewMockTxFetcher ¶
func NewMockTxFetcher(ctrl *gomock.Controller) *MockTxFetcher
NewMockTxFetcher creates a new mock instance.
func (*MockTxFetcher) EXPECT ¶
func (m *MockTxFetcher) EXPECT() *MockTxFetcherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTxFetcher) GetBlockTxs ¶
func (m *MockTxFetcher) GetBlockTxs(arg0 context.Context, arg1 []types.TransactionID) error
GetBlockTxs mocks base method.
func (*MockTxFetcher) GetProposalTxs ¶
func (m *MockTxFetcher) GetProposalTxs(arg0 context.Context, arg1 []types.TransactionID) error
GetProposalTxs mocks base method.
type MockTxFetcherMockRecorder ¶
type MockTxFetcherMockRecorder struct {
// contains filtered or unexported fields
}
MockTxFetcherMockRecorder is the mock recorder for MockTxFetcher.
func (*MockTxFetcherMockRecorder) GetBlockTxs ¶
func (mr *MockTxFetcherMockRecorder) GetBlockTxs(arg0, arg1 any) *TxFetcherGetBlockTxsCall
GetBlockTxs indicates an expected call of GetBlockTxs.
func (*MockTxFetcherMockRecorder) GetProposalTxs ¶
func (mr *MockTxFetcherMockRecorder) GetProposalTxs(arg0, arg1 any) *TxFetcherGetProposalTxsCall
GetProposalTxs indicates an expected call of GetProposalTxs.
type MockValidationRequest ¶
type MockValidationRequest struct {
// contains filtered or unexported fields
}
MockValidationRequest is a mock of ValidationRequest interface.
func NewMockValidationRequest ¶
func NewMockValidationRequest(ctrl *gomock.Controller) *MockValidationRequest
NewMockValidationRequest creates a new mock instance.
func (*MockValidationRequest) EXPECT ¶
func (m *MockValidationRequest) EXPECT() *MockValidationRequestMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockValidationRequest) Parse ¶
func (m *MockValidationRequest) Parse() (*types.TxHeader, error)
Parse mocks base method.
func (*MockValidationRequest) Verify ¶
func (m *MockValidationRequest) Verify() bool
Verify mocks base method.
type MockValidationRequestMockRecorder ¶
type MockValidationRequestMockRecorder struct {
// contains filtered or unexported fields
}
MockValidationRequestMockRecorder is the mock recorder for MockValidationRequest.
func (*MockValidationRequestMockRecorder) Parse ¶
func (mr *MockValidationRequestMockRecorder) Parse() *ValidationRequestParseCall
Parse indicates an expected call of Parse.
func (*MockValidationRequestMockRecorder) Verify ¶
func (mr *MockValidationRequestMockRecorder) Verify() *ValidationRequestVerifyCall
Verify indicates an expected call of Verify.
type PeerTrackerRegisterPeerHashesCall ¶ added in v1.1.5
PeerTrackerRegisterPeerHashesCall wrap *gomock.Call
func (*PeerTrackerRegisterPeerHashesCall) Do ¶ added in v1.1.5
func (c *PeerTrackerRegisterPeerHashesCall) Do(f func(p2p.Peer, []types.Hash32)) *PeerTrackerRegisterPeerHashesCall
Do rewrite *gomock.Call.Do
func (*PeerTrackerRegisterPeerHashesCall) DoAndReturn ¶ added in v1.1.5
func (c *PeerTrackerRegisterPeerHashesCall) DoAndReturn(f func(p2p.Peer, []types.Hash32)) *PeerTrackerRegisterPeerHashesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*PeerTrackerRegisterPeerHashesCall) Return ¶ added in v1.1.5
func (c *PeerTrackerRegisterPeerHashesCall) Return() *PeerTrackerRegisterPeerHashesCall
Return rewrite *gomock.Call.Return
type PoetProofFetcherGetPoetProofCall ¶ added in v1.1.5
PoetProofFetcherGetPoetProofCall wrap *gomock.Call
func (*PoetProofFetcherGetPoetProofCall) Do ¶ added in v1.1.5
func (c *PoetProofFetcherGetPoetProofCall) Do(f func(context.Context, types.Hash32) error) *PoetProofFetcherGetPoetProofCall
Do rewrite *gomock.Call.Do
func (*PoetProofFetcherGetPoetProofCall) DoAndReturn ¶ added in v1.1.5
func (c *PoetProofFetcherGetPoetProofCall) DoAndReturn(f func(context.Context, types.Hash32) error) *PoetProofFetcherGetPoetProofCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*PoetProofFetcherGetPoetProofCall) Return ¶ added in v1.1.5
func (c *PoetProofFetcherGetPoetProofCall) Return(arg0 error) *PoetProofFetcherGetPoetProofCall
Return rewrite *gomock.Call.Return
type ProposalFetcherGetProposalsCall ¶ added in v1.1.5
ProposalFetcherGetProposalsCall wrap *gomock.Call
func (*ProposalFetcherGetProposalsCall) Do ¶ added in v1.1.5
func (c *ProposalFetcherGetProposalsCall) Do(f func(context.Context, []types.ProposalID) error) *ProposalFetcherGetProposalsCall
Do rewrite *gomock.Call.Do
func (*ProposalFetcherGetProposalsCall) DoAndReturn ¶ added in v1.1.5
func (c *ProposalFetcherGetProposalsCall) DoAndReturn(f func(context.Context, []types.ProposalID) error) *ProposalFetcherGetProposalsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ProposalFetcherGetProposalsCall) Return ¶ added in v1.1.5
func (c *ProposalFetcherGetProposalsCall) Return(arg0 error) *ProposalFetcherGetProposalsCall
Return rewrite *gomock.Call.Return
type SyncStateProviderIsBeaconSyncedCall ¶ added in v1.1.5
SyncStateProviderIsBeaconSyncedCall wrap *gomock.Call
func (*SyncStateProviderIsBeaconSyncedCall) Do ¶ added in v1.1.5
func (c *SyncStateProviderIsBeaconSyncedCall) Do(f func(types.EpochID) bool) *SyncStateProviderIsBeaconSyncedCall
Do rewrite *gomock.Call.Do
func (*SyncStateProviderIsBeaconSyncedCall) DoAndReturn ¶ added in v1.1.5
func (c *SyncStateProviderIsBeaconSyncedCall) DoAndReturn(f func(types.EpochID) bool) *SyncStateProviderIsBeaconSyncedCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*SyncStateProviderIsBeaconSyncedCall) Return ¶ added in v1.1.5
func (c *SyncStateProviderIsBeaconSyncedCall) Return(arg0 bool) *SyncStateProviderIsBeaconSyncedCall
Return rewrite *gomock.Call.Return
type SyncStateProviderIsSyncedCall ¶ added in v1.1.5
SyncStateProviderIsSyncedCall wrap *gomock.Call
func (*SyncStateProviderIsSyncedCall) Do ¶ added in v1.1.5
func (c *SyncStateProviderIsSyncedCall) Do(f func(context.Context) bool) *SyncStateProviderIsSyncedCall
Do rewrite *gomock.Call.Do
func (*SyncStateProviderIsSyncedCall) DoAndReturn ¶ added in v1.1.5
func (c *SyncStateProviderIsSyncedCall) DoAndReturn(f func(context.Context) bool) *SyncStateProviderIsSyncedCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*SyncStateProviderIsSyncedCall) Return ¶ added in v1.1.5
func (c *SyncStateProviderIsSyncedCall) Return(arg0 bool) *SyncStateProviderIsSyncedCall
Return rewrite *gomock.Call.Return
type TortoiseLatestCompleteCall ¶ added in v1.1.5
TortoiseLatestCompleteCall wrap *gomock.Call
func (*TortoiseLatestCompleteCall) Do ¶ added in v1.1.5
func (c *TortoiseLatestCompleteCall) Do(f func() types.LayerID) *TortoiseLatestCompleteCall
Do rewrite *gomock.Call.Do
func (*TortoiseLatestCompleteCall) DoAndReturn ¶ added in v1.1.5
func (c *TortoiseLatestCompleteCall) DoAndReturn(f func() types.LayerID) *TortoiseLatestCompleteCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TortoiseLatestCompleteCall) Return ¶ added in v1.1.5
func (c *TortoiseLatestCompleteCall) Return(arg0 types.LayerID) *TortoiseLatestCompleteCall
Return rewrite *gomock.Call.Return
type TortoiseOnAppliedCall ¶ added in v1.2.2
TortoiseOnAppliedCall wrap *gomock.Call
func (*TortoiseOnAppliedCall) Do ¶ added in v1.2.2
func (c *TortoiseOnAppliedCall) Do(f func(types.LayerID, types.Hash32) bool) *TortoiseOnAppliedCall
Do rewrite *gomock.Call.Do
func (*TortoiseOnAppliedCall) DoAndReturn ¶ added in v1.2.2
func (c *TortoiseOnAppliedCall) DoAndReturn(f func(types.LayerID, types.Hash32) bool) *TortoiseOnAppliedCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TortoiseOnAppliedCall) Return ¶ added in v1.2.2
func (c *TortoiseOnAppliedCall) Return(arg0 bool) *TortoiseOnAppliedCall
Return rewrite *gomock.Call.Return
type TortoiseOnAtxCall ¶ added in v1.1.5
TortoiseOnAtxCall wrap *gomock.Call
func (*TortoiseOnAtxCall) Do ¶ added in v1.1.5
func (c *TortoiseOnAtxCall) Do(f func(*types.AtxTortoiseData)) *TortoiseOnAtxCall
Do rewrite *gomock.Call.Do
func (*TortoiseOnAtxCall) DoAndReturn ¶ added in v1.1.5
func (c *TortoiseOnAtxCall) DoAndReturn(f func(*types.AtxTortoiseData)) *TortoiseOnAtxCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TortoiseOnAtxCall) Return ¶ added in v1.1.5
func (c *TortoiseOnAtxCall) Return() *TortoiseOnAtxCall
Return rewrite *gomock.Call.Return
type TortoiseOnBlockCall ¶ added in v1.1.5
TortoiseOnBlockCall wrap *gomock.Call
func (*TortoiseOnBlockCall) Do ¶ added in v1.1.5
func (c *TortoiseOnBlockCall) Do(f func(types.BlockHeader)) *TortoiseOnBlockCall
Do rewrite *gomock.Call.Do
func (*TortoiseOnBlockCall) DoAndReturn ¶ added in v1.1.5
func (c *TortoiseOnBlockCall) DoAndReturn(f func(types.BlockHeader)) *TortoiseOnBlockCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TortoiseOnBlockCall) Return ¶ added in v1.1.5
func (c *TortoiseOnBlockCall) Return() *TortoiseOnBlockCall
Return rewrite *gomock.Call.Return
type TortoiseOnHareOutputCall ¶ added in v1.1.5
TortoiseOnHareOutputCall wrap *gomock.Call
func (*TortoiseOnHareOutputCall) Do ¶ added in v1.1.5
func (c *TortoiseOnHareOutputCall) Do(f func(types.LayerID, types.BlockID)) *TortoiseOnHareOutputCall
Do rewrite *gomock.Call.Do
func (*TortoiseOnHareOutputCall) DoAndReturn ¶ added in v1.1.5
func (c *TortoiseOnHareOutputCall) DoAndReturn(f func(types.LayerID, types.BlockID)) *TortoiseOnHareOutputCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TortoiseOnHareOutputCall) Return ¶ added in v1.1.5
func (c *TortoiseOnHareOutputCall) Return() *TortoiseOnHareOutputCall
Return rewrite *gomock.Call.Return
type TortoiseOnMalfeasanceCall ¶ added in v1.1.5
TortoiseOnMalfeasanceCall wrap *gomock.Call
func (*TortoiseOnMalfeasanceCall) Do ¶ added in v1.1.5
func (c *TortoiseOnMalfeasanceCall) Do(f func(types.NodeID)) *TortoiseOnMalfeasanceCall
Do rewrite *gomock.Call.Do
func (*TortoiseOnMalfeasanceCall) DoAndReturn ¶ added in v1.1.5
func (c *TortoiseOnMalfeasanceCall) DoAndReturn(f func(types.NodeID)) *TortoiseOnMalfeasanceCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TortoiseOnMalfeasanceCall) Return ¶ added in v1.1.5
func (c *TortoiseOnMalfeasanceCall) Return() *TortoiseOnMalfeasanceCall
Return rewrite *gomock.Call.Return
type TortoiseOnWeakCoinCall ¶ added in v1.1.5
TortoiseOnWeakCoinCall wrap *gomock.Call
func (*TortoiseOnWeakCoinCall) Do ¶ added in v1.1.5
func (c *TortoiseOnWeakCoinCall) Do(f func(types.LayerID, bool)) *TortoiseOnWeakCoinCall
Do rewrite *gomock.Call.Do
func (*TortoiseOnWeakCoinCall) DoAndReturn ¶ added in v1.1.5
func (c *TortoiseOnWeakCoinCall) DoAndReturn(f func(types.LayerID, bool)) *TortoiseOnWeakCoinCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TortoiseOnWeakCoinCall) Return ¶ added in v1.1.5
func (c *TortoiseOnWeakCoinCall) Return() *TortoiseOnWeakCoinCall
Return rewrite *gomock.Call.Return
type TortoiseTallyVotesCall ¶ added in v1.1.5
TortoiseTallyVotesCall wrap *gomock.Call
func (*TortoiseTallyVotesCall) Do ¶ added in v1.1.5
func (c *TortoiseTallyVotesCall) Do(f func(context.Context, types.LayerID)) *TortoiseTallyVotesCall
Do rewrite *gomock.Call.Do
func (*TortoiseTallyVotesCall) DoAndReturn ¶ added in v1.1.5
func (c *TortoiseTallyVotesCall) DoAndReturn(f func(context.Context, types.LayerID)) *TortoiseTallyVotesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TortoiseTallyVotesCall) Return ¶ added in v1.1.5
func (c *TortoiseTallyVotesCall) Return() *TortoiseTallyVotesCall
Return rewrite *gomock.Call.Return
type TortoiseUpdatesCall ¶ added in v1.1.5
TortoiseUpdatesCall wrap *gomock.Call
func (*TortoiseUpdatesCall) Do ¶ added in v1.1.5
func (c *TortoiseUpdatesCall) Do(f func() []result.Layer) *TortoiseUpdatesCall
Do rewrite *gomock.Call.Do
func (*TortoiseUpdatesCall) DoAndReturn ¶ added in v1.1.5
func (c *TortoiseUpdatesCall) DoAndReturn(f func() []result.Layer) *TortoiseUpdatesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TortoiseUpdatesCall) Return ¶ added in v1.1.5
func (c *TortoiseUpdatesCall) Return(arg0 []result.Layer) *TortoiseUpdatesCall
Return rewrite *gomock.Call.Return
type TxFetcherGetBlockTxsCall ¶ added in v1.1.5
TxFetcherGetBlockTxsCall wrap *gomock.Call
func (*TxFetcherGetBlockTxsCall) Do ¶ added in v1.1.5
func (c *TxFetcherGetBlockTxsCall) Do(f func(context.Context, []types.TransactionID) error) *TxFetcherGetBlockTxsCall
Do rewrite *gomock.Call.Do
func (*TxFetcherGetBlockTxsCall) DoAndReturn ¶ added in v1.1.5
func (c *TxFetcherGetBlockTxsCall) DoAndReturn(f func(context.Context, []types.TransactionID) error) *TxFetcherGetBlockTxsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TxFetcherGetBlockTxsCall) Return ¶ added in v1.1.5
func (c *TxFetcherGetBlockTxsCall) Return(arg0 error) *TxFetcherGetBlockTxsCall
Return rewrite *gomock.Call.Return
type TxFetcherGetProposalTxsCall ¶ added in v1.1.5
TxFetcherGetProposalTxsCall wrap *gomock.Call
func (*TxFetcherGetProposalTxsCall) Do ¶ added in v1.1.5
func (c *TxFetcherGetProposalTxsCall) Do(f func(context.Context, []types.TransactionID) error) *TxFetcherGetProposalTxsCall
Do rewrite *gomock.Call.Do
func (*TxFetcherGetProposalTxsCall) DoAndReturn ¶ added in v1.1.5
func (c *TxFetcherGetProposalTxsCall) DoAndReturn(f func(context.Context, []types.TransactionID) error) *TxFetcherGetProposalTxsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TxFetcherGetProposalTxsCall) Return ¶ added in v1.1.5
func (c *TxFetcherGetProposalTxsCall) Return(arg0 error) *TxFetcherGetProposalTxsCall
Return rewrite *gomock.Call.Return
type ValidationRequestParseCall ¶ added in v1.1.5
ValidationRequestParseCall wrap *gomock.Call
func (*ValidationRequestParseCall) Do ¶ added in v1.1.5
func (c *ValidationRequestParseCall) Do(f func() (*types.TxHeader, error)) *ValidationRequestParseCall
Do rewrite *gomock.Call.Do
func (*ValidationRequestParseCall) DoAndReturn ¶ added in v1.1.5
func (c *ValidationRequestParseCall) DoAndReturn(f func() (*types.TxHeader, error)) *ValidationRequestParseCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ValidationRequestParseCall) Return ¶ added in v1.1.5
func (c *ValidationRequestParseCall) Return(arg0 *types.TxHeader, arg1 error) *ValidationRequestParseCall
Return rewrite *gomock.Call.Return
type ValidationRequestVerifyCall ¶ added in v1.1.5
ValidationRequestVerifyCall wrap *gomock.Call
func (*ValidationRequestVerifyCall) Do ¶ added in v1.1.5
func (c *ValidationRequestVerifyCall) Do(f func() bool) *ValidationRequestVerifyCall
Do rewrite *gomock.Call.Do
func (*ValidationRequestVerifyCall) DoAndReturn ¶ added in v1.1.5
func (c *ValidationRequestVerifyCall) DoAndReturn(f func() bool) *ValidationRequestVerifyCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ValidationRequestVerifyCall) Return ¶ added in v1.1.5
func (c *ValidationRequestVerifyCall) Return(arg0 bool) *ValidationRequestVerifyCall
Return rewrite *gomock.Call.Return