From 14056ad2cab5b34318e707fbdb1aa01f378c8b49 Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Fri, 16 Jan 2015 18:29:19 -0600 Subject: [PATCH] Update btcdb import paths to new location. --- chain.go | 2 +- common_test.go | 6 +++--- example_test.go | 4 ++-- txlookup.go | 2 +- validate.go | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/chain.go b/chain.go index 931ae995..e0333770 100644 --- a/chain.go +++ b/chain.go @@ -13,10 +13,10 @@ import ( "sync" "time" + "github.com/btcsuite/btcdb" "github.com/btcsuite/btcnet" "github.com/btcsuite/btcutil" "github.com/btcsuite/btcwire" - "github.com/conformal/btcdb" ) const ( diff --git a/common_test.go b/common_test.go index fca5b61e..0f261924 100644 --- a/common_test.go +++ b/common_test.go @@ -13,13 +13,13 @@ import ( "path/filepath" "strings" + "github.com/btcsuite/btcdb" + _ "github.com/btcsuite/btcdb/ldb" + _ "github.com/btcsuite/btcdb/memdb" "github.com/btcsuite/btcnet" "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" ) // testDbType is the database backend type to use for the tests. diff --git a/example_test.go b/example_test.go index 0a0d5610..91345971 100644 --- a/example_test.go +++ b/example_test.go @@ -8,11 +8,11 @@ import ( "fmt" "math/big" + "github.com/btcsuite/btcdb" + _ "github.com/btcsuite/btcdb/memdb" "github.com/btcsuite/btcnet" "github.com/btcsuite/btcutil" "github.com/conformal/btcchain" - "github.com/conformal/btcdb" - _ "github.com/conformal/btcdb/memdb" ) // This example demonstrates how to create a new chain instance and use diff --git a/txlookup.go b/txlookup.go index 4dd78a6b..95484b6a 100644 --- a/txlookup.go +++ b/txlookup.go @@ -7,9 +7,9 @@ package btcchain import ( "fmt" + "github.com/btcsuite/btcdb" "github.com/btcsuite/btcutil" "github.com/btcsuite/btcwire" - "github.com/conformal/btcdb" ) // TxData contains contextual information about transactions such as which block diff --git a/validate.go b/validate.go index 17bc5939..d7052626 100644 --- a/validate.go +++ b/validate.go @@ -11,10 +11,10 @@ import ( "math/big" "time" + "github.com/btcsuite/btcdb" "github.com/btcsuite/btcnet" "github.com/btcsuite/btcutil" "github.com/btcsuite/btcwire" - "github.com/conformal/btcdb" "github.com/conformal/btcscript" )