mirror of
https://github.com/aljazceru/lspd.git
synced 2025-12-24 01:04:21 +01:00
reusable open channel logic and share macaroon
This commit is contained in:
@@ -23,7 +23,7 @@ type OpenChannelRequest struct {
|
||||
|
||||
type LightningClient interface {
|
||||
GetInfo() (*GetInfoResult, error)
|
||||
IsConnected(destination []byte) (*bool, error)
|
||||
IsConnected(destination []byte) (bool, error)
|
||||
OpenChannel(req *OpenChannelRequest) (*wire.OutPoint, error)
|
||||
GetChannel(peerID []byte, channelPoint wire.OutPoint) (*GetChannelResult, error)
|
||||
GetNodeChannelCount(nodeID []byte) (int, error)
|
||||
|
||||
Reference in New Issue
Block a user