[Lightning-dev] WIP pull requests for feature bit unification and TLV bits

Rusty Russell rusty at rustcorp.com.au
Tue Feb 12 06:12:45 UTC 2019

Hi all,

        Finally tried to write up the feature bit changes:


And also start on TLV definition for the onion:


Feature bits:

1. Rename local/global to peer/channel.
2. Both get sent in node_announcment (you can look for peers with
   specific things)
3. channel gets sent in channel_announcement (you know you can't send
   though channels with unknown even bits).

I also took a stab at assigning all the 1.1 bits from the wiki.


1. General requirements and format (1 byte type, var_int length).
2. Took a stab at defining switch_chain, switch_ephkey and

Also added a `9` field to BOLT11 to flag base amp, OG amp, etc.


More information about the Lightning-dev mailing list