mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-05 08:41:42 +02:00
lnrpc+rpcserver: return meaningful responses instead of empty
This commit is contained in:
@@ -643,6 +643,8 @@ message SendCustomMessageRequest {
|
||||
}
|
||||
|
||||
message SendCustomMessageResponse {
|
||||
// The status of the send operation.
|
||||
string status = 1;
|
||||
}
|
||||
|
||||
message Utxo {
|
||||
@@ -1317,6 +1319,8 @@ message ConnectPeerRequest {
|
||||
uint64 timeout = 3;
|
||||
}
|
||||
message ConnectPeerResponse {
|
||||
// The status of the connect operation.
|
||||
string status = 1;
|
||||
}
|
||||
|
||||
message DisconnectPeerRequest {
|
||||
@@ -1324,6 +1328,8 @@ message DisconnectPeerRequest {
|
||||
string pub_key = 1;
|
||||
}
|
||||
message DisconnectPeerResponse {
|
||||
// The status of the disconnect operation.
|
||||
string status = 1;
|
||||
}
|
||||
|
||||
message HTLC {
|
||||
@@ -3542,6 +3548,8 @@ message NetworkInfo {
|
||||
message StopRequest {
|
||||
}
|
||||
message StopResponse {
|
||||
// The status of the stop operation.
|
||||
string status = 1;
|
||||
}
|
||||
|
||||
message GraphTopologySubscription {
|
||||
@@ -4366,9 +4374,13 @@ message DeleteAllPaymentsRequest {
|
||||
}
|
||||
|
||||
message DeletePaymentResponse {
|
||||
// The status of the delete operation.
|
||||
string status = 1;
|
||||
}
|
||||
|
||||
message DeleteAllPaymentsResponse {
|
||||
// The status of the delete operation.
|
||||
string status = 1;
|
||||
}
|
||||
|
||||
message AbandonChannelRequest {
|
||||
@@ -4385,6 +4397,8 @@ message AbandonChannelRequest {
|
||||
}
|
||||
|
||||
message AbandonChannelResponse {
|
||||
// The status of the abandon operation.
|
||||
string status = 1;
|
||||
}
|
||||
|
||||
message DebugLevelRequest {
|
||||
@@ -4724,12 +4738,15 @@ message RestoreChanBackupRequest {
|
||||
}
|
||||
}
|
||||
message RestoreBackupResponse {
|
||||
// The number of channels successfully restored.
|
||||
uint32 num_restored = 1;
|
||||
}
|
||||
|
||||
message ChannelBackupSubscription {
|
||||
}
|
||||
|
||||
message VerifyChanBackupResponse {
|
||||
repeated string chan_points = 1;
|
||||
}
|
||||
|
||||
message MacaroonPermission {
|
||||
|
Reference in New Issue
Block a user