Skip to content

Commit ca434e4

Browse files
authored
Merge pull request #1567 from lightninglabs/noop-add-tlv
Use new NoopAddHtlc TLV when sending assets with default above-dust anchor amt
2 parents bafd905 + e25948e commit ca434e4

File tree

14 files changed

+220
-56
lines changed

14 files changed

+220
-56
lines changed

docs/release-notes/release-notes-0.7.0.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,14 @@
7373
[related PR](https://github.com/lightninglabs/taproot-assets/pull/1613) for
7474
more info.
7575

76+
- Asset HTLCs that are received or sent do not shift the satoshi balance of the
77+
channel. This is because now the default behavior is to use
78+
[Noop HTLCs](https://github.com/lightninglabs/taproot-assets/pull/1567) which
79+
lock some above-dust sats amount with the HTLC as long as it's in-flight, but
80+
nullifies it upon settlement. This is currently hidden behind the dev build
81+
tag and also needs to be toggled on via the `channel.noop-htlcs` configuration
82+
option.
83+
7684
## RPC Additions
7785

7886
- The [price oracle RPC calls now have an intent, optional peer ID and metadata

go.mod

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ require (
99
github.com/btcsuite/btcd/btcutil/psbt v1.1.10
1010
github.com/btcsuite/btcd/chaincfg/chainhash v1.1.0
1111
github.com/btcsuite/btclog v0.0.0-20241003133417-09c4e92e319c
12-
github.com/btcsuite/btclog/v2 v2.0.1-0.20250602222548-9967d19bb084
13-
github.com/btcsuite/btcwallet v0.16.14
12+
github.com/btcsuite/btclog/v2 v2.0.1-0.20250728225537-6090e87c6c5b
13+
github.com/btcsuite/btcwallet v0.16.15-0.20250805011126-a3632ae48ab3
1414
github.com/btcsuite/btcwallet/wallet/txsizes v1.2.5
1515
github.com/btcsuite/btcwallet/wtxmgr v1.5.6
1616
github.com/caddyserver/certmagic v0.17.2
@@ -30,7 +30,7 @@ require (
3030
github.com/lightninglabs/lndclient v0.19.0-9
3131
github.com/lightninglabs/neutrino/cache v1.1.2
3232
github.com/lightninglabs/taproot-assets/taprpc v1.0.9
33-
github.com/lightningnetwork/lnd v0.19.2-beta
33+
github.com/lightningnetwork/lnd v0.19.3-beta.rc1.0.20250812194315-c3226e8c2223
3434
github.com/lightningnetwork/lnd/cert v1.2.2
3535
github.com/lightningnetwork/lnd/clock v1.1.1
3636
github.com/lightningnetwork/lnd/fn/v2 v2.0.8
@@ -41,11 +41,11 @@ require (
4141
github.com/prometheus/client_golang v1.14.0
4242
github.com/stretchr/testify v1.10.0
4343
github.com/urfave/cli v1.22.14
44-
golang.org/x/crypto v0.36.0
44+
golang.org/x/crypto v0.37.0
4545
golang.org/x/exp v0.0.0-20240325151524-a685a6edb6d8
46-
golang.org/x/net v0.38.0
47-
golang.org/x/sync v0.12.0
48-
golang.org/x/term v0.30.0
46+
golang.org/x/net v0.39.0
47+
golang.org/x/sync v0.13.0
48+
golang.org/x/term v0.31.0
4949
golang.org/x/time v0.5.0
5050
google.golang.org/grpc v1.64.1
5151
google.golang.org/protobuf v1.34.2
@@ -81,8 +81,8 @@ require (
8181
github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect
8282
github.com/decred/dcrd/crypto/blake256 v1.0.1 // indirect
8383
github.com/decred/dcrd/lru v1.1.2 // indirect
84-
github.com/docker/cli v28.0.1+incompatible // indirect
85-
github.com/docker/docker v28.0.1+incompatible // indirect
84+
github.com/docker/cli v28.1.1+incompatible // indirect
85+
github.com/docker/docker v28.1.1+incompatible // indirect
8686
github.com/docker/go-connections v0.5.0 // indirect
8787
github.com/docker/go-units v0.5.0 // indirect
8888
github.com/dustin/go-humanize v1.0.1 // indirect
@@ -108,12 +108,12 @@ require (
108108
github.com/jackc/pgio v1.0.0 // indirect
109109
github.com/jackc/pgpassfile v1.0.0 // indirect
110110
github.com/jackc/pgproto3/v2 v2.3.3 // indirect
111-
github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a // indirect
112-
github.com/jackc/pgtype v1.14.0 // indirect
113-
github.com/jackc/pgx/v4 v4.18.2 // indirect
114-
github.com/jackc/pgx/v5 v5.5.4 // indirect
111+
github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // indirect
112+
github.com/jackc/pgtype v1.14.4 // indirect
113+
github.com/jackc/pgx/v4 v4.18.3 // indirect
114+
github.com/jackc/pgx/v5 v5.7.4 // indirect
115115
github.com/jackc/puddle v1.3.0 // indirect
116-
github.com/jackc/puddle/v2 v2.2.1 // indirect
116+
github.com/jackc/puddle/v2 v2.2.2 // indirect
117117
github.com/jackpal/gateway v1.0.5 // indirect
118118
github.com/jackpal/go-nat-pmp v0.0.0-20170405195558-28a68d0c24ad // indirect
119119
github.com/jonboulle/clockwork v0.2.2 // indirect
@@ -132,7 +132,7 @@ require (
132132
github.com/lightningnetwork/lnd/healthcheck v1.2.6 // indirect
133133
github.com/lightningnetwork/lnd/kvdb v1.4.16 // indirect
134134
github.com/lightningnetwork/lnd/queue v1.1.1 // indirect
135-
github.com/lightningnetwork/lnd/sqldb v1.0.10 // indirect
135+
github.com/lightningnetwork/lnd/sqldb v1.0.10-0.20250812192515-dd1d57d82de1 // indirect
136136
github.com/lightningnetwork/lnd/ticker v1.1.1 // indirect
137137
github.com/ltcsuite/ltcd v0.0.0-20190101042124-f37f8bf35796 // indirect
138138
github.com/mattn/go-isatty v0.0.20 // indirect
@@ -190,8 +190,8 @@ require (
190190
go.uber.org/multierr v1.6.0 // indirect
191191
go.uber.org/zap v1.23.0 // indirect
192192
golang.org/x/mod v0.21.0 // indirect
193-
golang.org/x/sys v0.31.0 // indirect
194-
golang.org/x/text v0.23.0 // indirect
193+
golang.org/x/sys v0.32.0 // indirect
194+
golang.org/x/text v0.24.0 // indirect
195195
golang.org/x/tools v0.24.0 // indirect
196196
google.golang.org/genproto v0.0.0-20240213162025-012b6fc9bca9 // indirect
197197
google.golang.org/genproto/googleapis/api v0.0.0-20240513163218-0867130af1f8 // indirect

0 commit comments

Comments
 (0)