Update btcwire import paths to new location.

This commit is contained in:
Dave Collins 2015-01-16 13:59:18 -06:00
parent e18b38318a
commit 1b4d499597
13 changed files with 13 additions and 13 deletions

View file

@ -15,11 +15,11 @@ import (
"testing"
"github.com/btcsuite/btcutil"
"github.com/btcsuite/btcwire"
"github.com/conformal/btcdb"
_ "github.com/conformal/btcdb/ldb"
_ "github.com/conformal/btcdb/memdb"
"github.com/conformal/btcnet"
"github.com/conformal/btcwire"
)
var (

2
db.go
View file

@ -8,7 +8,7 @@ import (
"errors"
"github.com/btcsuite/btcutil"
"github.com/conformal/btcwire"
"github.com/btcsuite/btcwire"
)
// Errors that the various database functions may return.

View file

@ -9,8 +9,8 @@ import (
"testing"
"github.com/btcsuite/btcutil"
"github.com/btcsuite/btcwire"
"github.com/conformal/btcdb"
"github.com/conformal/btcwire"
"github.com/davecgh/go-spew/spew"
)

View file

@ -9,9 +9,9 @@ import (
"encoding/binary"
"github.com/btcsuite/btcutil"
"github.com/btcsuite/btcwire"
"github.com/btcsuite/goleveldb/leveldb"
"github.com/conformal/btcdb"
"github.com/conformal/btcwire"
)
// FetchBlockBySha - return a btcutil Block

View file

@ -8,8 +8,8 @@ import (
"os"
"testing"
"github.com/btcsuite/btcwire"
"github.com/conformal/btcdb"
"github.com/conformal/btcwire"
)
// we need to test for empty databas and make certain it returns proper value

View file

@ -11,8 +11,8 @@ import (
"testing"
"github.com/btcsuite/btcutil"
"github.com/btcsuite/btcwire"
"github.com/conformal/btcdb"
"github.com/conformal/btcwire"
)
func Test_dupTx(t *testing.T) {

View file

@ -11,9 +11,9 @@ import (
"testing"
"github.com/btcsuite/btcutil"
"github.com/btcsuite/btcwire"
"github.com/conformal/btcdb"
_ "github.com/conformal/btcdb/ldb"
"github.com/conformal/btcwire"
)
var tstBlocks []*btcutil.Block

View file

@ -7,8 +7,8 @@ package ldb
import (
"fmt"
"github.com/btcsuite/btcwire"
"github.com/conformal/btcdb"
"github.com/conformal/btcwire"
)
// FetchSha returns the datablock and pver for the given ShaHash.

View file

@ -13,10 +13,10 @@ import (
"github.com/btcsuite/btclog"
"github.com/btcsuite/btcutil"
"github.com/btcsuite/btcwire"
"github.com/btcsuite/goleveldb/leveldb"
"github.com/btcsuite/goleveldb/leveldb/opt"
"github.com/conformal/btcdb"
"github.com/conformal/btcwire"
)
const (

View file

@ -15,9 +15,9 @@ import (
"testing"
"github.com/btcsuite/btcutil"
"github.com/btcsuite/btcwire"
"github.com/conformal/btcdb"
"github.com/conformal/btcnet"
"github.com/conformal/btcwire"
)
var network = btcwire.MainNet

View file

@ -8,9 +8,9 @@ import (
"bytes"
"encoding/binary"
"github.com/btcsuite/btcwire"
"github.com/btcsuite/goleveldb/leveldb"
"github.com/conformal/btcdb"
"github.com/conformal/btcwire"
)
type txUpdateObj struct {

View file

@ -11,8 +11,8 @@ import (
"sync"
"github.com/btcsuite/btcutil"
"github.com/btcsuite/btcwire"
"github.com/conformal/btcdb"
"github.com/conformal/btcwire"
)
// Errors that the various database functions may return.

View file

@ -9,10 +9,10 @@ import (
"testing"
"github.com/btcsuite/btcutil"
"github.com/btcsuite/btcwire"
"github.com/conformal/btcdb"
"github.com/conformal/btcdb/memdb"
"github.com/conformal/btcnet"
"github.com/conformal/btcwire"
)
// TestClosed ensure calling the interface functions on a closed database