![]() |
![]()
| ![]() |
![]()
NAMElightning-batching -- Command to allow database batching. SYNOPSISbatching enable DESCRIPTIONThe batching RPC command allows (but does not guarantee!) database commitments to be deferred when multiple commands are issued on this RPC connection. This is only useful if many commands are being given at once, in which case it can offer a performance improvement (the cost being that if there is a crash, it's unclear how many of the commands will have been persisted).
RETURN VALUEOn success, an empty object is returned. ERRORSOn failure, one of the following error codes may be returned:
AUTHORRusty Russell <rusty@blockstream.com> wrote the initial version of this man page. RESOURCESMain web site: https://github.com/ElementsProject/lightning EXAMPLESExample 1: Request: $ lightning-cli batching -k "enable"=True { Response: {}
|