Commit Graph

402 Commits

Author SHA1 Message Date
ziggie
40b40f7ae4 multi: bump Golang version to v1.23.12 2025-08-12 21:42:29 +02:00
Oliver Gugger
b5257546f7 mod: update btcwallet to version with fix 2025-08-06 14:44:48 +02:00
Elle Mouton
1345b47961 go.mod: bump btclog v2 version 2025-08-06 11:37:06 +02:00
Elle Mouton
9b877b94c3 multi: use the "errors" package everywhere
Replace all usages of the "github.com/go-errors/errors" and
"github.com/pkg/errors" packages with the standard lib's "errors"
package. This ensures that error wrapping and `errors.Is` checks will
work as expected.
2025-07-01 20:08:12 +02:00
ziggie
df2def1473 mod: update btclog library 2025-06-04 12:20:02 +02:00
yyforyongyu
15d14ee1c4 gomod: update btcwallet 2025-06-04 12:17:54 +02:00
Elle Mouton
ad38ed73c7 go.mod+lnwire: bump TLV dep and fix MilliSatoshi Record
In this commit, we update the `tlv` package version which includes type
constraints on the `tlv.SizeBigSize` method parameter. This exposes a
bug in the MilliSatoshi Record method which is fixed here.

This was not caught in tests before since currently only
our TLV encoding code makes use of this SizeFunc (so we would write 0
size to disk) but then when we read the bytes from disk and decode, we
dont use the SizeFunc and our MilliSatoshi decode method makes direct
use of the `tlv.DBigSize` function which _currently does not make use of
the `l` length variable passed to it_. So it currently does correctly
read the data.
2025-05-07 19:36:25 +02:00
Olaoluwa Osuntokun
49faa6f543 build: bump kvdb version 2025-04-18 16:18:23 -07:00
Olaoluwa Osuntokun
825ee3d40b Merge pull request #9723 from ziggie1984/add-global-lock-walletdb
Add the global lock for the wallet db back for postgres
2025-04-18 14:17:44 -07:00
yyforyongyu
07583f94ff gomod: update btcwallet 2025-04-17 09:36:28 +08:00
ziggie
947702f6de multi: add global log for wallet db postgres back 2025-04-16 16:31:24 +02:00
Oliver Gugger
62b0c4cc20 mod: bump kvdb to v1.4.15 2025-04-14 15:59:01 +02:00
ziggie
490347b056 multi: update walletdb package 2025-04-09 18:47:53 +02:00
Olaoluwa Osuntokun
676414b9d7 build: update to latest versions of sqldb+kvdb 2025-04-04 18:43:09 -07:00
Olaoluwa Osuntokun
9eef2a0d6c build: temp replace for sqldb+kvdb 2025-04-04 15:49:29 -07:00
Oliver Gugger
973db1b305 mod: bump kvdb to latest tagged version v1.4.13
After merging #9665, we can now bump to the tagged version.
2025-04-01 18:42:28 +02:00
Andras Banki-Horvath
e8825f2098 build: add temporary kvdb mod replace 2025-04-01 12:40:32 +02:00
Andras Banki-Horvath
be71d75a6c mod: use sqldb v1.0.8 2025-03-28 15:02:17 +01:00
Andras Banki-Horvath
6291fbcf70 mod: add temp sqldb replace 2025-03-28 11:00:58 +01:00
Oliver Gugger
e5b9d9684a mod: bump btcwallet and neutrino to latest version 2025-03-24 11:53:23 -05:00
yyforyongyu
6e1c098923 gomod: update btcwallet 2025-03-21 08:06:18 +08:00
yyforyongyu
49382a8f67 gomod: update tor to v1.1.6 2025-03-18 20:24:34 +08:00
JoeGruff
c8d032afa9 deps: Update btcwallet to v0.16.10. 2025-03-11 11:11:29 +09:00
Oliver Gugger
342a75891c mod: bump tor submodule to v1.1.5 to fix flake
After merging #9581, the flake in the coverage unit test should be gone.
All we have to do is update the submodule version to the fixed one
(since during unit tests the module is used not the physical directory
on disk).
2025-03-07 19:39:00 +01:00
Olaoluwa Osuntokun
7bc88e8360 build: update go.mod to use Go 1.23
This enables us to use the new language features that are a part of this
release.
2025-02-13 16:57:06 -08:00
Andras Banki-Horvath
c10b765fff build: use the tagged 1.0.7 version of sqldb 2025-02-01 10:54:11 +01:00
Oliver Gugger
6cabc74c20 Merge pull request #8831 from bhandras/sql-invoice-migration
invoices: migrate KV invoices to native SQL for users of KV SQL backends
2025-01-23 05:48:25 -06:00
Andras Banki-Horvath
b92f57e0ae invoices: add migration code that runs a full invoice DB SQL migration 2025-01-23 09:11:01 +01:00
Andras Banki-Horvath
680394518f mod: temporarily replace sqldb with local version 2025-01-23 09:10:58 +01:00
Elle Mouton
950194a2da htlcswitch+go.mod: use updated fn.ContextGuard
This commit updates the fn dep to the version containing the updates to
the ContextGuard implementation. Only the htlcswitch/link uses the guard
at the moment so this is updated to make use of the new implementation.
2025-01-11 06:17:43 +02:00
Elle Mouton
b887c1cc5d protofsm: use updated GoroutineManager API
Update to use the latest version of the GoroutineManager which takes a
context via the `Go` method instead of the constructor.
2025-01-10 18:23:28 +02:00
Elle Mouton
4e0498faa4 go.mod: update btclog dep
This bump includes a fix which prevents attribute value quoting if the
value string contains a newline character. This is so that if we call
spew.DumpS(), the output will stay nicely formatted.

The update also includes a couple more Hex helpers which we can make use
of now.
2025-01-10 18:23:28 +02:00
yyforyongyu
785cef2a96 gomod: remove replace of sqldb and kvdb 2024-12-19 19:02:46 +08:00
Alex Akselrod
780c271b80 sqldb: improve serialization error handling 2024-12-12 10:40:37 -08:00
Alex Akselrod
3cebd370de go.mod: use local kvdb to reapply removal of global postgres lock 2024-12-12 10:40:33 -08:00
Alex Akselrod
bf16b54f87 go.mod: update btcwallet to latest to eliminate waddrmgr deadlock 2024-12-12 10:40:32 -08:00
yyforyongyu
5867f0040f gomod: update btcd for shutdown fix 2024-12-10 19:56:03 +08:00
Keagan McClelland
ed2989ae33 multi: update to fn v2 2024-12-04 13:19:00 -07:00
Oliver Gugger
7692ced5f5 multi: update comment on changing Go version
Since we now have a scripted check that makes sure the Golang version is
synced throughout all files, it is important that the main version in
the Makefile is changed, then all other versions can be detected by that
script.
2024-12-02 09:48:26 +01:00
Elle Mouton
b98fc168ec go.mod+build: update btclog dep 2024-11-27 10:44:01 +02:00
Keagan McClelland
f5b7866287 htlcswitch: define state machine for quiescence
htlcswitch: add sendOwedStfu method to quiescer
2024-11-26 13:51:46 -07:00
Olaoluwa Osuntokun
9b8adf5f5c contractcourt: add HtlcBlobs to taprootBriefcase
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.
2024-11-14 16:09:58 -08:00
yyforyongyu
523ecc0653 multi: wait for rpcclients shutdown to complete
We need to call `WaitForShutdown` after stopping the rpc clients of the
chain backends.
2024-11-14 01:22:31 +08:00
Elle Mouton
b4d098fb29 go.mod: update LND sub-module deps 2024-10-29 15:01:00 +02:00
Elle Mouton
9a9761008c build: add handler set implementations
This commit then also adds an implementation of the btclog.Handler
interface called `handlerSets` which basically lets us have a Handler
backed by many Handlers (we need one for the stdout and one for our log
file).
2024-10-22 15:29:34 +02:00
Oliver Gugger
6edd942c70 mod: bump fn to v1.2.3 2024-10-17 17:34:11 +02:00
Oliver Gugger
fb5e7f4b23 Merge pull request #9059 from guggero/bitcoind-28
CI: run integration tests against bitcoind v28
2024-10-16 15:55:44 +02:00
Keagan McClelland
51c28496a4 lnwallet: simplify fee calculation in evaluateHTLCView
This commit simplifies how we compute the commitment fee rate based
off of the live updates. Prior to this commit we processed all of
the FeeUpdate paymentDescriptors of both ChannelParty's. Now we only
process the last FeeUpdate of the OpeningParty
2024-10-14 09:33:38 -06:00
Oliver Gugger
a63542b618 mod: fix unit tests by updating error matching in btcwallet 2024-10-14 17:26:59 +02:00
ziggie
4402137fb4 multi: bump btcd version.
The new SignCompact return values had to be adopted across the
code base.
2024-10-03 21:56:21 +02:00