Update btcwire import paths to new location.

This commit is contained in:
Dave Collins 2015-01-16 15:13:21 -06:00
parent 0e8c3b743d
commit 54ccb83025
25 changed files with 25 additions and 25 deletions

View file

@ -23,7 +23,7 @@ import (
"sync/atomic" "sync/atomic"
"time" "time"
"github.com/conformal/btcwire" "github.com/btcsuite/btcwire"
) )
// AddrManager provides a concurrency safe address manager for caching potential // AddrManager provides a concurrency safe address manager for caching potential

View file

@ -10,8 +10,8 @@ import (
"testing" "testing"
"time" "time"
"github.com/btcsuite/btcwire"
"github.com/conformal/btcd/addrmgr" "github.com/conformal/btcd/addrmgr"
"github.com/conformal/btcwire"
) )
// naTest is used to describe a test to be perfomed against the NetAddressKey // naTest is used to describe a test to be perfomed against the NetAddressKey

View file

@ -7,7 +7,7 @@ package addrmgr
import ( import (
"time" "time"
"github.com/conformal/btcwire" "github.com/btcsuite/btcwire"
) )
// knownAddress tracks information about a known network address that is used // knownAddress tracks information about a known network address that is used

View file

@ -8,7 +8,7 @@ import (
"fmt" "fmt"
"net" "net"
"github.com/conformal/btcwire" "github.com/btcsuite/btcwire"
) )
var ( var (

View file

@ -9,8 +9,8 @@ import (
"testing" "testing"
"time" "time"
"github.com/btcsuite/btcwire"
"github.com/conformal/btcd/addrmgr" "github.com/conformal/btcd/addrmgr"
"github.com/conformal/btcwire"
) )
// TestIPTypes ensures the various functions which determine the type of an IP // TestIPTypes ensures the various functions which determine the type of an IP

View file

@ -14,10 +14,10 @@ import (
"time" "time"
"github.com/btcsuite/btcutil" "github.com/btcsuite/btcutil"
"github.com/btcsuite/btcwire"
"github.com/conformal/btcchain" "github.com/conformal/btcchain"
"github.com/conformal/btcdb" "github.com/conformal/btcdb"
"github.com/conformal/btcnet" "github.com/conformal/btcnet"
"github.com/conformal/btcwire"
) )
const ( const (

View file

@ -17,12 +17,12 @@ import (
"time" "time"
"github.com/btcsuite/btcutil" "github.com/btcsuite/btcutil"
"github.com/btcsuite/btcwire"
flags "github.com/btcsuite/go-flags" flags "github.com/btcsuite/go-flags"
"github.com/btcsuite/go-socks/socks" "github.com/btcsuite/go-socks/socks"
"github.com/conformal/btcdb" "github.com/conformal/btcdb"
_ "github.com/conformal/btcdb/ldb" _ "github.com/conformal/btcdb/ldb"
_ "github.com/conformal/btcdb/memdb" _ "github.com/conformal/btcdb/memdb"
"github.com/conformal/btcwire"
) )
const ( const (

View file

@ -12,8 +12,8 @@ import (
"time" "time"
"github.com/btcsuite/btcutil" "github.com/btcsuite/btcutil"
"github.com/btcsuite/btcwire"
"github.com/conformal/btcchain" "github.com/conformal/btcchain"
"github.com/conformal/btcwire"
) )
const ( const (

2
log.go
View file

@ -13,11 +13,11 @@ import (
"github.com/conformal/btcd/addrmgr" "github.com/conformal/btcd/addrmgr"
"github.com/btcsuite/btclog" "github.com/btcsuite/btclog"
"github.com/btcsuite/btcwire"
"github.com/btcsuite/seelog" "github.com/btcsuite/seelog"
"github.com/conformal/btcchain" "github.com/conformal/btcchain"
"github.com/conformal/btcdb" "github.com/conformal/btcdb"
"github.com/conformal/btcscript" "github.com/conformal/btcscript"
"github.com/conformal/btcwire"
) )
const ( const (

View file

@ -14,10 +14,10 @@ import (
"time" "time"
"github.com/btcsuite/btcutil" "github.com/btcsuite/btcutil"
"github.com/btcsuite/btcwire"
"github.com/conformal/btcchain" "github.com/conformal/btcchain"
"github.com/conformal/btcdb" "github.com/conformal/btcdb"
"github.com/conformal/btcscript" "github.com/conformal/btcscript"
"github.com/conformal/btcwire"
) )
const ( const (

View file

@ -5,8 +5,8 @@
package main package main
import ( import (
"github.com/btcsuite/btcwire"
"github.com/conformal/btcchain" "github.com/conformal/btcchain"
"github.com/conformal/btcwire"
) )
// RuleError identifies a rule violation. It is used to indicate that // RuleError identifies a rule violation. It is used to indicate that

View file

@ -11,10 +11,10 @@ import (
"time" "time"
"github.com/btcsuite/btcutil" "github.com/btcsuite/btcutil"
"github.com/btcsuite/btcwire"
"github.com/conformal/btcchain" "github.com/conformal/btcchain"
"github.com/conformal/btcdb" "github.com/conformal/btcdb"
"github.com/conformal/btcscript" "github.com/conformal/btcscript"
"github.com/conformal/btcwire"
) )
const ( const (

View file

@ -8,7 +8,7 @@ import (
"container/list" "container/list"
"fmt" "fmt"
"github.com/conformal/btcwire" "github.com/btcsuite/btcwire"
) )
// MruInventoryMap provides a map that is limited to a maximum number of items // MruInventoryMap provides a map that is limited to a maximum number of items

View file

@ -8,7 +8,7 @@ import (
"crypto/rand" "crypto/rand"
"testing" "testing"
"github.com/conformal/btcwire" "github.com/btcsuite/btcwire"
) )
// BenchmarkMruInventoryList performs basic benchmarks on the most recently // BenchmarkMruInventoryList performs basic benchmarks on the most recently

View file

@ -5,8 +5,8 @@
package main package main
import ( import (
"github.com/btcsuite/btcwire"
"github.com/conformal/btcnet" "github.com/conformal/btcnet"
"github.com/conformal/btcwire"
) )
// activeNetParams is a pointer to the parameters specific to the // activeNetParams is a pointer to the parameters specific to the

View file

@ -18,11 +18,11 @@ import (
"github.com/btcsuite/btcutil" "github.com/btcsuite/btcutil"
"github.com/btcsuite/btcutil/bloom" "github.com/btcsuite/btcutil/bloom"
"github.com/btcsuite/btcwire"
"github.com/btcsuite/go-socks/socks" "github.com/btcsuite/go-socks/socks"
"github.com/conformal/btcchain" "github.com/conformal/btcchain"
"github.com/conformal/btcd/addrmgr" "github.com/conformal/btcd/addrmgr"
"github.com/conformal/btcdb" "github.com/conformal/btcdb"
"github.com/conformal/btcwire"
"github.com/davecgh/go-spew/spew" "github.com/davecgh/go-spew/spew"
) )

View file

@ -27,6 +27,7 @@ import (
"time" "time"
"github.com/btcsuite/btcutil" "github.com/btcsuite/btcutil"
"github.com/btcsuite/btcwire"
"github.com/btcsuite/fastsha256" "github.com/btcsuite/fastsha256"
"github.com/btcsuite/websocket" "github.com/btcsuite/websocket"
"github.com/conformal/btcchain" "github.com/conformal/btcchain"
@ -35,7 +36,6 @@ import (
"github.com/conformal/btcjson" "github.com/conformal/btcjson"
"github.com/conformal/btcnet" "github.com/conformal/btcnet"
"github.com/conformal/btcscript" "github.com/conformal/btcscript"
"github.com/conformal/btcwire"
"github.com/conformal/btcws" "github.com/conformal/btcws"
) )

View file

@ -20,12 +20,12 @@ import (
"golang.org/x/crypto/ripemd160" "golang.org/x/crypto/ripemd160"
"github.com/btcsuite/btcutil" "github.com/btcsuite/btcutil"
"github.com/btcsuite/btcwire"
"github.com/btcsuite/fastsha256" "github.com/btcsuite/fastsha256"
"github.com/btcsuite/websocket" "github.com/btcsuite/websocket"
"github.com/conformal/btcdb" "github.com/conformal/btcdb"
"github.com/conformal/btcjson" "github.com/conformal/btcjson"
"github.com/conformal/btcscript" "github.com/conformal/btcscript"
"github.com/conformal/btcwire"
"github.com/conformal/btcws" "github.com/conformal/btcws"
) )

View file

@ -19,12 +19,12 @@ import (
"sync/atomic" "sync/atomic"
"time" "time"
"github.com/btcsuite/btcwire"
"github.com/conformal/btcchain" "github.com/conformal/btcchain"
"github.com/conformal/btcd/addrmgr" "github.com/conformal/btcd/addrmgr"
"github.com/conformal/btcdb" "github.com/conformal/btcdb"
"github.com/conformal/btcjson" "github.com/conformal/btcjson"
"github.com/conformal/btcnet" "github.com/conformal/btcnet"
"github.com/conformal/btcwire"
) )
const ( const (

View file

@ -10,11 +10,11 @@ import (
"path/filepath" "path/filepath"
"github.com/btcsuite/btcutil" "github.com/btcsuite/btcutil"
"github.com/btcsuite/btcwire"
flags "github.com/btcsuite/go-flags" flags "github.com/btcsuite/go-flags"
"github.com/conformal/btcdb" "github.com/conformal/btcdb"
_ "github.com/conformal/btcdb/ldb" _ "github.com/conformal/btcdb/ldb"
"github.com/conformal/btcnet" "github.com/conformal/btcnet"
"github.com/conformal/btcwire"
) )
const ( const (

View file

@ -12,10 +12,10 @@ import (
"time" "time"
"github.com/btcsuite/btcutil" "github.com/btcsuite/btcutil"
"github.com/btcsuite/btcwire"
"github.com/conformal/btcchain" "github.com/conformal/btcchain"
"github.com/conformal/btcdb" "github.com/conformal/btcdb"
_ "github.com/conformal/btcdb/ldb" _ "github.com/conformal/btcdb/ldb"
"github.com/conformal/btcwire"
) )
var zeroHash = btcwire.ShaHash{} var zeroHash = btcwire.ShaHash{}

View file

@ -13,11 +13,11 @@ import (
"github.com/btcsuite/btclog" "github.com/btcsuite/btclog"
"github.com/btcsuite/btcutil" "github.com/btcsuite/btcutil"
"github.com/btcsuite/btcwire"
flags "github.com/btcsuite/go-flags" flags "github.com/btcsuite/go-flags"
"github.com/conformal/btcdb" "github.com/conformal/btcdb"
_ "github.com/conformal/btcdb/ldb" _ "github.com/conformal/btcdb/ldb"
"github.com/conformal/btcnet" "github.com/conformal/btcnet"
"github.com/conformal/btcwire"
) )
type ShaHash btcwire.ShaHash type ShaHash btcwire.ShaHash

View file

@ -10,11 +10,11 @@ import (
"path/filepath" "path/filepath"
"github.com/btcsuite/btcutil" "github.com/btcsuite/btcutil"
"github.com/btcsuite/btcwire"
flags "github.com/btcsuite/go-flags" flags "github.com/btcsuite/go-flags"
"github.com/conformal/btcdb" "github.com/conformal/btcdb"
_ "github.com/conformal/btcdb/ldb" _ "github.com/conformal/btcdb/ldb"
"github.com/conformal/btcnet" "github.com/conformal/btcnet"
"github.com/conformal/btcwire"
) )
const ( const (

View file

@ -9,11 +9,11 @@ import (
"os" "os"
"path/filepath" "path/filepath"
"github.com/btcsuite/btcwire"
"github.com/conformal/btcchain" "github.com/conformal/btcchain"
"github.com/conformal/btcdb" "github.com/conformal/btcdb"
_ "github.com/conformal/btcdb/ldb" _ "github.com/conformal/btcdb/ldb"
"github.com/conformal/btcnet" "github.com/conformal/btcnet"
"github.com/conformal/btcwire"
) )
const blockDbNamePrefix = "blocks" const blockDbNamePrefix = "blocks"

View file

@ -15,11 +15,11 @@ import (
"github.com/btcsuite/btclog" "github.com/btcsuite/btclog"
"github.com/btcsuite/btcutil" "github.com/btcsuite/btcutil"
"github.com/btcsuite/btcwire"
flags "github.com/btcsuite/go-flags" flags "github.com/btcsuite/go-flags"
"github.com/conformal/btcdb" "github.com/conformal/btcdb"
_ "github.com/conformal/btcdb/ldb" _ "github.com/conformal/btcdb/ldb"
"github.com/conformal/btcnet" "github.com/conformal/btcnet"
"github.com/conformal/btcwire"
"github.com/davecgh/go-spew/spew" "github.com/davecgh/go-spew/spew"
) )