Skip to content

Commit d49c8dd

Browse files
committed
walletkit: add SubmitPackage
1 parent b14415f commit d49c8dd

File tree

5 files changed

+209
-136
lines changed

5 files changed

+209
-136
lines changed

go.mod

Lines changed: 52 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
module github.com/lightninglabs/lndclient
22

33
require (
4-
github.com/btcsuite/btcd v0.24.3-0.20250318170759-4f4ea81776d6
5-
github.com/btcsuite/btcd/btcec/v2 v2.3.4
6-
github.com/btcsuite/btcd/btcutil v1.1.5
7-
github.com/btcsuite/btcd/btcutil/psbt v1.1.8
4+
github.com/btcsuite/btcd v0.25.0-beta.rc1.0.20250925015248-b7d070601def
5+
github.com/btcsuite/btcd/btcec/v2 v2.3.5
6+
github.com/btcsuite/btcd/btcutil v1.1.6
7+
github.com/btcsuite/btcd/btcutil/psbt v1.1.10
88
github.com/btcsuite/btcd/chaincfg/chainhash v1.1.0
9-
github.com/btcsuite/btclog/v2 v2.0.1-0.20250110154127-3ae4bf1cb318
10-
github.com/btcsuite/btcwallet v0.16.13
9+
github.com/btcsuite/btclog/v2 v2.0.1-0.20250728225537-6090e87c6c5b
10+
github.com/btcsuite/btcwallet v0.16.17
1111
github.com/btcsuite/btcwallet/wtxmgr v1.5.6
1212
github.com/lightningnetwork/lnd v0.19.0-beta
1313
github.com/lightningnetwork/lnd/kvdb v1.4.16
1414
github.com/stretchr/testify v1.10.0
15-
google.golang.org/grpc v1.59.0
15+
google.golang.org/grpc v1.73.0
1616
gopkg.in/macaroon-bakery.v2 v2.0.1
1717
gopkg.in/macaroon.v2 v2.1.0
1818
)
@@ -25,7 +25,8 @@ require (
2525
github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da // indirect
2626
github.com/aead/siphash v1.0.1 // indirect
2727
github.com/beorn7/perks v1.0.1 // indirect
28-
github.com/btcsuite/btclog v0.0.0-20241003133417-09c4e92e319c // indirect
28+
github.com/btcsuite/btcd/v2transport v1.0.1 // indirect
29+
github.com/btcsuite/btclog v1.0.0 // indirect
2930
github.com/btcsuite/btcwallet/wallet/txauthor v1.3.5 // indirect
3031
github.com/btcsuite/btcwallet/wallet/txrules v1.2.2 // indirect
3132
github.com/btcsuite/btcwallet/wallet/txsizes v1.2.5 // indirect
@@ -34,30 +35,28 @@ require (
3435
github.com/btcsuite/websocket v0.0.0-20150119174127-31079b680792 // indirect
3536
github.com/btcsuite/winsvc v1.0.0 // indirect
3637
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
37-
github.com/cespare/xxhash/v2 v2.2.0 // indirect
38+
github.com/cespare/xxhash/v2 v2.3.0 // indirect
3839
github.com/containerd/continuity v0.3.0 // indirect
3940
github.com/coreos/go-semver v0.3.0 // indirect
4041
github.com/coreos/go-systemd/v22 v22.5.0 // indirect
4142
github.com/davecgh/go-spew v1.1.1 // indirect
42-
github.com/decred/dcrd/crypto/blake256 v1.0.1 // indirect
43-
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.3.0 // indirect
43+
github.com/decred/dcrd/crypto/blake256 v1.1.0 // indirect
44+
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.4.0 // indirect
4445
github.com/decred/dcrd/lru v1.1.2 // indirect
45-
github.com/distribution/reference v0.6.0 // indirect
46-
github.com/docker/cli v28.0.1+incompatible // indirect
47-
github.com/docker/docker v28.0.1+incompatible // indirect
46+
github.com/docker/cli v28.1.1+incompatible // indirect
47+
github.com/docker/docker v28.1.1+incompatible // indirect
4848
github.com/docker/go-connections v0.4.0 // indirect
4949
github.com/docker/go-units v0.5.0 // indirect
5050
github.com/dustin/go-humanize v1.0.1 // indirect
5151
github.com/fergusstrange/embedded-postgres v1.25.0 // indirect
52-
github.com/go-errors/errors v1.0.1 // indirect
5352
github.com/go-logr/logr v1.4.2 // indirect
5453
github.com/go-logr/stdr v1.2.2 // indirect
5554
github.com/go-viper/mapstructure/v2 v2.3.0 // indirect
5655
github.com/gofrs/uuid v4.2.0+incompatible // indirect
5756
github.com/gogo/protobuf v1.3.2 // indirect
5857
github.com/golang-jwt/jwt/v4 v4.5.2 // indirect
5958
github.com/golang-migrate/migrate/v4 v4.17.0 // indirect
60-
github.com/golang/protobuf v1.5.3 // indirect
59+
github.com/golang/protobuf v1.5.4 // indirect
6160
github.com/golang/snappy v0.0.4 // indirect
6261
github.com/google/btree v1.0.1 // indirect
6362
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
@@ -76,12 +75,12 @@ require (
7675
github.com/jackc/pgio v1.0.0 // indirect
7776
github.com/jackc/pgpassfile v1.0.0 // indirect
7877
github.com/jackc/pgproto3/v2 v2.3.3 // indirect
79-
github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a // indirect
80-
github.com/jackc/pgtype v1.14.0 // indirect
81-
github.com/jackc/pgx/v4 v4.18.2 // indirect
82-
github.com/jackc/pgx/v5 v5.5.4 // indirect
83-
github.com/jackc/puddle/v2 v2.2.1 // indirect
84-
github.com/jessevdk/go-flags v1.4.0 // indirect
78+
github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // indirect
79+
github.com/jackc/pgtype v1.14.4 // indirect
80+
github.com/jackc/pgx/v4 v4.18.3 // indirect
81+
github.com/jackc/pgx/v5 v5.7.4 // indirect
82+
github.com/jackc/puddle/v2 v2.2.2 // indirect
83+
github.com/jessevdk/go-flags v1.6.1 // indirect
8584
github.com/jonboulle/clockwork v0.2.2 // indirect
8685
github.com/jrick/logrotate v1.1.2 // indirect
8786
github.com/json-iterator/go v1.1.11 // indirect
@@ -99,14 +98,14 @@ require (
9998
github.com/lightninglabs/gozmq v0.0.0-20191113021534-d20a764486bf // indirect
10099
github.com/lightninglabs/neutrino v0.16.1 // indirect
101100
github.com/lightninglabs/neutrino/cache v1.1.2 // indirect
102-
github.com/lightningnetwork/lightning-onion v1.2.1-0.20240712235311-98bd56499dfb // indirect
101+
github.com/lightningnetwork/lightning-onion v1.2.1-0.20240815225420-8b40adf04ab9 // indirect
103102
github.com/lightningnetwork/lnd/clock v1.1.1 // indirect
104-
github.com/lightningnetwork/lnd/fn/v2 v2.0.8 // indirect
103+
github.com/lightningnetwork/lnd/fn/v2 v2.0.9 // indirect
105104
github.com/lightningnetwork/lnd/healthcheck v1.2.6 // indirect
106105
github.com/lightningnetwork/lnd/queue v1.1.1 // indirect
107-
github.com/lightningnetwork/lnd/sqldb v1.0.9 // indirect
106+
github.com/lightningnetwork/lnd/sqldb v1.0.11 // indirect
108107
github.com/lightningnetwork/lnd/ticker v1.1.1 // indirect
109-
github.com/lightningnetwork/lnd/tlv v1.3.1 // indirect
108+
github.com/lightningnetwork/lnd/tlv v1.3.2 // indirect
110109
github.com/lightningnetwork/lnd/tor v1.1.6 // indirect
111110
github.com/ltcsuite/ltcd v0.0.0-20190101042124-f37f8bf35796 // indirect
112111
github.com/mattn/go-isatty v0.0.20 // indirect
@@ -132,7 +131,7 @@ require (
132131
github.com/rogpeppe/fastuuid v1.2.0 // indirect
133132
github.com/sirupsen/logrus v1.9.3 // indirect
134133
github.com/soheilhy/cmux v0.1.5 // indirect
135-
github.com/spf13/pflag v1.0.5 // indirect
134+
github.com/spf13/pflag v1.0.6 // indirect
136135
github.com/stretchr/objx v0.5.2 // indirect
137136
github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 // indirect
138137
github.com/tmc/grpc-websocket-proxy v0.0.0-20201229170055-e5319fda7802 // indirect
@@ -141,7 +140,7 @@ require (
141140
github.com/xeipuuv/gojsonschema v1.2.0 // indirect
142141
github.com/xi2/xz v0.0.0-20171230120015-48954b6210f8 // indirect
143142
github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2 // indirect
144-
go.etcd.io/bbolt v1.3.11 // indirect
143+
go.etcd.io/bbolt v1.4.3 // indirect
145144
go.etcd.io/etcd/api/v3 v3.5.12 // indirect
146145
go.etcd.io/etcd/client/pkg/v3 v3.5.12 // indirect
147146
go.etcd.io/etcd/client/v2 v2.305.12 // indirect
@@ -151,7 +150,6 @@ require (
151150
go.etcd.io/etcd/server/v3 v3.5.12 // indirect
152151
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
153152
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.46.0 // indirect
154-
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.60.0 // indirect
155153
go.opentelemetry.io/otel v1.35.0 // indirect
156154
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.20.0 // indirect
157155
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.20.0 // indirect
@@ -162,20 +160,20 @@ require (
162160
go.uber.org/atomic v1.7.0 // indirect
163161
go.uber.org/multierr v1.6.0 // indirect
164162
go.uber.org/zap v1.17.0 // indirect
165-
golang.org/x/crypto v0.36.0 // indirect
166-
golang.org/x/exp v0.0.0-20240325151524-a685a6edb6d8 // indirect
167-
golang.org/x/mod v0.17.0 // indirect
168-
golang.org/x/net v0.38.0 // indirect
169-
golang.org/x/sync v0.12.0 // indirect
170-
golang.org/x/sys v0.31.0 // indirect
171-
golang.org/x/term v0.30.0 // indirect
172-
golang.org/x/text v0.23.0 // indirect
163+
golang.org/x/crypto v0.41.0 // indirect
164+
golang.org/x/exp v0.0.0-20250811191247-51f88131bc50 // indirect
165+
golang.org/x/mod v0.27.0 // indirect
166+
golang.org/x/net v0.43.0 // indirect
167+
golang.org/x/sync v0.16.0 // indirect
168+
golang.org/x/sys v0.35.0 // indirect
169+
golang.org/x/term v0.34.0 // indirect
170+
golang.org/x/text v0.28.0 // indirect
173171
golang.org/x/time v0.3.0 // indirect
174-
golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d // indirect
172+
golang.org/x/tools v0.36.0 // indirect
175173
google.golang.org/genproto v0.0.0-20231016165738-49dd2c1f3d0b // indirect
176-
google.golang.org/genproto/googleapis/api v0.0.0-20231016165738-49dd2c1f3d0b // indirect
177-
google.golang.org/genproto/googleapis/rpc v0.0.0-20231030173426-d783a09b4405 // indirect
178-
google.golang.org/protobuf v1.33.0 // indirect
174+
google.golang.org/genproto/googleapis/api v0.0.0-20250324211829-b45e905df463 // indirect
175+
google.golang.org/genproto/googleapis/rpc v0.0.0-20250324211829-b45e905df463 // indirect
176+
google.golang.org/protobuf v1.36.6 // indirect
179177
gopkg.in/errgo.v1 v1.0.1 // indirect
180178
gopkg.in/natefinch/lumberjack.v2 v2.0.0 // indirect
181179
gopkg.in/yaml.v2 v2.4.0 // indirect
@@ -195,4 +193,16 @@ require (
195193
// allows us to specify that as an option.
196194
replace google.golang.org/protobuf => github.com/lightninglabs/protobuf-go-hex-display v1.33.0-hex-display
197195

198-
go 1.23.6
196+
// Temporary replace that bumps btcd dependecy withing neutrino.
197+
replace github.com/lightninglabs/neutrino => github.com/bhandras/neutrino v0.0.0-20251027192912-61e8377df57a
198+
199+
// Temporary replace to add SubmitPackage support (https://github.com/btcsuite/btcwallet/pull/1009).
200+
replace github.com/btcsuite/btcwallet => github.com/bhandras/btcwallet v0.11.1-0.20251027194657-81c374c1a794
201+
202+
// Temporary replace to add SubmitPackage support to lnd (https://github.com/lightningnetwork/lnd/pull/9784).
203+
replace github.com/lightningnetwork/lnd => github.com/bhandras/lnd v0.8.0-beta-rc3.0.20251027195126-8cf409d6958d
204+
205+
// Temporary replace to make lnd compile with the SubmitPackage changes.
206+
replace github.com/lightningnetwork/lnd/sqldb => github.com/bhandras/lnd/sqldb v0.0.0-20251021173244-4fc8d8dda31c
207+
208+
go 1.24.9

0 commit comments

Comments
 (0)