mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
loop: add support for the probe API
This commit is contained in:
parent
7d044f58e8
commit
f786aaa016
20 changed files with 2118 additions and 849 deletions
|
|
@ -212,8 +212,8 @@ func (s *serverMock) GetLoopInTerms(ctx context.Context) (
|
|||
}, nil
|
||||
}
|
||||
|
||||
func (s *serverMock) GetLoopInQuote(ctx context.Context, amt btcutil.Amount) (
|
||||
*LoopInQuote, error) {
|
||||
func (s *serverMock) GetLoopInQuote(context.Context, btcutil.Amount,
|
||||
route.Vertex, *route.Vertex) (*LoopInQuote, error) {
|
||||
|
||||
return &LoopInQuote{
|
||||
SwapFee: testSwapFee,
|
||||
|
|
@ -235,3 +235,10 @@ func (s *serverMock) SubscribeLoopInUpdates(_ context.Context,
|
|||
|
||||
return nil, nil, nil
|
||||
}
|
||||
|
||||
func (s *serverMock) Probe(ctx context.Context, amt btcutil.Amount,
|
||||
pubKey route.Vertex, lastHop *route.Vertex,
|
||||
routeHints [][]zpay32.HopHint) error {
|
||||
|
||||
return nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue