Skip to content
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

Remove anchors config flag #2367

Merged
merged 1 commit into from
Jun 23, 2023

Conversation

wpaulino
Copy link
Contributor

Now that all of the core functionality for anchor outputs has landed, we're ready to remove the config flag that was temporarily hiding it from our API.

Depends on #2361.

@TheBlueMatt
Copy link
Collaborator

There's a few spurious anchors flags in the CI script, though they'll be ignored now.

TheBlueMatt
TheBlueMatt previously approved these changes Jun 23, 2023
Copy link
Collaborator

@TheBlueMatt TheBlueMatt left a comment

Choose a reason for hiding this comment

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

Two nits but LGTM.

TheBlueMatt
TheBlueMatt previously approved these changes Jun 23, 2023
Copy link
Contributor

@valentinewallace valentinewallace left a comment

Choose a reason for hiding this comment

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

12 warnings introduced

lightning/src/events/bump_transaction.rs Outdated Show resolved Hide resolved
lightning/src/events/bump_transaction.rs Show resolved Hide resolved
/// Processes [`SpendableOutputs`] events produced from each [`ChannelMonitor`] upon maturity.
///
/// For channels featuring anchor outputs, this method will also process [`BumpTransaction`]
/// events produced from each [`ChannelMonitor`] while there is a balance to claim onchain
/// within each channel. As the confirmation of a commitment transaction may be critical to the
/// safety of funds, this method must be invoked frequently, ideally once for every chain tip
Copy link
Contributor

Choose a reason for hiding this comment

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

Generally I'd prefer if the docs updates were in their own commit, don't care much here though

Now that all of the core functionality for anchor outputs has landed,
we're ready to remove the config flag that was temporarily hiding it
from our API.
@wpaulino wpaulino dismissed stale reviews from valentinewallace and TheBlueMatt via 82b646c June 23, 2023 20:32
@wpaulino wpaulino force-pushed the remove-anchors-flag branch from 5cddb23 to 82b646c Compare June 23, 2023 20:32
@valentinewallace
Copy link
Contributor

Would it be difficult to fix the warnings? Leaving them can make it easy to miss relevant warnings in local development when working off of main IMO

@wpaulino
Copy link
Contributor Author

They weren't introduced by this PR, but rather by #2361.

@codecov-commenter
Copy link

Codecov Report

Patch coverage: 91.11% and project coverage change: +0.01 🎉

Comparison is base (3973865) 90.30% compared to head (82b646c) 90.32%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2367      +/-   ##
==========================================
+ Coverage   90.30%   90.32%   +0.01%     
==========================================
  Files         106      106              
  Lines       54900    54888      -12     
  Branches    54900    54888      -12     
==========================================
- Hits        49576    49575       -1     
+ Misses       5324     5313      -11     
Impacted Files Coverage Δ
lightning/src/chain/chainmonitor.rs 94.50% <ø> (-0.10%) ⬇️
lightning/src/chain/channelmonitor.rs 94.72% <ø> (ø)
lightning/src/chain/package.rs 91.43% <ø> (ø)
lightning/src/events/bump_transaction.rs 41.55% <ø> (ø)
lightning/src/events/mod.rs 41.86% <ø> (ø)
lightning/src/ln/chan_utils.rs 94.51% <ø> (ø)
lightning/src/sign/mod.rs 84.38% <ø> (+0.02%) ⬆️
lightning/src/util/config.rs 58.13% <ø> (+0.66%) ⬆️
lightning/src/util/enforcing_trait_impls.rs 88.00% <ø> (ø)
lightning/src/chain/onchaintx.rs 92.72% <77.77%> (ø)
... and 3 more

... and 3 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@wpaulino wpaulino merged commit 6fd13d7 into lightningdevkit:main Jun 23, 2023
@wpaulino wpaulino deleted the remove-anchors-flag branch June 23, 2023 23:17
@TheBlueMatt TheBlueMatt modified the milestones: 0.0.116alpha, 0.0.116 Jun 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants