Skip to content

Commit

Permalink
feature: advertise required feature bit for TLV onions
Browse files Browse the repository at this point in the history
In this commit, we start to advertise the required feature bit for the
new modern TLV onion format. In a future change, we'll remove the logic
for being able to encode+encode the payload. For now, we still have
tests that exercise being able to use the new and old formats (as well
as both of them in a single route), so we'll continue to retain that
behavior for now.

Implements lightning/bolts#962.
  • Loading branch information
Roasbeef committed Mar 15, 2022
1 parent 95c270d commit f77fb99
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion docs/release-notes/release-notes-0.15.0.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release Notes

## P2P Protocol

[lnd now advertises the TLV onion feature bit as required(https://github.com/lightningnetwork/lnd/pull/6336).

## Security

* [Misconfigured ZMQ
Expand Down Expand Up @@ -179,4 +183,4 @@ gRPC performance metrics (latency to process `GetInfo`, etc)](https://github.com
* Thebora Kompanioni
* Torkel Rogstad
* Vsevolod Kaganovych
* Yong Yu
* Yong Yu
2 changes: 1 addition & 1 deletion feature/default_sets.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var defaultSetDesc = setDesc{
SetInit: {}, // I
SetNodeAnn: {}, // N
},
lnwire.TLVOnionPayloadOptional: {
lnwire.TLVOnionPayloadRequired: {
SetInit: {}, // I
SetNodeAnn: {}, // N
SetInvoice: {}, // 9
Expand Down

0 comments on commit f77fb99

Please sign in to comment.