Skip to content

Commit

Permalink
Advertise route blinding feature as supported.
Browse files Browse the repository at this point in the history
Now that we fully support forwarding blinded payments, we should advertise
support so nodes on the network can include us in their blinded paths.
  • Loading branch information
valentinewallace committed Jan 11, 2024
1 parent ae22997 commit b9531da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lightning/src/ln/channelmanager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9357,6 +9357,7 @@ pub fn provided_init_features(config: &UserConfig) -> InitFeatures {
features.set_channel_type_optional();
features.set_scid_privacy_optional();
features.set_zero_conf_optional();
features.set_route_blinding_optional();
if config.channel_handshake_config.negotiate_anchors_zero_fee_htlc_tx {
features.set_anchors_zero_fee_htlc_tx_optional();
}
Expand Down
1 change: 1 addition & 0 deletions lightning/src/ln/peer_handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,7 @@ impl ChannelMessageHandler for ErroringMessageHandler {
features.set_channel_type_optional();
features.set_scid_privacy_optional();
features.set_zero_conf_optional();
features.set_route_blinding_optional();
features
}

Expand Down

0 comments on commit b9531da

Please sign in to comment.