lnrpc+rpc: expose last ping message received by peer over ListPeers resp

This commit is contained in:
Olaoluwa Osuntokun committed 2021-08-25 16:47:17 -07:00
1 parent 2947076607
commit 00d275d9f0
4 files changed
+1886 -1862

No files matched your search

+1865 -1852
View File
File diff suppressed because it is too large. Load diff
+5
View File
@@ -1561,6 +1561,11 @@ message Peer {
zero, we have not observed any flaps for this peer.
*/
int64 last_flap_ns = 14;
/*
The last ping payload the peer has sent to us.
*/
bytes last_ping_payload = 15;
}
message TimestampedError {
+5
View File
@@ -5179,6 +5179,11 @@
"type": "string",
"format": "int64",
"description": "The timestamp of the last flap we observed for this peer. If this value is\nzero, we have not observed any flaps for this peer."
},
"last_ping_payload": {
"type": "string",
"format": "byte",
"description": "The last ping payload the peer has sent to us."
}
}
},