mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-25 16:54:20 +01:00
connectd: Pass the init_featurebits down to connectd and use in init
The `init_featurebits` are computed at startup, and then cached indefinitely. They are then used whenever a new `init` handshake is performed. We could add a new message to push updates to `connectd` whenever a plugin is added or removed, but that's up for discussion.
This commit is contained in:
committed by
Rusty Russell
parent
58c9a6a004
commit
8d6c8c3cd1
@@ -15,6 +15,8 @@ msgdata,connectctl_init,dev_allow_localhost,bool,
|
||||
msgdata,connectctl_init,use_dns,bool,
|
||||
msgdata,connectctl_init,tor_password,wirestring,
|
||||
msgdata,connectctl_init,use_v3_autotor,bool,
|
||||
msgdata,connectctl_init,init_featurebits_len,u16,
|
||||
msgdata,connectctl_init,init_featurebits,u8,init_featurebits_len
|
||||
|
||||
# Connectd->master, here are the addresses I bound, can announce.
|
||||
msgtype,connectctl_init_reply,2100
|
||||
|
||||
|
Reference in New Issue
Block a user