mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
routing: add routing plugin inteface and skeleton
This commit is contained in:
parent
0f002733f6
commit
04ebc8d568
3 changed files with 238 additions and 3 deletions
|
|
@ -243,14 +243,14 @@ func (s *serverMock) Probe(ctx context.Context, amt btcutil.Amount,
|
|||
return nil
|
||||
}
|
||||
|
||||
func (s *serverMock) RecommendRoutingPlugin(_ context.Context, _ lntypes.Hash) (
|
||||
RoutingPluginType, error) {
|
||||
func (s *serverMock) RecommendRoutingPlugin(_ context.Context, _ lntypes.Hash,
|
||||
_ [32]byte) (RoutingPluginType, error) {
|
||||
|
||||
return RoutingPluginNone, nil
|
||||
}
|
||||
|
||||
func (s *serverMock) ReportRoutingResult(_ context.Context, _ lntypes.Hash,
|
||||
_ RoutingPluginType, _ bool, _ int32, _ int64) error {
|
||||
_ [32]byte, _ RoutingPluginType, _ bool, _ int32, _ int64) error {
|
||||
|
||||
return nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue