Why Nostr? What is Njump?
2023-07-03 11:29:50
in reply to

Rusty Russell [ARCHIVE] on Nostr: 📅 Original date posted:2023-06-30 🗒️ Summary of this message: This pull ...

📅 Original date posted:2023-06-30
🗒️ Summary of this message: This pull request proposes to remove certain features from the code based on recent releases and node announcements, simplifying the code.
📝 Original message:
https://github.com/lightning/bolts/pull/1092

02-peer-protocol.md | 74 ++-------
03-transactions.md | 389 ---------------------------------------------------
05-onchain.md | 17 --
07-routing-gossip.md | 52 +-----
09-features.md | 30 +--
5 files changed, 48 insertions(+), 514 deletions(-)

Simplicity FTW. This PR proposes to start ignoring
(and thus, simply assuming) various features, based on recent releases
and scanning node announcments:

Removed:

* initial_routing_sync (only had an effect if gossip_queries not supported)
* option_anchor_outputs (only supported by older experimental-only CLN builds)

I looked at all node_announcements on my node. There are 449 nodes apparently running a 4-year-old LND version (features hex 2200), which have 3+ year old channels. @Roasbeef points out that they already will have their channel_updates ignored due to lack of htlc_maximum_msat which is now required by LND and CLN, at least).

Features you can now assume (you should probably still set it for now, but you can stop checking it).

* var_onion_optin (all but 6 nodes)
* gossip_queries (all but 11 nodes)
* option_data_loss_protect (all but 11 nodes)
* option_static_remotekey (all but 16 nodes)

Cheers!
Rusty.
Author Public Key
npub1zw7cc8z78v6s3grujfvcv3ckpvg6kr0w7nz9yzvwyglyg0qu5sjsqhkhpx