![]() |
![]()
| ![]() |
![]()
NAMElightning-datastoreusage -- Command for listing datastore usage info SYNOPSISdatastoreusage [key] DESCRIPTIONCommand added in v23.11. The datastoreusage RPC command allows the caller to fetch the total bytes that are stored under a certain key (or from the root), including the size of the key. All descendants of the key (or root) are taken into account.
RETURN VALUEOn success, an object containing datastoreusage is returned. It is an object containing:
AUTHORPeter Neuroth <pet.v.ne@gmail.com> is mainly responsible. SEE ALSOlightning-datastore(7), lightning-deldatastore(7), lightning-listdatastore(7) RESOURCESMain web site: https://github.com/ElementsProject/lightning EXAMPLESExample 1: Request: $ lightning-cli datastoreusage { Response: { Example 2: Request: $ lightning-cli datastoreusage -k "key"='["test", "name"]' { Response: { Example 3: Request: $ lightning-cli datastoreusage -k "key"="otherkey" { Response: {
|