lnrpc+rpcserver: add new GetDebugInfo RPC method

This commit is contained in:
Oliver Gugger committed 2024-01-09 12:32:37 +01:00
1 parent becbe7085d
commit 8a2c3a3d85
8 files changed
+3609 -3238

No files matched your search

+15
View File
@@ -143,6 +143,13 @@ service Lightning {
*/
rpc GetInfo (GetInfoRequest) returns (GetInfoResponse);
/* lncli: 'getdebuginfo'
GetDebugInfo returns debug information concerning the state of the daemon
and its subsystems. This includes the full configuration and the latest log
entries from the log file.
*/
rpc GetDebugInfo (GetDebugInfoRequest) returns (GetDebugInfoResponse);
/** lncli: `getrecoveryinfo`
GetRecoveryInfo returns information concerning the recovery mode including
whether it's in a recovery mode, whether the recovery is finished, and the
@@ -1955,6 +1962,14 @@ message GetInfoResponse {
bool store_final_htlc_resolutions = 22;
}
message GetDebugInfoRequest {
}
message GetDebugInfoResponse {
map<string, string> config = 1;
repeated string log = 2;
}
message GetRecoveryInfoRequest {
}
message GetRecoveryInfoResponse {