/ go.mod
go.mod
1 module github.com/lightningnetwork/lnd 2 3 require ( 4 github.com/NebulousLabs/go-upnp v0.0.0-20180202185039-29b680b06c82 5 github.com/Yawning/aez v0.0.0-20211027044916-e49e68abd344 6 github.com/andybalholm/brotli v1.0.4 7 github.com/btcsuite/btcd v0.24.3-0.20250318170759-4f4ea81776d6 8 github.com/btcsuite/btcd/btcec/v2 v2.3.6 9 github.com/btcsuite/btcd/btcutil v1.1.5 10 github.com/btcsuite/btcd/btcutil/psbt v1.1.8 11 github.com/btcsuite/btcd/chaincfg/chainhash v1.1.0 12 github.com/btcsuite/btclog v0.0.0-20241003133417-09c4e92e319c 13 github.com/btcsuite/btclog/v2 v2.0.1-0.20250728225537-6090e87c6c5b 14 github.com/btcsuite/btcwallet v0.16.17 15 github.com/btcsuite/btcwallet/wallet/txauthor v1.3.5 16 github.com/btcsuite/btcwallet/wallet/txrules v1.2.2 17 github.com/btcsuite/btcwallet/walletdb v1.5.1 18 github.com/btcsuite/btcwallet/wtxmgr v1.5.6 19 github.com/coreos/go-systemd v0.0.0-20190719114852-fd7a80b32e1f 20 github.com/davecgh/go-spew v1.1.1 21 github.com/decred/dcrd/dcrec/secp256k1/v4 v4.3.0 22 github.com/gorilla/websocket v1.5.0 23 github.com/grpc-ecosystem/go-grpc-middleware v1.3.0 24 github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 25 github.com/grpc-ecosystem/grpc-gateway/v2 v2.16.0 26 github.com/jackc/pgx/v4 v4.18.3 27 github.com/jackpal/gateway v1.0.5 28 github.com/jackpal/go-nat-pmp v0.0.0-20170405195558-28a68d0c24ad 29 github.com/jedib0t/go-pretty/v6 v6.2.7 30 github.com/jessevdk/go-flags v1.4.0 31 github.com/jrick/logrotate v1.1.2 32 github.com/kkdai/bstream v1.0.0 33 github.com/lightninglabs/neutrino v0.16.1 34 github.com/lightninglabs/neutrino/cache v1.1.2 35 github.com/lightningnetwork/lightning-onion v1.3.0 36 github.com/lightningnetwork/lnd/actor v0.0.3 37 github.com/lightningnetwork/lnd/cert v1.2.2 38 github.com/lightningnetwork/lnd/clock v1.1.1 39 github.com/lightningnetwork/lnd/fn/v2 v2.0.9 40 github.com/lightningnetwork/lnd/healthcheck v1.2.6 41 github.com/lightningnetwork/lnd/kvdb v1.4.16 42 github.com/lightningnetwork/lnd/queue v1.1.1 43 github.com/lightningnetwork/lnd/sqldb v1.0.11 44 github.com/lightningnetwork/lnd/ticker v1.1.1 45 github.com/lightningnetwork/lnd/tlv v1.3.2 46 github.com/lightningnetwork/lnd/tor v1.1.6 47 github.com/ltcsuite/ltcd v0.0.0-20190101042124-f37f8bf35796 48 github.com/miekg/dns v1.1.43 49 github.com/prometheus/client_golang v1.11.1 50 github.com/stretchr/testify v1.10.0 51 github.com/tv42/zbase32 v0.0.0-20160707012821-501572607d02 52 github.com/urfave/cli v1.22.9 53 go.etcd.io/etcd/client/pkg/v3 v3.5.12 54 go.etcd.io/etcd/client/v3 v3.5.12 55 golang.org/x/crypto v0.37.0 56 golang.org/x/exp v0.0.0-20240325151524-a685a6edb6d8 57 golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028 58 golang.org/x/sync v0.13.0 59 golang.org/x/term v0.31.0 60 golang.org/x/time v0.3.0 61 google.golang.org/grpc v1.59.0 62 google.golang.org/protobuf v1.33.0 63 gopkg.in/macaroon-bakery.v2 v2.0.1 64 gopkg.in/macaroon.v2 v2.0.0 65 pgregory.net/rapid v1.2.0 66 ) 67 68 require ( 69 dario.cat/mergo v1.0.1 // indirect 70 github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161 // indirect 71 github.com/Microsoft/go-winio v0.6.1 // indirect 72 github.com/NebulousLabs/fastrand v0.0.0-20181203155948-6fb6489aac4e // indirect 73 github.com/Nvveen/Gotty v0.0.0-20120604004816-cd527374f1e5 // indirect 74 github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da // indirect 75 github.com/aead/siphash v1.0.1 // indirect 76 github.com/beorn7/perks v1.0.1 // indirect 77 github.com/btcsuite/btcwallet/wallet/txsizes v1.2.5 // indirect 78 github.com/btcsuite/go-socks v0.0.0-20170105172521-4720035b7bfd // indirect 79 github.com/btcsuite/websocket v0.0.0-20150119174127-31079b680792 // indirect 80 github.com/btcsuite/winsvc v1.0.0 // indirect 81 github.com/cenkalti/backoff/v4 v4.2.1 // indirect 82 github.com/cespare/xxhash/v2 v2.2.0 // indirect 83 github.com/containerd/continuity v0.3.0 // indirect 84 github.com/coreos/go-semver v0.3.0 // indirect 85 github.com/coreos/go-systemd/v22 v22.3.2 // indirect 86 github.com/cpuguy83/go-md2man/v2 v2.0.4 // indirect 87 github.com/decred/dcrd/crypto/blake256 v1.0.1 // indirect 88 github.com/decred/dcrd/lru v1.1.2 // indirect 89 github.com/docker/cli v28.1.1+incompatible // indirect 90 github.com/docker/docker v28.1.1+incompatible // indirect 91 github.com/docker/go-connections v0.4.0 // indirect 92 github.com/docker/go-units v0.5.0 // indirect 93 github.com/dustin/go-humanize v1.0.1 // indirect 94 github.com/felixge/httpsnoop v1.0.4 // indirect 95 github.com/fergusstrange/embedded-postgres v1.25.0 // indirect 96 github.com/fsnotify/fsnotify v1.5.4 // indirect 97 github.com/go-logr/logr v1.4.2 // indirect 98 github.com/go-logr/stdr v1.2.2 // indirect 99 github.com/go-viper/mapstructure/v2 v2.4.0 // indirect 100 github.com/gogo/protobuf v1.3.2 // indirect 101 github.com/golang-jwt/jwt/v4 v4.5.2 // indirect 102 github.com/golang-migrate/migrate/v4 v4.17.0 // indirect 103 github.com/golang/protobuf v1.5.4 // indirect 104 github.com/golang/snappy v0.0.4 // indirect 105 github.com/google/btree v1.0.1 // indirect 106 github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect 107 github.com/google/uuid v1.6.0 // indirect 108 github.com/grpc-ecosystem/grpc-gateway v1.16.0 // indirect 109 github.com/hashicorp/errwrap v1.1.0 // indirect 110 github.com/hashicorp/go-multierror v1.1.1 // indirect 111 github.com/hashicorp/golang-lru/v2 v2.0.7 // indirect 112 github.com/jackc/chunkreader/v2 v2.0.1 // indirect 113 github.com/jackc/pgconn v1.14.3 // indirect 114 github.com/jackc/pgerrcode v0.0.0-20240316143900-6e2875d9b438 // indirect 115 github.com/jackc/pgio v1.0.0 // indirect 116 github.com/jackc/pgpassfile v1.0.0 // indirect 117 github.com/jackc/pgproto3/v2 v2.3.3 // indirect 118 github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // indirect 119 github.com/jackc/pgtype v1.14.4 // indirect 120 github.com/jackc/pgx/v5 v5.7.4 // indirect 121 github.com/jackc/puddle v1.3.0 // indirect 122 github.com/jackc/puddle/v2 v2.2.2 // indirect 123 github.com/jonboulle/clockwork v0.2.2 // indirect 124 github.com/json-iterator/go v1.1.11 // indirect 125 github.com/juju/loggo v0.0.0-20210728185423-eebad3a902c4 // indirect 126 github.com/juju/testing v0.0.0-20220203020004-a0ff61f03494 // indirect 127 github.com/klauspost/compress v1.17.9 128 github.com/lib/pq v1.10.9 // indirect 129 github.com/lightninglabs/gozmq v0.0.0-20191113021534-d20a764486bf // indirect 130 github.com/mattn/go-isatty v0.0.20 // indirect 131 github.com/mattn/go-runewidth v0.0.13 // indirect 132 github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect 133 github.com/moby/docker-image-spec v1.3.1 // indirect 134 github.com/moby/term v0.5.0 // indirect 135 github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect 136 github.com/modern-go/reflect2 v1.0.1 // indirect 137 github.com/ncruces/go-strftime v0.1.9 // indirect 138 github.com/nxadm/tail v1.4.8 // indirect 139 github.com/onsi/gomega v1.26.0 // indirect 140 github.com/opencontainers/go-digest v1.0.0 // indirect 141 github.com/opencontainers/image-spec v1.0.2 // indirect 142 github.com/opencontainers/runc v1.1.14 // indirect 143 github.com/ory/dockertest/v3 v3.10.0 // indirect 144 github.com/pkg/errors v0.9.1 // indirect 145 github.com/pmezard/go-difflib v1.0.0 146 github.com/prometheus/client_model v0.2.0 // indirect 147 github.com/prometheus/common v0.26.0 // indirect 148 github.com/prometheus/procfs v0.6.0 // indirect 149 github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect 150 github.com/rivo/uniseg v0.2.0 // indirect 151 github.com/rogpeppe/fastuuid v1.2.0 // indirect 152 github.com/russross/blackfriday/v2 v2.1.0 // indirect 153 github.com/sirupsen/logrus v1.9.2 // indirect 154 github.com/soheilhy/cmux v0.1.5 // indirect 155 github.com/spf13/pflag v1.0.6 // indirect 156 github.com/stretchr/objx v0.5.2 // indirect 157 github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 // indirect 158 github.com/tmc/grpc-websocket-proxy v0.0.0-20201229170055-e5319fda7802 // indirect 159 github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f // indirect 160 github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect 161 github.com/xeipuuv/gojsonschema v1.2.0 // indirect 162 github.com/xi2/xz v0.0.0-20171230120015-48954b6210f8 // indirect 163 github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2 // indirect 164 gitlab.com/yawning/bsaes.git v0.0.0-20190805113838-0a714cd429ec // indirect 165 go.etcd.io/bbolt v1.4.3 // indirect 166 go.etcd.io/etcd/api/v3 v3.5.12 // indirect 167 go.etcd.io/etcd/client/v2 v2.305.12 // indirect 168 go.etcd.io/etcd/pkg/v3 v3.5.12 // indirect 169 go.etcd.io/etcd/raft/v3 v3.5.12 // indirect 170 go.etcd.io/etcd/server/v3 v3.5.12 // indirect 171 go.opentelemetry.io/auto/sdk v1.1.0 // indirect 172 go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.46.0 // indirect 173 go.opentelemetry.io/otel v1.35.0 // indirect 174 go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.20.0 // indirect 175 go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.20.0 // indirect 176 go.opentelemetry.io/otel/metric v1.35.0 // indirect 177 go.opentelemetry.io/otel/sdk v1.35.0 // indirect 178 go.opentelemetry.io/otel/trace v1.35.0 // indirect 179 go.opentelemetry.io/proto/otlp v1.0.0 // indirect 180 go.uber.org/atomic v1.7.0 // indirect 181 go.uber.org/multierr v1.6.0 // indirect 182 go.uber.org/zap v1.17.0 // indirect 183 golang.org/x/mod v0.17.0 // indirect 184 golang.org/x/net v0.39.0 // indirect 185 golang.org/x/sys v0.32.0 // indirect 186 golang.org/x/text v0.24.0 // indirect 187 golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d // indirect 188 google.golang.org/genproto v0.0.0-20231016165738-49dd2c1f3d0b // indirect 189 google.golang.org/genproto/googleapis/api v0.0.0-20231016165738-49dd2c1f3d0b // indirect 190 google.golang.org/genproto/googleapis/rpc v0.0.0-20231030173426-d783a09b4405 // indirect 191 gopkg.in/errgo.v1 v1.0.1 // indirect 192 gopkg.in/natefinch/lumberjack.v2 v2.0.0 // indirect 193 gopkg.in/yaml.v2 v2.4.0 // indirect 194 gopkg.in/yaml.v3 v3.0.1 // indirect 195 modernc.org/gc/v3 v3.0.0-20240107210532-573471604cb6 // indirect 196 modernc.org/libc v1.49.3 // indirect 197 modernc.org/mathutil v1.6.0 // indirect 198 modernc.org/memory v1.8.0 // indirect 199 modernc.org/sqlite v1.29.10 // indirect 200 modernc.org/strutil v1.2.0 // indirect 201 modernc.org/token v1.1.0 // indirect 202 sigs.k8s.io/yaml v1.2.0 // indirect 203 ) 204 205 // TODO(gijs): remove once new actor package is released. 206 replace github.com/lightningnetwork/lnd/actor => ./actor 207 208 // TODO(elle): remove once the gossip V2 sqldb changes have been made. 209 replace github.com/lightningnetwork/lnd/sqldb => ./sqldb 210 211 // This replace is for https://github.com/advisories/GHSA-25xm-hr59-7c27 212 replace github.com/ulikunitz/xz => github.com/ulikunitz/xz v0.5.11 213 214 // This replace is for 215 // https://deps.dev/advisory/OSV/GO-2021-0053?from=%2Fgo%2Fgithub.com%252Fgogo%252Fprotobuf%2Fv1.3.1 216 replace github.com/gogo/protobuf => github.com/gogo/protobuf v1.3.2 217 218 // We want to format raw bytes as hex instead of base64. The forked version 219 // allows us to specify that as an option. 220 replace google.golang.org/protobuf => github.com/lightninglabs/protobuf-go-hex-display v1.33.0-hex-display 221 222 // If you change this please also update docs/INSTALL.md and GO_VERSION in 223 // Makefile (then run `make lint` to see where else it needs to be updated as 224 // well). 225 go 1.25.5 226 227 retract v0.0.2