Documentation ¶
Overview ¶
Package lnd_mock is a generated GoMock package.
Package lnd_mock is a generated GoMock package.
Package lnd_mock is a generated GoMock package.
Index ¶
- type MockLightningClient
- func (m *MockLightningClient) AbandonChannel(arg0 context.Context, arg1 *lnrpc.AbandonChannelRequest, ...) (*lnrpc.AbandonChannelResponse, error)
- func (m *MockLightningClient) AddInvoice(arg0 context.Context, arg1 *lnrpc.Invoice, arg2 ...grpc.CallOption) (*lnrpc.AddInvoiceResponse, error)
- func (m *MockLightningClient) BakeMacaroon(arg0 context.Context, arg1 *lnrpc.BakeMacaroonRequest, arg2 ...grpc.CallOption) (*lnrpc.BakeMacaroonResponse, error)
- func (m *MockLightningClient) BatchOpenChannel(arg0 context.Context, arg1 *lnrpc.BatchOpenChannelRequest, ...) (*lnrpc.BatchOpenChannelResponse, error)
- func (m *MockLightningClient) ChannelAcceptor(arg0 context.Context, arg1 ...grpc.CallOption) (lnrpc.Lightning_ChannelAcceptorClient, error)
- func (m *MockLightningClient) ChannelBalance(arg0 context.Context, arg1 *lnrpc.ChannelBalanceRequest, ...) (*lnrpc.ChannelBalanceResponse, error)
- func (m *MockLightningClient) CheckMacaroonPermissions(arg0 context.Context, arg1 *lnrpc.CheckMacPermRequest, arg2 ...grpc.CallOption) (*lnrpc.CheckMacPermResponse, error)
- func (m *MockLightningClient) CloseChannel(arg0 context.Context, arg1 *lnrpc.CloseChannelRequest, arg2 ...grpc.CallOption) (lnrpc.Lightning_CloseChannelClient, error)
- func (m *MockLightningClient) ClosedChannels(arg0 context.Context, arg1 *lnrpc.ClosedChannelsRequest, ...) (*lnrpc.ClosedChannelsResponse, error)
- func (m *MockLightningClient) ConnectPeer(arg0 context.Context, arg1 *lnrpc.ConnectPeerRequest, arg2 ...grpc.CallOption) (*lnrpc.ConnectPeerResponse, error)
- func (m *MockLightningClient) DebugLevel(arg0 context.Context, arg1 *lnrpc.DebugLevelRequest, arg2 ...grpc.CallOption) (*lnrpc.DebugLevelResponse, error)
- func (m *MockLightningClient) DecodePayReq(arg0 context.Context, arg1 *lnrpc.PayReqString, arg2 ...grpc.CallOption) (*lnrpc.PayReq, error)
- func (m *MockLightningClient) DeleteAllPayments(arg0 context.Context, arg1 *lnrpc.DeleteAllPaymentsRequest, ...) (*lnrpc.DeleteAllPaymentsResponse, error)
- func (m *MockLightningClient) DeleteMacaroonID(arg0 context.Context, arg1 *lnrpc.DeleteMacaroonIDRequest, ...) (*lnrpc.DeleteMacaroonIDResponse, error)
- func (m *MockLightningClient) DeletePayment(arg0 context.Context, arg1 *lnrpc.DeletePaymentRequest, ...) (*lnrpc.DeletePaymentResponse, error)
- func (m *MockLightningClient) DescribeGraph(arg0 context.Context, arg1 *lnrpc.ChannelGraphRequest, arg2 ...grpc.CallOption) (*lnrpc.ChannelGraph, error)
- func (m *MockLightningClient) DisconnectPeer(arg0 context.Context, arg1 *lnrpc.DisconnectPeerRequest, ...) (*lnrpc.DisconnectPeerResponse, error)
- func (m *MockLightningClient) EXPECT() *MockLightningClientMockRecorder
- func (m *MockLightningClient) EstimateFee(arg0 context.Context, arg1 *lnrpc.EstimateFeeRequest, arg2 ...grpc.CallOption) (*lnrpc.EstimateFeeResponse, error)
- func (m *MockLightningClient) ExportAllChannelBackups(arg0 context.Context, arg1 *lnrpc.ChanBackupExportRequest, ...) (*lnrpc.ChanBackupSnapshot, error)
- func (m *MockLightningClient) ExportChannelBackup(arg0 context.Context, arg1 *lnrpc.ExportChannelBackupRequest, ...) (*lnrpc.ChannelBackup, error)
- func (m *MockLightningClient) FeeReport(arg0 context.Context, arg1 *lnrpc.FeeReportRequest, arg2 ...grpc.CallOption) (*lnrpc.FeeReportResponse, error)
- func (m *MockLightningClient) ForwardingHistory(arg0 context.Context, arg1 *lnrpc.ForwardingHistoryRequest, ...) (*lnrpc.ForwardingHistoryResponse, error)
- func (m *MockLightningClient) FundingStateStep(arg0 context.Context, arg1 *lnrpc.FundingTransitionMsg, ...) (*lnrpc.FundingStateStepResp, error)
- func (m *MockLightningClient) GetChanInfo(arg0 context.Context, arg1 *lnrpc.ChanInfoRequest, arg2 ...grpc.CallOption) (*lnrpc.ChannelEdge, error)
- func (m *MockLightningClient) GetInfo(arg0 context.Context, arg1 *lnrpc.GetInfoRequest, arg2 ...grpc.CallOption) (*lnrpc.GetInfoResponse, error)
- func (m *MockLightningClient) GetNetworkInfo(arg0 context.Context, arg1 *lnrpc.NetworkInfoRequest, arg2 ...grpc.CallOption) (*lnrpc.NetworkInfo, error)
- func (m *MockLightningClient) GetNodeInfo(arg0 context.Context, arg1 *lnrpc.NodeInfoRequest, arg2 ...grpc.CallOption) (*lnrpc.NodeInfo, error)
- func (m *MockLightningClient) GetNodeMetrics(arg0 context.Context, arg1 *lnrpc.NodeMetricsRequest, arg2 ...grpc.CallOption) (*lnrpc.NodeMetricsResponse, error)
- func (m *MockLightningClient) GetRecoveryInfo(arg0 context.Context, arg1 *lnrpc.GetRecoveryInfoRequest, ...) (*lnrpc.GetRecoveryInfoResponse, error)
- func (m *MockLightningClient) GetTransactions(arg0 context.Context, arg1 *lnrpc.GetTransactionsRequest, ...) (*lnrpc.TransactionDetails, error)
- func (m *MockLightningClient) ListChannels(arg0 context.Context, arg1 *lnrpc.ListChannelsRequest, arg2 ...grpc.CallOption) (*lnrpc.ListChannelsResponse, error)
- func (m *MockLightningClient) ListInvoices(arg0 context.Context, arg1 *lnrpc.ListInvoiceRequest, arg2 ...grpc.CallOption) (*lnrpc.ListInvoiceResponse, error)
- func (m *MockLightningClient) ListMacaroonIDs(arg0 context.Context, arg1 *lnrpc.ListMacaroonIDsRequest, ...) (*lnrpc.ListMacaroonIDsResponse, error)
- func (m *MockLightningClient) ListPayments(arg0 context.Context, arg1 *lnrpc.ListPaymentsRequest, arg2 ...grpc.CallOption) (*lnrpc.ListPaymentsResponse, error)
- func (m *MockLightningClient) ListPeers(arg0 context.Context, arg1 *lnrpc.ListPeersRequest, arg2 ...grpc.CallOption) (*lnrpc.ListPeersResponse, error)
- func (m *MockLightningClient) ListPermissions(arg0 context.Context, arg1 *lnrpc.ListPermissionsRequest, ...) (*lnrpc.ListPermissionsResponse, error)
- func (m *MockLightningClient) ListUnspent(arg0 context.Context, arg1 *lnrpc.ListUnspentRequest, arg2 ...grpc.CallOption) (*lnrpc.ListUnspentResponse, error)
- func (m *MockLightningClient) LookupInvoice(arg0 context.Context, arg1 *lnrpc.PaymentHash, arg2 ...grpc.CallOption) (*lnrpc.Invoice, error)
- func (m *MockLightningClient) NewAddress(arg0 context.Context, arg1 *lnrpc.NewAddressRequest, arg2 ...grpc.CallOption) (*lnrpc.NewAddressResponse, error)
- func (m *MockLightningClient) OpenChannel(arg0 context.Context, arg1 *lnrpc.OpenChannelRequest, arg2 ...grpc.CallOption) (lnrpc.Lightning_OpenChannelClient, error)
- func (m *MockLightningClient) OpenChannelSync(arg0 context.Context, arg1 *lnrpc.OpenChannelRequest, arg2 ...grpc.CallOption) (*lnrpc.ChannelPoint, error)
- func (m *MockLightningClient) PendingChannels(arg0 context.Context, arg1 *lnrpc.PendingChannelsRequest, ...) (*lnrpc.PendingChannelsResponse, error)
- func (m *MockLightningClient) QueryRoutes(arg0 context.Context, arg1 *lnrpc.QueryRoutesRequest, arg2 ...grpc.CallOption) (*lnrpc.QueryRoutesResponse, error)
- func (m *MockLightningClient) RegisterRPCMiddleware(arg0 context.Context, arg1 ...grpc.CallOption) (lnrpc.Lightning_RegisterRPCMiddlewareClient, error)
- func (m *MockLightningClient) RestoreChannelBackups(arg0 context.Context, arg1 *lnrpc.RestoreChanBackupRequest, ...) (*lnrpc.RestoreBackupResponse, error)
- func (m *MockLightningClient) SendCoins(arg0 context.Context, arg1 *lnrpc.SendCoinsRequest, arg2 ...grpc.CallOption) (*lnrpc.SendCoinsResponse, error)
- func (m *MockLightningClient) SendCustomMessage(arg0 context.Context, arg1 *lnrpc.SendCustomMessageRequest, ...) (*lnrpc.SendCustomMessageResponse, error)
- func (m *MockLightningClient) SendMany(arg0 context.Context, arg1 *lnrpc.SendManyRequest, arg2 ...grpc.CallOption) (*lnrpc.SendManyResponse, error)
- func (m *MockLightningClient) SendPayment(arg0 context.Context, arg1 ...grpc.CallOption) (lnrpc.Lightning_SendPaymentClient, error)
- func (m *MockLightningClient) SendPaymentSync(arg0 context.Context, arg1 *lnrpc.SendRequest, arg2 ...grpc.CallOption) (*lnrpc.SendResponse, error)
- func (m *MockLightningClient) SendToRoute(arg0 context.Context, arg1 ...grpc.CallOption) (lnrpc.Lightning_SendToRouteClient, error)
- func (m *MockLightningClient) SendToRouteSync(arg0 context.Context, arg1 *lnrpc.SendToRouteRequest, arg2 ...grpc.CallOption) (*lnrpc.SendResponse, error)
- func (m *MockLightningClient) SignMessage(arg0 context.Context, arg1 *lnrpc.SignMessageRequest, arg2 ...grpc.CallOption) (*lnrpc.SignMessageResponse, error)
- func (m *MockLightningClient) StopDaemon(arg0 context.Context, arg1 *lnrpc.StopRequest, arg2 ...grpc.CallOption) (*lnrpc.StopResponse, error)
- func (m *MockLightningClient) SubscribeChannelBackups(arg0 context.Context, arg1 *lnrpc.ChannelBackupSubscription, ...) (lnrpc.Lightning_SubscribeChannelBackupsClient, error)
- func (m *MockLightningClient) SubscribeChannelEvents(arg0 context.Context, arg1 *lnrpc.ChannelEventSubscription, ...) (lnrpc.Lightning_SubscribeChannelEventsClient, error)
- func (m *MockLightningClient) SubscribeChannelGraph(arg0 context.Context, arg1 *lnrpc.GraphTopologySubscription, ...) (lnrpc.Lightning_SubscribeChannelGraphClient, error)
- func (m *MockLightningClient) SubscribeCustomMessages(arg0 context.Context, arg1 *lnrpc.SubscribeCustomMessagesRequest, ...) (lnrpc.Lightning_SubscribeCustomMessagesClient, error)
- func (m *MockLightningClient) SubscribeInvoices(arg0 context.Context, arg1 *lnrpc.InvoiceSubscription, arg2 ...grpc.CallOption) (lnrpc.Lightning_SubscribeInvoicesClient, error)
- func (m *MockLightningClient) SubscribePeerEvents(arg0 context.Context, arg1 *lnrpc.PeerEventSubscription, ...) (lnrpc.Lightning_SubscribePeerEventsClient, error)
- func (m *MockLightningClient) SubscribeTransactions(arg0 context.Context, arg1 *lnrpc.GetTransactionsRequest, ...) (lnrpc.Lightning_SubscribeTransactionsClient, error)
- func (m *MockLightningClient) UpdateChannelPolicy(arg0 context.Context, arg1 *lnrpc.PolicyUpdateRequest, arg2 ...grpc.CallOption) (*lnrpc.PolicyUpdateResponse, error)
- func (m *MockLightningClient) VerifyChanBackup(arg0 context.Context, arg1 *lnrpc.ChanBackupSnapshot, arg2 ...grpc.CallOption) (*lnrpc.VerifyChanBackupResponse, error)
- func (m *MockLightningClient) VerifyMessage(arg0 context.Context, arg1 *lnrpc.VerifyMessageRequest, ...) (*lnrpc.VerifyMessageResponse, error)
- func (m *MockLightningClient) WalletBalance(arg0 context.Context, arg1 *lnrpc.WalletBalanceRequest, ...) (*lnrpc.WalletBalanceResponse, error)
- type MockLightningClientMockRecorder
- func (mr *MockLightningClientMockRecorder) AbandonChannel(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLightningClientMockRecorder) AddInvoice(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLightningClientMockRecorder) BakeMacaroon(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLightningClientMockRecorder) BatchOpenChannel(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLightningClientMockRecorder) ChannelAcceptor(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockLightningClientMockRecorder) ChannelBalance(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLightningClientMockRecorder) CheckMacaroonPermissions(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLightningClientMockRecorder) CloseChannel(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLightningClientMockRecorder) ClosedChannels(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLightningClientMockRecorder) ConnectPeer(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLightningClientMockRecorder) DebugLevel(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLightningClientMockRecorder) DecodePayReq(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLightningClientMockRecorder) DeleteAllPayments(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLightningClientMockRecorder) DeleteMacaroonID(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLightningClientMockRecorder) DeletePayment(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLightningClientMockRecorder) DescribeGraph(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLightningClientMockRecorder) DisconnectPeer(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLightningClientMockRecorder) EstimateFee(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLightningClientMockRecorder) ExportAllChannelBackups(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLightningClientMockRecorder) ExportChannelBackup(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLightningClientMockRecorder) FeeReport(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLightningClientMockRecorder) ForwardingHistory(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLightningClientMockRecorder) FundingStateStep(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLightningClientMockRecorder) GetChanInfo(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLightningClientMockRecorder) GetInfo(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLightningClientMockRecorder) GetNetworkInfo(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLightningClientMockRecorder) GetNodeInfo(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLightningClientMockRecorder) GetNodeMetrics(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLightningClientMockRecorder) GetRecoveryInfo(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLightningClientMockRecorder) GetTransactions(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLightningClientMockRecorder) ListChannels(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLightningClientMockRecorder) ListInvoices(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLightningClientMockRecorder) ListMacaroonIDs(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLightningClientMockRecorder) ListPayments(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLightningClientMockRecorder) ListPeers(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLightningClientMockRecorder) ListPermissions(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLightningClientMockRecorder) ListUnspent(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLightningClientMockRecorder) LookupInvoice(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLightningClientMockRecorder) NewAddress(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLightningClientMockRecorder) OpenChannel(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLightningClientMockRecorder) OpenChannelSync(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLightningClientMockRecorder) PendingChannels(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLightningClientMockRecorder) QueryRoutes(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLightningClientMockRecorder) RegisterRPCMiddleware(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockLightningClientMockRecorder) RestoreChannelBackups(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLightningClientMockRecorder) SendCoins(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLightningClientMockRecorder) SendCustomMessage(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLightningClientMockRecorder) SendMany(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLightningClientMockRecorder) SendPayment(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockLightningClientMockRecorder) SendPaymentSync(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLightningClientMockRecorder) SendToRoute(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockLightningClientMockRecorder) SendToRouteSync(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLightningClientMockRecorder) SignMessage(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLightningClientMockRecorder) StopDaemon(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLightningClientMockRecorder) SubscribeChannelBackups(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLightningClientMockRecorder) SubscribeChannelEvents(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLightningClientMockRecorder) SubscribeChannelGraph(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLightningClientMockRecorder) SubscribeCustomMessages(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLightningClientMockRecorder) SubscribeInvoices(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLightningClientMockRecorder) SubscribePeerEvents(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLightningClientMockRecorder) SubscribeTransactions(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLightningClientMockRecorder) UpdateChannelPolicy(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLightningClientMockRecorder) VerifyChanBackup(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLightningClientMockRecorder) VerifyMessage(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLightningClientMockRecorder) WalletBalance(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- type MockRouterClient
- func (m *MockRouterClient) BuildRoute(arg0 context.Context, arg1 *routerrpc.BuildRouteRequest, ...) (*routerrpc.BuildRouteResponse, error)
- func (m *MockRouterClient) EXPECT() *MockRouterClientMockRecorder
- func (m *MockRouterClient) EstimateRouteFee(arg0 context.Context, arg1 *routerrpc.RouteFeeRequest, arg2 ...grpc.CallOption) (*routerrpc.RouteFeeResponse, error)
- func (m *MockRouterClient) GetMissionControlConfig(arg0 context.Context, arg1 *routerrpc.GetMissionControlConfigRequest, ...) (*routerrpc.GetMissionControlConfigResponse, error)
- func (m *MockRouterClient) HtlcInterceptor(arg0 context.Context, arg1 ...grpc.CallOption) (routerrpc.Router_HtlcInterceptorClient, error)
- func (m *MockRouterClient) QueryMissionControl(arg0 context.Context, arg1 *routerrpc.QueryMissionControlRequest, ...) (*routerrpc.QueryMissionControlResponse, error)
- func (m *MockRouterClient) QueryProbability(arg0 context.Context, arg1 *routerrpc.QueryProbabilityRequest, ...) (*routerrpc.QueryProbabilityResponse, error)
- func (m *MockRouterClient) ResetMissionControl(arg0 context.Context, arg1 *routerrpc.ResetMissionControlRequest, ...) (*routerrpc.ResetMissionControlResponse, error)
- func (m *MockRouterClient) SendPayment(arg0 context.Context, arg1 *routerrpc.SendPaymentRequest, ...) (routerrpc.Router_SendPaymentClient, error)
- func (m *MockRouterClient) SendPaymentV2(arg0 context.Context, arg1 *routerrpc.SendPaymentRequest, ...) (routerrpc.Router_SendPaymentV2Client, error)
- func (m *MockRouterClient) SendToRoute(arg0 context.Context, arg1 *routerrpc.SendToRouteRequest, ...) (*routerrpc.SendToRouteResponse, error)
- func (m *MockRouterClient) SendToRouteV2(arg0 context.Context, arg1 *routerrpc.SendToRouteRequest, ...) (*lnrpc.HTLCAttempt, error)
- func (m *MockRouterClient) SetMissionControlConfig(arg0 context.Context, arg1 *routerrpc.SetMissionControlConfigRequest, ...) (*routerrpc.SetMissionControlConfigResponse, error)
- func (m *MockRouterClient) SubscribeHtlcEvents(arg0 context.Context, arg1 *routerrpc.SubscribeHtlcEventsRequest, ...) (routerrpc.Router_SubscribeHtlcEventsClient, error)
- func (m *MockRouterClient) TrackPayment(arg0 context.Context, arg1 *routerrpc.TrackPaymentRequest, ...) (routerrpc.Router_TrackPaymentClient, error)
- func (m *MockRouterClient) TrackPaymentV2(arg0 context.Context, arg1 *routerrpc.TrackPaymentRequest, ...) (routerrpc.Router_TrackPaymentV2Client, error)
- func (m *MockRouterClient) UpdateChanStatus(arg0 context.Context, arg1 *routerrpc.UpdateChanStatusRequest, ...) (*routerrpc.UpdateChanStatusResponse, error)
- func (m *MockRouterClient) XImportMissionControl(arg0 context.Context, arg1 *routerrpc.XImportMissionControlRequest, ...) (*routerrpc.XImportMissionControlResponse, error)
- type MockRouterClientMockRecorder
- func (mr *MockRouterClientMockRecorder) BuildRoute(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockRouterClientMockRecorder) EstimateRouteFee(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockRouterClientMockRecorder) GetMissionControlConfig(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockRouterClientMockRecorder) HtlcInterceptor(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockRouterClientMockRecorder) QueryMissionControl(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockRouterClientMockRecorder) QueryProbability(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockRouterClientMockRecorder) ResetMissionControl(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockRouterClientMockRecorder) SendPayment(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockRouterClientMockRecorder) SendPaymentV2(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockRouterClientMockRecorder) SendToRoute(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockRouterClientMockRecorder) SendToRouteV2(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockRouterClientMockRecorder) SetMissionControlConfig(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockRouterClientMockRecorder) SubscribeHtlcEvents(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockRouterClientMockRecorder) TrackPayment(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockRouterClientMockRecorder) TrackPaymentV2(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockRouterClientMockRecorder) UpdateChanStatus(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockRouterClientMockRecorder) XImportMissionControl(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- type MockSignerClient
- func (m *MockSignerClient) ComputeInputScript(arg0 context.Context, arg1 *signrpc.SignReq, arg2 ...grpc.CallOption) (*signrpc.InputScriptResp, error)
- func (m *MockSignerClient) DeriveSharedKey(arg0 context.Context, arg1 *signrpc.SharedKeyRequest, arg2 ...grpc.CallOption) (*signrpc.SharedKeyResponse, error)
- func (m *MockSignerClient) EXPECT() *MockSignerClientMockRecorder
- func (m *MockSignerClient) SignMessage(arg0 context.Context, arg1 *signrpc.SignMessageReq, arg2 ...grpc.CallOption) (*signrpc.SignMessageResp, error)
- func (m *MockSignerClient) SignOutputRaw(arg0 context.Context, arg1 *signrpc.SignReq, arg2 ...grpc.CallOption) (*signrpc.SignResp, error)
- func (m *MockSignerClient) VerifyMessage(arg0 context.Context, arg1 *signrpc.VerifyMessageReq, arg2 ...grpc.CallOption) (*signrpc.VerifyMessageResp, error)
- type MockSignerClientMockRecorder
- func (mr *MockSignerClientMockRecorder) ComputeInputScript(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockSignerClientMockRecorder) DeriveSharedKey(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockSignerClientMockRecorder) SignMessage(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockSignerClientMockRecorder) SignOutputRaw(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockSignerClientMockRecorder) VerifyMessage(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockLightningClient ¶
type MockLightningClient struct {
// contains filtered or unexported fields
}
MockLightningClient is a mock of LightningClient interface.
func NewMockLightningClient ¶
func NewMockLightningClient(ctrl *gomock.Controller) *MockLightningClient
NewMockLightningClient creates a new mock instance.
func (*MockLightningClient) AbandonChannel ¶
func (m *MockLightningClient) AbandonChannel(arg0 context.Context, arg1 *lnrpc.AbandonChannelRequest, arg2 ...grpc.CallOption) (*lnrpc.AbandonChannelResponse, error)
AbandonChannel mocks base method.
func (*MockLightningClient) AddInvoice ¶
func (m *MockLightningClient) AddInvoice(arg0 context.Context, arg1 *lnrpc.Invoice, arg2 ...grpc.CallOption) (*lnrpc.AddInvoiceResponse, error)
AddInvoice mocks base method.
func (*MockLightningClient) BakeMacaroon ¶
func (m *MockLightningClient) BakeMacaroon(arg0 context.Context, arg1 *lnrpc.BakeMacaroonRequest, arg2 ...grpc.CallOption) (*lnrpc.BakeMacaroonResponse, error)
BakeMacaroon mocks base method.
func (*MockLightningClient) BatchOpenChannel ¶
func (m *MockLightningClient) BatchOpenChannel(arg0 context.Context, arg1 *lnrpc.BatchOpenChannelRequest, arg2 ...grpc.CallOption) (*lnrpc.BatchOpenChannelResponse, error)
BatchOpenChannel mocks base method.
func (*MockLightningClient) ChannelAcceptor ¶
func (m *MockLightningClient) ChannelAcceptor(arg0 context.Context, arg1 ...grpc.CallOption) (lnrpc.Lightning_ChannelAcceptorClient, error)
ChannelAcceptor mocks base method.
func (*MockLightningClient) ChannelBalance ¶
func (m *MockLightningClient) ChannelBalance(arg0 context.Context, arg1 *lnrpc.ChannelBalanceRequest, arg2 ...grpc.CallOption) (*lnrpc.ChannelBalanceResponse, error)
ChannelBalance mocks base method.
func (*MockLightningClient) CheckMacaroonPermissions ¶
func (m *MockLightningClient) CheckMacaroonPermissions(arg0 context.Context, arg1 *lnrpc.CheckMacPermRequest, arg2 ...grpc.CallOption) (*lnrpc.CheckMacPermResponse, error)
CheckMacaroonPermissions mocks base method.
func (*MockLightningClient) CloseChannel ¶
func (m *MockLightningClient) CloseChannel(arg0 context.Context, arg1 *lnrpc.CloseChannelRequest, arg2 ...grpc.CallOption) (lnrpc.Lightning_CloseChannelClient, error)
CloseChannel mocks base method.
func (*MockLightningClient) ClosedChannels ¶
func (m *MockLightningClient) ClosedChannels(arg0 context.Context, arg1 *lnrpc.ClosedChannelsRequest, arg2 ...grpc.CallOption) (*lnrpc.ClosedChannelsResponse, error)
ClosedChannels mocks base method.
func (*MockLightningClient) ConnectPeer ¶
func (m *MockLightningClient) ConnectPeer(arg0 context.Context, arg1 *lnrpc.ConnectPeerRequest, arg2 ...grpc.CallOption) (*lnrpc.ConnectPeerResponse, error)
ConnectPeer mocks base method.
func (*MockLightningClient) DebugLevel ¶
func (m *MockLightningClient) DebugLevel(arg0 context.Context, arg1 *lnrpc.DebugLevelRequest, arg2 ...grpc.CallOption) (*lnrpc.DebugLevelResponse, error)
DebugLevel mocks base method.
func (*MockLightningClient) DecodePayReq ¶
func (m *MockLightningClient) DecodePayReq(arg0 context.Context, arg1 *lnrpc.PayReqString, arg2 ...grpc.CallOption) (*lnrpc.PayReq, error)
DecodePayReq mocks base method.
func (*MockLightningClient) DeleteAllPayments ¶
func (m *MockLightningClient) DeleteAllPayments(arg0 context.Context, arg1 *lnrpc.DeleteAllPaymentsRequest, arg2 ...grpc.CallOption) (*lnrpc.DeleteAllPaymentsResponse, error)
DeleteAllPayments mocks base method.
func (*MockLightningClient) DeleteMacaroonID ¶
func (m *MockLightningClient) DeleteMacaroonID(arg0 context.Context, arg1 *lnrpc.DeleteMacaroonIDRequest, arg2 ...grpc.CallOption) (*lnrpc.DeleteMacaroonIDResponse, error)
DeleteMacaroonID mocks base method.
func (*MockLightningClient) DeletePayment ¶
func (m *MockLightningClient) DeletePayment(arg0 context.Context, arg1 *lnrpc.DeletePaymentRequest, arg2 ...grpc.CallOption) (*lnrpc.DeletePaymentResponse, error)
DeletePayment mocks base method.
func (*MockLightningClient) DescribeGraph ¶
func (m *MockLightningClient) DescribeGraph(arg0 context.Context, arg1 *lnrpc.ChannelGraphRequest, arg2 ...grpc.CallOption) (*lnrpc.ChannelGraph, error)
DescribeGraph mocks base method.
func (*MockLightningClient) DisconnectPeer ¶
func (m *MockLightningClient) DisconnectPeer(arg0 context.Context, arg1 *lnrpc.DisconnectPeerRequest, arg2 ...grpc.CallOption) (*lnrpc.DisconnectPeerResponse, error)
DisconnectPeer mocks base method.
func (*MockLightningClient) EXPECT ¶
func (m *MockLightningClient) EXPECT() *MockLightningClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLightningClient) EstimateFee ¶
func (m *MockLightningClient) EstimateFee(arg0 context.Context, arg1 *lnrpc.EstimateFeeRequest, arg2 ...grpc.CallOption) (*lnrpc.EstimateFeeResponse, error)
EstimateFee mocks base method.
func (*MockLightningClient) ExportAllChannelBackups ¶
func (m *MockLightningClient) ExportAllChannelBackups(arg0 context.Context, arg1 *lnrpc.ChanBackupExportRequest, arg2 ...grpc.CallOption) (*lnrpc.ChanBackupSnapshot, error)
ExportAllChannelBackups mocks base method.
func (*MockLightningClient) ExportChannelBackup ¶
func (m *MockLightningClient) ExportChannelBackup(arg0 context.Context, arg1 *lnrpc.ExportChannelBackupRequest, arg2 ...grpc.CallOption) (*lnrpc.ChannelBackup, error)
ExportChannelBackup mocks base method.
func (*MockLightningClient) FeeReport ¶
func (m *MockLightningClient) FeeReport(arg0 context.Context, arg1 *lnrpc.FeeReportRequest, arg2 ...grpc.CallOption) (*lnrpc.FeeReportResponse, error)
FeeReport mocks base method.
func (*MockLightningClient) ForwardingHistory ¶
func (m *MockLightningClient) ForwardingHistory(arg0 context.Context, arg1 *lnrpc.ForwardingHistoryRequest, arg2 ...grpc.CallOption) (*lnrpc.ForwardingHistoryResponse, error)
ForwardingHistory mocks base method.
func (*MockLightningClient) FundingStateStep ¶
func (m *MockLightningClient) FundingStateStep(arg0 context.Context, arg1 *lnrpc.FundingTransitionMsg, arg2 ...grpc.CallOption) (*lnrpc.FundingStateStepResp, error)
FundingStateStep mocks base method.
func (*MockLightningClient) GetChanInfo ¶
func (m *MockLightningClient) GetChanInfo(arg0 context.Context, arg1 *lnrpc.ChanInfoRequest, arg2 ...grpc.CallOption) (*lnrpc.ChannelEdge, error)
GetChanInfo mocks base method.
func (*MockLightningClient) GetInfo ¶
func (m *MockLightningClient) GetInfo(arg0 context.Context, arg1 *lnrpc.GetInfoRequest, arg2 ...grpc.CallOption) (*lnrpc.GetInfoResponse, error)
GetInfo mocks base method.
func (*MockLightningClient) GetNetworkInfo ¶
func (m *MockLightningClient) GetNetworkInfo(arg0 context.Context, arg1 *lnrpc.NetworkInfoRequest, arg2 ...grpc.CallOption) (*lnrpc.NetworkInfo, error)
GetNetworkInfo mocks base method.
func (*MockLightningClient) GetNodeInfo ¶
func (m *MockLightningClient) GetNodeInfo(arg0 context.Context, arg1 *lnrpc.NodeInfoRequest, arg2 ...grpc.CallOption) (*lnrpc.NodeInfo, error)
GetNodeInfo mocks base method.
func (*MockLightningClient) GetNodeMetrics ¶
func (m *MockLightningClient) GetNodeMetrics(arg0 context.Context, arg1 *lnrpc.NodeMetricsRequest, arg2 ...grpc.CallOption) (*lnrpc.NodeMetricsResponse, error)
GetNodeMetrics mocks base method.
func (*MockLightningClient) GetRecoveryInfo ¶
func (m *MockLightningClient) GetRecoveryInfo(arg0 context.Context, arg1 *lnrpc.GetRecoveryInfoRequest, arg2 ...grpc.CallOption) (*lnrpc.GetRecoveryInfoResponse, error)
GetRecoveryInfo mocks base method.
func (*MockLightningClient) GetTransactions ¶
func (m *MockLightningClient) GetTransactions(arg0 context.Context, arg1 *lnrpc.GetTransactionsRequest, arg2 ...grpc.CallOption) (*lnrpc.TransactionDetails, error)
GetTransactions mocks base method.
func (*MockLightningClient) ListChannels ¶
func (m *MockLightningClient) ListChannels(arg0 context.Context, arg1 *lnrpc.ListChannelsRequest, arg2 ...grpc.CallOption) (*lnrpc.ListChannelsResponse, error)
ListChannels mocks base method.
func (*MockLightningClient) ListInvoices ¶
func (m *MockLightningClient) ListInvoices(arg0 context.Context, arg1 *lnrpc.ListInvoiceRequest, arg2 ...grpc.CallOption) (*lnrpc.ListInvoiceResponse, error)
ListInvoices mocks base method.
func (*MockLightningClient) ListMacaroonIDs ¶
func (m *MockLightningClient) ListMacaroonIDs(arg0 context.Context, arg1 *lnrpc.ListMacaroonIDsRequest, arg2 ...grpc.CallOption) (*lnrpc.ListMacaroonIDsResponse, error)
ListMacaroonIDs mocks base method.
func (*MockLightningClient) ListPayments ¶
func (m *MockLightningClient) ListPayments(arg0 context.Context, arg1 *lnrpc.ListPaymentsRequest, arg2 ...grpc.CallOption) (*lnrpc.ListPaymentsResponse, error)
ListPayments mocks base method.
func (*MockLightningClient) ListPeers ¶
func (m *MockLightningClient) ListPeers(arg0 context.Context, arg1 *lnrpc.ListPeersRequest, arg2 ...grpc.CallOption) (*lnrpc.ListPeersResponse, error)
ListPeers mocks base method.
func (*MockLightningClient) ListPermissions ¶
func (m *MockLightningClient) ListPermissions(arg0 context.Context, arg1 *lnrpc.ListPermissionsRequest, arg2 ...grpc.CallOption) (*lnrpc.ListPermissionsResponse, error)
ListPermissions mocks base method.
func (*MockLightningClient) ListUnspent ¶
func (m *MockLightningClient) ListUnspent(arg0 context.Context, arg1 *lnrpc.ListUnspentRequest, arg2 ...grpc.CallOption) (*lnrpc.ListUnspentResponse, error)
ListUnspent mocks base method.
func (*MockLightningClient) LookupInvoice ¶
func (m *MockLightningClient) LookupInvoice(arg0 context.Context, arg1 *lnrpc.PaymentHash, arg2 ...grpc.CallOption) (*lnrpc.Invoice, error)
LookupInvoice mocks base method.
func (*MockLightningClient) NewAddress ¶
func (m *MockLightningClient) NewAddress(arg0 context.Context, arg1 *lnrpc.NewAddressRequest, arg2 ...grpc.CallOption) (*lnrpc.NewAddressResponse, error)
NewAddress mocks base method.
func (*MockLightningClient) OpenChannel ¶
func (m *MockLightningClient) OpenChannel(arg0 context.Context, arg1 *lnrpc.OpenChannelRequest, arg2 ...grpc.CallOption) (lnrpc.Lightning_OpenChannelClient, error)
OpenChannel mocks base method.
func (*MockLightningClient) OpenChannelSync ¶
func (m *MockLightningClient) OpenChannelSync(arg0 context.Context, arg1 *lnrpc.OpenChannelRequest, arg2 ...grpc.CallOption) (*lnrpc.ChannelPoint, error)
OpenChannelSync mocks base method.
func (*MockLightningClient) PendingChannels ¶
func (m *MockLightningClient) PendingChannels(arg0 context.Context, arg1 *lnrpc.PendingChannelsRequest, arg2 ...grpc.CallOption) (*lnrpc.PendingChannelsResponse, error)
PendingChannels mocks base method.
func (*MockLightningClient) QueryRoutes ¶
func (m *MockLightningClient) QueryRoutes(arg0 context.Context, arg1 *lnrpc.QueryRoutesRequest, arg2 ...grpc.CallOption) (*lnrpc.QueryRoutesResponse, error)
QueryRoutes mocks base method.
func (*MockLightningClient) RegisterRPCMiddleware ¶
func (m *MockLightningClient) RegisterRPCMiddleware(arg0 context.Context, arg1 ...grpc.CallOption) (lnrpc.Lightning_RegisterRPCMiddlewareClient, error)
RegisterRPCMiddleware mocks base method.
func (*MockLightningClient) RestoreChannelBackups ¶
func (m *MockLightningClient) RestoreChannelBackups(arg0 context.Context, arg1 *lnrpc.RestoreChanBackupRequest, arg2 ...grpc.CallOption) (*lnrpc.RestoreBackupResponse, error)
RestoreChannelBackups mocks base method.
func (*MockLightningClient) SendCoins ¶
func (m *MockLightningClient) SendCoins(arg0 context.Context, arg1 *lnrpc.SendCoinsRequest, arg2 ...grpc.CallOption) (*lnrpc.SendCoinsResponse, error)
SendCoins mocks base method.
func (*MockLightningClient) SendCustomMessage ¶
func (m *MockLightningClient) SendCustomMessage(arg0 context.Context, arg1 *lnrpc.SendCustomMessageRequest, arg2 ...grpc.CallOption) (*lnrpc.SendCustomMessageResponse, error)
SendCustomMessage mocks base method.
func (*MockLightningClient) SendMany ¶
func (m *MockLightningClient) SendMany(arg0 context.Context, arg1 *lnrpc.SendManyRequest, arg2 ...grpc.CallOption) (*lnrpc.SendManyResponse, error)
SendMany mocks base method.
func (*MockLightningClient) SendPayment ¶
func (m *MockLightningClient) SendPayment(arg0 context.Context, arg1 ...grpc.CallOption) (lnrpc.Lightning_SendPaymentClient, error)
SendPayment mocks base method.
func (*MockLightningClient) SendPaymentSync ¶
func (m *MockLightningClient) SendPaymentSync(arg0 context.Context, arg1 *lnrpc.SendRequest, arg2 ...grpc.CallOption) (*lnrpc.SendResponse, error)
SendPaymentSync mocks base method.
func (*MockLightningClient) SendToRoute ¶
func (m *MockLightningClient) SendToRoute(arg0 context.Context, arg1 ...grpc.CallOption) (lnrpc.Lightning_SendToRouteClient, error)
SendToRoute mocks base method.
func (*MockLightningClient) SendToRouteSync ¶
func (m *MockLightningClient) SendToRouteSync(arg0 context.Context, arg1 *lnrpc.SendToRouteRequest, arg2 ...grpc.CallOption) (*lnrpc.SendResponse, error)
SendToRouteSync mocks base method.
func (*MockLightningClient) SignMessage ¶
func (m *MockLightningClient) SignMessage(arg0 context.Context, arg1 *lnrpc.SignMessageRequest, arg2 ...grpc.CallOption) (*lnrpc.SignMessageResponse, error)
SignMessage mocks base method.
func (*MockLightningClient) StopDaemon ¶
func (m *MockLightningClient) StopDaemon(arg0 context.Context, arg1 *lnrpc.StopRequest, arg2 ...grpc.CallOption) (*lnrpc.StopResponse, error)
StopDaemon mocks base method.
func (*MockLightningClient) SubscribeChannelBackups ¶
func (m *MockLightningClient) SubscribeChannelBackups(arg0 context.Context, arg1 *lnrpc.ChannelBackupSubscription, arg2 ...grpc.CallOption) (lnrpc.Lightning_SubscribeChannelBackupsClient, error)
SubscribeChannelBackups mocks base method.
func (*MockLightningClient) SubscribeChannelEvents ¶
func (m *MockLightningClient) SubscribeChannelEvents(arg0 context.Context, arg1 *lnrpc.ChannelEventSubscription, arg2 ...grpc.CallOption) (lnrpc.Lightning_SubscribeChannelEventsClient, error)
SubscribeChannelEvents mocks base method.
func (*MockLightningClient) SubscribeChannelGraph ¶
func (m *MockLightningClient) SubscribeChannelGraph(arg0 context.Context, arg1 *lnrpc.GraphTopologySubscription, arg2 ...grpc.CallOption) (lnrpc.Lightning_SubscribeChannelGraphClient, error)
SubscribeChannelGraph mocks base method.
func (*MockLightningClient) SubscribeCustomMessages ¶
func (m *MockLightningClient) SubscribeCustomMessages(arg0 context.Context, arg1 *lnrpc.SubscribeCustomMessagesRequest, arg2 ...grpc.CallOption) (lnrpc.Lightning_SubscribeCustomMessagesClient, error)
SubscribeCustomMessages mocks base method.
func (*MockLightningClient) SubscribeInvoices ¶
func (m *MockLightningClient) SubscribeInvoices(arg0 context.Context, arg1 *lnrpc.InvoiceSubscription, arg2 ...grpc.CallOption) (lnrpc.Lightning_SubscribeInvoicesClient, error)
SubscribeInvoices mocks base method.
func (*MockLightningClient) SubscribePeerEvents ¶
func (m *MockLightningClient) SubscribePeerEvents(arg0 context.Context, arg1 *lnrpc.PeerEventSubscription, arg2 ...grpc.CallOption) (lnrpc.Lightning_SubscribePeerEventsClient, error)
SubscribePeerEvents mocks base method.
func (*MockLightningClient) SubscribeTransactions ¶
func (m *MockLightningClient) SubscribeTransactions(arg0 context.Context, arg1 *lnrpc.GetTransactionsRequest, arg2 ...grpc.CallOption) (lnrpc.Lightning_SubscribeTransactionsClient, error)
SubscribeTransactions mocks base method.
func (*MockLightningClient) UpdateChannelPolicy ¶
func (m *MockLightningClient) UpdateChannelPolicy(arg0 context.Context, arg1 *lnrpc.PolicyUpdateRequest, arg2 ...grpc.CallOption) (*lnrpc.PolicyUpdateResponse, error)
UpdateChannelPolicy mocks base method.
func (*MockLightningClient) VerifyChanBackup ¶
func (m *MockLightningClient) VerifyChanBackup(arg0 context.Context, arg1 *lnrpc.ChanBackupSnapshot, arg2 ...grpc.CallOption) (*lnrpc.VerifyChanBackupResponse, error)
VerifyChanBackup mocks base method.
func (*MockLightningClient) VerifyMessage ¶
func (m *MockLightningClient) VerifyMessage(arg0 context.Context, arg1 *lnrpc.VerifyMessageRequest, arg2 ...grpc.CallOption) (*lnrpc.VerifyMessageResponse, error)
VerifyMessage mocks base method.
func (*MockLightningClient) WalletBalance ¶
func (m *MockLightningClient) WalletBalance(arg0 context.Context, arg1 *lnrpc.WalletBalanceRequest, arg2 ...grpc.CallOption) (*lnrpc.WalletBalanceResponse, error)
WalletBalance mocks base method.
type MockLightningClientMockRecorder ¶
type MockLightningClientMockRecorder struct {
// contains filtered or unexported fields
}
MockLightningClientMockRecorder is the mock recorder for MockLightningClient.
func (*MockLightningClientMockRecorder) AbandonChannel ¶
func (mr *MockLightningClientMockRecorder) AbandonChannel(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
AbandonChannel indicates an expected call of AbandonChannel.
func (*MockLightningClientMockRecorder) AddInvoice ¶
func (mr *MockLightningClientMockRecorder) AddInvoice(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
AddInvoice indicates an expected call of AddInvoice.
func (*MockLightningClientMockRecorder) BakeMacaroon ¶
func (mr *MockLightningClientMockRecorder) BakeMacaroon(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
BakeMacaroon indicates an expected call of BakeMacaroon.
func (*MockLightningClientMockRecorder) BatchOpenChannel ¶
func (mr *MockLightningClientMockRecorder) BatchOpenChannel(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
BatchOpenChannel indicates an expected call of BatchOpenChannel.
func (*MockLightningClientMockRecorder) ChannelAcceptor ¶
func (mr *MockLightningClientMockRecorder) ChannelAcceptor(arg0 interface{}, arg1 ...interface{}) *gomock.Call
ChannelAcceptor indicates an expected call of ChannelAcceptor.
func (*MockLightningClientMockRecorder) ChannelBalance ¶
func (mr *MockLightningClientMockRecorder) ChannelBalance(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ChannelBalance indicates an expected call of ChannelBalance.
func (*MockLightningClientMockRecorder) CheckMacaroonPermissions ¶
func (mr *MockLightningClientMockRecorder) CheckMacaroonPermissions(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
CheckMacaroonPermissions indicates an expected call of CheckMacaroonPermissions.
func (*MockLightningClientMockRecorder) CloseChannel ¶
func (mr *MockLightningClientMockRecorder) CloseChannel(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
CloseChannel indicates an expected call of CloseChannel.
func (*MockLightningClientMockRecorder) ClosedChannels ¶
func (mr *MockLightningClientMockRecorder) ClosedChannels(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ClosedChannels indicates an expected call of ClosedChannels.
func (*MockLightningClientMockRecorder) ConnectPeer ¶
func (mr *MockLightningClientMockRecorder) ConnectPeer(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ConnectPeer indicates an expected call of ConnectPeer.
func (*MockLightningClientMockRecorder) DebugLevel ¶
func (mr *MockLightningClientMockRecorder) DebugLevel(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
DebugLevel indicates an expected call of DebugLevel.
func (*MockLightningClientMockRecorder) DecodePayReq ¶
func (mr *MockLightningClientMockRecorder) DecodePayReq(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
DecodePayReq indicates an expected call of DecodePayReq.
func (*MockLightningClientMockRecorder) DeleteAllPayments ¶
func (mr *MockLightningClientMockRecorder) DeleteAllPayments(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
DeleteAllPayments indicates an expected call of DeleteAllPayments.
func (*MockLightningClientMockRecorder) DeleteMacaroonID ¶
func (mr *MockLightningClientMockRecorder) DeleteMacaroonID(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
DeleteMacaroonID indicates an expected call of DeleteMacaroonID.
func (*MockLightningClientMockRecorder) DeletePayment ¶
func (mr *MockLightningClientMockRecorder) DeletePayment(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
DeletePayment indicates an expected call of DeletePayment.
func (*MockLightningClientMockRecorder) DescribeGraph ¶
func (mr *MockLightningClientMockRecorder) DescribeGraph(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
DescribeGraph indicates an expected call of DescribeGraph.
func (*MockLightningClientMockRecorder) DisconnectPeer ¶
func (mr *MockLightningClientMockRecorder) DisconnectPeer(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
DisconnectPeer indicates an expected call of DisconnectPeer.
func (*MockLightningClientMockRecorder) EstimateFee ¶
func (mr *MockLightningClientMockRecorder) EstimateFee(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
EstimateFee indicates an expected call of EstimateFee.
func (*MockLightningClientMockRecorder) ExportAllChannelBackups ¶
func (mr *MockLightningClientMockRecorder) ExportAllChannelBackups(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ExportAllChannelBackups indicates an expected call of ExportAllChannelBackups.
func (*MockLightningClientMockRecorder) ExportChannelBackup ¶
func (mr *MockLightningClientMockRecorder) ExportChannelBackup(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ExportChannelBackup indicates an expected call of ExportChannelBackup.
func (*MockLightningClientMockRecorder) FeeReport ¶
func (mr *MockLightningClientMockRecorder) FeeReport(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
FeeReport indicates an expected call of FeeReport.
func (*MockLightningClientMockRecorder) ForwardingHistory ¶
func (mr *MockLightningClientMockRecorder) ForwardingHistory(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ForwardingHistory indicates an expected call of ForwardingHistory.
func (*MockLightningClientMockRecorder) FundingStateStep ¶
func (mr *MockLightningClientMockRecorder) FundingStateStep(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
FundingStateStep indicates an expected call of FundingStateStep.
func (*MockLightningClientMockRecorder) GetChanInfo ¶
func (mr *MockLightningClientMockRecorder) GetChanInfo(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
GetChanInfo indicates an expected call of GetChanInfo.
func (*MockLightningClientMockRecorder) GetInfo ¶
func (mr *MockLightningClientMockRecorder) GetInfo(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
GetInfo indicates an expected call of GetInfo.
func (*MockLightningClientMockRecorder) GetNetworkInfo ¶
func (mr *MockLightningClientMockRecorder) GetNetworkInfo(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
GetNetworkInfo indicates an expected call of GetNetworkInfo.
func (*MockLightningClientMockRecorder) GetNodeInfo ¶
func (mr *MockLightningClientMockRecorder) GetNodeInfo(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
GetNodeInfo indicates an expected call of GetNodeInfo.
func (*MockLightningClientMockRecorder) GetNodeMetrics ¶
func (mr *MockLightningClientMockRecorder) GetNodeMetrics(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
GetNodeMetrics indicates an expected call of GetNodeMetrics.
func (*MockLightningClientMockRecorder) GetRecoveryInfo ¶
func (mr *MockLightningClientMockRecorder) GetRecoveryInfo(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
GetRecoveryInfo indicates an expected call of GetRecoveryInfo.
func (*MockLightningClientMockRecorder) GetTransactions ¶
func (mr *MockLightningClientMockRecorder) GetTransactions(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
GetTransactions indicates an expected call of GetTransactions.
func (*MockLightningClientMockRecorder) ListChannels ¶
func (mr *MockLightningClientMockRecorder) ListChannels(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ListChannels indicates an expected call of ListChannels.
func (*MockLightningClientMockRecorder) ListInvoices ¶
func (mr *MockLightningClientMockRecorder) ListInvoices(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ListInvoices indicates an expected call of ListInvoices.
func (*MockLightningClientMockRecorder) ListMacaroonIDs ¶
func (mr *MockLightningClientMockRecorder) ListMacaroonIDs(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ListMacaroonIDs indicates an expected call of ListMacaroonIDs.
func (*MockLightningClientMockRecorder) ListPayments ¶
func (mr *MockLightningClientMockRecorder) ListPayments(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ListPayments indicates an expected call of ListPayments.
func (*MockLightningClientMockRecorder) ListPeers ¶
func (mr *MockLightningClientMockRecorder) ListPeers(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ListPeers indicates an expected call of ListPeers.
func (*MockLightningClientMockRecorder) ListPermissions ¶
func (mr *MockLightningClientMockRecorder) ListPermissions(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ListPermissions indicates an expected call of ListPermissions.
func (*MockLightningClientMockRecorder) ListUnspent ¶
func (mr *MockLightningClientMockRecorder) ListUnspent(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ListUnspent indicates an expected call of ListUnspent.
func (*MockLightningClientMockRecorder) LookupInvoice ¶
func (mr *MockLightningClientMockRecorder) LookupInvoice(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
LookupInvoice indicates an expected call of LookupInvoice.
func (*MockLightningClientMockRecorder) NewAddress ¶
func (mr *MockLightningClientMockRecorder) NewAddress(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
NewAddress indicates an expected call of NewAddress.
func (*MockLightningClientMockRecorder) OpenChannel ¶
func (mr *MockLightningClientMockRecorder) OpenChannel(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
OpenChannel indicates an expected call of OpenChannel.
func (*MockLightningClientMockRecorder) OpenChannelSync ¶
func (mr *MockLightningClientMockRecorder) OpenChannelSync(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
OpenChannelSync indicates an expected call of OpenChannelSync.
func (*MockLightningClientMockRecorder) PendingChannels ¶
func (mr *MockLightningClientMockRecorder) PendingChannels(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
PendingChannels indicates an expected call of PendingChannels.
func (*MockLightningClientMockRecorder) QueryRoutes ¶
func (mr *MockLightningClientMockRecorder) QueryRoutes(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
QueryRoutes indicates an expected call of QueryRoutes.
func (*MockLightningClientMockRecorder) RegisterRPCMiddleware ¶
func (mr *MockLightningClientMockRecorder) RegisterRPCMiddleware(arg0 interface{}, arg1 ...interface{}) *gomock.Call
RegisterRPCMiddleware indicates an expected call of RegisterRPCMiddleware.
func (*MockLightningClientMockRecorder) RestoreChannelBackups ¶
func (mr *MockLightningClientMockRecorder) RestoreChannelBackups(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
RestoreChannelBackups indicates an expected call of RestoreChannelBackups.
func (*MockLightningClientMockRecorder) SendCoins ¶
func (mr *MockLightningClientMockRecorder) SendCoins(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
SendCoins indicates an expected call of SendCoins.
func (*MockLightningClientMockRecorder) SendCustomMessage ¶
func (mr *MockLightningClientMockRecorder) SendCustomMessage(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
SendCustomMessage indicates an expected call of SendCustomMessage.
func (*MockLightningClientMockRecorder) SendMany ¶
func (mr *MockLightningClientMockRecorder) SendMany(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
SendMany indicates an expected call of SendMany.
func (*MockLightningClientMockRecorder) SendPayment ¶
func (mr *MockLightningClientMockRecorder) SendPayment(arg0 interface{}, arg1 ...interface{}) *gomock.Call
SendPayment indicates an expected call of SendPayment.
func (*MockLightningClientMockRecorder) SendPaymentSync ¶
func (mr *MockLightningClientMockRecorder) SendPaymentSync(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
SendPaymentSync indicates an expected call of SendPaymentSync.
func (*MockLightningClientMockRecorder) SendToRoute ¶
func (mr *MockLightningClientMockRecorder) SendToRoute(arg0 interface{}, arg1 ...interface{}) *gomock.Call
SendToRoute indicates an expected call of SendToRoute.
func (*MockLightningClientMockRecorder) SendToRouteSync ¶
func (mr *MockLightningClientMockRecorder) SendToRouteSync(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
SendToRouteSync indicates an expected call of SendToRouteSync.
func (*MockLightningClientMockRecorder) SignMessage ¶
func (mr *MockLightningClientMockRecorder) SignMessage(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
SignMessage indicates an expected call of SignMessage.
func (*MockLightningClientMockRecorder) StopDaemon ¶
func (mr *MockLightningClientMockRecorder) StopDaemon(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
StopDaemon indicates an expected call of StopDaemon.
func (*MockLightningClientMockRecorder) SubscribeChannelBackups ¶
func (mr *MockLightningClientMockRecorder) SubscribeChannelBackups(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
SubscribeChannelBackups indicates an expected call of SubscribeChannelBackups.
func (*MockLightningClientMockRecorder) SubscribeChannelEvents ¶
func (mr *MockLightningClientMockRecorder) SubscribeChannelEvents(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
SubscribeChannelEvents indicates an expected call of SubscribeChannelEvents.
func (*MockLightningClientMockRecorder) SubscribeChannelGraph ¶
func (mr *MockLightningClientMockRecorder) SubscribeChannelGraph(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
SubscribeChannelGraph indicates an expected call of SubscribeChannelGraph.
func (*MockLightningClientMockRecorder) SubscribeCustomMessages ¶
func (mr *MockLightningClientMockRecorder) SubscribeCustomMessages(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
SubscribeCustomMessages indicates an expected call of SubscribeCustomMessages.
func (*MockLightningClientMockRecorder) SubscribeInvoices ¶
func (mr *MockLightningClientMockRecorder) SubscribeInvoices(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
SubscribeInvoices indicates an expected call of SubscribeInvoices.
func (*MockLightningClientMockRecorder) SubscribePeerEvents ¶
func (mr *MockLightningClientMockRecorder) SubscribePeerEvents(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
SubscribePeerEvents indicates an expected call of SubscribePeerEvents.
func (*MockLightningClientMockRecorder) SubscribeTransactions ¶
func (mr *MockLightningClientMockRecorder) SubscribeTransactions(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
SubscribeTransactions indicates an expected call of SubscribeTransactions.
func (*MockLightningClientMockRecorder) UpdateChannelPolicy ¶
func (mr *MockLightningClientMockRecorder) UpdateChannelPolicy(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
UpdateChannelPolicy indicates an expected call of UpdateChannelPolicy.
func (*MockLightningClientMockRecorder) VerifyChanBackup ¶
func (mr *MockLightningClientMockRecorder) VerifyChanBackup(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
VerifyChanBackup indicates an expected call of VerifyChanBackup.
func (*MockLightningClientMockRecorder) VerifyMessage ¶
func (mr *MockLightningClientMockRecorder) VerifyMessage(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
VerifyMessage indicates an expected call of VerifyMessage.
func (*MockLightningClientMockRecorder) WalletBalance ¶
func (mr *MockLightningClientMockRecorder) WalletBalance(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
WalletBalance indicates an expected call of WalletBalance.
type MockRouterClient ¶
type MockRouterClient struct {
// contains filtered or unexported fields
}
MockRouterClient is a mock of RouterClient interface.
func NewMockRouterClient ¶
func NewMockRouterClient(ctrl *gomock.Controller) *MockRouterClient
NewMockRouterClient creates a new mock instance.
func (*MockRouterClient) BuildRoute ¶
func (m *MockRouterClient) BuildRoute(arg0 context.Context, arg1 *routerrpc.BuildRouteRequest, arg2 ...grpc.CallOption) (*routerrpc.BuildRouteResponse, error)
BuildRoute mocks base method.
func (*MockRouterClient) EXPECT ¶
func (m *MockRouterClient) EXPECT() *MockRouterClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRouterClient) EstimateRouteFee ¶
func (m *MockRouterClient) EstimateRouteFee(arg0 context.Context, arg1 *routerrpc.RouteFeeRequest, arg2 ...grpc.CallOption) (*routerrpc.RouteFeeResponse, error)
EstimateRouteFee mocks base method.
func (*MockRouterClient) GetMissionControlConfig ¶
func (m *MockRouterClient) GetMissionControlConfig(arg0 context.Context, arg1 *routerrpc.GetMissionControlConfigRequest, arg2 ...grpc.CallOption) (*routerrpc.GetMissionControlConfigResponse, error)
GetMissionControlConfig mocks base method.
func (*MockRouterClient) HtlcInterceptor ¶
func (m *MockRouterClient) HtlcInterceptor(arg0 context.Context, arg1 ...grpc.CallOption) (routerrpc.Router_HtlcInterceptorClient, error)
HtlcInterceptor mocks base method.
func (*MockRouterClient) QueryMissionControl ¶
func (m *MockRouterClient) QueryMissionControl(arg0 context.Context, arg1 *routerrpc.QueryMissionControlRequest, arg2 ...grpc.CallOption) (*routerrpc.QueryMissionControlResponse, error)
QueryMissionControl mocks base method.
func (*MockRouterClient) QueryProbability ¶
func (m *MockRouterClient) QueryProbability(arg0 context.Context, arg1 *routerrpc.QueryProbabilityRequest, arg2 ...grpc.CallOption) (*routerrpc.QueryProbabilityResponse, error)
QueryProbability mocks base method.
func (*MockRouterClient) ResetMissionControl ¶
func (m *MockRouterClient) ResetMissionControl(arg0 context.Context, arg1 *routerrpc.ResetMissionControlRequest, arg2 ...grpc.CallOption) (*routerrpc.ResetMissionControlResponse, error)
ResetMissionControl mocks base method.
func (*MockRouterClient) SendPayment ¶
func (m *MockRouterClient) SendPayment(arg0 context.Context, arg1 *routerrpc.SendPaymentRequest, arg2 ...grpc.CallOption) (routerrpc.Router_SendPaymentClient, error)
SendPayment mocks base method.
func (*MockRouterClient) SendPaymentV2 ¶
func (m *MockRouterClient) SendPaymentV2(arg0 context.Context, arg1 *routerrpc.SendPaymentRequest, arg2 ...grpc.CallOption) (routerrpc.Router_SendPaymentV2Client, error)
SendPaymentV2 mocks base method.
func (*MockRouterClient) SendToRoute ¶
func (m *MockRouterClient) SendToRoute(arg0 context.Context, arg1 *routerrpc.SendToRouteRequest, arg2 ...grpc.CallOption) (*routerrpc.SendToRouteResponse, error)
SendToRoute mocks base method.
func (*MockRouterClient) SendToRouteV2 ¶
func (m *MockRouterClient) SendToRouteV2(arg0 context.Context, arg1 *routerrpc.SendToRouteRequest, arg2 ...grpc.CallOption) (*lnrpc.HTLCAttempt, error)
SendToRouteV2 mocks base method.
func (*MockRouterClient) SetMissionControlConfig ¶
func (m *MockRouterClient) SetMissionControlConfig(arg0 context.Context, arg1 *routerrpc.SetMissionControlConfigRequest, arg2 ...grpc.CallOption) (*routerrpc.SetMissionControlConfigResponse, error)
SetMissionControlConfig mocks base method.
func (*MockRouterClient) SubscribeHtlcEvents ¶
func (m *MockRouterClient) SubscribeHtlcEvents(arg0 context.Context, arg1 *routerrpc.SubscribeHtlcEventsRequest, arg2 ...grpc.CallOption) (routerrpc.Router_SubscribeHtlcEventsClient, error)
SubscribeHtlcEvents mocks base method.
func (*MockRouterClient) TrackPayment ¶
func (m *MockRouterClient) TrackPayment(arg0 context.Context, arg1 *routerrpc.TrackPaymentRequest, arg2 ...grpc.CallOption) (routerrpc.Router_TrackPaymentClient, error)
TrackPayment mocks base method.
func (*MockRouterClient) TrackPaymentV2 ¶
func (m *MockRouterClient) TrackPaymentV2(arg0 context.Context, arg1 *routerrpc.TrackPaymentRequest, arg2 ...grpc.CallOption) (routerrpc.Router_TrackPaymentV2Client, error)
TrackPaymentV2 mocks base method.
func (*MockRouterClient) UpdateChanStatus ¶
func (m *MockRouterClient) UpdateChanStatus(arg0 context.Context, arg1 *routerrpc.UpdateChanStatusRequest, arg2 ...grpc.CallOption) (*routerrpc.UpdateChanStatusResponse, error)
UpdateChanStatus mocks base method.
func (*MockRouterClient) XImportMissionControl ¶
func (m *MockRouterClient) XImportMissionControl(arg0 context.Context, arg1 *routerrpc.XImportMissionControlRequest, arg2 ...grpc.CallOption) (*routerrpc.XImportMissionControlResponse, error)
XImportMissionControl mocks base method.
type MockRouterClientMockRecorder ¶
type MockRouterClientMockRecorder struct {
// contains filtered or unexported fields
}
MockRouterClientMockRecorder is the mock recorder for MockRouterClient.
func (*MockRouterClientMockRecorder) BuildRoute ¶
func (mr *MockRouterClientMockRecorder) BuildRoute(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
BuildRoute indicates an expected call of BuildRoute.
func (*MockRouterClientMockRecorder) EstimateRouteFee ¶
func (mr *MockRouterClientMockRecorder) EstimateRouteFee(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
EstimateRouteFee indicates an expected call of EstimateRouteFee.
func (*MockRouterClientMockRecorder) GetMissionControlConfig ¶
func (mr *MockRouterClientMockRecorder) GetMissionControlConfig(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
GetMissionControlConfig indicates an expected call of GetMissionControlConfig.
func (*MockRouterClientMockRecorder) HtlcInterceptor ¶
func (mr *MockRouterClientMockRecorder) HtlcInterceptor(arg0 interface{}, arg1 ...interface{}) *gomock.Call
HtlcInterceptor indicates an expected call of HtlcInterceptor.
func (*MockRouterClientMockRecorder) QueryMissionControl ¶
func (mr *MockRouterClientMockRecorder) QueryMissionControl(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
QueryMissionControl indicates an expected call of QueryMissionControl.
func (*MockRouterClientMockRecorder) QueryProbability ¶
func (mr *MockRouterClientMockRecorder) QueryProbability(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
QueryProbability indicates an expected call of QueryProbability.
func (*MockRouterClientMockRecorder) ResetMissionControl ¶
func (mr *MockRouterClientMockRecorder) ResetMissionControl(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ResetMissionControl indicates an expected call of ResetMissionControl.
func (*MockRouterClientMockRecorder) SendPayment ¶
func (mr *MockRouterClientMockRecorder) SendPayment(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
SendPayment indicates an expected call of SendPayment.
func (*MockRouterClientMockRecorder) SendPaymentV2 ¶
func (mr *MockRouterClientMockRecorder) SendPaymentV2(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
SendPaymentV2 indicates an expected call of SendPaymentV2.
func (*MockRouterClientMockRecorder) SendToRoute ¶
func (mr *MockRouterClientMockRecorder) SendToRoute(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
SendToRoute indicates an expected call of SendToRoute.
func (*MockRouterClientMockRecorder) SendToRouteV2 ¶
func (mr *MockRouterClientMockRecorder) SendToRouteV2(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
SendToRouteV2 indicates an expected call of SendToRouteV2.
func (*MockRouterClientMockRecorder) SetMissionControlConfig ¶
func (mr *MockRouterClientMockRecorder) SetMissionControlConfig(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
SetMissionControlConfig indicates an expected call of SetMissionControlConfig.
func (*MockRouterClientMockRecorder) SubscribeHtlcEvents ¶
func (mr *MockRouterClientMockRecorder) SubscribeHtlcEvents(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
SubscribeHtlcEvents indicates an expected call of SubscribeHtlcEvents.
func (*MockRouterClientMockRecorder) TrackPayment ¶
func (mr *MockRouterClientMockRecorder) TrackPayment(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
TrackPayment indicates an expected call of TrackPayment.
func (*MockRouterClientMockRecorder) TrackPaymentV2 ¶
func (mr *MockRouterClientMockRecorder) TrackPaymentV2(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
TrackPaymentV2 indicates an expected call of TrackPaymentV2.
func (*MockRouterClientMockRecorder) UpdateChanStatus ¶
func (mr *MockRouterClientMockRecorder) UpdateChanStatus(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
UpdateChanStatus indicates an expected call of UpdateChanStatus.
func (*MockRouterClientMockRecorder) XImportMissionControl ¶
func (mr *MockRouterClientMockRecorder) XImportMissionControl(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
XImportMissionControl indicates an expected call of XImportMissionControl.
type MockSignerClient ¶
type MockSignerClient struct {
// contains filtered or unexported fields
}
MockSignerClient is a mock of SignerClient interface.
func NewMockSignerClient ¶
func NewMockSignerClient(ctrl *gomock.Controller) *MockSignerClient
NewMockSignerClient creates a new mock instance.
func (*MockSignerClient) ComputeInputScript ¶
func (m *MockSignerClient) ComputeInputScript(arg0 context.Context, arg1 *signrpc.SignReq, arg2 ...grpc.CallOption) (*signrpc.InputScriptResp, error)
ComputeInputScript mocks base method.
func (*MockSignerClient) DeriveSharedKey ¶
func (m *MockSignerClient) DeriveSharedKey(arg0 context.Context, arg1 *signrpc.SharedKeyRequest, arg2 ...grpc.CallOption) (*signrpc.SharedKeyResponse, error)
DeriveSharedKey mocks base method.
func (*MockSignerClient) EXPECT ¶
func (m *MockSignerClient) EXPECT() *MockSignerClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSignerClient) SignMessage ¶
func (m *MockSignerClient) SignMessage(arg0 context.Context, arg1 *signrpc.SignMessageReq, arg2 ...grpc.CallOption) (*signrpc.SignMessageResp, error)
SignMessage mocks base method.
func (*MockSignerClient) SignOutputRaw ¶
func (m *MockSignerClient) SignOutputRaw(arg0 context.Context, arg1 *signrpc.SignReq, arg2 ...grpc.CallOption) (*signrpc.SignResp, error)
SignOutputRaw mocks base method.
func (*MockSignerClient) VerifyMessage ¶
func (m *MockSignerClient) VerifyMessage(arg0 context.Context, arg1 *signrpc.VerifyMessageReq, arg2 ...grpc.CallOption) (*signrpc.VerifyMessageResp, error)
VerifyMessage mocks base method.
type MockSignerClientMockRecorder ¶
type MockSignerClientMockRecorder struct {
// contains filtered or unexported fields
}
MockSignerClientMockRecorder is the mock recorder for MockSignerClient.
func (*MockSignerClientMockRecorder) ComputeInputScript ¶
func (mr *MockSignerClientMockRecorder) ComputeInputScript(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ComputeInputScript indicates an expected call of ComputeInputScript.
func (*MockSignerClientMockRecorder) DeriveSharedKey ¶
func (mr *MockSignerClientMockRecorder) DeriveSharedKey(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
DeriveSharedKey indicates an expected call of DeriveSharedKey.
func (*MockSignerClientMockRecorder) SignMessage ¶
func (mr *MockSignerClientMockRecorder) SignMessage(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
SignMessage indicates an expected call of SignMessage.
func (*MockSignerClientMockRecorder) SignOutputRaw ¶
func (mr *MockSignerClientMockRecorder) SignOutputRaw(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
SignOutputRaw indicates an expected call of SignOutputRaw.
func (*MockSignerClientMockRecorder) VerifyMessage ¶
func (mr *MockSignerClientMockRecorder) VerifyMessage(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
VerifyMessage indicates an expected call of VerifyMessage.