| 11 | ) |
| 12 | |
| 13 | type PeerLedger struct { |
| 14 | CancelSnapshotRequestStub func(uint64) error |
| 15 | cancelSnapshotRequestMutex sync.RWMutex |
| 16 | cancelSnapshotRequestArgsForCall []struct { |
| 17 | arg1 uint64 |
| 18 | } |
| 19 | cancelSnapshotRequestReturns struct { |
| 20 | result1 error |
| 21 | } |
| 22 | cancelSnapshotRequestReturnsOnCall map[int]struct { |
| 23 | result1 error |
| 24 | } |
| 25 | CloseStub func() |
| 26 | closeMutex sync.RWMutex |
| 27 | closeArgsForCall []struct { |
| 28 | } |
| 29 | CommitLegacyStub func(*ledger.BlockAndPvtData, *ledger.CommitOptions) error |
| 30 | commitLegacyMutex sync.RWMutex |
| 31 | commitLegacyArgsForCall []struct { |
| 32 | arg1 *ledger.BlockAndPvtData |
| 33 | arg2 *ledger.CommitOptions |
| 34 | } |
| 35 | commitLegacyReturns struct { |
| 36 | result1 error |
| 37 | } |
| 38 | commitLegacyReturnsOnCall map[int]struct { |
| 39 | result1 error |
| 40 | } |
| 41 | CommitNotificationsChannelStub func(<-chan struct{}) (<-chan *ledger.CommitNotification, error) |
| 42 | commitNotificationsChannelMutex sync.RWMutex |
| 43 | commitNotificationsChannelArgsForCall []struct { |
| 44 | arg1 <-chan struct{} |
| 45 | } |
| 46 | commitNotificationsChannelReturns struct { |
| 47 | result1 <-chan *ledger.CommitNotification |
| 48 | result2 error |
| 49 | } |
| 50 | commitNotificationsChannelReturnsOnCall map[int]struct { |
| 51 | result1 <-chan *ledger.CommitNotification |
| 52 | result2 error |
| 53 | } |
| 54 | CommitPvtDataOfOldBlocksStub func([]*ledger.ReconciledPvtdata, ledger.MissingPvtDataInfo) ([]*ledger.PvtdataHashMismatch, error) |
| 55 | commitPvtDataOfOldBlocksMutex sync.RWMutex |
| 56 | commitPvtDataOfOldBlocksArgsForCall []struct { |
| 57 | arg1 []*ledger.ReconciledPvtdata |
| 58 | arg2 ledger.MissingPvtDataInfo |
| 59 | } |
| 60 | commitPvtDataOfOldBlocksReturns struct { |
| 61 | result1 []*ledger.PvtdataHashMismatch |
| 62 | result2 error |
| 63 | } |
| 64 | commitPvtDataOfOldBlocksReturnsOnCall map[int]struct { |
| 65 | result1 []*ledger.PvtdataHashMismatch |
| 66 | result2 error |
| 67 | } |
| 68 | DoesPvtDataInfoExistStub func(uint64) (bool, error) |
| 69 | doesPvtDataInfoExistMutex sync.RWMutex |
| 70 | doesPvtDataInfoExistArgsForCall []struct { |
nothing calls this directly
no outgoing calls
no test coverage detected