mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-20 02:27:51 +01:00
a7c5a1f1d2
This takes from the draft spec at https://github.com/lightningnetwork/lightning-rfc/pull/834 Note that if this draft does not get included, the peer will simply ignore the warning message (we always close the connection afterwards anyway). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Changelog-Added: Protocol: we now report the new (draft) warning message.
14 lines
410 B
Diff
14 lines
410 B
Diff
--- wire/peer_exp_wire.csv 2021-01-14 11:00:27.526336550 +1030
|
|
+++ - 2021-01-21 15:31:37.071118999 +1030
|
|
@@ -10,6 +10,10 @@
|
|
msgdata,error,channel_id,channel_id,
|
|
msgdata,error,len,u16,
|
|
msgdata,error,data,byte,len
|
|
+msgtype,warning,1
|
|
+msgdata,warning,channel_id,channel_id,
|
|
+msgdata,warning,len,u16,
|
|
+msgdata,warning,data,byte,len
|
|
msgtype,ping,18
|
|
msgdata,ping,num_pong_bytes,u16,
|
|
msgdata,ping,byteslen,u16,
|