Merge pull request #8177 from yyforyongyu/payment-status

routerrpc: optionally return the new payment status
This commit is contained in:
Yong authored and GitHub committed 2023-11-30 17:15:23 +08:00
commit 9f42459036
14 files changed
+371 -216

No files matched your search

@@ -63,6 +63,11 @@
* A new config value,
[http-header-timeout](https://github.com/lightningnetwork/lnd/pull/7715), is added so users can specify the amount of time the http server will wait for a request to complete before closing the connection. The default value is 5 seconds.
* [`routerrpc.usestatusinitiated` is
introduced](https://github.com/lightningnetwork/lnd/pull/8177) to signal that
the new payment status `Payment_INITIATED` should be used for payment-related
RPCs. It's recommended to use it to provide granular controls over payments.
## RPC Additions
* [Deprecated](https://github.com/lightningnetwork/lnd/pull/7175)