multi: switch over import paths from roasbeef/* to btcsuite/*

This commit is contained in:
Olaoluwa Osuntokun committed 2018-07-13 17:05:39 -07:00
1 parent bc5bfeb479
commit 6f60f139f4
165 files changed
+505 -504

No files matched your search

+2 -2
View File
@@ -3,8 +3,8 @@ package lnwire
import (
"io"
"github.com/roasbeef/btcd/btcec"
"github.com/roasbeef/btcutil"
"github.com/btcsuite/btcd/btcec"
"github.com/btcsuite/btcutil"
)
// AcceptChannel is the message Bob sends to Alice after she initiates the
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"bytes"
"io"
"github.com/roasbeef/btcd/chaincfg/chainhash"
"github.com/btcsuite/btcd/chaincfg/chainhash"
)
// ChannelAnnouncement message is used to announce the existence of a channel
+2 -2
View File
@@ -5,8 +5,8 @@ import (
"encoding/hex"
"math"
"github.com/roasbeef/btcd/chaincfg/chainhash"
"github.com/roasbeef/btcd/wire"
"github.com/btcsuite/btcd/chaincfg/chainhash"
"github.com/btcsuite/btcd/wire"
)
const (
+1 -1
View File
@@ -3,7 +3,7 @@ package lnwire
import (
"io"
"github.com/roasbeef/btcd/btcec"
"github.com/btcsuite/btcd/btcec"
)
// ChannelReestablish is a message sent between peers that have an existing
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"bytes"
"io"
"github.com/roasbeef/btcd/chaincfg/chainhash"
"github.com/btcsuite/btcd/chaincfg/chainhash"
)
// ChanUpdateFlag is a bitfield that signals various options concerning a
+1 -1
View File
@@ -3,7 +3,7 @@ package lnwire
import (
"io"
"github.com/roasbeef/btcutil"
"github.com/btcsuite/btcutil"
)
// ClosingSigned is sent by both parties to a channel once the channel is clear
+1 -1
View File
@@ -3,7 +3,7 @@ package lnwire
import (
"io"
"github.com/roasbeef/btcd/wire"
"github.com/btcsuite/btcd/wire"
)
// FundingCreated is sent from Alice (the initiator) to Bob (the responder),
+1 -1
View File
@@ -3,7 +3,7 @@ package lnwire
import (
"io"
"github.com/roasbeef/btcd/btcec"
"github.com/btcsuite/btcd/btcec"
)
// FundingLocked is the message that both parties to a new channel creation
+1 -1
View File
@@ -3,7 +3,7 @@ package lnwire
import (
"io"
"github.com/roasbeef/btcd/chaincfg/chainhash"
"github.com/btcsuite/btcd/chaincfg/chainhash"
)
// GossipTimestampRange is a message that allows the sender to restrict the set
+4 -4
View File
@@ -10,12 +10,12 @@ import (
"net"
"github.com/btcsuite/btcd/btcec"
"github.com/btcsuite/btcd/chaincfg/chainhash"
"github.com/btcsuite/btcd/wire"
"github.com/btcsuite/btcutil"
"github.com/go-errors/errors"
"github.com/lightningnetwork/lnd/tor"
"github.com/roasbeef/btcd/btcec"
"github.com/roasbeef/btcd/chaincfg/chainhash"
"github.com/roasbeef/btcd/wire"
"github.com/roasbeef/btcutil"
)
// MaxSliceLength is the maximum allowed length for any opaque byte slices in
+4 -4
View File
@@ -14,12 +14,12 @@ import (
"testing/quick"
"time"
"github.com/btcsuite/btcd/btcec"
"github.com/btcsuite/btcd/chaincfg/chainhash"
"github.com/btcsuite/btcd/wire"
"github.com/btcsuite/btcutil"
"github.com/davecgh/go-spew/spew"
"github.com/lightningnetwork/lnd/tor"
"github.com/roasbeef/btcd/btcec"
"github.com/roasbeef/btcd/chaincfg/chainhash"
"github.com/roasbeef/btcd/wire"
"github.com/roasbeef/btcutil"
)
var (
+1 -1
View File
@@ -3,7 +3,7 @@ package lnwire
import (
"fmt"
"github.com/roasbeef/btcutil"
"github.com/btcsuite/btcutil"
)
// mSatScale is a value that's used to scale satoshis to milli-satoshis, and
+1 -1
View File
@@ -3,7 +3,7 @@ package lnwire
import (
"testing"
"github.com/roasbeef/btcutil"
"github.com/btcsuite/btcutil"
)
func TestMilliSatoshiConversion(t *testing.T) {
+2 -2
View File
@@ -4,8 +4,8 @@ import (
"fmt"
"net"
"github.com/roasbeef/btcd/btcec"
"github.com/roasbeef/btcd/wire"
"github.com/btcsuite/btcd/btcec"
"github.com/btcsuite/btcd/wire"
)
// NetAddress represents information pertaining to the identity and network
+1 -1
View File
@@ -5,7 +5,7 @@ import (
"net"
"testing"
"github.com/roasbeef/btcd/btcec"
"github.com/btcsuite/btcd/btcec"
)
func TestNetAddressDisplay(t *testing.T) {
+3 -3
View File
@@ -3,9 +3,9 @@ package lnwire
import (
"io"
"github.com/roasbeef/btcd/btcec"
"github.com/roasbeef/btcd/chaincfg/chainhash"
"github.com/roasbeef/btcutil"
"github.com/btcsuite/btcd/btcec"
"github.com/btcsuite/btcd/chaincfg/chainhash"
"github.com/btcsuite/btcutil"
)
// FundingFlag represents the possible bit mask values for the ChannelFlags
+1 -1
View File
@@ -3,7 +3,7 @@ package lnwire
import (
"io"
"github.com/roasbeef/btcd/chaincfg/chainhash"
"github.com/btcsuite/btcd/chaincfg/chainhash"
)
// QueryChannelRange is a message sent by a node in order to query the
+1 -1
View File
@@ -8,7 +8,7 @@ import (
"sort"
"sync"
"github.com/roasbeef/btcd/chaincfg/chainhash"
"github.com/btcsuite/btcd/chaincfg/chainhash"
)
// ShortChanIDEncoding is an enum-like type that represents exactly how a set
+1 -1
View File
@@ -3,7 +3,7 @@ package lnwire
import (
"io"
"github.com/roasbeef/btcd/chaincfg/chainhash"
"github.com/btcsuite/btcd/chaincfg/chainhash"
)
// ReplyShortChanIDsEnd is a message that marks the end of a streaming message
+1 -1
View File
@@ -3,7 +3,7 @@ package lnwire
import (
"io"
"github.com/roasbeef/btcd/btcec"
"github.com/btcsuite/btcd/btcec"
)
// RevokeAndAck is sent by either side once a CommitSig message has been
+1 -1
View File
@@ -3,7 +3,7 @@ package lnwire
import (
"fmt"
"github.com/roasbeef/btcd/btcec"
"github.com/btcsuite/btcd/btcec"
)
// Sig is a fixed-sized ECDSA signature. Unlike Bitcoin, we use fixed sized
+1 -1
View File
@@ -5,7 +5,7 @@ import (
"math/big"
"testing"
"github.com/roasbeef/btcd/btcec"
"github.com/btcsuite/btcd/btcec"
)
func TestSignatureSerializeDeserialize(t *testing.T) {