mirror of
https://github.com/aljazceru/lspd.git
synced 2025-12-19 23:04:22 +01:00
move nexthop logic inside the interceptor
This commit is contained in:
@@ -31,6 +31,7 @@ type Client interface {
|
||||
IsConnected(destination []byte) (bool, error)
|
||||
OpenChannel(req *OpenChannelRequest) (*wire.OutPoint, error)
|
||||
GetChannel(peerID []byte, channelPoint wire.OutPoint) (*GetChannelResult, error)
|
||||
GetPeerId(scid *basetypes.ShortChannelID) ([]byte, error)
|
||||
GetNodeChannelCount(nodeID []byte) (int, error)
|
||||
GetClosedChannels(nodeID string, channelPoints map[string]uint64) (map[string]uint64, error)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user