-
Notifications
You must be signed in to change notification settings - Fork 407
Add 0.0.116 CHANGELOG entries and prep for 0.0.116rc1 #2414
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
TheBlueMatt
merged 2 commits into
lightningdevkit:main
from
TheBlueMatt:2023-07-cut-116-rc
Jul 17, 2023
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "lightning-background-processor" | ||
version = "0.0.116-alpha1" | ||
version = "0.0.116-rc1" | ||
authors = ["Valentine Wallace <[email protected]>"] | ||
license = "MIT OR Apache-2.0" | ||
repository = "http://github.com/lightningdevkit/rust-lightning" | ||
|
@@ -21,11 +21,11 @@ default = ["std"] | |
|
||
[dependencies] | ||
bitcoin = { version = "0.29.0", default-features = false } | ||
lightning = { version = "0.0.116-alpha1", path = "../lightning", default-features = false } | ||
lightning-rapid-gossip-sync = { version = "0.0.116-alpha1", path = "../lightning-rapid-gossip-sync", default-features = false } | ||
lightning = { version = "0.0.116-rc1", path = "../lightning", default-features = false } | ||
lightning-rapid-gossip-sync = { version = "0.0.116-rc1", path = "../lightning-rapid-gossip-sync", default-features = false } | ||
|
||
[dev-dependencies] | ||
tokio = { version = "1.14", features = [ "macros", "rt", "rt-multi-thread", "sync", "time" ] } | ||
lightning = { version = "0.0.116-alpha1", path = "../lightning", features = ["_test_utils"] } | ||
lightning-invoice = { version = "0.24.0-alpha1", path = "../lightning-invoice" } | ||
lightning-persister = { version = "0.0.116-alpha1", path = "../lightning-persister" } | ||
lightning = { version = "0.0.116-rc1", path = "../lightning", features = ["_test_utils"] } | ||
lightning-invoice = { version = "0.24.0-rc1", path = "../lightning-invoice" } | ||
lightning-persister = { version = "0.0.116-rc1", path = "../lightning-persister" } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[package] | ||
name = "lightning-invoice" | ||
description = "Data structures to parse and serialize BOLT11 lightning invoices" | ||
version = "0.24.0-alpha1" | ||
version = "0.24.0-rc1" | ||
authors = ["Sebastian Geisler <[email protected]>"] | ||
documentation = "https://docs.rs/lightning-invoice/" | ||
license = "MIT OR Apache-2.0" | ||
|
@@ -21,7 +21,7 @@ std = ["bitcoin_hashes/std", "num-traits/std", "lightning/std", "bech32/std"] | |
|
||
[dependencies] | ||
bech32 = { version = "0.9.0", default-features = false } | ||
lightning = { version = "0.0.116-alpha1", path = "../lightning", default-features = false } | ||
lightning = { version = "0.0.116-rc1", path = "../lightning", default-features = false } | ||
secp256k1 = { version = "0.24.0", default-features = false, features = ["recovery", "alloc"] } | ||
num-traits = { version = "0.2.8", default-features = false } | ||
bitcoin_hashes = { version = "0.11", default-features = false } | ||
|
@@ -30,6 +30,6 @@ serde = { version = "1.0.118", optional = true } | |
bitcoin = { version = "0.29.0", default-features = false } | ||
|
||
[dev-dependencies] | ||
lightning = { version = "0.0.116-alpha1", path = "../lightning", default-features = false, features = ["_test_utils"] } | ||
lightning = { version = "0.0.116-rc1", path = "../lightning", default-features = false, features = ["_test_utils"] } | ||
hex = "0.4" | ||
serde_json = { version = "1"} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "lightning-rapid-gossip-sync" | ||
version = "0.0.116-alpha1" | ||
version = "0.0.116-rc1" | ||
authors = ["Arik Sosman <[email protected]>"] | ||
license = "MIT OR Apache-2.0" | ||
repository = "https://github.com/lightningdevkit/rust-lightning" | ||
|
@@ -15,11 +15,11 @@ no-std = ["lightning/no-std"] | |
std = ["lightning/std"] | ||
|
||
[dependencies] | ||
lightning = { version = "0.0.116-alpha1", path = "../lightning", default-features = false } | ||
lightning = { version = "0.0.116-rc1", path = "../lightning", default-features = false } | ||
bitcoin = { version = "0.29.0", default-features = false } | ||
|
||
[target.'cfg(ldk_bench)'.dependencies] | ||
criterion = { version = "0.4", optional = true, default-features = false } | ||
|
||
[dev-dependencies] | ||
lightning = { version = "0.0.116-alpha1", path = "../lightning", features = ["_test_utils"] } | ||
lightning = { version = "0.0.116-rc1", path = "../lightning", features = ["_test_utils"] } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes I think if we can add a special note “anchor output” resuming the state of the things and announcing how we’re thinking to move forward with anchor deployment.
For now the dedicated compilation flag has been built and you need to manually turn on
negotiate_anchors_zero_fee_htlc_tx
.Please if we can add a warning all usage of anchor outputs channels with 0.0.116 is on the responsibility on the user, be conservative and careful with your counterparty selection, you might loss money something like that (and cute kittens might die all over the Internet).
I think we should say with 0.0.117 we hope to have all the fee-bumping reserves computations working correctly, at the very least for a
ldk-node
style deployment and this be default for 0.0.118 (soft commitment towards our users, all things equal).What else can be in a special anchor output release note ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you have any issue with the way its described in the first bullet point?
This is not true, the cfg flag has been removed as a part of "releasing anchors".
Do you have a specific suggestion that fits into the release notes, otherwise probably best to get it in the config docs (I think the docs there are pretty good, though, no?).
That's news me - implementing reserves in a way that makes sense is super tricky, and we haven't figured out exactly how to do it after some discussion in #2320. Marking that for the 117 milestone is a pretty big task given we are still in the design phase, and 117 already has a ton of things scheduled/tagged. Thus, I'm not sure we want to commit to it as a part of the next release.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I would favor more a “big warning notice” about anchor outputs to say to our users this is the main thing we have worked for this release, and this is the one thing we would love to have API feedback on it.
Still while being conservative on funds risks coming with a beta feature. I had in mind what Dave did for mempoolfullrbf with 24.0.1: https://github.com/bitcoin/bitcoin/blob/master/doc/release-notes/release-notes-24.0.1.md#notice-of-new-option-for-transaction-replacement-policies where the feature is explicitly said as conservative and there is not yet consensus between devs on the risks trade-offs.
Ah that might be true, what is “releasing anchors” in this context the v0.0.116 rc0 ? Note it doesn’t show up in the GH https://github.com/lightningdevkit/rust-lightning/releases
“Users are recommended to be conservative with the usage of
option_anchors_zero_fee_htlc_tx
and select their anchor outputs channels counterparty with care. With anchor output come the requiremeent a Lightning node has to manage “hot” fee-bumping reserves, a fundamental change in the operations of a node. Best practice would be to add progressively funds on this channel type until one is more familiar with the effective management of fee-bumping reserves. Further documentation is available aroundnegotiate_anchors_zero_fee_htlc_tx
”.Feel free to tweak it according to your taste, though when a feature is new I think it’s better to say twice to our users a warning both in docs and in the release notes (and here I must say LND has the practice of doing it far better than us).
Yeah sorry the “we” might not reflect the position of all of us, though at the very least I believe it reflect all the discussion over the anchor output patchetset (as tracked only recently with ##2297) though I think I can say there is a “rough consensus” between you, Wilmer, Elias and me our fee-bumping reserves API can be improved.
For sure, “100% robust” fee-bumping reserves might be a too high step for 0.0.117 though I would be very happy if we can know clearly what set of PRs and substantial improvement of the fee-bumping reserves we aim with 0.0.117, and that way get us one step closer from marking anchor output “alpha” (somehow we shouldn’t delay too much anchor output once fee-bumping reserves API a bit mature as legacy channels have historical and known dust exposure).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yea, cause we don't have a release up yet :)
Alright, since this has ACKs I'm gonna go ahead and merge it, and will work on adding more context in the 0.0.116-release release notes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See #2427