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

release: create branch for v0.18.4-beta.rc1 #9183

Merged
merged 244 commits into from
Nov 21, 2024
Merged

Conversation

guggero
Copy link
Collaborator

@guggero guggero commented Oct 14, 2024

Preparation PR to kick off the v0.18.4-beta.rc1 release.

Closes #9173.

This PR includes rebased versions of the following PRs (in order):

NOTE: Replaces #9174 to have branch in upstream repo.

ProofOfKeags and others added 30 commits October 11, 2024 11:42
This commit introduces a new type Dual[A] to make it easier to
manage symmetric configurations or state for lightning channels.
In this commit, we add a new abstract message router. Over time, the
goal is that this message router replaces the logic we currently have in
the readHandler (the giant switch for each message).

With this new abstraction, can reduce the responsibilities of the
readHandler to *just* reading messages off the wire and handing them off
to the msg router. The readHandler no longer needs to know *where* the
messages should go, or how they should be dispatched.

This will be used in tandem with the new `protofsm` module in an
upcoming PR implementing the new rbf-coop close.
Over time with this, we should be able to significantly reduce the size
of the peer.Brontide struct as we only need all those deps as the peer
needs to recognize and handle each incoming wire message itself.
With this commit, we allow the `MsgRouter` to be available in the
`ImplementationCfg`. With this, programs outside of lnd itself are able
to now hook into the message processing flow to direct handle custom
messages, and even normal wire messages.
In this commit, we fix a bug that would cause a global message router to
be stopped anytime a peer disconnected. The global msg router only
allows `Start` to be called once, so afterwards, no messages would
properly be routed.
Go 1.23 was released this week, so with this PR we update the build
system to officially support the last two releases.
In this commit, we rename the files as assembler.go houses the primary
interfaces/abstractions of the package. In the rest of the codebase,
this file is near uniformly called interface.go, so we rename the file
to make the repo more digestible at a scan.
This commit introduces the `CustomRecords` type in the `lnwire` package,
designed to hold arbitrary byte slices. Each entry in this map can
associate with TLV type values that are greater than or equal to 65536.
This'll be useful for new interface definitions that use the contents of the package.
This lets us get rid of the mutex usage there. We also shift the algo slightly to increment by 1, then use that as the next value, which plays nicer with the atomics.
We want to export some of our CLI code to re-use in other projects. But
in Golang you cannot import code from a `main` package.
So we need to move the actual code into its own package and only have
the `func main()` in the `main` package.
In this commit, we consolidate the root bucket TLVs into a new struct.
This makes it easier to see all the new TLV fields at a glance. We also
convert TLV usage to use the new type param based APis.
This'll allow us to create a funding output that uses musig2, but uses a tapscript tweak rather than a normal BIP 86 tweak.
Roasbeef and others added 9 commits November 15, 2024 13:09
In this commit, we add a new method to obtain an option of a preimage to
the input.Input struct. This is useful for callers that have an Input,
and want to optionally obtain the preimage.
In this commit, we add the set of HtlcBlobs to the taprootBriefcase
struct. This new field will store all the resolution blobs for a given
HTLC. We also add some new property based tests along the way for
adequate test coverage.
When we read/write the aux data, we need to make sure we always set the
new fields for aux HTLCs.
With this commit, we update all the resolvers to pass in the new htlc
resolution blobs. Along the way, we remove the old blocking guard on
this resolution logic for HTLCs with blobs.
In this commit, we expand the `NotifyBroadcast` to include an outpoint
index. This is useful as it indicates the index of a given required tx
out input.
This is useful for additional context to know which commit the
AuxLeafStore is fetching the leaves for.
In this commit, we update the `Budget()` call to factor in the
`extraBudget` value. Otherwise, when we go to intialize the fee
function, we won't factor in the extra budget, and will determine that
we can't broadcast/bump.
@guggero
Copy link
Collaborator Author

guggero commented Nov 15, 2024

Added #9194. Ready for full review now!

@guggero guggero requested a review from Roasbeef November 15, 2024 12:11
@Roasbeef
Copy link
Member

Added #9272

Roasbeef and others added 2 commits November 19, 2024 12:44
In this commit, we complete a recently added feature by ensuring that
even if we go through the RBF loop to create a txn, that we still
populate the `outpointToIndex` map. Unit tests have been updated to
ensure this is always set as expected.
@guggero
Copy link
Collaborator Author

guggero commented Nov 19, 2024

Added #9272

Force pushed the fixed version of #9272.

@Roasbeef
Copy link
Member

We'll also want to pull this one in: #9253. \

@guggero
Copy link
Collaborator Author

guggero commented Nov 20, 2024

Added #9253.

@guggero
Copy link
Collaborator Author

guggero commented Nov 20, 2024

We'll also want #9288, but can add that after the RC lands if necessary.

@guggero
Copy link
Collaborator Author

guggero commented Nov 20, 2024

Added #9288.

Copy link
Member

@Roasbeef Roasbeef left a comment

Choose a reason for hiding this comment

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

LGTM 💫

@guggero guggero merged commit c1129bb into 0-18-4-branch Nov 21, 2024
19 of 30 checks passed
@guggero guggero deleted the 0-18-4-branch-rc1 branch November 21, 2024 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
golang/build system Related to the go language and compiler no-changelog releases
Projects
None yet
Development

Successfully merging this pull request may close these issues.