config: add option to disable incoming push amounts in OpenChannel
This is useful for merchant-side prevention of accidental pushes during channel opening.
This commit is contained in:
1 parent
61e8677419
commit
2c9a039845
3 files changed
+18
No files matched your search
@@ -235,6 +235,8 @@ type config struct {
|
||||
|
||||
NoChanUpdates bool `long:"nochanupdates" description:"If specified, lnd will not request real-time channel updates from connected peers. This option should be used by routing nodes to save bandwidth."`
|
||||
|
||||
RejectPush bool `long:"rejectpush" description:"If true, lnd will not accept channel opening requests with non-zero push amounts. This should prevent accidental pushes to merchant nodes."`
|
||||
|
||||
net tor.Net
|
||||
|
||||
Routing *routing.Conf `group:"routing" namespace:"routing"`
|
||||
|
||||
Reference in new issue
Block a user