Commit graph

430 commits

Author SHA1 Message Date
Boris Nagaev
4fc8d8dda3
build: update CI+release version to Go 1.25.3
We also update the go.mod files to pin to Go 1.24.9.
2025-10-21 14:32:44 -03:00
Olaoluwa Osuntokun
7fcbbd44ca
build: update CI+release version to Go 1.25.2
We also update the go.mod files to pin to Go 1.24.8.
2025-10-11 13:39:51 +01:00
Elle Mouton
7867aa8d2a
go.mod: remove sqldb and fn replacements 2025-10-09 06:29:31 +02:00
Olaoluwa Osuntokun
015875e455
fn: add Collect+CollertErr function for iterators
In this commit, we introduce a new utility function `Collect` to the fn
package. This function drains all elements from an iterator and returns
them as a slice. This is particularly useful when transitioning from
iterator-based APIs to code that expects slices, allowing for gradual
migration to the new iterator patterns.

The fn module's go.mod is also updated to require Go 1.23, which is
necessary for the built-in iter.Seq type support.

The replace directive will be removed once the fn package changes are
merged and a new version is tagged.
2025-09-26 16:55:46 -07:00
Yong
1ee3b95f6d
Merge pull request #10221 from ziggie1984/update-bbolt
Update bbolt
2025-09-17 19:45:39 +08:00
ziggie
1dda376404
mod: update etcd/bbolt lib to newest version
Version v1.4.3 has some important bugfixes. We bump both version
in the same go so we do not need to tag the kvdb package and the
latest version of will be used.
2025-09-16 23:08:27 +02:00
ziggie
a26a7a3082
mod: update btcwallet version to v16.17 2025-09-16 14:13:27 +02:00
Yong
1666764690
Merge pull request #10136 from yyforyongyu/use-btcwallet-interface
lnwallet: use btcwallet's new interface
2025-09-02 20:46:56 +08:00
Boris Nagaev
630108b13d
multi: golang.org/x/net/context -> context 2025-08-30 14:13:44 -03:00
Boris Nagaev
6ffe257004
multi: bump Go to 1.24.6 2025-08-30 14:13:44 -03:00
yyforyongyu
2403313443
gomod: update btcwallet 2025-08-26 20:36:21 +08:00
ziggie
87844cd5b4
multi: bump Golang version to v1.23.12 2025-08-07 16:53:45 +02:00
Oliver Gugger
f5280491ab
mod: update btcwallet to version with fix 2025-08-05 16:41:01 +02:00
Elle Mouton
f129b217cf
go.mod: bump btclog v2 version 2025-07-29 07:40:43 +02:00
Boris Nagaev
d02520d2b9
go.mod: bump mapstructure/v2 to v2.3.0 2025-07-25 12:21:18 -03:00
Boris Nagaev
3ff11e0765
go.mod: bump runc to v1.1.14 2025-07-25 12:21:13 -03:00
Boris Nagaev
9e58a644aa
go.mod: bump google.golang.org/protobuf to 1.33.0
Updated github.com/golang/protobuf to v1.5.4 to be compatible with
google.golang.org/protobuf.

Updated the pinned version in pinned_dep CI job.
2025-07-25 12:20:24 -03:00
Boris Nagaev
aff7570845
go.mod: move indirect deps to the bottom group 2025-07-16 01:21:33 -03:00
Boris Nagaev
643fbb8af6
multi: update Go to 1.23.10 2025-07-16 01:19:58 -03:00
Boris Nagaev
ea7d9fcc14
multi: update pgx/v5 to v5.7.4, pgx/v4 to v4.18.3 2025-07-16 01:19:58 -03:00
Boris Nagaev
dc6ce69bad
multi: update x/net to v0.39.0 2025-07-16 01:19:58 -03:00
Boris Nagaev
eb5ec87498
multi: update docker Go package to v28.1.1 2025-07-16 01:19:55 -03:00
Boris Nagaev
2bf67711dd
multi: update golang-jwt to 4.5.2 2025-07-16 01:18:22 -03:00
Boris Nagaev
4ec9708acc
multi: update x/crypto to v0.37.0 2025-07-16 01:18:22 -03:00
Elle Mouton
084563c5c0
sqldb+invoices: create a re-usable comparion helper function
So that we can use it for comparisons in other migrations too.
2025-07-07 18:41:46 +02:00
Elle Mouton
8cf567b948
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-06-30 09:46:55 +02:00
Oliver Gugger
c1740c14ba
Merge pull request #9887 from ellemouton/graphSQL9-chan-policies-schema
graph/db+sqldb: channel policy SQL schemas, queries and upsert CRUD
2025-06-17 16:30:23 +02:00
ziggie
fe3db6a263
multi: update sphinx lib to latest version 2025-06-13 08:47:31 +02:00
Elle Mouton
425b057c0f
go.mod: add temporary replace to local sqldb pkg 2025-06-12 07:16:03 +02:00
Elle Mouton
9e9524766c
go.mod: remove tlv and sqldb replace directives
Bump tlv to v1.3.2 and sqldb to v1.0.10
2025-06-11 06:18:24 +02:00
Elle Mouton
7add5bfd4a
tlv+go.mod: generate inbound fee TLV type
Also add a temporariy replace to the tlv package which can be removed as
soon as the PR that includes this commit is merged and a new tag for the
tlv package has been created.
2025-06-09 08:32:50 +02:00
ziggie
73251952d1
mod: update btclog library 2025-06-03 13:06:28 +02:00
yyforyongyu
7f375ccd2e
gomod: update btcwallet 2025-05-26 19:41:24 +08:00
Elle Mouton
383453635b
sqldb+go.mod: update sqldb test methods
Update the test methods to take a `testing.TB` param instead of a
`*testing.T` so that the test functions can be used for all the graph's
tests including benchmark tests.

We also add a temporary replace so that we can make use of these changes
and also since we will soon be adding graph related schemas and queries
in this submodule that we'll want to have access to.
2025-05-22 14:14:42 +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