clboss/Ln
Ken Sedgwick f1b37c5da5
ChannelCreator: prefer spliceable peers within the no-record tier
The track-record pass orders open proposals keepers, no-record,
underperformers.  The no-record tier carries no earnings evidence,
so order it by a capability prior: nodes whose node_announcement
advertises splicing (BOLT 9 option_splice, bits 62/63) come first,
since their channels can later be resized without a close and
reopen.  Keepers and underperformers keep their earnings-based
order, and nothing moves across a tier boundary.

New Ln::feature_bit tests a bit in a BOLT 9 hex bitfield (bit 0 is
the least-significant bit of the last byte), with a unit test.
Spliceability is looked up per candidate via listnodes; an RPC
failure or absent features field counts as not spliceable, so the
lookup cannot block channel creation.  The Track records report
marks spliceable no-record nodes with an (S) suffix.
2026-08-04 11:02:22 -07:00
..
Amount.cpp Use BacktraceException for appropriate (most) exceptions 2024-08-19 15:04:30 -07:00
Amount.hpp Handle JSON-RPC msat amounts in either the old or new conventions 2023-08-18 20:29:21 -07:00
CommandId.cpp Ln/CommandId.cpp: Implement a replacement for numeric command IDs. 2022-11-21 17:18:00 +08:00
CommandId.hpp Ln/CommandId.cpp: Implement a replacement for numeric command IDs. 2022-11-21 17:18:00 +08:00
FeatureBit.cpp ChannelCreator: prefer spliceable peers within the no-record tier 2026-08-04 11:02:22 -07:00
FeatureBit.hpp ChannelCreator: prefer spliceable peers within the no-record tier 2026-08-04 11:02:22 -07:00
HtlcAccepted.cpp *: Use Ln::CommandId for command IDs for received commands and hook events. 2022-11-23 00:36:43 +08:00
HtlcAccepted.hpp *: Use Ln::CommandId for command IDs for received commands and hook events. 2022-11-23 00:36:43 +08:00
NodeId.cpp Use BacktraceException for appropriate (most) exceptions 2024-08-19 15:04:30 -07:00
NodeId.hpp Ln/NodeId.cpp: Enable lexicographical compare, so we can have sets of node IDs. 2020-09-10 18:52:15 +08:00
OnionError.cpp Ln/OnionError: shared onion-failure parser; XMoveFunds adopts the hardened version 2026-08-04 11:02:09 -07:00
OnionError.hpp Ln/OnionError: shared onion-failure parser; XMoveFunds adopts the hardened version 2026-08-04 11:02:09 -07:00
Preimage.cpp Use BacktraceException for appropriate (most) exceptions 2024-08-19 15:04:30 -07:00
Preimage.hpp Ln/Preimage.cpp: Type for preimages. 2020-09-21 18:23:38 +08:00
Scid.cpp Use BacktraceException for appropriate (most) exceptions 2024-08-19 15:04:30 -07:00
Scid.hpp feat: add clang C++20 build job to CI 2026-03-04 11:24:31 -08:00