cleanup: remove openchannel rpc

This commit is contained in:
Jesse de Wit
2024-02-08 10:45:40 +01:00
parent a072e5c090
commit 31bf2a885a
13 changed files with 87 additions and 444 deletions

View File

@@ -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