lnrpc: send custom message

This commit is contained in:
Joost Jager committed 2021-10-15 17:08:53 +02:00
1 parent 5d7e814ea8
commit ae959b16ae
14 files changed
+4451 -3825

No files matched your search

+20
View File
@@ -557,6 +557,26 @@ service Lightning {
*/
rpc RegisterRPCMiddleware (stream RPCMiddlewareResponse)
returns (stream RPCMiddlewareRequest);
/* lncli: `sendcustom`
SendCustomMessage sends a custom peer message.
*/
rpc SendCustomMessage (SendCustomMessageRequest)
returns (SendCustomMessageResponse);
}
message SendCustomMessageRequest {
// Peer to send the message to
bytes peer = 1;
// Message type. This value needs to be in the custom range (>= 32768).
uint32 type = 2;
// Raw message data.
bytes data = 3;
}
message SendCustomMessageResponse {
}
message Utxo {