Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BOLT 9: Guess at assignment of feature bis.
There are only two channel (prev "global") features, which you have to know to route payments through a channel: wumborama and status. Both should be advertized as odd bits in channel_announcement, since it's fine if a node doesn't understand them. The other options are now advertized (thanks to node_announcment combinedfeatures) but don't effect routing, so they're peerfeatures. We might be able to get rid of `option_will_fund_for_food`; it's only used to flag the existence of the two extra fields in node_announcement, for which `option_dual_fund` could be used instead (with some flag value meaning "will not fund for food). Signed-off-by: Rusty Russell <[email protected]>
- Loading branch information