Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: lightningdevkit/rust-lightning
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 74da67a
Choose a base ref
...
head repository: lightningdevkit/rust-lightning
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: b886679
Choose a head ref
  • 1 commit
  • 8 files changed
  • 1 contributor

Commits on Aug 29, 2023

  1. Allow get_per_commitment_point to fail.

    This changes `ChannelSigner::get_per_commitment_point` to return a
    `Result<PublicKey, ()`, which means that it can fail. Similarly, it changes
    `ChannelSigner::release_commitment_secret`. In order to accomodate failure at
    the callsites that otherwise assumed it was infallible, we cache the next
    per-commitment point each time the state advances in the `ChannelContext` and
    change the callsites to instead use the cached value.
    waterson committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    b886679 View commit details
    Browse the repository at this point in the history
Loading