From 3a35b009ac033dbd932f938e1a8f96630a038e6f Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Fri, 16 Jan 2015 13:57:29 -0600 Subject: [PATCH] Update btcwire import paths to new location. --- blocklocator.go | 2 +- chain.go | 2 +- chain_test.go | 2 +- checkpoints.go | 2 +- common_test.go | 2 +- difficulty.go | 2 +- merkle.go | 2 +- process.go | 2 +- reorganization_test.go | 2 +- scriptval.go | 2 +- txlookup.go | 2 +- validate.go | 2 +- validate_test.go | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/blocklocator.go b/blocklocator.go index 136236cb..544cf72f 100644 --- a/blocklocator.go +++ b/blocklocator.go @@ -5,7 +5,7 @@ package btcchain import ( - "github.com/conformal/btcwire" + "github.com/btcsuite/btcwire" ) // BlockLocator is used to help locate a specific block. The algorithm for diff --git a/chain.go b/chain.go index da64b1b7..4a537005 100644 --- a/chain.go +++ b/chain.go @@ -14,9 +14,9 @@ import ( "time" "github.com/btcsuite/btcutil" + "github.com/btcsuite/btcwire" "github.com/conformal/btcdb" "github.com/conformal/btcnet" - "github.com/conformal/btcwire" ) const ( diff --git a/chain_test.go b/chain_test.go index 1633a27b..52aed532 100644 --- a/chain_test.go +++ b/chain_test.go @@ -8,9 +8,9 @@ import ( "testing" "github.com/btcsuite/btcutil" + "github.com/btcsuite/btcwire" "github.com/conformal/btcchain" "github.com/conformal/btcnet" - "github.com/conformal/btcwire" ) // TestHaveBlock tests the HaveBlock API to ensure proper functionality. diff --git a/checkpoints.go b/checkpoints.go index 8c64598a..1ae74d1e 100644 --- a/checkpoints.go +++ b/checkpoints.go @@ -8,9 +8,9 @@ import ( "fmt" "github.com/btcsuite/btcutil" + "github.com/btcsuite/btcwire" "github.com/conformal/btcnet" "github.com/conformal/btcscript" - "github.com/conformal/btcwire" ) // CheckpointConfirmations is the number of blocks before the end of the current diff --git a/common_test.go b/common_test.go index 9d7c6d5a..1f60983c 100644 --- a/common_test.go +++ b/common_test.go @@ -14,12 +14,12 @@ import ( "strings" "github.com/btcsuite/btcutil" + "github.com/btcsuite/btcwire" "github.com/conformal/btcchain" "github.com/conformal/btcdb" _ "github.com/conformal/btcdb/ldb" _ "github.com/conformal/btcdb/memdb" "github.com/conformal/btcnet" - "github.com/conformal/btcwire" ) // testDbType is the database backend type to use for the tests. diff --git a/difficulty.go b/difficulty.go index b09c108b..11bb36ba 100644 --- a/difficulty.go +++ b/difficulty.go @@ -9,7 +9,7 @@ import ( "math/big" "time" - "github.com/conformal/btcwire" + "github.com/btcsuite/btcwire" ) const ( diff --git a/merkle.go b/merkle.go index 97c63b0f..83e5acdb 100644 --- a/merkle.go +++ b/merkle.go @@ -8,7 +8,7 @@ import ( "math" "github.com/btcsuite/btcutil" - "github.com/conformal/btcwire" + "github.com/btcsuite/btcwire" ) // nextPowerOfTwo returns the next highest power of two from a given number if diff --git a/process.go b/process.go index 70f52344..fce1ee33 100644 --- a/process.go +++ b/process.go @@ -8,7 +8,7 @@ import ( "fmt" "github.com/btcsuite/btcutil" - "github.com/conformal/btcwire" + "github.com/btcsuite/btcwire" ) // BehaviorFlags is a bitmask defining tweaks to the normal behavior when diff --git a/reorganization_test.go b/reorganization_test.go index 470b4fee..85346df5 100644 --- a/reorganization_test.go +++ b/reorganization_test.go @@ -14,8 +14,8 @@ import ( "testing" "github.com/btcsuite/btcutil" + "github.com/btcsuite/btcwire" "github.com/conformal/btcchain" - "github.com/conformal/btcwire" ) // TestReorganization loads a set of test blocks which force a chain diff --git a/scriptval.go b/scriptval.go index 85b038ef..33387929 100644 --- a/scriptval.go +++ b/scriptval.go @@ -10,8 +10,8 @@ import ( "runtime" "github.com/btcsuite/btcutil" + "github.com/btcsuite/btcwire" "github.com/conformal/btcscript" - "github.com/conformal/btcwire" ) // txValidateItem holds a transaction along with which input to validate. diff --git a/txlookup.go b/txlookup.go index 2abf4f4b..4dd78a6b 100644 --- a/txlookup.go +++ b/txlookup.go @@ -8,8 +8,8 @@ import ( "fmt" "github.com/btcsuite/btcutil" + "github.com/btcsuite/btcwire" "github.com/conformal/btcdb" - "github.com/conformal/btcwire" ) // TxData contains contextual information about transactions such as which block diff --git a/validate.go b/validate.go index 04de256c..71e5f3c9 100644 --- a/validate.go +++ b/validate.go @@ -12,10 +12,10 @@ import ( "time" "github.com/btcsuite/btcutil" + "github.com/btcsuite/btcwire" "github.com/conformal/btcdb" "github.com/conformal/btcnet" "github.com/conformal/btcscript" - "github.com/conformal/btcwire" ) const ( diff --git a/validate_test.go b/validate_test.go index 60d72ad1..bac033dd 100644 --- a/validate_test.go +++ b/validate_test.go @@ -11,9 +11,9 @@ import ( "time" "github.com/btcsuite/btcutil" + "github.com/btcsuite/btcwire" "github.com/conformal/btcchain" "github.com/conformal/btcnet" - "github.com/conformal/btcwire" ) // TestCheckConnectBlock tests the CheckConnectBlock function to ensure it