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

Update Rust crate lightning to v0.1.1 - autoclosed #54

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 29, 2025

This PR contains the following updates:

Package Type Update Change
lightning dependencies patch =0.1.0 -> =0.1.1

Release Notes

lightningdevkit/rust-lightning (lightning)

v0.1.1: - Jan 28, 2025 - "Onchain Matters"

API Updates

  • A ChannelManager::send_payment_with_route was (re-)added, with semantics
    similar to ChannelManager::send_payment (rather than like the pre-0.1
    send_payent_with_route, #​3534).
  • RawBolt11Invoice::{to,from}_raw were added (#​3549).

Bug Fixes

  • HTLCs which were forwarded where the inbound edge times out within the next
    three blocks will have the inbound HTLC failed backwards irrespective of the
    status of the outbound HTLC. This avoids the peer force-closing the channel
    (and claiming the inbound edge HTLC on-chain) even if we have not yet managed
    to claim the outbound edge on chain (#​3556).
  • On restart, replay of Event::SpendableOutputs could have caused
    OutputSweeper to generate double-spending transactions, making it unable to
    claim any delayed claims. This was resolved by retaining old claims for more
    than four weeks after they are claimed on-chain to detect replays (#​3559).
  • Fixed the additional feerate we will pay each time we RBF on-chain claims to
    match the Bitcoin Core policy (1 sat/vB) instead of 16 sats/vB (#​3457).
  • Fixed a cased where a custom Router which returns an invalid Route,
    provided to ChannelManager, can result in an outbound payment remaining
    pending forever despite no HTLCs being pending (#​3531).

Security

0.1.1 fixes a denial-of-service vulnerability allowing channel counterparties to
cause force-closure of unrelated channels.

  • If a malicious channel counterparty force-closes a channel, broadcasting a
    revoked commitment transaction while the channel at closure time included
    multiple non-dust forwarded outbound HTLCs with identical payment hashes and
    amounts, failure to fail the HTLCs backwards could cause the channels on
    which we recieved the corresponding inbound HTLCs to be force-closed. Note
    that we'll receive, at a minimum, the malicious counterparty's reserve value
    when they broadcast the stale commitment (#​3556). Thanks to Matt Morehouse for
    reporting this issue.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot changed the title Update Rust crate lightning to v0.1.1 Update Rust crate lightning to v0.1.1 - autoclosed Jan 29, 2025
@renovate renovate bot closed this Jan 29, 2025
@renovate renovate bot deleted the renovate/lightning-0.x branch January 29, 2025 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants