routerrpc: add amp bool to SendPayment

For now this is how you indicate you want to perform an AMP payment to
the destination.
This commit is contained in:
Johan T. Halseth committed 2021-04-27 09:47:23 +02:00
1 parent 5531b812e3
commit 6104d12cf8
3 files changed
+210 -190

No files matched your search

+5
View File
@@ -1493,6 +1493,11 @@
"type": "string",
"format": "uint64",
"description": "The largest payment split that should be attempted when making a payment if\nsplitting is necessary. Setting this value will effectively cause lnd to\nsplit more aggressively, vs only when it thinks it needs to. Note that this\nvalue is in milli-satoshis."
},
"amp": {
"type": "boolean",
"format": "boolean",
"description": "If set, an AMP-payment will be attempted."
}
}
},