Update btcutil import paths to new location.

This commit is contained in:
Dave Collins 2015-01-15 15:13:38 -06:00
parent 40ba1daf69
commit 506d333934
26 changed files with 30 additions and 30 deletions

View file

@ -10,9 +10,9 @@ import (
"golang.org/x/crypto/ripemd160" "golang.org/x/crypto/ripemd160"
"github.com/btcsuite/btcutil/base58"
"github.com/conformal/btcec" "github.com/conformal/btcec"
"github.com/conformal/btcnet" "github.com/conformal/btcnet"
"github.com/conformal/btcutil/base58"
) )
var ( var (

View file

@ -13,8 +13,8 @@ import (
"golang.org/x/crypto/ripemd160" "golang.org/x/crypto/ripemd160"
"github.com/btcsuite/btcutil"
"github.com/conformal/btcnet" "github.com/conformal/btcnet"
"github.com/conformal/btcutil"
"github.com/conformal/btcwire" "github.com/conformal/btcwire"
) )

View file

@ -8,7 +8,7 @@ import (
"math" "math"
"testing" "testing"
. "github.com/conformal/btcutil" . "github.com/btcsuite/btcutil"
) )
func TestAmountCreation(t *testing.T) { func TestAmountCreation(t *testing.T) {

View file

@ -12,7 +12,7 @@ import (
"testing" "testing"
"unicode" "unicode"
"github.com/conformal/btcutil" "github.com/btcsuite/btcutil"
) )
// TestAppDataDir tests the API for AppDataDir to ensure it gives expected // TestAppDataDir tests the API for AppDataDir to ensure it gives expected

View file

@ -9,7 +9,7 @@ import (
"encoding/hex" "encoding/hex"
"testing" "testing"
"github.com/conformal/btcutil/base58" "github.com/btcsuite/btcutil/base58"
) )
var stringTests = []struct { var stringTests = []struct {

View file

@ -8,7 +8,7 @@ import (
"bytes" "bytes"
"testing" "testing"
"github.com/conformal/btcutil/base58" "github.com/btcsuite/btcutil/base58"
) )
func BenchmarkBase58Encode(b *testing.B) { func BenchmarkBase58Encode(b *testing.B) {

View file

@ -7,7 +7,7 @@ package base58_test
import ( import (
"testing" "testing"
"github.com/conformal/btcutil/base58" "github.com/btcsuite/btcutil/base58"
) )
var checkEncodingStringTests = []struct { var checkEncodingStringTests = []struct {

View file

@ -7,7 +7,7 @@ package base58_test
import ( import (
"fmt" "fmt"
"github.com/conformal/btcutil/base58" "github.com/btcsuite/btcutil/base58"
) )
// This example demonstrates how to decode modified base58 encoded data. // This example demonstrates how to decode modified base58 encoded data.

View file

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

View file

@ -9,7 +9,7 @@ import (
"math/rand" "math/rand"
"time" "time"
"github.com/conformal/btcutil/bloom" "github.com/btcsuite/btcutil/bloom"
"github.com/conformal/btcwire" "github.com/conformal/btcwire"
) )

View file

@ -9,8 +9,8 @@ import (
"math" "math"
"sync" "sync"
"github.com/btcsuite/btcutil"
"github.com/conformal/btcscript" "github.com/conformal/btcscript"
"github.com/conformal/btcutil"
"github.com/conformal/btcwire" "github.com/conformal/btcwire"
) )

View file

@ -9,8 +9,8 @@ import (
"encoding/hex" "encoding/hex"
"testing" "testing"
"github.com/conformal/btcutil" "github.com/btcsuite/btcutil"
"github.com/conformal/btcutil/bloom" "github.com/btcsuite/btcutil/bloom"
"github.com/conformal/btcwire" "github.com/conformal/btcwire"
) )

View file

@ -5,8 +5,8 @@
package bloom package bloom
import ( import (
"github.com/btcsuite/btcutil"
"github.com/conformal/btcchain" "github.com/conformal/btcchain"
"github.com/conformal/btcutil"
"github.com/conformal/btcwire" "github.com/conformal/btcwire"
) )

View file

@ -9,8 +9,8 @@ import (
"encoding/hex" "encoding/hex"
"testing" "testing"
"github.com/conformal/btcutil" "github.com/btcsuite/btcutil"
"github.com/conformal/btcutil/bloom" "github.com/btcsuite/btcutil/bloom"
"github.com/conformal/btcwire" "github.com/conformal/btcwire"
) )

View file

@ -7,7 +7,7 @@ package bloom_test
import ( import (
"testing" "testing"
"github.com/conformal/btcutil/bloom" "github.com/btcsuite/btcutil/bloom"
) )
// TestMurmurHash3 ensure the MurmurHash3 function produces the correct hash // TestMurmurHash3 ensure the MurmurHash3 function produces the correct hash

View file

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

View file

@ -5,7 +5,7 @@ import (
"errors" "errors"
"sort" "sort"
"github.com/conformal/btcutil" "github.com/btcsuite/btcutil"
"github.com/conformal/btcwire" "github.com/conformal/btcwire"
) )

View file

@ -6,8 +6,8 @@ import (
"fmt" "fmt"
"testing" "testing"
"github.com/conformal/btcutil" "github.com/btcsuite/btcutil"
"github.com/conformal/btcutil/coinset" "github.com/btcsuite/btcutil/coinset"
"github.com/conformal/btcwire" "github.com/conformal/btcwire"
"github.com/conformal/fastsha256" "github.com/conformal/fastsha256"
) )

View file

@ -7,7 +7,7 @@ package hdkeychain_test
import ( import (
"testing" "testing"
"github.com/conformal/btcutil/hdkeychain" "github.com/btcsuite/btcutil/hdkeychain"
) )
// bip0032MasterPriv1 is the master private extended key from the first set of // bip0032MasterPriv1 is the master private extended key from the first set of

View file

@ -7,8 +7,8 @@ package hdkeychain_test
import ( import (
"fmt" "fmt"
"github.com/btcsuite/btcutil/hdkeychain"
"github.com/conformal/btcnet" "github.com/conformal/btcnet"
"github.com/conformal/btcutil/hdkeychain"
) )
// This example demonstrates how to generate a cryptographically random seed // This example demonstrates how to generate a cryptographically random seed

View file

@ -18,10 +18,10 @@ import (
"fmt" "fmt"
"math/big" "math/big"
"github.com/btcsuite/btcutil"
"github.com/btcsuite/btcutil/base58"
"github.com/conformal/btcec" "github.com/conformal/btcec"
"github.com/conformal/btcnet" "github.com/conformal/btcnet"
"github.com/conformal/btcutil"
"github.com/conformal/btcutil/base58"
"github.com/conformal/btcwire" "github.com/conformal/btcwire"
) )

View file

@ -15,8 +15,8 @@ import (
"reflect" "reflect"
"testing" "testing"
"github.com/btcsuite/btcutil/hdkeychain"
"github.com/conformal/btcnet" "github.com/conformal/btcnet"
"github.com/conformal/btcutil/hdkeychain"
) )
// TestBIP0032Vectors tests the vectors provided by [BIP32] to ensure the // TestBIP0032Vectors tests the vectors provided by [BIP32] to ensure the

View file

@ -14,8 +14,8 @@ package btcutil
import ( import (
"golang.org/x/crypto/ripemd160" "golang.org/x/crypto/ripemd160"
"github.com/btcsuite/btcutil/base58"
"github.com/conformal/btcec" "github.com/conformal/btcec"
"github.com/conformal/btcutil/base58"
) )
// SetBlockBytes sets the internal serialized block byte buffer to the passed // SetBlockBytes sets the internal serialized block byte buffer to the passed

View file

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

2
wif.go
View file

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

View file

@ -7,9 +7,9 @@ package btcutil_test
import ( import (
"testing" "testing"
. "github.com/btcsuite/btcutil"
"github.com/conformal/btcec" "github.com/conformal/btcec"
"github.com/conformal/btcnet" "github.com/conformal/btcnet"
. "github.com/conformal/btcutil"
) )
func TestEncodeDecodeWIF(t *testing.T) { func TestEncodeDecodeWIF(t *testing.T) {