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

Add anchor support #141

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

tnull
Copy link
Collaborator

@tnull tnull commented Jul 24, 2023

Based on #243, #250, #253.

@tnull tnull marked this pull request as draft July 24, 2023 07:49
@tnull tnull mentioned this pull request Jul 24, 2023
@tnull tnull mentioned this pull request Aug 15, 2023
9 tasks
@tnull tnull force-pushed the 2023-07-add-anchor-support branch from 340cdd5 to 405dcec Compare October 5, 2023 19:29
@tnull
Copy link
Collaborator Author

tnull commented Oct 5, 2023

Rebased on #151.

@tnull tnull mentioned this pull request Oct 24, 2023
@tnull tnull mentioned this pull request Nov 15, 2023
17 tasks
@tnull
Copy link
Collaborator Author

tnull commented Dec 21, 2023

Rebased on current main. Still need to expose a good API.

@tnull tnull force-pushed the 2023-07-add-anchor-support branch 11 times, most recently from a6bdd44 to 8a01a2e Compare February 19, 2024 15:27
@tnull tnull added this to the 0.3 milestone Feb 19, 2024
@tnull tnull force-pushed the 2023-07-add-anchor-support branch 2 times, most recently from 2741cf9 to 1510751 Compare February 20, 2024 10:35
@tnull tnull changed the title WIP: Add anchor support Add anchor support Feb 20, 2024
@tnull tnull marked this pull request as ready for review February 20, 2024 10:41
@tnull
Copy link
Collaborator Author

tnull commented May 13, 2024

Rebased on current #270.

@tnull tnull force-pushed the 2023-07-add-anchor-support branch 2 times, most recently from f801c06 to ddbbdc0 Compare May 15, 2024 14:14
@tnull
Copy link
Collaborator Author

tnull commented May 15, 2024

Rebased on main after #270 landed.

tnull added 10 commits May 27, 2024 10:23
.. allowing to configure the per-channel emergency reserve as well as
some trusted peers for which we won't maintain any reserve.
When Anchor outputs need to be spent LDK will generate
`BumpTransactionEvent`s. Here, we add the corresponding event-handling
and PSBT-signing support.
.. as LDK doesn't provide the `non_witness_utxo` in the PSBT
.. because they will be the new default.

Note the upcoming CLN 24.02 release will make Anchors default, too, but
for now we have to set the `experimental-anchors` config option.
.. which we somehow so far ommitted exposing in the API.

We now introduce a `force` flag to `close_channel` and broadcast if the
counterparty is not trusted.
.. i.e., without bumping.
@tnull tnull force-pushed the 2023-07-add-anchor-support branch from 4d87da7 to b0a9d89 Compare May 27, 2024 08:23
@tnull tnull force-pushed the 2023-07-add-anchor-support branch from b0a9d89 to 2d45314 Compare May 27, 2024 08:35
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.

None yet

2 participants