Skip to content

Commit

Permalink
mod+healthcheck: use new tor submodule
Browse files Browse the repository at this point in the history
Using the tor module instead of whole lnd in healthcheck allows us to
get rid of a lot of indirect dependencies.
  • Loading branch information
guggero committed Mar 21, 2022
1 parent 9aff297 commit a4796e3
Show file tree
Hide file tree
Showing 4 changed files with 98 additions and 1,182 deletions.
12 changes: 9 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
module github.com/lightningnetwork/lnd

require (
git.schwanenlied.me/yawning/bsaes.git v0.0.0-00010101000000-000000000000 // indirect
github.com/NebulousLabs/fastrand v0.0.0-20181203155948-6fb6489aac4e // indirect
github.com/NebulousLabs/go-upnp v0.0.0-20180202185039-29b680b06c82
github.com/Yawning/aez v0.0.0-20180114000226-4dad034d9db2
github.com/btcsuite/btcd v0.22.0-beta.0.20220207191057-4dc4ff7963b4
Expand Down Expand Up @@ -29,13 +31,14 @@ require (
github.com/jedib0t/go-pretty/v6 v6.2.7
github.com/jessevdk/go-flags v1.4.0
github.com/jrick/logrotate v1.0.0
github.com/juju/testing v0.0.0-20220203020004-a0ff61f03494 // indirect
github.com/kkdai/bstream v1.0.0
github.com/lightninglabs/neutrino v0.13.2
github.com/lightninglabs/protobuf-hex-display v1.4.3-hex-display
github.com/lightningnetwork/lightning-onion v1.0.2-0.20220211021909-bb84a1ccb0c5
github.com/lightningnetwork/lnd/cert v1.1.1
github.com/lightningnetwork/lnd/clock v1.1.0
github.com/lightningnetwork/lnd/healthcheck v1.2.1
github.com/lightningnetwork/lnd/healthcheck v1.2.2
github.com/lightningnetwork/lnd/kvdb v1.3.1
github.com/lightningnetwork/lnd/queue v1.1.0
github.com/lightningnetwork/lnd/ticker v1.1.0
Expand All @@ -57,6 +60,7 @@ require (
golang.org/x/tools v0.1.8 // indirect
google.golang.org/grpc v1.38.0
google.golang.org/protobuf v1.26.0
gopkg.in/errgo.v1 v1.0.1 // indirect
gopkg.in/macaroon-bakery.v2 v2.0.1
gopkg.in/macaroon.v2 v2.0.0
)
Expand All @@ -65,15 +69,17 @@ replace (
// TODO(guggero): Remove these after merging #6285 and pushing the new tags!
github.com/lightningnetwork/lnd/cert => ./cert
github.com/lightningnetwork/lnd/clock => ./clock
github.com/lightningnetwork/lnd/healthcheck => ./healthcheck
github.com/lightningnetwork/lnd/kvdb => ./kvdb
github.com/lightningnetwork/lnd/queue => ./queue
github.com/lightningnetwork/lnd/ticker => ./ticker
github.com/lightningnetwork/lnd/tlv => ./tlv
)

// TODO(guggero): Remove these after merging #6350 and pushing the new tag!
replace github.com/lightningnetwork/lnd/tor => ./tor
replace (
github.com/lightningnetwork/lnd/healthcheck => ./healthcheck
github.com/lightningnetwork/lnd/tor => ./tor
)

// This replace is for addressing the CVE https://github.com/advisories/GHSA-f6mq-5m25-4r72
// This is a indirect dependency that cannot be upgraded directly.
Expand Down

0 comments on commit a4796e3

Please sign in to comment.