437 Commits
Author SHA1 Message Date
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
yyforyongyu 3b4106ca00 mod: update btcd and btcwallet versions 2024-06-26 00:41:17 +08:00
Keagan McClelland 30e10322b2 contractcourt: consider delivery addresses when evaluating toSelfAmount
This commit fixes #8535 by changing how we assess toSelfAmount inside
the chainWatcher.

In certain cases users may wish to close out channel funds to external
delivery addresses set either during open or close.

Prior to this change we only consider addresses that our wallet is
aware of.

This change now identifies outputs as to_self outputs if the delivery
script matches OR if our wallet is aware of the address. In certain
edge cases it can be possible for there to be more than one output
that matches these criteria and in that case we will return the sum
of those values.
2024-06-10 11:38:17 -07:00
Olaoluwa Osuntokun f536c9b608 build: update to kvdb v1.4.8 2024-04-26 16:17:19 -07:00
Olaoluwa Osuntokun 7302051f44 build: update to sqldb v1.0.2
In this commit, we update the project and relevant sub-modules to sqldb
v1.0.2. The next step is to tag a new version of kvdb, then update the
main module to use that.
2024-04-26 15:31:14 -07:00
ziggie fe829c2508 mod: bump neutrino version. 2024-04-25 12:00:26 +01:00
ziggie 2a88cf8eef mod: update btcwallet version. 2024-04-24 13:58:19 +01:00
Olaoluwa Osuntokun d4c1937572 Merge pull request #8573 from guggero/bitcoind-27
GitHub: use bitcoind v27.0 for CI
2024-04-18 14:36:58 -07:00
Olaoluwa Osuntokun 63ef2f8433 Merge pull request #8643 from Roasbeef/kvdb-top-level-module-bump
build: bump top level module to kvdb v1.4.6
2024-04-18 14:22:08 -07:00
Oliver Gugger f41d6087d1 mod: bump btcd to fix sendrawtransaction max fee issue 2024-04-18 17:44:04 +02:00
Oliver Gugger 2ccf58e2af Merge pull request #8630 from guggero/addr-master-fingerprint
mod: bump btcwallet to latest version
2024-04-16 07:00:13 +00:00
Olaoluwa Osuntokun 2162c943de build: bump top level module to kvdb v1.4.6 2024-04-12 15:32:22 -07:00
Olaoluwa Osuntokun 06e4ffb3f3 kvdb: bump to sqldb/v1.0.1
Post merge module clean up after
https://github.com/lightningnetwork/lnd/pull/8611.
2024-04-12 15:16:26 -07:00
Oliver Gugger 333fc6eb1d mod: bump btcwallet to latest version
Fixes #8626.
This commit updates btcwallet to the latest version that correctly
includes the MasterKeyFingerprint for all generated addresses, including
change addresses derived from imported watch-only accounts.
2024-04-12 08:34:54 +02:00
Andras Banki-Horvath 43f4b14c28 kvdb+sqldb: use the same tx retry helper 2024-04-11 15:04:02 +02:00
Andras Banki-Horvath 8f729241d9 sqldb: turn sqldb into a go package 2024-04-09 20:46:11 +02:00
yyforyongyu 252b909867 gomod: bump fn version to v1.0.5 2024-03-28 23:52:31 +08:00
yyforyongyu 837c7f761c lnwallet+lnd: make use of the new errors from btcd/rpcclient
This commit updates `btcd` and `btcwallet` packages and make use of the
new RPC error mappings.
2024-03-20 04:40:38 +08:00
Elle Mouton 91ed8cf862 go.mod+docs: bump sqlite version to fix data race 2024-03-19 15:40:10 +02:00
Oliver Gugger 2c19c91741 mod: update outdated module dependencies
To avoid getting spammed by Dependabot, we preemptively bump the
versions of dependencies with known CVEs (even if they might not
directly affect us).
2024-03-14 09:15:16 +01:00
yyforyongyu a21e6610f2 gomod: update btcd and btcwallet versions 2024-03-07 06:45:30 +08:00
Olaoluwa Osuntokun 6bd556d38c build: bump tlv version to v1.2.3 2024-02-29 11:32:20 -06:00
Olaoluwa Osuntokun 72764b1473 Merge pull request #8100 from bhandras/updateinvoice-refactor
channeldb: refactor `UpdateInvoice` to make it simpler to create SQL specific implementation
2024-02-27 16:50:02 -08:00
Olaoluwa Osuntokun d69e1111ba build: update to fn/v1.0.4 2024-02-26 16:12:47 -08:00
Oliver Gugger 9bdddbcc56 mod+chanfunding: use coin selection strategy for channel funding
The wallet assembler is now aware of the node config level coin
selection strategy, so we can use it when creating new channels.
2024-02-23 08:58:09 +01:00
yyforyongyu d38f949072 gomod: bump fn version to v1.0.2 2024-02-21 08:35:08 +08:00
Andras Banki-Horvath f5abc94bdf mod: bump kvdb to v1.4.5 2024-02-19 20:47:25 +01:00
ziggie d2c82c49ca mod: update btcwallet version.
Update the btcwallet version to fix a case where fetching of
already pruned blocks from our peers was not garbage collected
when the request failed.
2024-01-29 10:23:03 +00:00
yyforyongyu e4482421c9 gomod+chainreg: update btcwallet to use TestMempoolAccept 2024-01-25 07:54:35 +08:00
Olaoluwa Osuntokun 1caca81ba1 Merge pull request #8167 from ProofOfKeags/bugfix/htlc-flush-shutdown
Bugfix/htlc flush shutdown
2024-01-23 18:49:47 -08:00
yyforyongyu 77e5deae9d gomod: update btcd version to fix mem leak 2024-01-23 17:08:54 +08:00
Keagan McClelland 9b2d1018f2 htlcswitch+peer: add flush api and lifecycle hooks to ChannelUpdateHandler
We also add dummy implementations to channelLink and various mocks.
2024-01-22 12:19:58 -08:00
Elle Mouton 9208083db3 go.mod: update TLV package tag
To v1.2.1
2024-01-15 14:29:57 +02:00
Oliver Gugger d4f49cb04b cmd/lncli: add {encrypt,decrypt}debugpackage commands 2024-01-09 12:40:39 +01:00
Olaoluwa Osuntokun d50dd8e2d7 build: bump to fn/v1.0.0 2023-12-08 14:08:17 -08:00
Olaoluwa Osuntokun b0114efad3 fn: create new sub-module
In this commit, we make a new sub-module from the `fn` package. This
lets other projects use it w/o pulling in all of lnd, and also other
sub-packages within lnd.

We also add a temp replace directive for new module.  We'll remove this
once we tag the final version.
2023-12-06 17:00:10 -08:00
yyforyongyu 827d728cd5 gomod: update btcwallet version 2023-11-30 17:12:32 +08:00
dependabot[bot] 2a8cf329b9 build(deps): bump github.com/docker/docker
Bumps [github.com/docker/docker](https://github.com/docker/docker) from 20.10.24+incompatible to 24.0.7+incompatible.
- [Release notes](https://github.com/docker/docker/releases)
- [Commits](https://github.com/docker/docker/compare/v20.10.24...v24.0.7)

---
updated-dependencies:
- dependency-name: github.com/docker/docker
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-30 15:39:29 +00:00
dependabot[bot] c5e42a752a build(deps): bump google.golang.org/grpc from 1.53.0 to 1.56.3
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.53.0 to 1.56.3.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.53.0...v1.56.3)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-26 07:20:20 +00:00
yyforyongyu 59a20fe1d1 gomod: update btcwallet re rescan race fix 2023-10-18 01:31:27 +08:00
Yong 6a80530fff gomod: update btcwallet version (#8019) 2023-10-16 09:14:56 +02:00
dependabot[bot] 3f67420722 build(deps): bump golang.org/x/net from 0.10.0 to 0.17.0 (#8084)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.10.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.10.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-12 10:45:45 +02:00
Olaoluwa Osuntokun 1628240960 build: bump version to v0.17.0 rc3 2023-09-12 15:13:40 -07:00
Olaoluwa Osuntokun 0c815af7ff build: update lnd sub modules, and btcd + btcutil 2023-09-11 20:35:06 -07:00