tor: make tor its own submodule

This commit is contained in:
Oliver Gugger
2022-03-21 20:41:33 +01:00
parent 3a040174aa
commit c5f3110616
4 changed files with 128 additions and 3 deletions

5
go.mod
View File

@@ -40,6 +40,7 @@ require (
github.com/lightningnetwork/lnd/queue v1.1.0
github.com/lightningnetwork/lnd/ticker v1.1.0
github.com/lightningnetwork/lnd/tlv v1.0.2
github.com/lightningnetwork/lnd/tor v1.0.0
github.com/ltcsuite/ltcd v0.0.0-20190101042124-f37f8bf35796
github.com/miekg/dns v1.1.43
github.com/prometheus/client_golang v1.11.0
@@ -51,7 +52,6 @@ require (
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519
golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c
golang.org/x/sys v0.0.0-20211210111614-af8b64212486 // indirect
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1
golang.org/x/time v0.0.0-20210220033141-f8bda1e9f3ba
golang.org/x/tools v0.1.8 // indirect
@@ -72,6 +72,9 @@ replace (
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
// 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.
replace go.mongodb.org/mongo-driver => go.mongodb.org/mongo-driver v1.5.1