diff --git a/README.md b/README.md index 77c0d188..44f6db1d 100644 --- a/README.md +++ b/README.md @@ -23,20 +23,20 @@ handle processing of blocks into the bitcoin block chain. ## Documentation [![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg] -(http://godoc.org/github.com/conformal/btcchain) +(http://godoc.org/github.com/btcsuite/btcchain) Full `go doc` style documentation for the project can be viewed online without installing this package by using the GoDoc site here: -http://godoc.org/github.com/conformal/btcchain +http://godoc.org/github.com/btcsuite/btcchain You can also view the documentation locally once the package is installed with the `godoc` tool by running `godoc -http=":6060"` and pointing your browser to -http://localhost:6060/pkg/github.com/conformal/btcchain +http://localhost:6060/pkg/github.com/btcsuite/btcchain ## Installation ```bash -$ go get github.com/conformal/btcchain +$ go get github.com/btcsuite/btcchain ``` ## Bitcoin Chain Processing Overview @@ -77,20 +77,20 @@ is by no means exhaustive: ## Examples * [ProcessBlock Example] - (http://godoc.org/github.com/conformal/btcchain#example-BlockChain-ProcessBlock) + (http://godoc.org/github.com/btcsuite/btcchain#example-BlockChain-ProcessBlock) Demonstrates how to create a new chain instance and use ProcessBlock to attempt to attempt add a block to the chain. This example intentionally attempts to insert a duplicate genesis block to illustrate how an invalid block is handled. * [CompactToBig Example] - (http://godoc.org/github.com/conformal/btcchain#example-CompactToBig) + (http://godoc.org/github.com/btcsuite/btcchain#example-CompactToBig) Demonstrates how to convert the compact "bits" in a block header which represent the target difficulty to a big integer and display it using the typical hex notation. * [BigToCompact Example] - (http://godoc.org/github.com/conformal/btcchain#example-BigToCompact) + (http://godoc.org/github.com/btcsuite/btcchain#example-BigToCompact) Demonstrates how to convert how to convert a target difficulty into the compact "bits" in a block header which represent that target difficulty. diff --git a/chain_test.go b/chain_test.go index 6b7559c5..213979fb 100644 --- a/chain_test.go +++ b/chain_test.go @@ -7,10 +7,10 @@ package btcchain_test import ( "testing" + "github.com/btcsuite/btcchain" "github.com/btcsuite/btcnet" "github.com/btcsuite/btcutil" "github.com/btcsuite/btcwire" - "github.com/conformal/btcchain" ) // TestHaveBlock tests the HaveBlock API to ensure proper functionality. diff --git a/common_test.go b/common_test.go index 0f261924..64a14064 100644 --- a/common_test.go +++ b/common_test.go @@ -13,13 +13,13 @@ import ( "path/filepath" "strings" + "github.com/btcsuite/btcchain" "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" ) // testDbType is the database backend type to use for the tests. diff --git a/difficulty_test.go b/difficulty_test.go index 19aa278a..e3a84454 100644 --- a/difficulty_test.go +++ b/difficulty_test.go @@ -8,7 +8,7 @@ import ( "math/big" "testing" - "github.com/conformal/btcchain" + "github.com/btcsuite/btcchain" ) func TestBigToCompact(t *testing.T) { diff --git a/error_test.go b/error_test.go index 4f7b3398..1962629b 100644 --- a/error_test.go +++ b/error_test.go @@ -7,7 +7,7 @@ package btcchain_test import ( "testing" - "github.com/conformal/btcchain" + "github.com/btcsuite/btcchain" ) // TestErrorCodeStringer tests the stringized output for the ErrorCode type. diff --git a/example_test.go b/example_test.go index 91345971..f30f9e56 100644 --- a/example_test.go +++ b/example_test.go @@ -8,11 +8,11 @@ import ( "fmt" "math/big" + "github.com/btcsuite/btcchain" "github.com/btcsuite/btcdb" _ "github.com/btcsuite/btcdb/memdb" "github.com/btcsuite/btcnet" "github.com/btcsuite/btcutil" - "github.com/conformal/btcchain" ) // This example demonstrates how to create a new chain instance and use diff --git a/mediantime_test.go b/mediantime_test.go index 1b714007..69f543a0 100644 --- a/mediantime_test.go +++ b/mediantime_test.go @@ -9,7 +9,7 @@ import ( "testing" "time" - "github.com/conformal/btcchain" + "github.com/btcsuite/btcchain" ) // TestMedianTime tests the medianTime implementation. diff --git a/merkle_test.go b/merkle_test.go index 2886dec1..f766270f 100644 --- a/merkle_test.go +++ b/merkle_test.go @@ -7,8 +7,8 @@ package btcchain_test import ( "testing" + "github.com/btcsuite/btcchain" "github.com/btcsuite/btcutil" - "github.com/conformal/btcchain" ) // TestMerkle tests the BuildMerkleTreeStore API. diff --git a/reorganization_test.go b/reorganization_test.go index 85346df5..e52be822 100644 --- a/reorganization_test.go +++ b/reorganization_test.go @@ -13,9 +13,9 @@ import ( "strings" "testing" + "github.com/btcsuite/btcchain" "github.com/btcsuite/btcutil" "github.com/btcsuite/btcwire" - "github.com/conformal/btcchain" ) // TestReorganization loads a set of test blocks which force a chain diff --git a/scriptval_test.go b/scriptval_test.go index 558d6194..5dacd826 100644 --- a/scriptval_test.go +++ b/scriptval_test.go @@ -9,7 +9,7 @@ import ( "runtime" "testing" - "github.com/conformal/btcchain" + "github.com/btcsuite/btcchain" ) // TestCheckBlockScripts ensures that validating the all of the scripts in a diff --git a/timesorter_test.go b/timesorter_test.go index db2f9e24..297fdb7c 100644 --- a/timesorter_test.go +++ b/timesorter_test.go @@ -10,7 +10,7 @@ import ( "testing" "time" - "github.com/conformal/btcchain" + "github.com/btcsuite/btcchain" ) // TestTimeSorter tests the timeSorter implementation. diff --git a/validate_test.go b/validate_test.go index c0ebb163..c8fde7af 100644 --- a/validate_test.go +++ b/validate_test.go @@ -10,10 +10,10 @@ import ( "testing" "time" + "github.com/btcsuite/btcchain" "github.com/btcsuite/btcnet" "github.com/btcsuite/btcutil" "github.com/btcsuite/btcwire" - "github.com/conformal/btcchain" ) // TestCheckConnectBlock tests the CheckConnectBlock function to ensure it