Commit Graph
380 Commits
Author SHA1 Message Date
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
Elle Mouton 7bbf89625f multi: move ChannelUpdate validate methods to netann 2024-09-18 16:13:18 +02:00
Jonathan Harvey-Buschel b3c25166ed build+mod: add zstd compressor support 2024-09-12 12:31:03 -04:00
Jonathan Harvey-Buschel 2f71822fe0 mod: bump logrotate to v1.1.2 2024-09-12 12:31:02 -04:00
Oliver Gugger cb85e6f8ba mod: bump sqldb to latest version 2024-09-04 09:33:27 +02:00
Alex Akselrod f1b7953465 invoices/sqldb: query by ChanID when updating AMP invoice preimage 2024-09-03 19:40:45 +02:00
Oliver Gugger 9e926924f1 mod: bump tlv to v1.2.6 2024-08-22 12:21:52 +02:00
Olaoluwa Osuntokun cc9e2b783e Merge pull request #8961 from yyforyongyu/fix-leaseoutput
Improve the performace of `LeaseOutput`
2024-08-21 16:31:26 -07:00
Olaoluwa Osuntokun 19b5a1fb05 build: set min build version to Go 1.22.6
Go 1.23 was released this week, so with this PR we update the build
system to officially support the last two releases.
2024-08-20 19:13:23 +02:00
Olaoluwa Osuntokun f124195ae9 msgmux: add new abstract message router
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.
2024-08-14 19:23:02 -07:00
yyforyongyu 8f35612364 mod: update btcwallet version 2024-08-09 21:51:15 +08:00
Oliver Gugger 94b9b50a42 mod: update comment what to change on Go version bump 2024-08-07 09:16:37 +02:00
Oliver Gugger 2cc668838c mod: bump kvdb to v1.4.10
To support the new comma-separated list of etcd hosts in db.etcd.host,
we need to bump the `kvdb` submodule version.
This also fixes a leader election bug in the etcd code.
2024-08-05 09:33:42 +02:00
Oliver Gugger e0b8892290 mod: remove local replace for healthcheck 2024-08-05 09:32:52 +02:00
Oliver Gugger 05c786f775 mod: remove local replace for sqldb 2024-08-05 09:29:03 +02:00
Andras Banki-Horvath 7784d6abf6 build: pin healthcheck and kvdb modules temporarily
This is to ensure that the added functionality works correctly and
should be removed once these changes are merged and the packages are
tagged.
2024-08-01 19:04:10 +02:00
Elle Mouton 4f5dd20f7e go.mod: update lightning-onion dep 2024-07-26 09:53:48 +02:00
Oliver Gugger 0387a1edfb mod: bump fn to v1.2.0
This fixes the Coverage CI step by making sure the file system is in
sync with the files pulled in through a Go submodule.
2024-07-23 20:02:47 +02:00
Oliver Gugger 19a4b51a92 mod: bump btcwallet dependency 2024-07-19 08:33:56 +02:00
Andras Banki-Horvath d0c1cec8c1 sqldb: switch away from pq to pgx for Postgres
Completely switch to the better maintained pgx driver.
2024-07-09 08:39:58 +02:00
Yong 3526f82b5d Merge pull request #8887 from yyforyongyu/fix-err-match
multi: fix `lnwallet.ErrDoubleSpend`
2024-07-08 14:09:07 +08:00
yyforyongyu 1d40c55550 gomod: update btcwallet to include RPC errors 2024-07-06 13:55:12 +08:00
Andras Banki-Horvath 892561f8f0 sqldb: bump modernc.org/sqlite to 1.29.10 which fixes init data race
Tracking issue: https://gitlab.com/cznic/sqlite/-/issues/180
2024-07-04 17:32:12 +02:00