mirror of
https://github.com/aljazceru/lspd.git
synced 2025-12-20 15:24:23 +01:00
cleanup: remove openchannel rpc
This commit is contained in:
@@ -20,9 +20,6 @@ type GetChannelResult struct {
|
||||
type OpenChannelRequest struct {
|
||||
Destination []byte
|
||||
CapacitySat uint64
|
||||
MinHtlcMsat uint64
|
||||
IsPrivate bool
|
||||
IsZeroConf bool
|
||||
MinConfs *uint32
|
||||
FeeSatPerVByte *float64
|
||||
TargetConf *uint32
|
||||
@@ -34,7 +31,6 @@ type Client interface {
|
||||
OpenChannel(req *OpenChannelRequest) (*wire.OutPoint, error)
|
||||
GetChannel(peerID []byte, channelPoint wire.OutPoint) (*GetChannelResult, error)
|
||||
GetPeerId(scid *ShortChannelID) ([]byte, error)
|
||||
GetNodeChannelCount(nodeID []byte) (int, error)
|
||||
GetClosedChannels(nodeID string, channelPoints map[string]uint64) (map[string]uint64, error)
|
||||
WaitOnline(peerID []byte, deadline time.Time) error
|
||||
WaitChannelActive(peerID []byte, deadline time.Time) error
|
||||
|
||||
Reference in New Issue
Block a user