Skip to content

lightning: improve accept_forwards_to_priv_channels doc #3786

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions lightning/src/util/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -830,7 +830,12 @@ pub struct UserConfig {
/// all your channels and open new ones. For privacy, you should also change your node_id
/// (swapping all private and public key material for new ones) at that time.
///
/// Note that this setting does not apply for intercepted payments that are surfaced via
/// [`Event::HTLCIntercepted`] and manually forwarded.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe you need to add an import line for this, similar to the one on accept_underpaying_htlcs

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've fixed that. Thank you.

///
/// Default value: `false`
///
/// [`Event::HTLCIntercepted`]: crate::events::Event::HTLCIntercepted
pub accept_forwards_to_priv_channels: bool,
/// If this is set to `false`, we do not accept inbound requests to open a new channel.
///
Expand Down
Loading