Update btcwire import paths to new location.

This commit is contained in:
Dave Collins 2015-01-16 15:26:50 -06:00
parent 5dada8b184
commit fdc00f8eff
14 changed files with 14 additions and 14 deletions

View file

@ -14,8 +14,8 @@ 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/conformal/btcnet" "github.com/conformal/btcnet"
"github.com/conformal/btcwire"
) )
// invalidNet is an invalid bitcoin network. // invalidNet is an invalid bitcoin network.

View file

@ -9,7 +9,7 @@ import (
"fmt" "fmt"
"io" "io"
"github.com/conformal/btcwire" "github.com/btcsuite/btcwire"
) )
// OutOfRangeError describes an error due to accessing an element that is out // OutOfRangeError describes an error due to accessing an element that is out

View file

@ -12,7 +12,7 @@ import (
"time" "time"
"github.com/btcsuite/btcutil" "github.com/btcsuite/btcutil"
"github.com/conformal/btcwire" "github.com/btcsuite/btcwire"
"github.com/davecgh/go-spew/spew" "github.com/davecgh/go-spew/spew"
) )

View file

@ -10,7 +10,7 @@ import (
"time" "time"
"github.com/btcsuite/btcutil/bloom" "github.com/btcsuite/btcutil/bloom"
"github.com/conformal/btcwire" "github.com/btcsuite/btcwire"
) )
// This example demonstrates how to create a new bloom filter, add a transaction // This example demonstrates how to create a new bloom filter, add a transaction

View file

@ -10,8 +10,8 @@ import (
"sync" "sync"
"github.com/btcsuite/btcutil" "github.com/btcsuite/btcutil"
"github.com/btcsuite/btcwire"
"github.com/conformal/btcscript" "github.com/conformal/btcscript"
"github.com/conformal/btcwire"
) )
// ln2Squared is simply the square of the natural log of 2. // ln2Squared is simply the square of the natural log of 2.

View file

@ -11,7 +11,7 @@ import (
"github.com/btcsuite/btcutil" "github.com/btcsuite/btcutil"
"github.com/btcsuite/btcutil/bloom" "github.com/btcsuite/btcutil/bloom"
"github.com/conformal/btcwire" "github.com/btcsuite/btcwire"
) )
// TestFilterLarge ensures a maximum sized filter can be created. // TestFilterLarge ensures a maximum sized filter can be created.

View file

@ -6,8 +6,8 @@ package bloom
import ( import (
"github.com/btcsuite/btcutil" "github.com/btcsuite/btcutil"
"github.com/btcsuite/btcwire"
"github.com/conformal/btcchain" "github.com/conformal/btcchain"
"github.com/conformal/btcwire"
) )
// merkleBlock is used to house intermediate information needed to generate a // merkleBlock is used to house intermediate information needed to generate a

View file

@ -11,7 +11,7 @@ import (
"github.com/btcsuite/btcutil" "github.com/btcsuite/btcutil"
"github.com/btcsuite/btcutil/bloom" "github.com/btcsuite/btcutil/bloom"
"github.com/conformal/btcwire" "github.com/btcsuite/btcwire"
) )
func TestMerkleBlock3(t *testing.T) { func TestMerkleBlock3(t *testing.T) {

View file

@ -6,7 +6,7 @@ import (
"sort" "sort"
"github.com/btcsuite/btcutil" "github.com/btcsuite/btcutil"
"github.com/conformal/btcwire" "github.com/btcsuite/btcwire"
) )
// Coin represents a spendable transaction outpoint // Coin represents a spendable transaction outpoint

View file

@ -8,8 +8,8 @@ import (
"github.com/btcsuite/btcutil" "github.com/btcsuite/btcutil"
"github.com/btcsuite/btcutil/coinset" "github.com/btcsuite/btcutil/coinset"
"github.com/btcsuite/btcwire"
"github.com/btcsuite/fastsha256" "github.com/btcsuite/fastsha256"
"github.com/conformal/btcwire"
) )
type TestCoin struct { type TestCoin struct {

View file

@ -20,9 +20,9 @@ import (
"github.com/btcsuite/btcutil" "github.com/btcsuite/btcutil"
"github.com/btcsuite/btcutil/base58" "github.com/btcsuite/btcutil/base58"
"github.com/btcsuite/btcwire"
"github.com/conformal/btcec" "github.com/conformal/btcec"
"github.com/conformal/btcnet" "github.com/conformal/btcnet"
"github.com/conformal/btcwire"
) )
const ( const (

2
tx.go
View file

@ -8,7 +8,7 @@ import (
"bytes" "bytes"
"io" "io"
"github.com/conformal/btcwire" "github.com/btcsuite/btcwire"
) )
// TxIndexUnknown is the value returned for a transaction index that is unknown. // TxIndexUnknown is the value returned for a transaction index that is unknown.

View file

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

2
wif.go
View file

@ -9,9 +9,9 @@ import (
"errors" "errors"
"github.com/btcsuite/btcutil/base58" "github.com/btcsuite/btcutil/base58"
"github.com/btcsuite/btcwire"
"github.com/conformal/btcec" "github.com/conformal/btcec"
"github.com/conformal/btcnet" "github.com/conformal/btcnet"
"github.com/conformal/btcwire"
) )
// ErrMalformedPrivateKey describes an error where a WIF-encoded private // ErrMalformedPrivateKey describes an error where a WIF-encoded private