We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c8d50f commit 5bbbaaaCopy full SHA for 5bbbaaa
lightning_client.go
@@ -64,6 +64,14 @@ func WithScid() OpenChannelOption {
64
}
65
66
67
+// WithRemoteReserve signals that the channel open should set a remote reserve
68
+// amount.
69
+func WithRemoteReserve(reserve uint64) OpenChannelOption {
70
+ return func(r *lnrpc.OpenChannelRequest) {
71
+ r.RemoteChanReserveSat = reserve
72
+ }
73
+}
74
+
75
// LightningClient exposes base lightning functionality.
76
type LightningClient interface {
77
PayInvoice(ctx context.Context, invoice string,
0 commit comments