Bump `lnd` to version `v0.21.1-beta`, as well as `loop` to version
`v0.33.3-beta`. Additionally, we bump `looprpc` & `swapserverrpc` to
versions compatible with the new `loop` version.
Bumps lnd to v0.21.0-beta, lndclient to v0.21.0-1, and
taproot-assets to v0.8.0 across the root, litrpc, and perms
modules. taprpc uses the proper v1.1.0 tag.
lnd removed the deprecated SendPaymentSync, SendToRouteSync,
SendPayment (streaming), and SendToRoute (streaming) RPCs. The
account interceptor checkers and their tests for these RPCs are
removed since no client can call them anymore. The V2 checkers
already handle account tracking for payments.
The itest harness is updated for lnd v0.21's miner API changes
(SendOutputs -> SendOutput, Miner.Client.Generate -> GenerateBlocks,
waitForNTxsInMempool replaced by Miner.AssertNumTxsInMempool) and
TimeLockDelta bumped from 20 to 40 since lnd v0.21 raised
MinCLTVDelta from 18 to 24.
In this commit, we bump the embedded pool dependency to v0.7.1-beta,
which pulls in the partial re-subscribe fix from lightninglabs/pool#521.
Before, a single per-account failure in HandleServerShutdown would bail
the whole re-subscribe loop and silently leave the remaining accounts
un-subscribed (and filtered as offline at matching time) until the
trader process restarted.
The loop is now best-effort: per-account errors are logged with the
trader key, every account still gets a re-subscribe attempt, and the
aggregated error is returned to the caller via errors.Join so we don't
lose the signal.
Updates the embedded pool dependency to v0.7.0-beta, which brings in the
auctioneer EOF reconnect and jittered backoff fixes (#518) and the
pending-open-channel stream handling fix (#507), along with the usual
round of transitive dependency bumps.
Update the `sqldb/v2` dependency in go.mod to the published version, and
update the litd code to adhere to the new changes in the `sqldb/v2`
package.
Given that the official `sqldb/v2` package is now used, we can also
remove the `sqldb/v1` dependency from the go.mod file, as it is no
longer used in the codebase.
In upcoming commits, we will introduce support for sqldb/v2 in Lightning
Terminal, in order to support code migrations. This is needed, so that
we can ensure that the kvdb to sql migration is run exactly after an
exact sql migration version, and not after all sql migrations have been
executed. The reason why that's important is that sql table definition
may change with future sql migrations, while the kvdb to sql migration
will remain the same and always expect the same table definition.
Therefore, if the kvdb to sql migration is run after all sql migrations,
it may fail due to a table definition mismatch.
This commit adds the sqldb/v2 dependency to `litd`, so that we can
implement it's usage and execution of the kvdb to sql migration
correctly in the upcoming commits.
NOTE: currently the sqldb/v2 dependency hasn't been shipped in any
lnd release, so this dependency currently a forked version of
sqldb/v2.
Custom channels integration tests have been fully migrated to the
taproot-assets repository where they run natively via the tapd-integrated
binary without any lightning-terminal dependency. This removes the
duplicate test suite and all supporting infrastructure from LiT.
The LiT-specific itests are unaffected.
Bump `taproot-assets` to `v0.7.1` & `taprpc` to `v1.0.12`. This tapd
uses a new migrate dependency version, and therefore that is also bumped
in `litd`.
As the `tapd` `/universerpc.Universe/Info` call now requires a macaroon,
we need to add the `taproot-assets.allow-public-uni-proof-courier` to
the node config in order to whitelist the call.
Bump `lnd` to v0.20.0-beta.rc2, `loop` to `v0.31.5-beta`, `tapd` to
`v0.7.0-rc2` and `lndclient` to `v0.20.0-3`.
Also bump `looprpc`, `swapserverrpc` and `taprpc` to the versions used
in the respective releases.
This commit also includes an update to the protos and sample data to
reflect the changes in the bumped dependencies.