1
0

channeldb: also store "message_flags" field for channel updates

this is a breaking change for the db format.
As in comment in diff,
"It would make more sense to store the raw gossip messages in the db."
This commit is contained in:
SomberNight
2019-08-16 22:31:11 +02:00
committed by ThomasV
parent d229bb4e4d
commit f0588846d5
2 changed files with 13 additions and 4 deletions

View File

@@ -982,6 +982,7 @@ class Peer(Logger):
{
"short_channel_id": chan.short_channel_id,
'channel_flags': channel_flags,
'message_flags': b'\x00',
'cltv_expiry_delta': b'\x90',
'htlc_minimum_msat': b'\x03\xe8',
'fee_base_msat': b'\x03\xe8',