Update btcutil import paths to new location.
This commit is contained in:
parent
40ba1daf69
commit
506d333934
26 changed files with 30 additions and 30 deletions
|
@ -10,9 +10,9 @@ import (
|
|||
|
||||
"golang.org/x/crypto/ripemd160"
|
||||
|
||||
"github.com/btcsuite/btcutil/base58"
|
||||
"github.com/conformal/btcec"
|
||||
"github.com/conformal/btcnet"
|
||||
"github.com/conformal/btcutil/base58"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
@ -13,8 +13,8 @@ import (
|
|||
|
||||
"golang.org/x/crypto/ripemd160"
|
||||
|
||||
"github.com/btcsuite/btcutil"
|
||||
"github.com/conformal/btcnet"
|
||||
"github.com/conformal/btcutil"
|
||||
"github.com/conformal/btcwire"
|
||||
)
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ import (
|
|||
"math"
|
||||
"testing"
|
||||
|
||||
. "github.com/conformal/btcutil"
|
||||
. "github.com/btcsuite/btcutil"
|
||||
)
|
||||
|
||||
func TestAmountCreation(t *testing.T) {
|
||||
|
|
|
@ -12,7 +12,7 @@ import (
|
|||
"testing"
|
||||
"unicode"
|
||||
|
||||
"github.com/conformal/btcutil"
|
||||
"github.com/btcsuite/btcutil"
|
||||
)
|
||||
|
||||
// TestAppDataDir tests the API for AppDataDir to ensure it gives expected
|
||||
|
|
|
@ -9,7 +9,7 @@ import (
|
|||
"encoding/hex"
|
||||
"testing"
|
||||
|
||||
"github.com/conformal/btcutil/base58"
|
||||
"github.com/btcsuite/btcutil/base58"
|
||||
)
|
||||
|
||||
var stringTests = []struct {
|
||||
|
|
|
@ -8,7 +8,7 @@ import (
|
|||
"bytes"
|
||||
"testing"
|
||||
|
||||
"github.com/conformal/btcutil/base58"
|
||||
"github.com/btcsuite/btcutil/base58"
|
||||
)
|
||||
|
||||
func BenchmarkBase58Encode(b *testing.B) {
|
||||
|
|
|
@ -7,7 +7,7 @@ package base58_test
|
|||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/conformal/btcutil/base58"
|
||||
"github.com/btcsuite/btcutil/base58"
|
||||
)
|
||||
|
||||
var checkEncodingStringTests = []struct {
|
||||
|
|
|
@ -7,7 +7,7 @@ package base58_test
|
|||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/conformal/btcutil/base58"
|
||||
"github.com/btcsuite/btcutil/base58"
|
||||
)
|
||||
|
||||
// This example demonstrates how to decode modified base58 encoded data.
|
||||
|
|
|
@ -11,7 +11,7 @@ import (
|
|||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/conformal/btcutil"
|
||||
"github.com/btcsuite/btcutil"
|
||||
"github.com/conformal/btcwire"
|
||||
"github.com/davecgh/go-spew/spew"
|
||||
)
|
||||
|
|
|
@ -9,7 +9,7 @@ import (
|
|||
"math/rand"
|
||||
"time"
|
||||
|
||||
"github.com/conformal/btcutil/bloom"
|
||||
"github.com/btcsuite/btcutil/bloom"
|
||||
"github.com/conformal/btcwire"
|
||||
)
|
||||
|
||||
|
|
|
@ -9,8 +9,8 @@ import (
|
|||
"math"
|
||||
"sync"
|
||||
|
||||
"github.com/btcsuite/btcutil"
|
||||
"github.com/conformal/btcscript"
|
||||
"github.com/conformal/btcutil"
|
||||
"github.com/conformal/btcwire"
|
||||
)
|
||||
|
||||
|
|
|
@ -9,8 +9,8 @@ import (
|
|||
"encoding/hex"
|
||||
"testing"
|
||||
|
||||
"github.com/conformal/btcutil"
|
||||
"github.com/conformal/btcutil/bloom"
|
||||
"github.com/btcsuite/btcutil"
|
||||
"github.com/btcsuite/btcutil/bloom"
|
||||
"github.com/conformal/btcwire"
|
||||
)
|
||||
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
package bloom
|
||||
|
||||
import (
|
||||
"github.com/btcsuite/btcutil"
|
||||
"github.com/conformal/btcchain"
|
||||
"github.com/conformal/btcutil"
|
||||
"github.com/conformal/btcwire"
|
||||
)
|
||||
|
||||
|
|
|
@ -9,8 +9,8 @@ import (
|
|||
"encoding/hex"
|
||||
"testing"
|
||||
|
||||
"github.com/conformal/btcutil"
|
||||
"github.com/conformal/btcutil/bloom"
|
||||
"github.com/btcsuite/btcutil"
|
||||
"github.com/btcsuite/btcutil/bloom"
|
||||
"github.com/conformal/btcwire"
|
||||
)
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ package bloom_test
|
|||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/conformal/btcutil/bloom"
|
||||
"github.com/btcsuite/btcutil/bloom"
|
||||
)
|
||||
|
||||
// TestMurmurHash3 ensure the MurmurHash3 function produces the correct hash
|
||||
|
|
|
@ -10,7 +10,7 @@ import (
|
|||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/conformal/btcutil"
|
||||
"github.com/btcsuite/btcutil"
|
||||
//"github.com/davecgh/go-spew/spew"
|
||||
)
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ import (
|
|||
"errors"
|
||||
"sort"
|
||||
|
||||
"github.com/conformal/btcutil"
|
||||
"github.com/btcsuite/btcutil"
|
||||
"github.com/conformal/btcwire"
|
||||
)
|
||||
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"fmt"
|
||||
"testing"
|
||||
|
||||
"github.com/conformal/btcutil"
|
||||
"github.com/conformal/btcutil/coinset"
|
||||
"github.com/btcsuite/btcutil"
|
||||
"github.com/btcsuite/btcutil/coinset"
|
||||
"github.com/conformal/btcwire"
|
||||
"github.com/conformal/fastsha256"
|
||||
)
|
||||
|
|
|
@ -7,7 +7,7 @@ package hdkeychain_test
|
|||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/conformal/btcutil/hdkeychain"
|
||||
"github.com/btcsuite/btcutil/hdkeychain"
|
||||
)
|
||||
|
||||
// bip0032MasterPriv1 is the master private extended key from the first set of
|
||||
|
|
|
@ -7,8 +7,8 @@ package hdkeychain_test
|
|||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/btcsuite/btcutil/hdkeychain"
|
||||
"github.com/conformal/btcnet"
|
||||
"github.com/conformal/btcutil/hdkeychain"
|
||||
)
|
||||
|
||||
// This example demonstrates how to generate a cryptographically random seed
|
||||
|
|
|
@ -18,10 +18,10 @@ import (
|
|||
"fmt"
|
||||
"math/big"
|
||||
|
||||
"github.com/btcsuite/btcutil"
|
||||
"github.com/btcsuite/btcutil/base58"
|
||||
"github.com/conformal/btcec"
|
||||
"github.com/conformal/btcnet"
|
||||
"github.com/conformal/btcutil"
|
||||
"github.com/conformal/btcutil/base58"
|
||||
"github.com/conformal/btcwire"
|
||||
)
|
||||
|
||||
|
|
|
@ -15,8 +15,8 @@ import (
|
|||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/btcsuite/btcutil/hdkeychain"
|
||||
"github.com/conformal/btcnet"
|
||||
"github.com/conformal/btcutil/hdkeychain"
|
||||
)
|
||||
|
||||
// TestBIP0032Vectors tests the vectors provided by [BIP32] to ensure the
|
||||
|
|
|
@ -14,8 +14,8 @@ package btcutil
|
|||
import (
|
||||
"golang.org/x/crypto/ripemd160"
|
||||
|
||||
"github.com/btcsuite/btcutil/base58"
|
||||
"github.com/conformal/btcec"
|
||||
"github.com/conformal/btcutil/base58"
|
||||
)
|
||||
|
||||
// SetBlockBytes sets the internal serialized block byte buffer to the passed
|
||||
|
|
|
@ -10,7 +10,7 @@ import (
|
|||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/conformal/btcutil"
|
||||
"github.com/btcsuite/btcutil"
|
||||
"github.com/conformal/btcwire"
|
||||
"github.com/davecgh/go-spew/spew"
|
||||
)
|
||||
|
|
2
wif.go
2
wif.go
|
@ -8,9 +8,9 @@ import (
|
|||
"bytes"
|
||||
"errors"
|
||||
|
||||
"github.com/btcsuite/btcutil/base58"
|
||||
"github.com/conformal/btcec"
|
||||
"github.com/conformal/btcnet"
|
||||
"github.com/conformal/btcutil/base58"
|
||||
"github.com/conformal/btcwire"
|
||||
)
|
||||
|
||||
|
|
|
@ -7,9 +7,9 @@ package btcutil_test
|
|||
import (
|
||||
"testing"
|
||||
|
||||
. "github.com/btcsuite/btcutil"
|
||||
"github.com/conformal/btcec"
|
||||
"github.com/conformal/btcnet"
|
||||
. "github.com/conformal/btcutil"
|
||||
)
|
||||
|
||||
func TestEncodeDecodeWIF(t *testing.T) {
|
||||
|
|
Loading…
Reference in a new issue