mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-10-10 04:53:04 +02:00
config: expose distinct accept-amp flag
This mirrors the accept-keysend flag, but also permits users to eventually toggle off keysend separately from AMP.
This commit is contained in:
@@ -338,6 +338,8 @@ type Config struct {
|
||||
|
||||
AcceptKeySend bool `long:"accept-keysend" description:"If true, spontaneous payments through keysend will be accepted. [experimental]"`
|
||||
|
||||
AcceptAMP bool `long:"accept-amp" description:"If true, spontaneous payments via AMP will be accepted."`
|
||||
|
||||
KeysendHoldTime time.Duration `long:"keysend-hold-time" description:"If non-zero, keysend payments are accepted but not immediately settled. If the payment isn't settled manually after the specified time, it is canceled automatically. [experimental]"`
|
||||
|
||||
GcCanceledInvoicesOnStartup bool `long:"gc-canceled-invoices-on-startup" description:"If true, we'll attempt to garbage collect canceled invoices upon start."`
|
||||
|
Reference in New Issue
Block a user