Skip to content

Commit

Permalink
Merge pull request #144 from lightninglabs/btcec-v2-upgrade
Browse files Browse the repository at this point in the history
multi: bump btcec/v2 and btcutil to new versions
  • Loading branch information
guggero authored Mar 28, 2022
2 parents c46f395 + d24b4e2 commit d602082
Show file tree
Hide file tree
Showing 15 changed files with 162 additions and 101 deletions.
2 changes: 1 addition & 1 deletion accounting/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"context"
"time"

"github.com/btcsuite/btcd/btcutil"
"github.com/btcsuite/btcd/chaincfg/chainhash"
"github.com/btcsuite/btcutil"
"github.com/lightninglabs/lndclient"
"github.com/lightningnetwork/lnd/routing/route"

Expand Down
2 changes: 1 addition & 1 deletion accounting/conversions.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"time"

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

"github.com/lightninglabs/faraday/fiat"
"github.com/lightninglabs/faraday/utils"
Expand Down
2 changes: 1 addition & 1 deletion accounting/entries.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"strings"

"github.com/btcsuite/btcutil"
"github.com/btcsuite/btcd/btcutil"
"github.com/lightninglabs/lndclient"
"github.com/lightningnetwork/lnd/lntypes"
"github.com/lightningnetwork/lnd/lnwire"
Expand Down
2 changes: 1 addition & 1 deletion accounting/entries_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
"testing"
"time"

"github.com/btcsuite/btcd/btcutil"
"github.com/btcsuite/btcd/chaincfg/chainhash"
"github.com/btcsuite/btcd/wire"
"github.com/btcsuite/btcutil"
"github.com/lightninglabs/lndclient"
"github.com/lightningnetwork/lnd/lnrpc"
"github.com/lightningnetwork/lnd/lntypes"
Expand Down
2 changes: 1 addition & 1 deletion accounting/on_chain.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package accounting
import (
"context"

"github.com/btcsuite/btcd/btcutil"
"github.com/btcsuite/btcd/wire"
"github.com/btcsuite/btcutil"
"github.com/lightninglabs/lndclient"
"github.com/lightningnetwork/lnd/lnwire"
"github.com/lightningnetwork/lnd/routing/route"
Expand Down
2 changes: 1 addition & 1 deletion config.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"path/filepath"
"time"

"github.com/btcsuite/btcutil"
"github.com/btcsuite/btcd/btcutil"
"github.com/lightninglabs/lndclient"
"github.com/lightningnetwork/lnd/cert"
"github.com/lightningnetwork/lnd/lncfg"
Expand Down
2 changes: 1 addition & 1 deletion fees/fees.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package fees

import (
"github.com/btcsuite/btcd/btcjson"
"github.com/btcsuite/btcd/btcutil"
"github.com/btcsuite/btcd/chaincfg/chainhash"
"github.com/btcsuite/btcutil"
)

// GetDetailsFunc is a function which looks up transactions by hash.
Expand Down
2 changes: 1 addition & 1 deletion fees/fees_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"testing"

"github.com/btcsuite/btcd/btcjson"
"github.com/btcsuite/btcd/btcutil"
"github.com/btcsuite/btcd/chaincfg/chainhash"
"github.com/btcsuite/btcutil"
"github.com/stretchr/testify/require"
)

Expand Down
2 changes: 1 addition & 1 deletion frdrpc/close_report.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package frdrpc
import (
"context"

"github.com/btcsuite/btcd/btcutil"
"github.com/btcsuite/btcd/chaincfg/chainhash"
"github.com/btcsuite/btcutil"
"github.com/lightninglabs/lndclient"

"github.com/lightninglabs/faraday/fees"
Expand Down
18 changes: 7 additions & 11 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,28 +1,24 @@
module github.com/lightninglabs/faraday

require (
github.com/btcsuite/btcd v0.22.0-beta.0.20211005184431-e3449998be39
github.com/btcsuite/btcd v0.22.0-beta.0.20220207191057-4dc4ff7963b4
github.com/btcsuite/btcd/btcutil v1.1.0
github.com/btcsuite/btclog v0.0.0-20170628155309-84c8d2346e9f
github.com/btcsuite/btcutil v1.0.3-0.20210527170813-e2ba6805a890
github.com/grpc-ecosystem/grpc-gateway/v2 v2.5.0
github.com/jessevdk/go-flags v1.4.0
github.com/lightninglabs/lndclient v0.14.0-5
github.com/lightninglabs/lndclient v0.15.0-0
github.com/lightninglabs/protobuf-hex-display v1.4.3-hex-display
github.com/lightningnetwork/lnd v0.14.0-beta
github.com/lightningnetwork/lnd/cert v1.1.0
github.com/lightningnetwork/lnd/kvdb v1.2.0
github.com/lightningnetwork/lnd v0.14.1-beta.0.20220324135938-0dcaa511a249
github.com/lightningnetwork/lnd/cert v1.1.1
github.com/lightningnetwork/lnd/kvdb v1.3.1
github.com/shopspring/decimal v1.2.0
github.com/stretchr/testify v1.7.0
github.com/urfave/cli v1.20.0
github.com/urfave/cli v1.22.4
go.etcd.io/bbolt v1.3.6
google.golang.org/grpc v1.38.0
google.golang.org/protobuf v1.26.0
gopkg.in/macaroon-bakery.v2 v2.0.1
gopkg.in/macaroon.v2 v2.1.0
)

// A PR was merged without bumping the kvdb module version. We'll be able to
// remove this once 0.14.1-beta is out.
replace github.com/lightningnetwork/lnd/kvdb => github.com/lightningnetwork/lnd/kvdb v1.2.1

go 1.15
219 changes: 142 additions & 77 deletions go.sum

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion itest/nodereport_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"testing"
"time"

"github.com/btcsuite/btcd/btcutil"
"github.com/btcsuite/btcd/chaincfg/chainhash"
"github.com/btcsuite/btcutil"
"github.com/lightninglabs/lndclient"
"github.com/lightningnetwork/lnd/lnrpc"
"github.com/lightningnetwork/lnd/lnrpc/invoicesrpc"
Expand Down
2 changes: 1 addition & 1 deletion itest/test_context.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ import (
"testing"
"time"

"github.com/btcsuite/btcd/btcutil"
"github.com/btcsuite/btcd/chaincfg"
"github.com/btcsuite/btcd/chaincfg/chainhash"
"github.com/btcsuite/btcd/rpcclient"
"github.com/btcsuite/btcd/wire"
"github.com/btcsuite/btcutil"
"github.com/lightninglabs/faraday"
"github.com/lightninglabs/lndclient"
"github.com/lightningnetwork/lnd/channeldb"
Expand Down
2 changes: 1 addition & 1 deletion resolutions/resolutions.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
"fmt"

"github.com/btcsuite/btcd/btcjson"
"github.com/btcsuite/btcd/btcutil"
"github.com/btcsuite/btcd/chaincfg/chainhash"
"github.com/btcsuite/btcd/wire"
"github.com/btcsuite/btcutil"
"github.com/lightninglabs/lndclient"
"github.com/shopspring/decimal"

Expand Down
2 changes: 1 addition & 1 deletion resolutions/resolutions_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
"testing"

"github.com/btcsuite/btcd/btcjson"
"github.com/btcsuite/btcd/btcutil"
"github.com/btcsuite/btcd/chaincfg/chainhash"
"github.com/btcsuite/btcd/wire"
"github.com/btcsuite/btcutil"
"github.com/lightninglabs/lndclient"
"github.com/shopspring/decimal"
"github.com/stretchr/testify/require"
Expand Down

0 comments on commit d602082

Please sign in to comment.