Add `networks` TLV to `Init`'s TLV stream
authorDuncan Dean <git@dunxen.dev>
Thu, 1 Jun 2023 08:23:55 +0000 (10:23 +0200)
committerDuncan Dean <git@dunxen.dev>
Mon, 5 Jun 2023 07:45:41 +0000 (09:45 +0200)
commite23102f5655c87896f01c721ea5342fbdb81fae9
tree1d74cf2580ea49b68a161a2fd6b2ed76e72e148d
parentfb140b55c73171ad91992e39563e970791b66855
Add `networks` TLV to `Init`'s TLV stream

This was a fairly old introduction to the spec to allow nodes to indicate
to their peers what chains they are interested in (i.e. will open channels
and gossip for).

We don't do any of the handling of this message in this commit and leave
that to the very next commit, so the behaviour is effectively the same
(ignore networks preference).
15 files changed:
fuzz/src/chanmon_consistency.rs
lightning-background-processor/src/lib.rs
lightning/src/ln/chanmon_update_fail_tests.rs
lightning/src/ln/channelmanager.rs
lightning/src/ln/functional_test_utils.rs
lightning/src/ln/functional_tests.rs
lightning/src/ln/msgs.rs
lightning/src/ln/payment_tests.rs
lightning/src/ln/peer_handler.rs
lightning/src/ln/priv_short_conf_tests.rs
lightning/src/ln/reload_tests.rs
lightning/src/ln/reorg_tests.rs
lightning/src/ln/shutdown_tests.rs
lightning/src/onion_message/functional_tests.rs
lightning/src/routing/gossip.rs