Skip to content

Commit

Permalink
gomod: Update to lnd v0.15.2-beta
Browse files Browse the repository at this point in the history
We need a fast update to the newest lnd version as there was a
security issue detected.
lightningnetwork/lnd#7002

As the bug was part of the btcd dependencies the fix applied in
btcsuite/btcd#1896 brings a long tail
of dependency updates.

This commit updates the dependencies and adapts for all changes
that are introduced by this new dependencies.
  • Loading branch information
nepet committed Oct 10, 2022
1 parent c99c266 commit d88023c
Show file tree
Hide file tree
Showing 20 changed files with 854 additions and 217 deletions.
2 changes: 1 addition & 1 deletion cmd/peerswap-plugin/main.go
Expand Up @@ -20,8 +20,8 @@ import (

"strings"

"github.com/btcsuite/btcd/btcutil"
"github.com/btcsuite/btcd/chaincfg"
"github.com/btcsuite/btcutil"
"github.com/elementsproject/glightning/gbitcoin"
"github.com/elementsproject/glightning/gelements"
"github.com/elementsproject/glightning/glightning"
Expand Down
2 changes: 1 addition & 1 deletion cmd/peerswaplnd/config.go
Expand Up @@ -8,7 +8,7 @@ import (
"path/filepath"
"strings"

"github.com/btcsuite/btcutil"
"github.com/btcsuite/btcd/btcutil"
)

type LogLevel uint8
Expand Down
2 changes: 1 addition & 1 deletion cmd/peerswaplnd/peerswapd/main.go
Expand Up @@ -21,8 +21,8 @@ import (
"github.com/elementsproject/peerswap/version"
"github.com/grpc-ecosystem/grpc-gateway/v2/runtime"

"github.com/btcsuite/btcd/btcutil"
"github.com/btcsuite/btcd/chaincfg"
"github.com/btcsuite/btcutil"
"github.com/elementsproject/glightning/gbitcoin"
"github.com/elementsproject/glightning/gelements"
"github.com/elementsproject/peerswap/cmd/peerswaplnd"
Expand Down
64 changes: 52 additions & 12 deletions go.mod
Expand Up @@ -3,24 +3,64 @@ module github.com/elementsproject/peerswap
go 1.16

require (
github.com/btcsuite/btcd v0.22.0-beta.0.20211005184431-e3449998be39
github.com/btcsuite/btcutil v1.0.3-0.20210527170813-e2ba6805a890
github.com/btcsuite/btcutil/psbt v1.0.3-0.20210527170813-e2ba6805a890
github.com/benbjohnson/clock v1.3.0 // indirect
github.com/btcsuite/btcd v0.23.2
github.com/btcsuite/btcd/btcec/v2 v2.2.1
github.com/btcsuite/btcd/btcutil v1.1.2
github.com/btcsuite/btcd/btcutil/psbt v1.1.5
github.com/btcsuite/btcd/chaincfg/chainhash v1.0.1
github.com/btcsuite/btcwallet v0.16.1 // indirect
github.com/coreos/go-systemd v0.0.0-20191104093116-d3cd4ed1dbcf // indirect
github.com/coreos/go-systemd/v22 v22.4.0 // indirect
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.1.0 // indirect
github.com/decred/dcrd/lru v1.1.1 // indirect
github.com/dvyukov/go-fuzz v0.0.0-20220726122315-1d375ef9f9f6 // indirect
github.com/elementsproject/glightning v0.0.0-20220713160855-49a9a8ec3e4d
github.com/fergusstrange/embedded-postgres v1.19.0 // indirect
github.com/form3tech-oss/jwt-go v3.2.5+incompatible // indirect
github.com/go-errors/errors v1.4.2 // indirect
github.com/google/btree v1.1.2 // indirect
github.com/gorilla/websocket v1.5.0 // indirect
github.com/grpc-ecosystem/go-grpc-middleware v1.3.0
github.com/grpc-ecosystem/grpc-gateway/v2 v2.5.0
github.com/grpc-ecosystem/grpc-gateway/v2 v2.11.3
github.com/jackc/pgx/v4 v4.17.2 // indirect
github.com/jessevdk/go-flags v1.5.0
github.com/lightningnetwork/lnd v0.14.1-beta
github.com/onsi/gomega v1.5.0 // indirect
github.com/stretchr/testify v1.7.0
github.com/urfave/cli v1.22.2-0.20191024042601-850de854cda0
github.com/vulpemventures/go-elements v0.3.7
github.com/jonboulle/clockwork v0.3.0 // indirect
github.com/lib/pq v1.10.7 // indirect
github.com/lightningnetwork/lightning-onion v1.2.0 // indirect
github.com/lightningnetwork/lnd v0.15.2-beta
github.com/lightningnetwork/lnd/tor v1.1.0 // indirect
github.com/ltcsuite/ltcd v0.22.1-beta // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.2 // indirect
github.com/miekg/dns v1.1.50 // indirect
github.com/prometheus/client_golang v1.13.0 // indirect
github.com/sirupsen/logrus v1.9.0 // indirect
github.com/stretchr/testify v1.8.0
github.com/tmc/grpc-websocket-proxy v0.0.0-20220101234140-673ab2c3ae75 // indirect
github.com/urfave/cli v1.22.9
github.com/vulpemventures/go-elements v0.4.0
github.com/ybbus/jsonrpc v2.1.2+incompatible
go.etcd.io/bbolt v1.3.6
golang.org/x/crypto v0.0.0-20211117183948-ae814b36b871 // indirect
google.golang.org/grpc v1.38.0
google.golang.org/protobuf v1.26.0
go.etcd.io/etcd/server/v3 v3.5.5 // indirect
go.opentelemetry.io/contrib v1.10.0 // indirect
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.36.1 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.10.0 // indirect
go.uber.org/atomic v1.10.0 // indirect
go.uber.org/multierr v1.8.0 // indirect
go.uber.org/zap v1.23.0 // indirect
golang.org/x/crypto v0.0.0-20221010152910-d6f0a8c073c2 // indirect
golang.org/x/net v0.0.0-20221004154528-8021a29435af // indirect
golang.org/x/sync v0.0.0-20220929204114-8fcdb60fdcc0 // indirect
golang.org/x/sys v0.0.0-20221010160319-abe0a0adba9c // indirect
golang.org/x/term v0.0.0-20220919170432-7a66f970e087 // indirect
golang.org/x/time v0.0.0-20220922220347-f3bd1da661af // indirect
golang.org/x/tools v0.1.12 // indirect
google.golang.org/genproto v0.0.0-20221010155953-15ba04fc1c0e // indirect
google.golang.org/grpc v1.50.0
google.golang.org/protobuf v1.28.1
gopkg.in/macaroon-bakery.v2 v2.3.0 // indirect
gopkg.in/macaroon.v2 v2.1.0
sigs.k8s.io/yaml v1.3.0 // indirect
)

// This fork contains some options we need to reconnect to lnd.
Expand Down

0 comments on commit d88023c

Please sign in to comment.