Skip to content

Commit

Permalink
Update btcwire import paths to new location.
Browse files Browse the repository at this point in the history
  • Loading branch information
davecgh committed Jan 16, 2015
1 parent e18b383 commit 1b4d499
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion common_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
2 changes: 1 addition & 1 deletion db.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion interface_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
2 changes: 1 addition & 1 deletion ldb/block.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion ldb/boundary_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion ldb/dup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion ldb/insertremove_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion ldb/internal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion ldb/leveldb.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
2 changes: 1 addition & 1 deletion ldb/operational_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion ldb/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion memdb/memdb.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion memdb/memdb_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1b4d499

Please sign in to comment.