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

This commit is contained in:
Olaoluwa Osuntokun
2018-06-04 18:34:16 -07:00
parent bc5bfeb479
commit 6f60f139f4
165 changed files with 505 additions and 504 deletions

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

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

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 (

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

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

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

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),

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

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

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

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 (

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

View File

@@ -3,7 +3,7 @@ package lnwire
import (
"testing"
"github.com/roasbeef/btcutil"
"github.com/btcsuite/btcutil"
)
func TestMilliSatoshiConversion(t *testing.T) {

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

View File

@@ -5,7 +5,7 @@ import (
"net"
"testing"
"github.com/roasbeef/btcd/btcec"
"github.com/btcsuite/btcd/btcec"
)
func TestNetAddressDisplay(t *testing.T) {

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

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

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

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

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

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

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) {