diff --git a/.gitignore b/.gitignore index 72fb9416e..35c43095c 100644 --- a/.gitignore +++ b/.gitignore @@ -32,3 +32,6 @@ _cgo_export.* _testmain.go *.exe + +# IDE +.idea \ No newline at end of file diff --git a/README.md b/README.md index 72e73a556..bcb3deb06 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ btcd [![Build Status](https://travis-ci.org/btcsuite/btcd.png?branch=master)](https://travis-ci.org/btcsuite/btcd) [![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) -[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/btcsuite/btcd) +[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/daglabs/btcd) btcd is an alternative full node bitcoin implementation written in Go (golang). @@ -41,7 +41,7 @@ which are both under active development. #### Windows - MSI Available -https://github.com/btcsuite/btcd/releases +https://github.com/daglabs/btcd/releases #### Linux/BSD/MacOSX/POSIX - Build from Source @@ -64,8 +64,8 @@ recommended that `GOPATH` is set to a directory in your home directory such as ```bash $ go get -u github.com/Masterminds/glide -$ git clone https://github.com/btcsuite/btcd $GOPATH/src/github.com/btcsuite/btcd -$ cd $GOPATH/src/github.com/btcsuite/btcd +$ git clone https://github.com/daglabs/btcd $GOPATH/src/github.com/daglabs/btcd +$ cd $GOPATH/src/github.com/daglabs/btcd $ glide install $ go install . ./cmd/... ``` @@ -85,7 +85,7 @@ Install a newer MSI - Run the following commands to update btcd, all dependencies, and install it: ```bash -$ cd $GOPATH/src/github.com/btcsuite/btcd +$ cd $GOPATH/src/github.com/daglabs/btcd $ git pull && glide install $ go install . ./cmd/... ``` @@ -114,12 +114,12 @@ $ ./btcd ## Issue Tracker -The [integrated github issue tracker](https://github.com/btcsuite/btcd/issues) +The [integrated github issue tracker](https://github.com/daglabs/btcd/issues) is used for this project. ## Documentation -The documentation is a work-in-progress. It is located in the [docs](https://github.com/btcsuite/btcd/tree/master/docs) folder. +The documentation is a work-in-progress. It is located in the [docs](https://github.com/daglabs/btcd/tree/master/docs) folder. ## GPG Verification Key diff --git a/addrmgr/addrmanager.go b/addrmgr/addrmanager.go index 4dc8bdbd7..fa415683f 100644 --- a/addrmgr/addrmanager.go +++ b/addrmgr/addrmanager.go @@ -22,8 +22,8 @@ import ( "sync/atomic" "time" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/wire" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/wire" ) // AddrManager provides a concurrency safe address manager for caching potential diff --git a/addrmgr/addrmanager_test.go b/addrmgr/addrmanager_test.go index fcfe845fe..861cf4d1b 100644 --- a/addrmgr/addrmanager_test.go +++ b/addrmgr/addrmanager_test.go @@ -12,8 +12,8 @@ import ( "testing" "time" - "github.com/btcsuite/btcd/addrmgr" - "github.com/btcsuite/btcd/wire" + "github.com/daglabs/btcd/addrmgr" + "github.com/daglabs/btcd/wire" ) // naTest is used to describe a test to be performed against the NetAddressKey diff --git a/addrmgr/internal_test.go b/addrmgr/internal_test.go index e50e923cf..f1ead4acc 100644 --- a/addrmgr/internal_test.go +++ b/addrmgr/internal_test.go @@ -7,7 +7,7 @@ package addrmgr import ( "time" - "github.com/btcsuite/btcd/wire" + "github.com/daglabs/btcd/wire" ) func TstKnownAddressIsBad(ka *KnownAddress) bool { diff --git a/addrmgr/knownaddress.go b/addrmgr/knownaddress.go index 4a8da83e3..5dfbb9e9b 100644 --- a/addrmgr/knownaddress.go +++ b/addrmgr/knownaddress.go @@ -7,7 +7,7 @@ package addrmgr import ( "time" - "github.com/btcsuite/btcd/wire" + "github.com/daglabs/btcd/wire" ) // KnownAddress tracks information about a known network address that is used diff --git a/addrmgr/knownaddress_test.go b/addrmgr/knownaddress_test.go index a289d5a38..6f73fbc99 100644 --- a/addrmgr/knownaddress_test.go +++ b/addrmgr/knownaddress_test.go @@ -9,8 +9,8 @@ import ( "testing" "time" - "github.com/btcsuite/btcd/addrmgr" - "github.com/btcsuite/btcd/wire" + "github.com/daglabs/btcd/addrmgr" + "github.com/daglabs/btcd/wire" ) func TestChance(t *testing.T) { diff --git a/addrmgr/network.go b/addrmgr/network.go index 51bfa3ed7..9cb6b455b 100644 --- a/addrmgr/network.go +++ b/addrmgr/network.go @@ -8,7 +8,7 @@ import ( "fmt" "net" - "github.com/btcsuite/btcd/wire" + "github.com/daglabs/btcd/wire" ) var ( diff --git a/addrmgr/network_test.go b/addrmgr/network_test.go index 8af3369f5..5b16ffc62 100644 --- a/addrmgr/network_test.go +++ b/addrmgr/network_test.go @@ -8,8 +8,8 @@ import ( "net" "testing" - "github.com/btcsuite/btcd/addrmgr" - "github.com/btcsuite/btcd/wire" + "github.com/daglabs/btcd/addrmgr" + "github.com/daglabs/btcd/wire" ) // TestIPTypes ensures the various functions which determine the type of an IP diff --git a/blockchain/README.md b/blockchain/README.md index de5611bca..33d8fe241 100644 --- a/blockchain/README.md +++ b/blockchain/README.md @@ -3,7 +3,7 @@ blockchain [![Build Status](http://img.shields.io/travis/btcsuite/btcd.svg)](https://travis-ci.org/btcsuite/btcd) [![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) -[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/btcsuite/btcd/blockchain) +[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/daglabs/btcd/blockchain) Package blockchain implements bitcoin block handling and chain selection rules. The test coverage is currently only around 60%, but will be increasing over @@ -21,7 +21,7 @@ block chain. ## Installation and Updating ```bash -$ go get -u github.com/btcsuite/btcd/blockchain +$ go get -u github.com/daglabs/btcd/blockchain ``` ## Bitcoin Chain Processing Overview @@ -61,18 +61,18 @@ is by no means exhaustive: ## Examples -* [ProcessBlock Example](http://godoc.org/github.com/btcsuite/btcd/blockchain#example-BlockChain-ProcessBlock) +* [ProcessBlock Example](http://godoc.org/github.com/daglabs/btcd/blockchain#example-BlockChain-ProcessBlock) Demonstrates how to create a new chain instance and use ProcessBlock to attempt to 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/btcsuite/btcd/blockchain#example-CompactToBig) +* [CompactToBig Example](http://godoc.org/github.com/daglabs/btcd/blockchain#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/btcsuite/btcd/blockchain#example-BigToCompact) +* [BigToCompact Example](http://godoc.org/github.com/daglabs/btcd/blockchain#example-BigToCompact) Demonstrates how to convert a target difficulty into the compact "bits" in a block header which represent that target difficulty. diff --git a/blockchain/accept.go b/blockchain/accept.go index f85d6558e..c162b0454 100644 --- a/blockchain/accept.go +++ b/blockchain/accept.go @@ -7,8 +7,8 @@ package blockchain import ( "fmt" - "github.com/btcsuite/btcd/database" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcd/database" + "github.com/daglabs/btcutil" ) // maybeAcceptBlock potentially accepts a block into the block chain and, if diff --git a/blockchain/bench_test.go b/blockchain/bench_test.go index 43d3152b3..7f20ad487 100644 --- a/blockchain/bench_test.go +++ b/blockchain/bench_test.go @@ -7,7 +7,7 @@ package blockchain import ( "testing" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcutil" ) // BenchmarkIsCoinBase performs a simple benchmark against the IsCoinBase diff --git a/blockchain/blockindex.go b/blockchain/blockindex.go index 2ff2fa27c..65e589851 100644 --- a/blockchain/blockindex.go +++ b/blockchain/blockindex.go @@ -10,10 +10,10 @@ import ( "sync" "time" - "github.com/btcsuite/btcd/chaincfg" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/database" - "github.com/btcsuite/btcd/wire" + "github.com/daglabs/btcd/chaincfg" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/database" + "github.com/daglabs/btcd/wire" ) // blockStatus is a bit field representing the validation state of the block. diff --git a/blockchain/chain.go b/blockchain/chain.go index b5a8ea54e..a79e44c7f 100644 --- a/blockchain/chain.go +++ b/blockchain/chain.go @@ -10,12 +10,12 @@ import ( "sync" "time" - "github.com/btcsuite/btcd/chaincfg" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/database" - "github.com/btcsuite/btcd/txscript" - "github.com/btcsuite/btcd/wire" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcd/chaincfg" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/database" + "github.com/daglabs/btcd/txscript" + "github.com/daglabs/btcd/wire" + "github.com/daglabs/btcutil" ) const ( diff --git a/blockchain/chain_test.go b/blockchain/chain_test.go index 7de323bc8..4d6fefc8d 100644 --- a/blockchain/chain_test.go +++ b/blockchain/chain_test.go @@ -9,10 +9,10 @@ import ( "testing" "time" - "github.com/btcsuite/btcd/chaincfg" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/wire" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcd/chaincfg" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/wire" + "github.com/daglabs/btcutil" ) // TestHaveBlock tests the HaveBlock API to ensure proper functionality. diff --git a/blockchain/chainio.go b/blockchain/chainio.go index 27b702dea..cae075dec 100644 --- a/blockchain/chainio.go +++ b/blockchain/chainio.go @@ -12,10 +12,10 @@ import ( "sync" "time" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/database" - "github.com/btcsuite/btcd/wire" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/database" + "github.com/daglabs/btcd/wire" + "github.com/daglabs/btcutil" ) const ( diff --git a/blockchain/chainio_test.go b/blockchain/chainio_test.go index f62a39d2c..98bd91ed9 100644 --- a/blockchain/chainio_test.go +++ b/blockchain/chainio_test.go @@ -11,8 +11,8 @@ import ( "reflect" "testing" - "github.com/btcsuite/btcd/database" - "github.com/btcsuite/btcd/wire" + "github.com/daglabs/btcd/database" + "github.com/daglabs/btcd/wire" ) // TestErrNotInMainChain ensures the functions related to errNotInMainChain work diff --git a/blockchain/chainview_test.go b/blockchain/chainview_test.go index c59004fda..7e0bacd02 100644 --- a/blockchain/chainview_test.go +++ b/blockchain/chainview_test.go @@ -10,7 +10,7 @@ import ( "reflect" "testing" - "github.com/btcsuite/btcd/wire" + "github.com/daglabs/btcd/wire" ) // testNoncePrng provides a deterministic prng for the nonce in generated fake diff --git a/blockchain/checkpoints.go b/blockchain/checkpoints.go index af3b6d924..4447dd3fd 100644 --- a/blockchain/checkpoints.go +++ b/blockchain/checkpoints.go @@ -8,10 +8,10 @@ import ( "fmt" "time" - "github.com/btcsuite/btcd/chaincfg" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/txscript" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcd/chaincfg" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/txscript" + "github.com/daglabs/btcutil" ) // CheckpointConfirmations is the number of blocks before the end of the current diff --git a/blockchain/common_test.go b/blockchain/common_test.go index dd392a666..e947129cb 100644 --- a/blockchain/common_test.go +++ b/blockchain/common_test.go @@ -14,13 +14,13 @@ import ( "strings" "time" - "github.com/btcsuite/btcd/chaincfg" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/database" - _ "github.com/btcsuite/btcd/database/ffldb" - "github.com/btcsuite/btcd/txscript" - "github.com/btcsuite/btcd/wire" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcd/chaincfg" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/database" + _ "github.com/daglabs/btcd/database/ffldb" + "github.com/daglabs/btcd/txscript" + "github.com/daglabs/btcd/wire" + "github.com/daglabs/btcutil" ) const ( diff --git a/blockchain/compress.go b/blockchain/compress.go index 611b9f099..c7f48a5ad 100644 --- a/blockchain/compress.go +++ b/blockchain/compress.go @@ -5,8 +5,8 @@ package blockchain import ( - "github.com/btcsuite/btcd/btcec" - "github.com/btcsuite/btcd/txscript" + "github.com/daglabs/btcd/btcec" + "github.com/daglabs/btcd/txscript" ) // ----------------------------------------------------------------------------- diff --git a/blockchain/difficulty.go b/blockchain/difficulty.go index 05f78a3ed..819067a03 100644 --- a/blockchain/difficulty.go +++ b/blockchain/difficulty.go @@ -8,7 +8,7 @@ import ( "math/big" "time" - "github.com/btcsuite/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/chaincfg/chainhash" ) var ( diff --git a/blockchain/example_test.go b/blockchain/example_test.go index 691d0927f..b9a6fe666 100644 --- a/blockchain/example_test.go +++ b/blockchain/example_test.go @@ -10,11 +10,11 @@ import ( "os" "path/filepath" - "github.com/btcsuite/btcd/blockchain" - "github.com/btcsuite/btcd/chaincfg" - "github.com/btcsuite/btcd/database" - _ "github.com/btcsuite/btcd/database/ffldb" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcd/blockchain" + "github.com/daglabs/btcd/chaincfg" + "github.com/daglabs/btcd/database" + _ "github.com/daglabs/btcd/database/ffldb" + "github.com/daglabs/btcutil" ) // This example demonstrates how to create a new chain instance and use diff --git a/blockchain/fullblocks_test.go b/blockchain/fullblocks_test.go index 3ae0d0eb5..166edb5b8 100644 --- a/blockchain/fullblocks_test.go +++ b/blockchain/fullblocks_test.go @@ -12,15 +12,15 @@ import ( "path/filepath" "testing" - "github.com/btcsuite/btcd/blockchain" - "github.com/btcsuite/btcd/blockchain/fullblocktests" - "github.com/btcsuite/btcd/chaincfg" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/database" - _ "github.com/btcsuite/btcd/database/ffldb" - "github.com/btcsuite/btcd/txscript" - "github.com/btcsuite/btcd/wire" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcd/blockchain" + "github.com/daglabs/btcd/blockchain/fullblocktests" + "github.com/daglabs/btcd/chaincfg" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/database" + _ "github.com/daglabs/btcd/database/ffldb" + "github.com/daglabs/btcd/txscript" + "github.com/daglabs/btcd/wire" + "github.com/daglabs/btcutil" ) const ( diff --git a/blockchain/fullblocktests/README.md b/blockchain/fullblocktests/README.md index 41f4b934e..def3e13bd 100644 --- a/blockchain/fullblocktests/README.md +++ b/blockchain/fullblocktests/README.md @@ -3,7 +3,7 @@ fullblocktests [![Build Status](http://img.shields.io/travis/btcsuite/btcd.svg)](https://travis-ci.org/btcsuite/btcd) [![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) -[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/btcsuite/btcd/blockchain/fullblocktests) +[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/daglabs/btcd/blockchain/fullblocktests) Package fullblocktests provides a set of full block tests to be used for testing the consensus validation rules. The tests are intended to be flexible enough to @@ -20,7 +20,7 @@ of blocks that exercise the consensus validation rules. ## Installation and Updating ```bash -$ go get -u github.com/btcsuite/btcd/blockchain/fullblocktests +$ go get -u github.com/daglabs/btcd/blockchain/fullblocktests ``` ## License diff --git a/blockchain/fullblocktests/generate.go b/blockchain/fullblocktests/generate.go index 82d3a036e..d83e5c5cb 100644 --- a/blockchain/fullblocktests/generate.go +++ b/blockchain/fullblocktests/generate.go @@ -18,13 +18,13 @@ import ( "runtime" "time" - "github.com/btcsuite/btcd/blockchain" - "github.com/btcsuite/btcd/btcec" - "github.com/btcsuite/btcd/chaincfg" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/txscript" - "github.com/btcsuite/btcd/wire" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcd/blockchain" + "github.com/daglabs/btcd/btcec" + "github.com/daglabs/btcd/chaincfg" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/txscript" + "github.com/daglabs/btcd/wire" + "github.com/daglabs/btcutil" ) const ( diff --git a/blockchain/fullblocktests/params.go b/blockchain/fullblocktests/params.go index 4679036ff..ee6d53772 100644 --- a/blockchain/fullblocktests/params.go +++ b/blockchain/fullblocktests/params.go @@ -9,9 +9,9 @@ import ( "math/big" "time" - "github.com/btcsuite/btcd/chaincfg" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/wire" + "github.com/daglabs/btcd/chaincfg" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/wire" ) // newHashFromStr converts the passed big-endian hex string into a diff --git a/blockchain/indexers/README.md b/blockchain/indexers/README.md index 20a721f3f..7affa8231 100644 --- a/blockchain/indexers/README.md +++ b/blockchain/indexers/README.md @@ -3,7 +3,7 @@ indexers [![Build Status](https://travis-ci.org/btcsuite/btcd.png?branch=master)](https://travis-ci.org/btcsuite/btcd) [![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) -[![GoDoc](https://godoc.org/github.com/btcsuite/btcd/blockchain/indexers?status.png)](http://godoc.org/github.com/btcsuite/btcd/blockchain/indexers) +[![GoDoc](https://godoc.org/github.com/daglabs/btcd/blockchain/indexers?status.png)](http://godoc.org/github.com/daglabs/btcd/blockchain/indexers) Package indexers implements optional block chain indexes. @@ -23,7 +23,7 @@ via an RPC interface. ## Installation ```bash -$ go get -u github.com/btcsuite/btcd/blockchain/indexers +$ go get -u github.com/daglabs/btcd/blockchain/indexers ``` ## License diff --git a/blockchain/indexers/addrindex.go b/blockchain/indexers/addrindex.go index 7d83de596..9897ef4ed 100644 --- a/blockchain/indexers/addrindex.go +++ b/blockchain/indexers/addrindex.go @@ -9,13 +9,13 @@ import ( "fmt" "sync" - "github.com/btcsuite/btcd/blockchain" - "github.com/btcsuite/btcd/chaincfg" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/database" - "github.com/btcsuite/btcd/txscript" - "github.com/btcsuite/btcd/wire" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcd/blockchain" + "github.com/daglabs/btcd/chaincfg" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/database" + "github.com/daglabs/btcd/txscript" + "github.com/daglabs/btcd/wire" + "github.com/daglabs/btcutil" ) const ( diff --git a/blockchain/indexers/addrindex_test.go b/blockchain/indexers/addrindex_test.go index 135ef1919..8946e7717 100644 --- a/blockchain/indexers/addrindex_test.go +++ b/blockchain/indexers/addrindex_test.go @@ -9,7 +9,7 @@ import ( "fmt" "testing" - "github.com/btcsuite/btcd/wire" + "github.com/daglabs/btcd/wire" ) // addrIndexBucket provides a mock address index database bucket by implementing diff --git a/blockchain/indexers/blocklogger.go b/blockchain/indexers/blocklogger.go index 88d6f2699..a8a8e70a5 100644 --- a/blockchain/indexers/blocklogger.go +++ b/blockchain/indexers/blocklogger.go @@ -9,7 +9,7 @@ import ( "time" "github.com/btcsuite/btclog" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcutil" ) // blockProgressLogger provides periodic logging for other services in order diff --git a/blockchain/indexers/cfindex.go b/blockchain/indexers/cfindex.go index 9cbf1bd50..12138f511 100644 --- a/blockchain/indexers/cfindex.go +++ b/blockchain/indexers/cfindex.go @@ -7,14 +7,14 @@ package indexers import ( "errors" - "github.com/btcsuite/btcd/blockchain" - "github.com/btcsuite/btcd/chaincfg" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/database" - "github.com/btcsuite/btcd/wire" - "github.com/btcsuite/btcutil" - "github.com/btcsuite/btcutil/gcs" - "github.com/btcsuite/btcutil/gcs/builder" + "github.com/daglabs/btcd/blockchain" + "github.com/daglabs/btcd/chaincfg" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/database" + "github.com/daglabs/btcd/wire" + "github.com/daglabs/btcutil" + "github.com/daglabs/btcutil/gcs" + "github.com/daglabs/btcutil/gcs/builder" ) const ( diff --git a/blockchain/indexers/common.go b/blockchain/indexers/common.go index 9b0320dcf..a4783d0f3 100644 --- a/blockchain/indexers/common.go +++ b/blockchain/indexers/common.go @@ -11,9 +11,9 @@ import ( "encoding/binary" "errors" - "github.com/btcsuite/btcd/blockchain" - "github.com/btcsuite/btcd/database" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcd/blockchain" + "github.com/daglabs/btcd/database" + "github.com/daglabs/btcutil" ) var ( diff --git a/blockchain/indexers/manager.go b/blockchain/indexers/manager.go index a7d2af203..fa351280e 100644 --- a/blockchain/indexers/manager.go +++ b/blockchain/indexers/manager.go @@ -8,11 +8,11 @@ import ( "bytes" "fmt" - "github.com/btcsuite/btcd/blockchain" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/database" - "github.com/btcsuite/btcd/wire" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcd/blockchain" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/database" + "github.com/daglabs/btcd/wire" + "github.com/daglabs/btcutil" ) var ( diff --git a/blockchain/indexers/txindex.go b/blockchain/indexers/txindex.go index 51fad698a..b43a41904 100644 --- a/blockchain/indexers/txindex.go +++ b/blockchain/indexers/txindex.go @@ -8,11 +8,11 @@ import ( "errors" "fmt" - "github.com/btcsuite/btcd/blockchain" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/database" - "github.com/btcsuite/btcd/wire" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcd/blockchain" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/database" + "github.com/daglabs/btcd/wire" + "github.com/daglabs/btcutil" ) const ( diff --git a/blockchain/merkle.go b/blockchain/merkle.go index 8f3f6b97e..3773f27c5 100644 --- a/blockchain/merkle.go +++ b/blockchain/merkle.go @@ -9,9 +9,9 @@ import ( "fmt" "math" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/txscript" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/txscript" + "github.com/daglabs/btcutil" ) const ( diff --git a/blockchain/merkle_test.go b/blockchain/merkle_test.go index 275ffef37..9c8cf8796 100644 --- a/blockchain/merkle_test.go +++ b/blockchain/merkle_test.go @@ -7,7 +7,7 @@ package blockchain import ( "testing" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcutil" ) // TestMerkle tests the BuildMerkleTreeStore API. diff --git a/blockchain/notifications_test.go b/blockchain/notifications_test.go index fde58735d..56648da28 100644 --- a/blockchain/notifications_test.go +++ b/blockchain/notifications_test.go @@ -7,7 +7,7 @@ package blockchain import ( "testing" - "github.com/btcsuite/btcd/chaincfg" + "github.com/daglabs/btcd/chaincfg" ) // TestNotifications ensures that notification callbacks are fired on events. diff --git a/blockchain/process.go b/blockchain/process.go index 6d2161bb9..fd7d8b378 100644 --- a/blockchain/process.go +++ b/blockchain/process.go @@ -8,9 +8,9 @@ import ( "fmt" "time" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/database" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/database" + "github.com/daglabs/btcutil" ) // BehaviorFlags is a bitmask defining tweaks to the normal behavior when diff --git a/blockchain/scriptval.go b/blockchain/scriptval.go index 8ba59a421..777036522 100644 --- a/blockchain/scriptval.go +++ b/blockchain/scriptval.go @@ -10,9 +10,9 @@ import ( "runtime" "time" - "github.com/btcsuite/btcd/txscript" - "github.com/btcsuite/btcd/wire" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcd/txscript" + "github.com/daglabs/btcd/wire" + "github.com/daglabs/btcutil" ) // txValidateItem holds a transaction along with which input to validate. diff --git a/blockchain/scriptval_test.go b/blockchain/scriptval_test.go index 56450b7a0..f52106df3 100644 --- a/blockchain/scriptval_test.go +++ b/blockchain/scriptval_test.go @@ -9,7 +9,7 @@ import ( "runtime" "testing" - "github.com/btcsuite/btcd/txscript" + "github.com/daglabs/btcd/txscript" ) // TestCheckBlockScripts ensures that validating the all of the scripts in a diff --git a/blockchain/thresholdstate.go b/blockchain/thresholdstate.go index 35a762552..32fb45608 100644 --- a/blockchain/thresholdstate.go +++ b/blockchain/thresholdstate.go @@ -7,7 +7,7 @@ package blockchain import ( "fmt" - "github.com/btcsuite/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/chaincfg/chainhash" ) // ThresholdState define the various threshold states used when voting on diff --git a/blockchain/thresholdstate_test.go b/blockchain/thresholdstate_test.go index c65f5a446..089d24c5b 100644 --- a/blockchain/thresholdstate_test.go +++ b/blockchain/thresholdstate_test.go @@ -7,7 +7,7 @@ package blockchain import ( "testing" - "github.com/btcsuite/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/chaincfg/chainhash" ) // TestThresholdStateStringer tests the stringized output for the diff --git a/blockchain/upgrade.go b/blockchain/upgrade.go index 253ca62e1..06694cd83 100644 --- a/blockchain/upgrade.go +++ b/blockchain/upgrade.go @@ -11,9 +11,9 @@ import ( "fmt" "time" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/database" - "github.com/btcsuite/btcd/wire" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/database" + "github.com/daglabs/btcd/wire" ) const ( diff --git a/blockchain/utxoviewpoint.go b/blockchain/utxoviewpoint.go index 5af842343..256103a1b 100644 --- a/blockchain/utxoviewpoint.go +++ b/blockchain/utxoviewpoint.go @@ -7,11 +7,11 @@ package blockchain import ( "fmt" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/database" - "github.com/btcsuite/btcd/txscript" - "github.com/btcsuite/btcd/wire" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/database" + "github.com/daglabs/btcd/txscript" + "github.com/daglabs/btcd/wire" + "github.com/daglabs/btcutil" ) // txoFlags is a bitmask defining additional information and state for a diff --git a/blockchain/validate.go b/blockchain/validate.go index 48e8b2941..53d1ad80f 100644 --- a/blockchain/validate.go +++ b/blockchain/validate.go @@ -11,11 +11,11 @@ import ( "math/big" "time" - "github.com/btcsuite/btcd/chaincfg" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/txscript" - "github.com/btcsuite/btcd/wire" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcd/chaincfg" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/txscript" + "github.com/daglabs/btcd/wire" + "github.com/daglabs/btcutil" ) const ( diff --git a/blockchain/validate_test.go b/blockchain/validate_test.go index 9bf2ff42e..67d0c8e12 100644 --- a/blockchain/validate_test.go +++ b/blockchain/validate_test.go @@ -10,10 +10,10 @@ import ( "testing" "time" - "github.com/btcsuite/btcd/chaincfg" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/wire" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcd/chaincfg" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/wire" + "github.com/daglabs/btcutil" ) // TestSequenceLocksActive tests the SequenceLockActive function to ensure it diff --git a/blockchain/versionbits.go b/blockchain/versionbits.go index ef2a08025..61423d098 100644 --- a/blockchain/versionbits.go +++ b/blockchain/versionbits.go @@ -7,7 +7,7 @@ package blockchain import ( "math" - "github.com/btcsuite/btcd/chaincfg" + "github.com/daglabs/btcd/chaincfg" ) const ( diff --git a/blockchain/weight.go b/blockchain/weight.go index 6f6292a1b..c827d9b83 100644 --- a/blockchain/weight.go +++ b/blockchain/weight.go @@ -7,9 +7,9 @@ package blockchain import ( "fmt" - "github.com/btcsuite/btcd/txscript" - "github.com/btcsuite/btcd/wire" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcd/txscript" + "github.com/daglabs/btcd/wire" + "github.com/daglabs/btcutil" ) const ( diff --git a/btcd.go b/btcd.go index a0ccb3eab..7b73b8242 100644 --- a/btcd.go +++ b/btcd.go @@ -15,9 +15,9 @@ import ( "runtime/debug" "runtime/pprof" - "github.com/btcsuite/btcd/blockchain/indexers" - "github.com/btcsuite/btcd/database" - "github.com/btcsuite/btcd/limits" + "github.com/daglabs/btcd/blockchain/indexers" + "github.com/daglabs/btcd/database" + "github.com/daglabs/btcd/limits" ) const ( diff --git a/btcec/README.md b/btcec/README.md index 130bd200a..280beaa61 100644 --- a/btcec/README.md +++ b/btcec/README.md @@ -3,7 +3,7 @@ btcec [![Build Status](https://travis-ci.org/btcsuite/btcd.png?branch=master)](https://travis-ci.org/btcsuite/btcec) [![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) -[![GoDoc](https://godoc.org/github.com/btcsuite/btcd/btcec?status.png)](http://godoc.org/github.com/btcsuite/btcd/btcec) +[![GoDoc](https://godoc.org/github.com/daglabs/btcd/btcec?status.png)](http://godoc.org/github.com/daglabs/btcd/btcec) Package btcec implements elliptic curve cryptography needed for working with Bitcoin (secp256k1 only for now). It is designed so that it may be used with the @@ -20,24 +20,24 @@ use secp256k1 elliptic curve cryptography. ## Installation and Updating ```bash -$ go get -u github.com/btcsuite/btcd/btcec +$ go get -u github.com/daglabs/btcd/btcec ``` ## Examples -* [Sign Message](http://godoc.org/github.com/btcsuite/btcd/btcec#example-package--SignMessage) +* [Sign Message](http://godoc.org/github.com/daglabs/btcd/btcec#example-package--SignMessage) Demonstrates signing a message with a secp256k1 private key that is first parsed form raw bytes and serializing the generated signature. -* [Verify Signature](http://godoc.org/github.com/btcsuite/btcd/btcec#example-package--VerifySignature) +* [Verify Signature](http://godoc.org/github.com/daglabs/btcd/btcec#example-package--VerifySignature) Demonstrates verifying a secp256k1 signature against a public key that is first parsed from raw bytes. The signature is also parsed from raw bytes. -* [Encryption](http://godoc.org/github.com/btcsuite/btcd/btcec#example-package--EncryptMessage) +* [Encryption](http://godoc.org/github.com/daglabs/btcd/btcec#example-package--EncryptMessage) Demonstrates encrypting a message for a public key that is first parsed from raw bytes, then decrypting it using the corresponding private key. -* [Decryption](http://godoc.org/github.com/btcsuite/btcd/btcec#example-package--DecryptMessage) +* [Decryption](http://godoc.org/github.com/daglabs/btcd/btcec#example-package--DecryptMessage) Demonstrates decrypting a message using a private key that is first parsed from raw bytes. diff --git a/btcec/example_test.go b/btcec/example_test.go index ca51ee87c..92b09af82 100644 --- a/btcec/example_test.go +++ b/btcec/example_test.go @@ -8,8 +8,8 @@ import ( "encoding/hex" "fmt" - "github.com/btcsuite/btcd/btcec" - "github.com/btcsuite/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/btcec" + "github.com/daglabs/btcd/chaincfg/chainhash" ) // This example demonstrates signing a message with a secp256k1 private key that diff --git a/btcec/genprecomps.go b/btcec/genprecomps.go index d4a9c1b83..e71ec6a9f 100644 --- a/btcec/genprecomps.go +++ b/btcec/genprecomps.go @@ -17,7 +17,7 @@ import ( "log" "os" - "github.com/btcsuite/btcd/btcec" + "github.com/daglabs/btcd/btcec" ) func main() { diff --git a/btcjson/README.md b/btcjson/README.md index b64357954..e67b7491c 100644 --- a/btcjson/README.md +++ b/btcjson/README.md @@ -3,7 +3,7 @@ btcjson [![Build Status](https://travis-ci.org/btcsuite/btcd.png?branch=master)](https://travis-ci.org/btcsuite/btcd) [![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) -[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/btcsuite/btcd/btcjson) +[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/daglabs/btcd/btcjson) Package btcjson implements concrete types for marshalling to and from the bitcoin JSON-RPC API. A comprehensive suite of tests is provided to ensure @@ -25,22 +25,22 @@ ints, etc) to higher-level types with many nice and useful properties. ## Installation and Updating ```bash -$ go get -u github.com/btcsuite/btcd/btcjson +$ go get -u github.com/daglabs/btcd/btcjson ``` ## Examples -* [Marshal Command](http://godoc.org/github.com/btcsuite/btcd/btcjson#example-MarshalCmd) +* [Marshal Command](http://godoc.org/github.com/daglabs/btcd/btcjson#example-MarshalCmd) Demonstrates how to create and marshal a command into a JSON-RPC request. -* [Unmarshal Command](http://godoc.org/github.com/btcsuite/btcd/btcjson#example-UnmarshalCmd) +* [Unmarshal Command](http://godoc.org/github.com/daglabs/btcd/btcjson#example-UnmarshalCmd) Demonstrates how to unmarshal a JSON-RPC request and then unmarshal the concrete request into a concrete command. -* [Marshal Response](http://godoc.org/github.com/btcsuite/btcd/btcjson#example-MarshalResponse) +* [Marshal Response](http://godoc.org/github.com/daglabs/btcd/btcjson#example-MarshalResponse) Demonstrates how to marshal a JSON-RPC response. -* [Unmarshal Response](http://godoc.org/github.com/btcsuite/btcd/btcjson#example-package--UnmarshalResponse) +* [Unmarshal Response](http://godoc.org/github.com/daglabs/btcd/btcjson#example-package--UnmarshalResponse) Demonstrates how to unmarshal a JSON-RPC response and then unmarshal the result field in the response to a concrete type. diff --git a/btcjson/btcdextcmds_test.go b/btcjson/btcdextcmds_test.go index 10e6da389..62a114eec 100644 --- a/btcjson/btcdextcmds_test.go +++ b/btcjson/btcdextcmds_test.go @@ -12,7 +12,7 @@ import ( "reflect" "testing" - "github.com/btcsuite/btcd/btcjson" + "github.com/daglabs/btcd/btcjson" ) // TestBtcdExtCmds tests all of the btcd extended commands marshal and unmarshal diff --git a/btcjson/btcdextresults_test.go b/btcjson/btcdextresults_test.go index 478f088cd..c0318beec 100644 --- a/btcjson/btcdextresults_test.go +++ b/btcjson/btcdextresults_test.go @@ -9,7 +9,7 @@ import ( "encoding/json" "testing" - "github.com/btcsuite/btcd/btcjson" + "github.com/daglabs/btcd/btcjson" ) // TestBtcdExtCustomResults ensures any results that have custom marshalling diff --git a/btcjson/btcwalletextcmds_test.go b/btcjson/btcwalletextcmds_test.go index e478a0889..7e88d500a 100644 --- a/btcjson/btcwalletextcmds_test.go +++ b/btcjson/btcwalletextcmds_test.go @@ -11,7 +11,7 @@ import ( "reflect" "testing" - "github.com/btcsuite/btcd/btcjson" + "github.com/daglabs/btcd/btcjson" ) // TestBtcWalletExtCmds tests all of the btcwallet extended commands marshal and diff --git a/btcjson/chainsvrcmds.go b/btcjson/chainsvrcmds.go index a5e564711..3a64d135a 100644 --- a/btcjson/chainsvrcmds.go +++ b/btcjson/chainsvrcmds.go @@ -11,7 +11,7 @@ import ( "encoding/json" "fmt" - "github.com/btcsuite/btcd/wire" + "github.com/daglabs/btcd/wire" ) // AddNodeSubCmd defines the type used in the addnode JSON-RPC command for the diff --git a/btcjson/chainsvrcmds_test.go b/btcjson/chainsvrcmds_test.go index 12fba7d9d..e45c7cd17 100644 --- a/btcjson/chainsvrcmds_test.go +++ b/btcjson/chainsvrcmds_test.go @@ -11,8 +11,8 @@ import ( "reflect" "testing" - "github.com/btcsuite/btcd/btcjson" - "github.com/btcsuite/btcd/wire" + "github.com/daglabs/btcd/btcjson" + "github.com/daglabs/btcd/wire" ) // TestChainSvrCmds tests all of the chain server commands marshal and unmarshal diff --git a/btcjson/chainsvrresults_test.go b/btcjson/chainsvrresults_test.go index 1d568e265..b91d0b46e 100644 --- a/btcjson/chainsvrresults_test.go +++ b/btcjson/chainsvrresults_test.go @@ -8,7 +8,7 @@ import ( "encoding/json" "testing" - "github.com/btcsuite/btcd/btcjson" + "github.com/daglabs/btcd/btcjson" ) // TestChainSvrCustomResults ensures any results that have custom marshalling diff --git a/btcjson/chainsvrwscmds_test.go b/btcjson/chainsvrwscmds_test.go index b0cd63cc6..d5a50b0b2 100644 --- a/btcjson/chainsvrwscmds_test.go +++ b/btcjson/chainsvrwscmds_test.go @@ -12,7 +12,7 @@ import ( "reflect" "testing" - "github.com/btcsuite/btcd/btcjson" + "github.com/daglabs/btcd/btcjson" ) // TestChainSvrWsCmds tests all of the chain server websocket-specific commands diff --git a/btcjson/chainsvrwsntfns_test.go b/btcjson/chainsvrwsntfns_test.go index 2da1e7ad2..7c5fb324f 100644 --- a/btcjson/chainsvrwsntfns_test.go +++ b/btcjson/chainsvrwsntfns_test.go @@ -12,7 +12,7 @@ import ( "reflect" "testing" - "github.com/btcsuite/btcd/btcjson" + "github.com/daglabs/btcd/btcjson" ) // TestChainSvrWsNtfns tests all of the chain server websocket-specific diff --git a/btcjson/chainsvrwsresults_test.go b/btcjson/chainsvrwsresults_test.go index b1e17450c..f2e93b65e 100644 --- a/btcjson/chainsvrwsresults_test.go +++ b/btcjson/chainsvrwsresults_test.go @@ -9,7 +9,7 @@ import ( "encoding/json" "testing" - "github.com/btcsuite/btcd/btcjson" + "github.com/daglabs/btcd/btcjson" ) // TestChainSvrWsResults ensures any results that have custom marshalling diff --git a/btcjson/cmdinfo_test.go b/btcjson/cmdinfo_test.go index 044040279..47a3e4606 100644 --- a/btcjson/cmdinfo_test.go +++ b/btcjson/cmdinfo_test.go @@ -8,7 +8,7 @@ import ( "reflect" "testing" - "github.com/btcsuite/btcd/btcjson" + "github.com/daglabs/btcd/btcjson" ) // TestCmdMethod tests the CmdMethod function to ensure it retunrs the expected diff --git a/btcjson/cmdparse_test.go b/btcjson/cmdparse_test.go index 2f8fa1fb9..6342e0160 100644 --- a/btcjson/cmdparse_test.go +++ b/btcjson/cmdparse_test.go @@ -10,7 +10,7 @@ import ( "reflect" "testing" - "github.com/btcsuite/btcd/btcjson" + "github.com/daglabs/btcd/btcjson" ) // TestAssignField tests the assignField function handles supported combinations diff --git a/btcjson/error_test.go b/btcjson/error_test.go index 8eb93c759..4574156bb 100644 --- a/btcjson/error_test.go +++ b/btcjson/error_test.go @@ -7,7 +7,7 @@ package btcjson_test import ( "testing" - "github.com/btcsuite/btcd/btcjson" + "github.com/daglabs/btcd/btcjson" ) // TestErrorCodeStringer tests the stringized output for the ErrorCode type. diff --git a/btcjson/example_test.go b/btcjson/example_test.go index 527252c7f..a686e030d 100644 --- a/btcjson/example_test.go +++ b/btcjson/example_test.go @@ -8,7 +8,7 @@ import ( "encoding/json" "fmt" - "github.com/btcsuite/btcd/btcjson" + "github.com/daglabs/btcd/btcjson" ) // This example demonstrates how to create and marshal a command into a JSON-RPC diff --git a/btcjson/help_test.go b/btcjson/help_test.go index 265e0c2c6..b92428413 100644 --- a/btcjson/help_test.go +++ b/btcjson/help_test.go @@ -8,7 +8,7 @@ import ( "reflect" "testing" - "github.com/btcsuite/btcd/btcjson" + "github.com/daglabs/btcd/btcjson" ) // TestHelpReflectInternals ensures the various help functions which deal with diff --git a/btcjson/helpers_test.go b/btcjson/helpers_test.go index 7bcaf4bcc..7c6c369f2 100644 --- a/btcjson/helpers_test.go +++ b/btcjson/helpers_test.go @@ -8,7 +8,7 @@ import ( "reflect" "testing" - "github.com/btcsuite/btcd/btcjson" + "github.com/daglabs/btcd/btcjson" ) // TestHelpers tests the various helper functions which create pointers to diff --git a/btcjson/jsonrpc_test.go b/btcjson/jsonrpc_test.go index 7a5d75618..513847a4e 100644 --- a/btcjson/jsonrpc_test.go +++ b/btcjson/jsonrpc_test.go @@ -9,7 +9,7 @@ import ( "reflect" "testing" - "github.com/btcsuite/btcd/btcjson" + "github.com/daglabs/btcd/btcjson" ) // TestIsValidIDType ensures the IsValidIDType function behaves as expected. diff --git a/btcjson/register_test.go b/btcjson/register_test.go index 3832678aa..c02bf7b63 100644 --- a/btcjson/register_test.go +++ b/btcjson/register_test.go @@ -9,7 +9,7 @@ import ( "sort" "testing" - "github.com/btcsuite/btcd/btcjson" + "github.com/daglabs/btcd/btcjson" ) // TestUsageFlagStringer tests the stringized output for the UsageFlag type. diff --git a/btcjson/walletsvrcmds_test.go b/btcjson/walletsvrcmds_test.go index efc08cc94..8a3f24e5c 100644 --- a/btcjson/walletsvrcmds_test.go +++ b/btcjson/walletsvrcmds_test.go @@ -11,7 +11,7 @@ import ( "reflect" "testing" - "github.com/btcsuite/btcd/btcjson" + "github.com/daglabs/btcd/btcjson" ) // TestWalletSvrCmds tests all of the wallet server commands marshal and diff --git a/btcjson/walletsvrwscmds_test.go b/btcjson/walletsvrwscmds_test.go index 17144b6ea..0da87af56 100644 --- a/btcjson/walletsvrwscmds_test.go +++ b/btcjson/walletsvrwscmds_test.go @@ -11,7 +11,7 @@ import ( "reflect" "testing" - "github.com/btcsuite/btcd/btcjson" + "github.com/daglabs/btcd/btcjson" ) // TestWalletSvrWsCmds tests all of the wallet server websocket-specific diff --git a/btcjson/walletsvrwsntfns_test.go b/btcjson/walletsvrwsntfns_test.go index 7662b3c2a..32b38c240 100644 --- a/btcjson/walletsvrwsntfns_test.go +++ b/btcjson/walletsvrwsntfns_test.go @@ -11,7 +11,7 @@ import ( "reflect" "testing" - "github.com/btcsuite/btcd/btcjson" + "github.com/daglabs/btcd/btcjson" ) // TestWalletSvrWsNtfns tests all of the chain server websocket-specific diff --git a/chaincfg/README.md b/chaincfg/README.md index 880446fdc..86c2bf700 100644 --- a/chaincfg/README.md +++ b/chaincfg/README.md @@ -3,7 +3,7 @@ chaincfg [![Build Status](http://img.shields.io/travis/btcsuite/btcd.svg)](https://travis-ci.org/btcsuite/btcd) [![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) -[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/btcsuite/btcd/chaincfg) +[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/daglabs/btcd/chaincfg) Package chaincfg defines chain configuration parameters for the three standard Bitcoin networks and provides the ability for callers to define their own custom @@ -24,8 +24,8 @@ import ( "fmt" "log" - "github.com/btcsuite/btcutil" - "github.com/btcsuite/btcd/chaincfg" + "github.com/daglabs/btcutil" + "github.com/daglabs/btcd/chaincfg" ) var testnet = flag.Bool("testnet", false, "operate on the testnet Bitcoin network") @@ -56,7 +56,7 @@ func main() { ## Installation and Updating ```bash -$ go get -u github.com/btcsuite/btcd/chaincfg +$ go get -u github.com/daglabs/btcd/chaincfg ``` ## GPG Verification Key diff --git a/chaincfg/chainhash/README.md b/chaincfg/chainhash/README.md index fc49d9cd9..2a219b65d 100644 --- a/chaincfg/chainhash/README.md +++ b/chaincfg/chainhash/README.md @@ -3,7 +3,7 @@ chainhash [![Build Status](http://img.shields.io/travis/btcsuite/btcd.svg)](https://travis-ci.org/btcsuite/btcd) [![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) -[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/btcsuite/btcd/chaincfg/chainhash) +[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/daglabs/btcd/chaincfg/chainhash) ======= chainhash provides a generic hash type and associated functions that allows the @@ -12,7 +12,7 @@ specific hash algorithm to be abstracted. ## Installation and Updating ```bash -$ go get -u github.com/btcsuite/btcd/chaincfg/chainhash +$ go get -u github.com/daglabs/btcd/chaincfg/chainhash ``` ## GPG Verification Key diff --git a/chaincfg/doc.go b/chaincfg/doc.go index 3659adbf4..263ad2796 100644 --- a/chaincfg/doc.go +++ b/chaincfg/doc.go @@ -25,8 +25,8 @@ // "fmt" // "log" // -// "github.com/btcsuite/btcutil" -// "github.com/btcsuite/btcd/chaincfg" +// "github.com/daglabs/btcutil" +// "github.com/daglabs/btcd/chaincfg" // ) // // var testnet = flag.Bool("testnet", false, "operate on the testnet Bitcoin network") diff --git a/chaincfg/genesis.go b/chaincfg/genesis.go index ee47b84ce..3d768ad18 100644 --- a/chaincfg/genesis.go +++ b/chaincfg/genesis.go @@ -7,8 +7,8 @@ package chaincfg import ( "time" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/wire" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/wire" ) // genesisCoinbaseTx is the coinbase transaction for the genesis blocks for diff --git a/chaincfg/params.go b/chaincfg/params.go index 9da7102b4..b48d44484 100644 --- a/chaincfg/params.go +++ b/chaincfg/params.go @@ -11,8 +11,8 @@ import ( "strings" "time" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/wire" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/wire" ) // These variables are the chain proof-of-work limit parameters for each default diff --git a/chaincfg/register_test.go b/chaincfg/register_test.go index bcb5b3c6f..1cb04dd6b 100644 --- a/chaincfg/register_test.go +++ b/chaincfg/register_test.go @@ -6,7 +6,7 @@ import ( "strings" "testing" - . "github.com/btcsuite/btcd/chaincfg" + . "github.com/daglabs/btcd/chaincfg" ) // Define some of the required parameters for a user-registered diff --git a/cmd/addblock/addblock.go b/cmd/addblock/addblock.go index 15b61b688..d8b558032 100644 --- a/cmd/addblock/addblock.go +++ b/cmd/addblock/addblock.go @@ -9,10 +9,10 @@ import ( "path/filepath" "runtime" - "github.com/btcsuite/btcd/blockchain" - "github.com/btcsuite/btcd/blockchain/indexers" - "github.com/btcsuite/btcd/database" - "github.com/btcsuite/btcd/limits" + "github.com/daglabs/btcd/blockchain" + "github.com/daglabs/btcd/blockchain/indexers" + "github.com/daglabs/btcd/database" + "github.com/daglabs/btcd/limits" "github.com/btcsuite/btclog" ) diff --git a/cmd/addblock/config.go b/cmd/addblock/config.go index ae7a52fd2..ff82ffb1c 100644 --- a/cmd/addblock/config.go +++ b/cmd/addblock/config.go @@ -9,11 +9,11 @@ import ( "os" "path/filepath" - "github.com/btcsuite/btcd/chaincfg" - "github.com/btcsuite/btcd/database" - _ "github.com/btcsuite/btcd/database/ffldb" - "github.com/btcsuite/btcd/wire" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcd/chaincfg" + "github.com/daglabs/btcd/database" + _ "github.com/daglabs/btcd/database/ffldb" + "github.com/daglabs/btcd/wire" + "github.com/daglabs/btcutil" flags "github.com/jessevdk/go-flags" ) diff --git a/cmd/addblock/import.go b/cmd/addblock/import.go index b7a30369e..0e4ad07b7 100644 --- a/cmd/addblock/import.go +++ b/cmd/addblock/import.go @@ -11,12 +11,12 @@ import ( "sync" "time" - "github.com/btcsuite/btcd/blockchain" - "github.com/btcsuite/btcd/blockchain/indexers" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/database" - "github.com/btcsuite/btcd/wire" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcd/blockchain" + "github.com/daglabs/btcd/blockchain/indexers" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/database" + "github.com/daglabs/btcd/wire" + "github.com/daglabs/btcutil" ) var zeroHash = chainhash.Hash{} diff --git a/cmd/btcctl/btcctl.go b/cmd/btcctl/btcctl.go index 5c412f867..a159942d7 100644 --- a/cmd/btcctl/btcctl.go +++ b/cmd/btcctl/btcctl.go @@ -10,7 +10,7 @@ import ( "path/filepath" "strings" - "github.com/btcsuite/btcd/btcjson" + "github.com/daglabs/btcd/btcjson" ) const ( diff --git a/cmd/btcctl/config.go b/cmd/btcctl/config.go index cd232a9e0..9d94face7 100644 --- a/cmd/btcctl/config.go +++ b/cmd/btcctl/config.go @@ -13,8 +13,8 @@ import ( "regexp" "strings" - "github.com/btcsuite/btcd/btcjson" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcd/btcjson" + "github.com/daglabs/btcutil" flags "github.com/jessevdk/go-flags" ) diff --git a/cmd/btcctl/httpclient.go b/cmd/btcctl/httpclient.go index 2a0f6dffd..fd4f905da 100644 --- a/cmd/btcctl/httpclient.go +++ b/cmd/btcctl/httpclient.go @@ -10,7 +10,7 @@ import ( "net" "net/http" - "github.com/btcsuite/btcd/btcjson" + "github.com/daglabs/btcd/btcjson" "github.com/btcsuite/go-socks/socks" ) diff --git a/cmd/findcheckpoint/config.go b/cmd/findcheckpoint/config.go index 1539db334..b3d3a63a0 100644 --- a/cmd/findcheckpoint/config.go +++ b/cmd/findcheckpoint/config.go @@ -9,11 +9,11 @@ import ( "os" "path/filepath" - "github.com/btcsuite/btcd/chaincfg" - "github.com/btcsuite/btcd/database" - _ "github.com/btcsuite/btcd/database/ffldb" - "github.com/btcsuite/btcd/wire" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcd/chaincfg" + "github.com/daglabs/btcd/database" + _ "github.com/daglabs/btcd/database/ffldb" + "github.com/daglabs/btcd/wire" + "github.com/daglabs/btcutil" flags "github.com/jessevdk/go-flags" ) diff --git a/cmd/findcheckpoint/findcheckpoint.go b/cmd/findcheckpoint/findcheckpoint.go index ec4a4b30f..89edbce31 100644 --- a/cmd/findcheckpoint/findcheckpoint.go +++ b/cmd/findcheckpoint/findcheckpoint.go @@ -9,10 +9,10 @@ import ( "os" "path/filepath" - "github.com/btcsuite/btcd/blockchain" - "github.com/btcsuite/btcd/chaincfg" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/database" + "github.com/daglabs/btcd/blockchain" + "github.com/daglabs/btcd/chaincfg" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/database" ) const blockDbNamePrefix = "blocks" diff --git a/cmd/gencerts/gencerts.go b/cmd/gencerts/gencerts.go index a3a506363..6d5a3441d 100644 --- a/cmd/gencerts/gencerts.go +++ b/cmd/gencerts/gencerts.go @@ -12,7 +12,7 @@ import ( "strings" "time" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcutil" flags "github.com/jessevdk/go-flags" ) diff --git a/config.go b/config.go index 772c5ef8d..32e777987 100644 --- a/config.go +++ b/config.go @@ -20,14 +20,14 @@ import ( "strings" "time" - "github.com/btcsuite/btcd/blockchain" - "github.com/btcsuite/btcd/chaincfg" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/connmgr" - "github.com/btcsuite/btcd/database" - _ "github.com/btcsuite/btcd/database/ffldb" - "github.com/btcsuite/btcd/mempool" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcd/blockchain" + "github.com/daglabs/btcd/chaincfg" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/connmgr" + "github.com/daglabs/btcd/database" + _ "github.com/daglabs/btcd/database/ffldb" + "github.com/daglabs/btcd/mempool" + "github.com/daglabs/btcutil" "github.com/btcsuite/go-socks/socks" flags "github.com/jessevdk/go-flags" ) diff --git a/connmgr/README.md b/connmgr/README.md index 6f3968cec..b7b7ac117 100644 --- a/connmgr/README.md +++ b/connmgr/README.md @@ -3,7 +3,7 @@ connmgr [![Build Status](http://img.shields.io/travis/btcsuite/btcd.svg)](https://travis-ci.org/btcsuite/btcd) [![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) -[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/btcsuite/btcd/connmgr) +[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/daglabs/btcd/connmgr) Package connmgr implements a generic Bitcoin network connection manager. @@ -29,7 +29,7 @@ In addition the connection manager provides the following utilities: ## Installation and Updating ```bash -$ go get -u github.com/btcsuite/btcd/connmgr +$ go get -u github.com/daglabs/btcd/connmgr ``` ## License diff --git a/connmgr/seed.go b/connmgr/seed.go index 063b546ab..48e2292d4 100644 --- a/connmgr/seed.go +++ b/connmgr/seed.go @@ -11,8 +11,8 @@ import ( "strconv" "time" - "github.com/btcsuite/btcd/chaincfg" - "github.com/btcsuite/btcd/wire" + "github.com/daglabs/btcd/chaincfg" + "github.com/daglabs/btcd/wire" ) const ( diff --git a/database/README.md b/database/README.md index c51c9cc66..e251e8bf5 100644 --- a/database/README.md +++ b/database/README.md @@ -3,7 +3,7 @@ database [![Build Status](http://img.shields.io/travis/btcsuite/btcd.svg)](https://travis-ci.org/btcsuite/btcd) [![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) -[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/btcsuite/btcd/database) +[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/daglabs/btcd/database) Package database provides a block and metadata storage database. @@ -13,8 +13,8 @@ one entity can have the database open at a time (for most database backends), and that entity will be btcd. When a client wants programmatic access to the data provided by btcd, they'll -likely want to use the [rpcclient](https://github.com/btcsuite/btcd/tree/master/rpcclient) -package which makes use of the [JSON-RPC API](https://github.com/btcsuite/btcd/tree/master/docs/json_rpc_api.md). +likely want to use the [rpcclient](https://github.com/daglabs/btcd/tree/master/rpcclient) +package which makes use of the [JSON-RPC API](https://github.com/daglabs/btcd/tree/master/docs/json_rpc_api.md). However, this package could be extremely useful for any applications requiring Bitcoin block storage capabilities. @@ -37,16 +37,16 @@ storage, and strict checksums in key areas to ensure data integrity. ## Installation and Updating ```bash -$ go get -u github.com/btcsuite/btcd/database +$ go get -u github.com/daglabs/btcd/database ``` ## Examples -* [Basic Usage Example](http://godoc.org/github.com/btcsuite/btcd/database#example-package--BasicUsage) +* [Basic Usage Example](http://godoc.org/github.com/daglabs/btcd/database#example-package--BasicUsage) Demonstrates creating a new database and using a managed read-write transaction to store and retrieve metadata. -* [Block Storage and Retrieval Example](http://godoc.org/github.com/btcsuite/btcd/database#example-package--BlockStorageAndRetrieval) +* [Block Storage and Retrieval Example](http://godoc.org/github.com/daglabs/btcd/database#example-package--BlockStorageAndRetrieval) Demonstrates creating a new database, using a managed read-write transaction to store a block, and then using a managed read-only transaction to fetch the block. diff --git a/database/cmd/dbtool/fetchblock.go b/database/cmd/dbtool/fetchblock.go index 75a3e31a8..952704a07 100644 --- a/database/cmd/dbtool/fetchblock.go +++ b/database/cmd/dbtool/fetchblock.go @@ -9,8 +9,8 @@ import ( "errors" "time" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/database" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/database" ) // fetchBlockCmd defines the configuration options for the fetchblock command. diff --git a/database/cmd/dbtool/fetchblockregion.go b/database/cmd/dbtool/fetchblockregion.go index 9d63ed172..9dfb826cd 100644 --- a/database/cmd/dbtool/fetchblockregion.go +++ b/database/cmd/dbtool/fetchblockregion.go @@ -10,8 +10,8 @@ import ( "strconv" "time" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/database" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/database" ) // blockRegionCmd defines the configuration options for the fetchblockregion diff --git a/database/cmd/dbtool/globalconfig.go b/database/cmd/dbtool/globalconfig.go index 5cbd9b3af..ec1fb8d61 100644 --- a/database/cmd/dbtool/globalconfig.go +++ b/database/cmd/dbtool/globalconfig.go @@ -10,11 +10,11 @@ import ( "os" "path/filepath" - "github.com/btcsuite/btcd/chaincfg" - "github.com/btcsuite/btcd/database" - _ "github.com/btcsuite/btcd/database/ffldb" - "github.com/btcsuite/btcd/wire" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcd/chaincfg" + "github.com/daglabs/btcd/database" + _ "github.com/daglabs/btcd/database/ffldb" + "github.com/daglabs/btcd/wire" + "github.com/daglabs/btcutil" ) var ( diff --git a/database/cmd/dbtool/insecureimport.go b/database/cmd/dbtool/insecureimport.go index 7564eb68a..a04da4042 100644 --- a/database/cmd/dbtool/insecureimport.go +++ b/database/cmd/dbtool/insecureimport.go @@ -12,10 +12,10 @@ import ( "sync" "time" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/database" - "github.com/btcsuite/btcd/wire" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/database" + "github.com/daglabs/btcd/wire" + "github.com/daglabs/btcutil" ) // importCmd defines the configuration options for the insecureimport command. diff --git a/database/cmd/dbtool/loadheaders.go b/database/cmd/dbtool/loadheaders.go index a3ee8c735..20f4edb1c 100644 --- a/database/cmd/dbtool/loadheaders.go +++ b/database/cmd/dbtool/loadheaders.go @@ -7,8 +7,8 @@ package main import ( "time" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/database" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/database" ) // headersCmd defines the configuration options for the loadheaders command. diff --git a/database/cmd/dbtool/main.go b/database/cmd/dbtool/main.go index 9eccd5989..6576605b0 100644 --- a/database/cmd/dbtool/main.go +++ b/database/cmd/dbtool/main.go @@ -10,7 +10,7 @@ import ( "runtime" "strings" - "github.com/btcsuite/btcd/database" + "github.com/daglabs/btcd/database" "github.com/btcsuite/btclog" flags "github.com/jessevdk/go-flags" ) diff --git a/database/driver_test.go b/database/driver_test.go index 3bb48de19..9989a3f46 100644 --- a/database/driver_test.go +++ b/database/driver_test.go @@ -8,8 +8,8 @@ import ( "fmt" "testing" - "github.com/btcsuite/btcd/database" - _ "github.com/btcsuite/btcd/database/ffldb" + "github.com/daglabs/btcd/database" + _ "github.com/daglabs/btcd/database/ffldb" ) var ( diff --git a/database/error_test.go b/database/error_test.go index 759d26e16..c4e9f57da 100644 --- a/database/error_test.go +++ b/database/error_test.go @@ -8,7 +8,7 @@ import ( "errors" "testing" - "github.com/btcsuite/btcd/database" + "github.com/daglabs/btcd/database" ) // TestErrorCodeStringer tests the stringized output for the ErrorCode type. diff --git a/database/example_test.go b/database/example_test.go index 8b6fe7bce..7fe71eded 100644 --- a/database/example_test.go +++ b/database/example_test.go @@ -10,11 +10,11 @@ import ( "os" "path/filepath" - "github.com/btcsuite/btcd/chaincfg" - "github.com/btcsuite/btcd/database" - _ "github.com/btcsuite/btcd/database/ffldb" - "github.com/btcsuite/btcd/wire" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcd/chaincfg" + "github.com/daglabs/btcd/database" + _ "github.com/daglabs/btcd/database/ffldb" + "github.com/daglabs/btcd/wire" + "github.com/daglabs/btcutil" ) // This example demonstrates creating a new database. @@ -22,8 +22,8 @@ func ExampleCreate() { // This example assumes the ffldb driver is imported. // // import ( - // "github.com/btcsuite/btcd/database" - // _ "github.com/btcsuite/btcd/database/ffldb" + // "github.com/daglabs/btcd/database" + // _ "github.com/daglabs/btcd/database/ffldb" // ) // Create a database and schedule it to be closed and removed on exit. @@ -48,8 +48,8 @@ func Example_basicUsage() { // This example assumes the ffldb driver is imported. // // import ( - // "github.com/btcsuite/btcd/database" - // _ "github.com/btcsuite/btcd/database/ffldb" + // "github.com/daglabs/btcd/database" + // _ "github.com/daglabs/btcd/database/ffldb" // ) // Create a database and schedule it to be closed and removed on exit. @@ -114,8 +114,8 @@ func Example_blockStorageAndRetrieval() { // This example assumes the ffldb driver is imported. // // import ( - // "github.com/btcsuite/btcd/database" - // _ "github.com/btcsuite/btcd/database/ffldb" + // "github.com/daglabs/btcd/database" + // _ "github.com/daglabs/btcd/database/ffldb" // ) // Create a database and schedule it to be closed and removed on exit. diff --git a/database/ffldb/README.md b/database/ffldb/README.md index ebaa5a7e0..1e3236f20 100644 --- a/database/ffldb/README.md +++ b/database/ffldb/README.md @@ -3,7 +3,7 @@ ffldb [![Build Status](https://travis-ci.org/btcsuite/btcd.png?branch=master)](https://travis-ci.org/btcsuite/btcd) [![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) -[![GoDoc](https://godoc.org/github.com/btcsuite/btcd/database/ffldb?status.png)](http://godoc.org/github.com/btcsuite/btcd/database/ffldb) +[![GoDoc](https://godoc.org/github.com/daglabs/btcd/database/ffldb?status.png)](http://godoc.org/github.com/daglabs/btcd/database/ffldb) ======= Package ffldb implements a driver for the database package that uses leveldb for diff --git a/database/ffldb/bench_test.go b/database/ffldb/bench_test.go index 8d020313d..7bd91d206 100644 --- a/database/ffldb/bench_test.go +++ b/database/ffldb/bench_test.go @@ -9,9 +9,9 @@ import ( "path/filepath" "testing" - "github.com/btcsuite/btcd/chaincfg" - "github.com/btcsuite/btcd/database" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcd/chaincfg" + "github.com/daglabs/btcd/database" + "github.com/daglabs/btcutil" ) // BenchmarkBlockHeader benchmarks how long it takes to load the mainnet genesis diff --git a/database/ffldb/blockio.go b/database/ffldb/blockio.go index 3d7782f93..fbad57866 100644 --- a/database/ffldb/blockio.go +++ b/database/ffldb/blockio.go @@ -17,9 +17,9 @@ import ( "path/filepath" "sync" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/database" - "github.com/btcsuite/btcd/wire" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/database" + "github.com/daglabs/btcd/wire" ) const ( diff --git a/database/ffldb/db.go b/database/ffldb/db.go index fd1ff895c..4d11bc24e 100644 --- a/database/ffldb/db.go +++ b/database/ffldb/db.go @@ -14,11 +14,11 @@ import ( "sort" "sync" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/database" - "github.com/btcsuite/btcd/database/internal/treap" - "github.com/btcsuite/btcd/wire" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/database" + "github.com/daglabs/btcd/database/internal/treap" + "github.com/daglabs/btcd/wire" + "github.com/daglabs/btcutil" "github.com/btcsuite/goleveldb/leveldb" "github.com/btcsuite/goleveldb/leveldb/comparer" ldberrors "github.com/btcsuite/goleveldb/leveldb/errors" diff --git a/database/ffldb/dbcache.go b/database/ffldb/dbcache.go index a2346b58d..23bf90d95 100644 --- a/database/ffldb/dbcache.go +++ b/database/ffldb/dbcache.go @@ -10,7 +10,7 @@ import ( "sync" "time" - "github.com/btcsuite/btcd/database/internal/treap" + "github.com/daglabs/btcd/database/internal/treap" "github.com/btcsuite/goleveldb/leveldb" "github.com/btcsuite/goleveldb/leveldb/iterator" "github.com/btcsuite/goleveldb/leveldb/util" diff --git a/database/ffldb/driver.go b/database/ffldb/driver.go index 28ab8277e..ec17c48a7 100644 --- a/database/ffldb/driver.go +++ b/database/ffldb/driver.go @@ -7,8 +7,8 @@ package ffldb import ( "fmt" - "github.com/btcsuite/btcd/database" - "github.com/btcsuite/btcd/wire" + "github.com/daglabs/btcd/database" + "github.com/daglabs/btcd/wire" "github.com/btcsuite/btclog" ) diff --git a/database/ffldb/driver_test.go b/database/ffldb/driver_test.go index 8ba6691af..fef7043e7 100644 --- a/database/ffldb/driver_test.go +++ b/database/ffldb/driver_test.go @@ -12,10 +12,10 @@ import ( "runtime" "testing" - "github.com/btcsuite/btcd/chaincfg" - "github.com/btcsuite/btcd/database" - "github.com/btcsuite/btcd/database/ffldb" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcd/chaincfg" + "github.com/daglabs/btcd/database" + "github.com/daglabs/btcd/database/ffldb" + "github.com/daglabs/btcutil" ) // dbType is the database type name for this driver. diff --git a/database/ffldb/export_test.go b/database/ffldb/export_test.go index 2d8e4d2a2..caa02b1cd 100644 --- a/database/ffldb/export_test.go +++ b/database/ffldb/export_test.go @@ -11,7 +11,7 @@ The functions are only exported while the tests are being run. package ffldb -import "github.com/btcsuite/btcd/database" +import "github.com/daglabs/btcd/database" // TstRunWithMaxBlockFileSize runs the passed function with the maximum allowed // file size for the database set to the provided value. The value will be set diff --git a/database/ffldb/interface_test.go b/database/ffldb/interface_test.go index 4989913de..57ee9cb60 100644 --- a/database/ffldb/interface_test.go +++ b/database/ffldb/interface_test.go @@ -25,11 +25,11 @@ import ( "testing" "time" - "github.com/btcsuite/btcd/chaincfg" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/database" - "github.com/btcsuite/btcd/wire" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcd/chaincfg" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/database" + "github.com/daglabs/btcd/wire" + "github.com/daglabs/btcutil" ) var ( diff --git a/database/ffldb/ldbtreapiter.go b/database/ffldb/ldbtreapiter.go index b3d6b6bd5..e78628de7 100644 --- a/database/ffldb/ldbtreapiter.go +++ b/database/ffldb/ldbtreapiter.go @@ -5,7 +5,7 @@ package ffldb import ( - "github.com/btcsuite/btcd/database/internal/treap" + "github.com/daglabs/btcd/database/internal/treap" "github.com/btcsuite/goleveldb/leveldb/iterator" "github.com/btcsuite/goleveldb/leveldb/util" ) diff --git a/database/ffldb/reconcile.go b/database/ffldb/reconcile.go index e2c4d6bbf..2fb3a37b7 100644 --- a/database/ffldb/reconcile.go +++ b/database/ffldb/reconcile.go @@ -8,7 +8,7 @@ import ( "fmt" "hash/crc32" - "github.com/btcsuite/btcd/database" + "github.com/daglabs/btcd/database" ) // The serialized write cursor location format is: diff --git a/database/ffldb/whitebox_test.go b/database/ffldb/whitebox_test.go index 4e529363d..b3b4eba6b 100644 --- a/database/ffldb/whitebox_test.go +++ b/database/ffldb/whitebox_test.go @@ -17,10 +17,10 @@ import ( "path/filepath" "testing" - "github.com/btcsuite/btcd/chaincfg" - "github.com/btcsuite/btcd/database" - "github.com/btcsuite/btcd/wire" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcd/chaincfg" + "github.com/daglabs/btcd/database" + "github.com/daglabs/btcd/wire" + "github.com/daglabs/btcutil" "github.com/btcsuite/goleveldb/leveldb" ldberrors "github.com/btcsuite/goleveldb/leveldb/errors" ) diff --git a/database/interface.go b/database/interface.go index 435a8ff58..c619da433 100644 --- a/database/interface.go +++ b/database/interface.go @@ -8,8 +8,8 @@ package database import ( - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcutil" ) // Cursor represents a cursor over key/value pairs and nested buckets of a diff --git a/database/internal/treap/README.md b/database/internal/treap/README.md index ee49ef9bf..a7ffe6223 100644 --- a/database/internal/treap/README.md +++ b/database/internal/treap/README.md @@ -3,7 +3,7 @@ treap [![Build Status](https://travis-ci.org/btcsuite/btcd.png?branch=master)](https://travis-ci.org/btcsuite/btcd) [![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) -[![GoDoc](https://godoc.org/github.com/btcsuite/btcd/database/internal/treap?status.png)](http://godoc.org/github.com/btcsuite/btcd/database/internal/treap) +[![GoDoc](https://godoc.org/github.com/daglabs/btcd/database/internal/treap?status.png)](http://godoc.org/github.com/daglabs/btcd/database/internal/treap) Package treap implements a treap data structure that is used to hold ordered key/value pairs using a combination of binary search tree and heap semantics. diff --git a/docs/README.md b/docs/README.md index c00d295e7..92ae3abca 100644 --- a/docs/README.md +++ b/docs/README.md @@ -69,7 +69,7 @@ details on how to install on the supported operating systems. **2.1.1 Windows Installation**
-* Install the MSI available at: https://github.com/btcsuite/btcd/releases +* Install the MSI available at: https://github.com/daglabs/btcd/releases * Launch btcd from the Start Menu @@ -96,8 +96,8 @@ recommended that `GOPATH` is set to a directory in your home directory such as ```bash $ go get -u github.com/Masterminds/glide -$ git clone https://github.com/btcsuite/btcd $GOPATH/src/github.com/btcsuite/btcd -$ cd $GOPATH/src/github.com/btcsuite/btcd +$ git clone https://github.com/daglabs/btcd $GOPATH/src/github.com/daglabs/btcd +$ cd $GOPATH/src/github.com/daglabs/btcd $ glide install $ go install . ./cmd/... ``` @@ -111,7 +111,7 @@ $ go install . ./cmd/... - Run the following commands to update btcd, all dependencies, and install it: ```bash -$ cd $GOPATH/src/github.com/btcsuite/btcd +$ cd $GOPATH/src/github.com/daglabs/btcd $ git pull && glide install $ go install . ./cmd/... ``` @@ -129,7 +129,7 @@ $ go install . ./cmd/... **2.2 Configuration** -btcd has a number of [configuration](http://godoc.org/github.com/btcsuite/btcd) +btcd has a number of [configuration](http://godoc.org/github.com/daglabs/btcd) options, which can be viewed by running: `$ btcd --help`. @@ -213,16 +213,16 @@ configuration necessary, however, there is an optional method to use a **3.1.1 bootstrap.dat** -* [Using bootstrap.dat](https://github.com/btcsuite/btcd/tree/master/docs/using_bootstrap_dat.md) +* [Using bootstrap.dat](https://github.com/daglabs/btcd/tree/master/docs/using_bootstrap_dat.md) **3.1.2 Network Configuration** -* [What Ports Are Used by Default?](https://github.com/btcsuite/btcd/tree/master/docs/default_ports.md) -* [How To Listen on Specific Interfaces](https://github.com/btcsuite/btcd/tree/master/docs/configure_peer_server_listen_interfaces.md) -* [How To Configure RPC Server to Listen on Specific Interfaces](https://github.com/btcsuite/btcd/tree/master/docs/configure_rpc_server_listen_interfaces.md) -* [Configuring btcd with Tor](https://github.com/btcsuite/btcd/tree/master/docs/configuring_tor.md) +* [What Ports Are Used by Default?](https://github.com/daglabs/btcd/tree/master/docs/default_ports.md) +* [How To Listen on Specific Interfaces](https://github.com/daglabs/btcd/tree/master/docs/configure_peer_server_listen_interfaces.md) +* [How To Configure RPC Server to Listen on Specific Interfaces](https://github.com/daglabs/btcd/tree/master/docs/configure_rpc_server_listen_interfaces.md) +* [Configuring btcd with Tor](https://github.com/daglabs/btcd/tree/master/docs/configuring_tor.md) @@ -258,42 +258,42 @@ information. -* [Code Contribution Guidelines](https://github.com/btcsuite/btcd/tree/master/docs/code_contribution_guidelines.md) +* [Code Contribution Guidelines](https://github.com/daglabs/btcd/tree/master/docs/code_contribution_guidelines.md) -* [JSON-RPC Reference](https://github.com/btcsuite/btcd/tree/master/docs/json_rpc_api.md) - * [RPC Examples](https://github.com/btcsuite/btcd/tree/master/docs/json_rpc_api.md#ExampleCode) +* [JSON-RPC Reference](https://github.com/daglabs/btcd/tree/master/docs/json_rpc_api.md) + * [RPC Examples](https://github.com/daglabs/btcd/tree/master/docs/json_rpc_api.md#ExampleCode) * The btcsuite Bitcoin-related Go Packages: - * [btcrpcclient](https://github.com/btcsuite/btcd/tree/master/rpcclient) - Implements a + * [btcrpcclient](https://github.com/daglabs/btcd/tree/master/rpcclient) - Implements a robust and easy to use Websocket-enabled Bitcoin JSON-RPC client - * [btcjson](https://github.com/btcsuite/btcd/tree/master/btcjson) - Provides an extensive API + * [btcjson](https://github.com/daglabs/btcd/tree/master/btcjson) - Provides an extensive API for the underlying JSON-RPC command and return values - * [wire](https://github.com/btcsuite/btcd/tree/master/wire) - Implements the + * [wire](https://github.com/daglabs/btcd/tree/master/wire) - Implements the Bitcoin wire protocol - * [peer](https://github.com/btcsuite/btcd/tree/master/peer) - + * [peer](https://github.com/daglabs/btcd/tree/master/peer) - Provides a common base for creating and managing Bitcoin network peers. - * [blockchain](https://github.com/btcsuite/btcd/tree/master/blockchain) - + * [blockchain](https://github.com/daglabs/btcd/tree/master/blockchain) - Implements Bitcoin block handling and chain selection rules - * [blockchain/fullblocktests](https://github.com/btcsuite/btcd/tree/master/blockchain/fullblocktests) - + * [blockchain/fullblocktests](https://github.com/daglabs/btcd/tree/master/blockchain/fullblocktests) - Provides a set of block tests for testing the consensus validation rules - * [txscript](https://github.com/btcsuite/btcd/tree/master/txscript) - + * [txscript](https://github.com/daglabs/btcd/tree/master/txscript) - Implements the Bitcoin transaction scripting language - * [btcec](https://github.com/btcsuite/btcd/tree/master/btcec) - Implements + * [btcec](https://github.com/daglabs/btcd/tree/master/btcec) - Implements support for the elliptic curve cryptographic functions needed for the Bitcoin scripts - * [database](https://github.com/btcsuite/btcd/tree/master/database) - + * [database](https://github.com/daglabs/btcd/tree/master/database) - Provides a database interface for the Bitcoin block chain - * [mempool](https://github.com/btcsuite/btcd/tree/master/mempool) - + * [mempool](https://github.com/daglabs/btcd/tree/master/mempool) - Package mempool provides a policy-enforced pool of unmined bitcoin transactions. - * [btcutil](https://github.com/btcsuite/btcutil) - Provides Bitcoin-specific + * [btcutil](https://github.com/daglabs/btcutil) - Provides Bitcoin-specific convenience functions and types - * [chainhash](https://github.com/btcsuite/btcd/tree/master/chaincfg/chainhash) - + * [chainhash](https://github.com/daglabs/btcd/tree/master/chaincfg/chainhash) - Provides a generic hash type and associated functions that allows the specific hash algorithm to be abstracted. - * [connmgr](https://github.com/btcsuite/btcd/tree/master/connmgr) - + * [connmgr](https://github.com/daglabs/btcd/tree/master/connmgr) - Package connmgr implements a generic Bitcoin network connection manager. diff --git a/docs/code_contribution_guidelines.md b/docs/code_contribution_guidelines.md index b643e911a..f9d1248a7 100644 --- a/docs/code_contribution_guidelines.md +++ b/docs/code_contribution_guidelines.md @@ -239,7 +239,7 @@ Further paragraphs come after blank lines. Prefix the summary with the subsystem/package when possible. Many other projects make use of the code and this makes it easier for them to tell when something they're using has changed. Have a look at [past -commits](https://github.com/btcsuite/btcd/commits/master) for examples of +commits](https://github.com/daglabs/btcd/commits/master) for examples of commit messages. Here are some of the reasons why wrapping your commit messages to 72 columns is @@ -321,7 +321,7 @@ keep a clean commit history over a tangled weave of merge commits. However, regardless of the specific merge method used, the code will be integrated with the master branch and the pull request will be closed. -Rejoice as you will now be listed as a [contributor](https://github.com/btcsuite/btcd/graphs/contributors)! +Rejoice as you will now be listed as a [contributor](https://github.com/daglabs/btcd/graphs/contributors)! @@ -351,5 +351,5 @@ Rejoice as you will now be listed as a [contributor](https://github.com/btcsuite ### 6.2. Licensing of Contributions All contributions must be licensed with the -[ISC license](https://github.com/btcsuite/btcd/blob/master/LICENSE). This is +[ISC license](https://github.com/daglabs/btcd/blob/master/LICENSE). This is the same license as all of the code in the btcd suite. diff --git a/docs/json_rpc_api.md b/docs/json_rpc_api.md index 9b8b36b3b..c13c8769f 100644 --- a/docs/json_rpc_api.md +++ b/docs/json_rpc_api.md @@ -1095,7 +1095,7 @@ package main import ( "github.com/btcsuite/btcrpcclient" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcutil" "io/ioutil" "log" "path/filepath" @@ -1156,9 +1156,9 @@ package main import ( "github.com/btcsuite/btcrpcclient" - "github.com/btcsuite/btcutil" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/wire" + "github.com/daglabs/btcutil" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/wire" "io/ioutil" "log" "path/filepath" @@ -1248,9 +1248,9 @@ package main import ( "github.com/btcsuite/btcrpcclient" - "github.com/btcsuite/btcutil" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/wire" + "github.com/daglabs/btcutil" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/wire" "io/ioutil" "log" "path/filepath" diff --git a/glide.lock b/glide.lock index fb1bf674d..265620708 100644 --- a/glide.lock +++ b/glide.lock @@ -5,7 +5,7 @@ imports: version: e404fcfc888570cadd1610538e2dbc89f66af814 - name: github.com/btcsuite/btclog version: 84c8d2346e9fc8c7b947e243b9c24e6df9fd206a -- name: github.com/btcsuite/btcutil +- name: github.com/daglabs/btcutil version: d4cc87b860166d00d6b5b9e0d3b3d71d6088d4d4 subpackages: - base58 diff --git a/glide.yaml b/glide.yaml index 59dd550e4..de60421ff 100644 --- a/glide.yaml +++ b/glide.yaml @@ -1,7 +1,7 @@ -package: github.com/btcsuite/btcd +package: github.com/daglabs/btcd import: - package: github.com/btcsuite/btclog -- package: github.com/btcsuite/btcutil +- package: github.com/daglabs/btcutil version: d4cc87b860166d00d6b5b9e0d3b3d71d6088d4d4 subpackages: - bloom diff --git a/integration/README.md b/integration/README.md index 52bbf5116..457f9ea29 100644 --- a/integration/README.md +++ b/integration/README.md @@ -5,7 +5,7 @@ integration [![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) This contains integration tests which make use of the -[rpctest](https://github.com/btcsuite/btcd/tree/master/integration/rpctest) +[rpctest](https://github.com/daglabs/btcd/tree/master/integration/rpctest) package to programmatically drive nodes via RPC. ## License diff --git a/integration/bip0009_test.go b/integration/bip0009_test.go index 181c8983e..c4588f35b 100644 --- a/integration/bip0009_test.go +++ b/integration/bip0009_test.go @@ -13,10 +13,10 @@ import ( "testing" "time" - "github.com/btcsuite/btcd/blockchain" - "github.com/btcsuite/btcd/chaincfg" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/integration/rpctest" + "github.com/daglabs/btcd/blockchain" + "github.com/daglabs/btcd/chaincfg" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/integration/rpctest" ) const ( diff --git a/integration/csv_fork_test.go b/integration/csv_fork_test.go index 3dd471b18..5bbf1dd44 100644 --- a/integration/csv_fork_test.go +++ b/integration/csv_fork_test.go @@ -14,14 +14,14 @@ import ( "testing" "time" - "github.com/btcsuite/btcd/blockchain" - "github.com/btcsuite/btcd/btcec" - "github.com/btcsuite/btcd/chaincfg" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/integration/rpctest" - "github.com/btcsuite/btcd/txscript" - "github.com/btcsuite/btcd/wire" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcd/blockchain" + "github.com/daglabs/btcd/btcec" + "github.com/daglabs/btcd/chaincfg" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/integration/rpctest" + "github.com/daglabs/btcd/txscript" + "github.com/daglabs/btcd/wire" + "github.com/daglabs/btcutil" ) const ( diff --git a/integration/rpcserver_test.go b/integration/rpcserver_test.go index df526442b..962528893 100644 --- a/integration/rpcserver_test.go +++ b/integration/rpcserver_test.go @@ -14,8 +14,8 @@ import ( "runtime/debug" "testing" - "github.com/btcsuite/btcd/chaincfg" - "github.com/btcsuite/btcd/integration/rpctest" + "github.com/daglabs/btcd/chaincfg" + "github.com/daglabs/btcd/integration/rpctest" ) func testGetBestBlock(r *rpctest.Harness, t *testing.T) { diff --git a/integration/rpctest/README.md b/integration/rpctest/README.md index fceeed20a..2abdb4019 100644 --- a/integration/rpctest/README.md +++ b/integration/rpctest/README.md @@ -3,7 +3,7 @@ rpctest [![Build Status](http://img.shields.io/travis/btcsuite/btcd.svg)](https://travis-ci.org/btcsuite/btcd) [![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) -[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/btcsuite/btcd/integration/rpctest) +[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/daglabs/btcd/integration/rpctest) Package rpctest provides a btcd-specific RPC testing harness crafting and executing integration tests by driving a `btcd` instance via the `RPC` @@ -20,7 +20,7 @@ systems/integration tests. ## Installation and Updating ```bash -$ go get -u github.com/btcsuite/btcd/integration/rpctest +$ go get -u github.com/daglabs/btcd/integration/rpctest ``` ## License diff --git a/integration/rpctest/blockgen.go b/integration/rpctest/blockgen.go index de5821b0c..03b6f59c1 100644 --- a/integration/rpctest/blockgen.go +++ b/integration/rpctest/blockgen.go @@ -11,12 +11,12 @@ import ( "runtime" "time" - "github.com/btcsuite/btcd/blockchain" - "github.com/btcsuite/btcd/chaincfg" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/txscript" - "github.com/btcsuite/btcd/wire" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcd/blockchain" + "github.com/daglabs/btcd/chaincfg" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/txscript" + "github.com/daglabs/btcd/wire" + "github.com/daglabs/btcutil" ) // solveBlock attempts to find a nonce which makes the passed block header hash diff --git a/integration/rpctest/memwallet.go b/integration/rpctest/memwallet.go index 0dccde10a..8bf91feae 100644 --- a/integration/rpctest/memwallet.go +++ b/integration/rpctest/memwallet.go @@ -10,15 +10,15 @@ import ( "fmt" "sync" - "github.com/btcsuite/btcd/blockchain" - "github.com/btcsuite/btcd/btcec" - "github.com/btcsuite/btcd/chaincfg" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/rpcclient" - "github.com/btcsuite/btcd/txscript" - "github.com/btcsuite/btcd/wire" - "github.com/btcsuite/btcutil" - "github.com/btcsuite/btcutil/hdkeychain" + "github.com/daglabs/btcd/blockchain" + "github.com/daglabs/btcd/btcec" + "github.com/daglabs/btcd/chaincfg" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/rpcclient" + "github.com/daglabs/btcd/txscript" + "github.com/daglabs/btcd/wire" + "github.com/daglabs/btcutil" + "github.com/daglabs/btcutil/hdkeychain" ) var ( diff --git a/integration/rpctest/node.go b/integration/rpctest/node.go index 6904499a0..251b85a34 100644 --- a/integration/rpctest/node.go +++ b/integration/rpctest/node.go @@ -14,8 +14,8 @@ import ( "runtime" "time" - rpc "github.com/btcsuite/btcd/rpcclient" - "github.com/btcsuite/btcutil" + rpc "github.com/daglabs/btcd/rpcclient" + "github.com/daglabs/btcutil" ) // nodeConfig contains all the args, and data required to launch a btcd process diff --git a/integration/rpctest/rpc_harness.go b/integration/rpctest/rpc_harness.go index ea8868ce8..83eeed557 100644 --- a/integration/rpctest/rpc_harness.go +++ b/integration/rpctest/rpc_harness.go @@ -15,11 +15,11 @@ import ( "testing" "time" - "github.com/btcsuite/btcd/chaincfg" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/rpcclient" - "github.com/btcsuite/btcd/wire" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcd/chaincfg" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/rpcclient" + "github.com/daglabs/btcd/wire" + "github.com/daglabs/btcutil" ) const ( diff --git a/integration/rpctest/rpc_harness_test.go b/integration/rpctest/rpc_harness_test.go index 20797d383..130619497 100644 --- a/integration/rpctest/rpc_harness_test.go +++ b/integration/rpctest/rpc_harness_test.go @@ -13,11 +13,11 @@ import ( "testing" "time" - "github.com/btcsuite/btcd/chaincfg" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/txscript" - "github.com/btcsuite/btcd/wire" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcd/chaincfg" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/txscript" + "github.com/daglabs/btcd/wire" + "github.com/daglabs/btcutil" ) func testSendOutputs(r *Harness, t *testing.T) { diff --git a/integration/rpctest/utils.go b/integration/rpctest/utils.go index fc7d938dc..d86897745 100644 --- a/integration/rpctest/utils.go +++ b/integration/rpctest/utils.go @@ -8,8 +8,8 @@ import ( "reflect" "time" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/rpcclient" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/rpcclient" ) // JoinType is an enum representing a particular type of "node join". A node diff --git a/log.go b/log.go index 71accc7c9..2192c61c9 100644 --- a/log.go +++ b/log.go @@ -10,17 +10,17 @@ import ( "os" "path/filepath" - "github.com/btcsuite/btcd/addrmgr" - "github.com/btcsuite/btcd/blockchain" - "github.com/btcsuite/btcd/blockchain/indexers" - "github.com/btcsuite/btcd/connmgr" - "github.com/btcsuite/btcd/database" - "github.com/btcsuite/btcd/mempool" - "github.com/btcsuite/btcd/mining" - "github.com/btcsuite/btcd/mining/cpuminer" - "github.com/btcsuite/btcd/netsync" - "github.com/btcsuite/btcd/peer" - "github.com/btcsuite/btcd/txscript" + "github.com/daglabs/btcd/addrmgr" + "github.com/daglabs/btcd/blockchain" + "github.com/daglabs/btcd/blockchain/indexers" + "github.com/daglabs/btcd/connmgr" + "github.com/daglabs/btcd/database" + "github.com/daglabs/btcd/mempool" + "github.com/daglabs/btcd/mining" + "github.com/daglabs/btcd/mining/cpuminer" + "github.com/daglabs/btcd/netsync" + "github.com/daglabs/btcd/peer" + "github.com/daglabs/btcd/txscript" "github.com/btcsuite/btclog" "github.com/jrick/logrotate/rotator" diff --git a/mempool/README.md b/mempool/README.md index d9b8d73b5..141734731 100644 --- a/mempool/README.md +++ b/mempool/README.md @@ -3,7 +3,7 @@ mempool [![Build Status](http://img.shields.io/travis/btcsuite/btcd.svg)](https://travis-ci.org/btcsuite/btcd) [![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) -[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/btcsuite/btcd/mempool) +[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/daglabs/btcd/mempool) Package mempool provides a policy-enforced pool of unmined bitcoin transactions. @@ -74,7 +74,7 @@ be an exhaustive list. ## Installation and Updating ```bash -$ go get -u github.com/btcsuite/btcd/mempool +$ go get -u github.com/daglabs/btcd/mempool ``` ## License diff --git a/mempool/error.go b/mempool/error.go index b0d42be42..03e3f7ca4 100644 --- a/mempool/error.go +++ b/mempool/error.go @@ -5,8 +5,8 @@ package mempool import ( - "github.com/btcsuite/btcd/blockchain" - "github.com/btcsuite/btcd/wire" + "github.com/daglabs/btcd/blockchain" + "github.com/daglabs/btcd/wire" ) // RuleError identifies a rule violation. It is used to indicate that diff --git a/mempool/estimatefee.go b/mempool/estimatefee.go index 53933469b..1fbe1f769 100644 --- a/mempool/estimatefee.go +++ b/mempool/estimatefee.go @@ -16,9 +16,9 @@ import ( "strings" "sync" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/mining" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/mining" + "github.com/daglabs/btcutil" ) // TODO incorporate Alex Morcos' modifications to Gavin's initial model diff --git a/mempool/estimatefee_test.go b/mempool/estimatefee_test.go index 16dcfadc9..7bd6d4e75 100644 --- a/mempool/estimatefee_test.go +++ b/mempool/estimatefee_test.go @@ -9,10 +9,10 @@ import ( "math/rand" "testing" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/mining" - "github.com/btcsuite/btcd/wire" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/mining" + "github.com/daglabs/btcd/wire" + "github.com/daglabs/btcutil" ) // newTestFeeEstimator creates a feeEstimator with some different parameters diff --git a/mempool/mempool.go b/mempool/mempool.go index 7bb704454..9aa7e586d 100644 --- a/mempool/mempool.go +++ b/mempool/mempool.go @@ -12,15 +12,15 @@ import ( "sync/atomic" "time" - "github.com/btcsuite/btcd/blockchain" - "github.com/btcsuite/btcd/blockchain/indexers" - "github.com/btcsuite/btcd/btcjson" - "github.com/btcsuite/btcd/chaincfg" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/mining" - "github.com/btcsuite/btcd/txscript" - "github.com/btcsuite/btcd/wire" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcd/blockchain" + "github.com/daglabs/btcd/blockchain/indexers" + "github.com/daglabs/btcd/btcjson" + "github.com/daglabs/btcd/chaincfg" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/mining" + "github.com/daglabs/btcd/txscript" + "github.com/daglabs/btcd/wire" + "github.com/daglabs/btcutil" ) const ( diff --git a/mempool/mempool_test.go b/mempool/mempool_test.go index 7a29598bf..e77f7b847 100644 --- a/mempool/mempool_test.go +++ b/mempool/mempool_test.go @@ -12,13 +12,13 @@ import ( "testing" "time" - "github.com/btcsuite/btcd/blockchain" - "github.com/btcsuite/btcd/btcec" - "github.com/btcsuite/btcd/chaincfg" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/txscript" - "github.com/btcsuite/btcd/wire" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcd/blockchain" + "github.com/daglabs/btcd/btcec" + "github.com/daglabs/btcd/chaincfg" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/txscript" + "github.com/daglabs/btcd/wire" + "github.com/daglabs/btcutil" ) // fakeChain is used by the pool harness to provide generated test utxos and diff --git a/mempool/policy.go b/mempool/policy.go index f4e3b51ee..68dafd319 100644 --- a/mempool/policy.go +++ b/mempool/policy.go @@ -8,10 +8,10 @@ import ( "fmt" "time" - "github.com/btcsuite/btcd/blockchain" - "github.com/btcsuite/btcd/txscript" - "github.com/btcsuite/btcd/wire" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcd/blockchain" + "github.com/daglabs/btcd/txscript" + "github.com/daglabs/btcd/wire" + "github.com/daglabs/btcutil" ) const ( diff --git a/mempool/policy_test.go b/mempool/policy_test.go index 9dd618ad6..386e4fbb2 100644 --- a/mempool/policy_test.go +++ b/mempool/policy_test.go @@ -9,12 +9,12 @@ import ( "testing" "time" - "github.com/btcsuite/btcd/btcec" - "github.com/btcsuite/btcd/chaincfg" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/txscript" - "github.com/btcsuite/btcd/wire" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcd/btcec" + "github.com/daglabs/btcd/chaincfg" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/txscript" + "github.com/daglabs/btcd/wire" + "github.com/daglabs/btcutil" ) // TestCalcMinRequiredTxRelayFee tests the calcMinRequiredTxRelayFee API. diff --git a/mining/README.md b/mining/README.md index 5295215f8..e5c533c65 100644 --- a/mining/README.md +++ b/mining/README.md @@ -3,7 +3,7 @@ mining [![Build Status](http://img.shields.io/travis/btcsuite/btcd.svg)](https://travis-ci.org/btcsuite/btcd) [![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) -[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/btcsuite/btcd/mining) +[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/daglabs/btcd/mining) ## Overview @@ -12,7 +12,7 @@ This package is currently a work in progress. ## Installation and Updating ```bash -$ go get -u github.com/btcsuite/btcd/mining +$ go get -u github.com/daglabs/btcd/mining ``` ## License diff --git a/mining/cpuminer/README.md b/mining/cpuminer/README.md index 205b8f036..9c07d32fe 100644 --- a/mining/cpuminer/README.md +++ b/mining/cpuminer/README.md @@ -3,7 +3,7 @@ cpuminer [![Build Status](http://img.shields.io/travis/btcsuite/btcd.svg)](https://travis-ci.org/btcsuite/btcd) [![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) -[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/btcsuite/btcd/mining/cpuminer) +[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/daglabs/btcd/mining/cpuminer) ======= ## Overview @@ -16,7 +16,7 @@ now. ## Installation and Updating ```bash -$ go get -u github.com/btcsuite/btcd/mining/cpuminer +$ go get -u github.com/daglabs/btcd/mining/cpuminer ``` ## License diff --git a/mining/cpuminer/cpuminer.go b/mining/cpuminer/cpuminer.go index 3d5b3b193..da2fcf21d 100644 --- a/mining/cpuminer/cpuminer.go +++ b/mining/cpuminer/cpuminer.go @@ -12,12 +12,12 @@ import ( "sync" "time" - "github.com/btcsuite/btcd/blockchain" - "github.com/btcsuite/btcd/chaincfg" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/mining" - "github.com/btcsuite/btcd/wire" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcd/blockchain" + "github.com/daglabs/btcd/chaincfg" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/mining" + "github.com/daglabs/btcd/wire" + "github.com/daglabs/btcutil" ) const ( diff --git a/mining/mining.go b/mining/mining.go index 44ec7dc76..dbf9b961b 100644 --- a/mining/mining.go +++ b/mining/mining.go @@ -10,12 +10,12 @@ import ( "fmt" "time" - "github.com/btcsuite/btcd/blockchain" - "github.com/btcsuite/btcd/chaincfg" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/txscript" - "github.com/btcsuite/btcd/wire" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcd/blockchain" + "github.com/daglabs/btcd/chaincfg" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/txscript" + "github.com/daglabs/btcd/wire" + "github.com/daglabs/btcutil" ) const ( diff --git a/mining/mining_test.go b/mining/mining_test.go index 362253e5f..62c0d2bef 100644 --- a/mining/mining_test.go +++ b/mining/mining_test.go @@ -9,7 +9,7 @@ import ( "math/rand" "testing" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcutil" ) // TestTxFeePrioHeap ensures the priority queue for transaction fees and diff --git a/mining/policy.go b/mining/policy.go index c3f059c52..78adf6a94 100644 --- a/mining/policy.go +++ b/mining/policy.go @@ -5,9 +5,9 @@ package mining import ( - "github.com/btcsuite/btcd/blockchain" - "github.com/btcsuite/btcd/wire" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcd/blockchain" + "github.com/daglabs/btcd/wire" + "github.com/daglabs/btcutil" ) const ( diff --git a/mining/policy_test.go b/mining/policy_test.go index f66a9c8db..09da443a4 100644 --- a/mining/policy_test.go +++ b/mining/policy_test.go @@ -8,10 +8,10 @@ import ( "encoding/hex" "testing" - "github.com/btcsuite/btcd/blockchain" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/wire" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcd/blockchain" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/wire" + "github.com/daglabs/btcutil" ) // newHashFromStr converts the passed big-endian hex string into a diff --git a/netsync/README.md b/netsync/README.md index d5e141151..2854ca5f2 100644 --- a/netsync/README.md +++ b/netsync/README.md @@ -3,7 +3,7 @@ netsync [![Build Status](http://img.shields.io/travis/btcsuite/btcd.svg)](https://travis-ci.org/btcsuite/btcd) [![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) -[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/btcsuite/btcd/netsync) +[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/daglabs/btcd/netsync) ## Overview @@ -17,7 +17,7 @@ longest chain the sync peer is aware of. ## Installation and Updating ```bash -$ go get -u github.com/btcsuite/btcd/netsync +$ go get -u github.com/daglabs/btcd/netsync ``` ## License diff --git a/netsync/blocklogger.go b/netsync/blocklogger.go index 18480e782..6a707ceaf 100644 --- a/netsync/blocklogger.go +++ b/netsync/blocklogger.go @@ -9,7 +9,7 @@ import ( "time" "github.com/btcsuite/btclog" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcutil" ) // blockProgressLogger provides periodic logging for other services in order diff --git a/netsync/interface.go b/netsync/interface.go index 3e6ca1c12..0a8cc075d 100644 --- a/netsync/interface.go +++ b/netsync/interface.go @@ -5,13 +5,13 @@ package netsync import ( - "github.com/btcsuite/btcd/blockchain" - "github.com/btcsuite/btcd/chaincfg" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/mempool" - "github.com/btcsuite/btcd/peer" - "github.com/btcsuite/btcd/wire" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcd/blockchain" + "github.com/daglabs/btcd/chaincfg" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/mempool" + "github.com/daglabs/btcd/peer" + "github.com/daglabs/btcd/wire" + "github.com/daglabs/btcutil" ) // PeerNotifier exposes methods to notify peers of status changes to diff --git a/netsync/manager.go b/netsync/manager.go index d75dd9613..e221a4735 100644 --- a/netsync/manager.go +++ b/netsync/manager.go @@ -11,14 +11,14 @@ import ( "sync/atomic" "time" - "github.com/btcsuite/btcd/blockchain" - "github.com/btcsuite/btcd/chaincfg" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/database" - "github.com/btcsuite/btcd/mempool" - peerpkg "github.com/btcsuite/btcd/peer" - "github.com/btcsuite/btcd/wire" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcd/blockchain" + "github.com/daglabs/btcd/chaincfg" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/database" + "github.com/daglabs/btcd/mempool" + peerpkg "github.com/daglabs/btcd/peer" + "github.com/daglabs/btcd/wire" + "github.com/daglabs/btcutil" ) const ( diff --git a/params.go b/params.go index 14eeff071..c86028e99 100644 --- a/params.go +++ b/params.go @@ -5,8 +5,8 @@ package main import ( - "github.com/btcsuite/btcd/chaincfg" - "github.com/btcsuite/btcd/wire" + "github.com/daglabs/btcd/chaincfg" + "github.com/daglabs/btcd/wire" ) // activeNetParams is a pointer to the parameters specific to the diff --git a/peer/README.md b/peer/README.md index 1a0ba36e8..6dc1b4f09 100644 --- a/peer/README.md +++ b/peer/README.md @@ -3,7 +3,7 @@ peer [![Build Status](http://img.shields.io/travis/btcsuite/btcd.svg)](https://travis-ci.org/btcsuite/btcd) [![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) -[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/btcsuite/btcd/peer) +[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/daglabs/btcd/peer) Package peer provides a common base for creating and managing bitcoin network peers. @@ -58,12 +58,12 @@ A quick overview of the major features peer provides are as follows: ## Installation and Updating ```bash -$ go get -u github.com/btcsuite/btcd/peer +$ go get -u github.com/daglabs/btcd/peer ``` ## Examples -* [New Outbound Peer Example](https://godoc.org/github.com/btcsuite/btcd/peer#example-package--NewOutboundPeer) +* [New Outbound Peer Example](https://godoc.org/github.com/daglabs/btcd/peer#example-package--NewOutboundPeer) Demonstrates the basic process for initializing and creating an outbound peer. Peers negotiate by exchanging version and verack messages. For demonstration, a simple handler for the version message is attached to the peer. diff --git a/peer/doc.go b/peer/doc.go index cd822fe1c..d483faddd 100644 --- a/peer/doc.go +++ b/peer/doc.go @@ -145,6 +145,6 @@ raw message bytes using a format similar to hexdump -C. Bitcoin Improvement Proposals This package supports all BIPS supported by the wire package. -(https://godoc.org/github.com/btcsuite/btcd/wire#hdr-Bitcoin_Improvement_Proposals) +(https://godoc.org/github.com/daglabs/btcd/wire#hdr-Bitcoin_Improvement_Proposals) */ package peer diff --git a/peer/example_test.go b/peer/example_test.go index e4429f855..063c34666 100644 --- a/peer/example_test.go +++ b/peer/example_test.go @@ -9,9 +9,9 @@ import ( "net" "time" - "github.com/btcsuite/btcd/chaincfg" - "github.com/btcsuite/btcd/peer" - "github.com/btcsuite/btcd/wire" + "github.com/daglabs/btcd/chaincfg" + "github.com/daglabs/btcd/peer" + "github.com/daglabs/btcd/wire" ) // mockRemotePeer creates a basic inbound peer listening on the simnet port for diff --git a/peer/log.go b/peer/log.go index 7469fd86f..854b8a38b 100644 --- a/peer/log.go +++ b/peer/log.go @@ -9,9 +9,9 @@ import ( "strings" "time" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/txscript" - "github.com/btcsuite/btcd/wire" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/txscript" + "github.com/daglabs/btcd/wire" "github.com/btcsuite/btclog" ) diff --git a/peer/mruinvmap.go b/peer/mruinvmap.go index 0bf1b2b34..22e9900d8 100644 --- a/peer/mruinvmap.go +++ b/peer/mruinvmap.go @@ -10,7 +10,7 @@ import ( "fmt" "sync" - "github.com/btcsuite/btcd/wire" + "github.com/daglabs/btcd/wire" ) // mruInventoryMap provides a concurrency safe map that is limited to a maximum diff --git a/peer/mruinvmap_test.go b/peer/mruinvmap_test.go index e55746010..7772a5dfe 100644 --- a/peer/mruinvmap_test.go +++ b/peer/mruinvmap_test.go @@ -9,8 +9,8 @@ import ( "fmt" "testing" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/wire" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/wire" ) // TestMruInventoryMap ensures the MruInventoryMap behaves as expected including diff --git a/peer/peer.go b/peer/peer.go index 9aecab594..090f32ffe 100644 --- a/peer/peer.go +++ b/peer/peer.go @@ -17,10 +17,10 @@ import ( "sync/atomic" "time" - "github.com/btcsuite/btcd/blockchain" - "github.com/btcsuite/btcd/chaincfg" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/wire" + "github.com/daglabs/btcd/blockchain" + "github.com/daglabs/btcd/chaincfg" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/wire" "github.com/btcsuite/go-socks/socks" "github.com/davecgh/go-spew/spew" ) diff --git a/peer/peer_test.go b/peer/peer_test.go index 34ab1144d..89041a9ab 100644 --- a/peer/peer_test.go +++ b/peer/peer_test.go @@ -12,10 +12,10 @@ import ( "testing" "time" - "github.com/btcsuite/btcd/chaincfg" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/peer" - "github.com/btcsuite/btcd/wire" + "github.com/daglabs/btcd/chaincfg" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/peer" + "github.com/daglabs/btcd/wire" "github.com/btcsuite/go-socks/socks" ) diff --git a/rpcadapters.go b/rpcadapters.go index 7d2c3a14d..b7ae5e2ea 100644 --- a/rpcadapters.go +++ b/rpcadapters.go @@ -7,13 +7,13 @@ package main import ( "sync/atomic" - "github.com/btcsuite/btcd/blockchain" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/mempool" - "github.com/btcsuite/btcd/netsync" - "github.com/btcsuite/btcd/peer" - "github.com/btcsuite/btcd/wire" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcd/blockchain" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/mempool" + "github.com/daglabs/btcd/netsync" + "github.com/daglabs/btcd/peer" + "github.com/daglabs/btcd/wire" + "github.com/daglabs/btcutil" ) // rpcPeer provides a peer for use with the RPC server and implements the diff --git a/rpcclient/README.md b/rpcclient/README.md index b6077d2a8..a1a932111 100644 --- a/rpcclient/README.md +++ b/rpcclient/README.md @@ -3,7 +3,7 @@ rpcclient [![Build Status](http://img.shields.io/travis/btcsuite/btcd.svg)](https://travis-ci.org/btcsuite/btcd) [![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) -[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/btcsuite/btcd/rpcclient) +[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/daglabs/btcd/rpcclient) rpcclient implements a Websocket-enabled Bitcoin JSON-RPC client package written in [Go](http://golang.org/). It provides a robust and easy to use client for @@ -18,16 +18,16 @@ implement and the API is not stable yet. ## Documentation -* [API Reference](http://godoc.org/github.com/btcsuite/btcd/rpcclient) -* [btcd Websockets Example](https://github.com/btcsuite/btcd/rpcclient/blob/master/examples/btcdwebsockets) +* [API Reference](http://godoc.org/github.com/daglabs/btcd/rpcclient) +* [btcd Websockets Example](https://github.com/daglabs/btcd/rpcclient/blob/master/examples/btcdwebsockets) Connects to a btcd RPC server using TLS-secured websockets, registers for block connected and block disconnected notifications, and gets the current block count -* [btcwallet Websockets Example](https://github.com/btcsuite/btcd/rpcclient/blob/master/examples/btcwalletwebsockets) +* [btcwallet Websockets Example](https://github.com/daglabs/btcd/rpcclient/blob/master/examples/btcwalletwebsockets) Connects to a btcwallet RPC server using TLS-secured websockets, registers for notifications about changes to account balances, and gets a list of unspent transaction outputs (utxos) the wallet can sign -* [Bitcoin Core HTTP POST Example](https://github.com/btcsuite/btcd/rpcclient/blob/master/examples/bitcoincorehttp) +* [Bitcoin Core HTTP POST Example](https://github.com/daglabs/btcd/rpcclient/blob/master/examples/bitcoincorehttp) Connects to a bitcoin core RPC server using HTTP POST mode with TLS disabled and gets the current block count @@ -47,7 +47,7 @@ implement and the API is not stable yet. ## Installation ```bash -$ go get -u github.com/btcsuite/btcd/rpcclient +$ go get -u github.com/daglabs/btcd/rpcclient ``` ## License diff --git a/rpcclient/chain.go b/rpcclient/chain.go index c21668918..6f58246c8 100644 --- a/rpcclient/chain.go +++ b/rpcclient/chain.go @@ -10,9 +10,9 @@ import ( "encoding/hex" "encoding/json" - "github.com/btcsuite/btcd/btcjson" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/wire" + "github.com/daglabs/btcd/btcjson" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/wire" ) // FutureGetBestBlockHashResult is a future promise to deliver the result of a diff --git a/rpcclient/doc.go b/rpcclient/doc.go index d4bbb64d6..347ad786e 100644 --- a/rpcclient/doc.go +++ b/rpcclient/doc.go @@ -9,7 +9,7 @@ Overview This client provides a robust and easy to use client for interfacing with a Bitcoin RPC server that uses a btcd/bitcoin core compatible Bitcoin JSON-RPC -API. This client has been tested with btcd (https://github.com/btcsuite/btcd), +API. This client has been tested with btcd (https://github.com/daglabs/btcd), btcwallet (https://github.com/btcsuite/btcwallet), and bitcoin core (https://github.com/bitcoin). diff --git a/rpcclient/examples/bitcoincorehttp/README.md b/rpcclient/examples/bitcoincorehttp/README.md index 4d1f0adfe..0f668851f 100644 --- a/rpcclient/examples/bitcoincorehttp/README.md +++ b/rpcclient/examples/bitcoincorehttp/README.md @@ -10,7 +10,7 @@ block count. The first step is to use `go get` to download and install the rpcclient package: ```bash -$ go get github.com/btcsuite/btcd/rpcclient +$ go get github.com/daglabs/btcd/rpcclient ``` Next, modify the `main.go` source to specify the correct RPC username and @@ -24,7 +24,7 @@ password for the RPC server: Finally, navigate to the example's directory and run it with: ```bash -$ cd $GOPATH/src/github.com/btcsuite/btcd/rpcclient/examples/bitcoincorehttp +$ cd $GOPATH/src/github.com/daglabs/btcd/rpcclient/examples/bitcoincorehttp $ go run *.go ``` diff --git a/rpcclient/examples/bitcoincorehttp/main.go b/rpcclient/examples/bitcoincorehttp/main.go index 489770a25..3ec41fce8 100644 --- a/rpcclient/examples/bitcoincorehttp/main.go +++ b/rpcclient/examples/bitcoincorehttp/main.go @@ -7,7 +7,7 @@ package main import ( "log" - "github.com/btcsuite/btcd/rpcclient" + "github.com/daglabs/btcd/rpcclient" ) func main() { diff --git a/rpcclient/examples/btcdwebsockets/README.md b/rpcclient/examples/btcdwebsockets/README.md index a16864843..908c45d78 100644 --- a/rpcclient/examples/btcdwebsockets/README.md +++ b/rpcclient/examples/btcdwebsockets/README.md @@ -13,7 +13,7 @@ demonstrate clean shutdown. The first step is to use `go get` to download and install the rpcclient package: ```bash -$ go get github.com/btcsuite/btcd/rpcclient +$ go get github.com/daglabs/btcd/rpcclient ``` Next, modify the `main.go` source to specify the correct RPC username and @@ -27,7 +27,7 @@ password for the RPC server: Finally, navigate to the example's directory and run it with: ```bash -$ cd $GOPATH/src/github.com/btcsuite/btcd/rpcclient/examples/btcdwebsockets +$ cd $GOPATH/src/github.com/daglabs/btcd/rpcclient/examples/btcdwebsockets $ go run *.go ``` diff --git a/rpcclient/examples/btcdwebsockets/main.go b/rpcclient/examples/btcdwebsockets/main.go index 56d12d827..574fd052d 100644 --- a/rpcclient/examples/btcdwebsockets/main.go +++ b/rpcclient/examples/btcdwebsockets/main.go @@ -10,9 +10,9 @@ import ( "path/filepath" "time" - "github.com/btcsuite/btcd/rpcclient" - "github.com/btcsuite/btcd/wire" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcd/rpcclient" + "github.com/daglabs/btcd/wire" + "github.com/daglabs/btcutil" ) func main() { diff --git a/rpcclient/examples/btcwalletwebsockets/README.md b/rpcclient/examples/btcwalletwebsockets/README.md index e495dff80..eb79d9aa7 100644 --- a/rpcclient/examples/btcwalletwebsockets/README.md +++ b/rpcclient/examples/btcwalletwebsockets/README.md @@ -14,7 +14,7 @@ demonstrate clean shutdown. The first step is to use `go get` to download and install the rpcclient package: ```bash -$ go get github.com/btcsuite/btcd/rpcclient +$ go get github.com/daglabs/btcd/rpcclient ``` Next, modify the `main.go` source to specify the correct RPC username and @@ -28,7 +28,7 @@ password for the RPC server: Finally, navigate to the example's directory and run it with: ```bash -$ cd $GOPATH/src/github.com/btcsuite/btcd/rpcclient/examples/btcwalletwebsockets +$ cd $GOPATH/src/github.com/daglabs/btcd/rpcclient/examples/btcwalletwebsockets $ go run *.go ``` diff --git a/rpcclient/examples/btcwalletwebsockets/main.go b/rpcclient/examples/btcwalletwebsockets/main.go index e803138d6..8d196f263 100644 --- a/rpcclient/examples/btcwalletwebsockets/main.go +++ b/rpcclient/examples/btcwalletwebsockets/main.go @@ -10,8 +10,8 @@ import ( "path/filepath" "time" - "github.com/btcsuite/btcd/rpcclient" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcd/rpcclient" + "github.com/daglabs/btcutil" "github.com/davecgh/go-spew/spew" ) diff --git a/rpcclient/extensions.go b/rpcclient/extensions.go index d16cd5252..97f921d80 100644 --- a/rpcclient/extensions.go +++ b/rpcclient/extensions.go @@ -12,10 +12,10 @@ import ( "encoding/json" "fmt" - "github.com/btcsuite/btcd/btcjson" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/wire" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcd/btcjson" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/wire" + "github.com/daglabs/btcutil" ) // FutureDebugLevelResult is a future promise to deliver the result of a diff --git a/rpcclient/infrastructure.go b/rpcclient/infrastructure.go index 27f7f21f1..4ee96b8bd 100644 --- a/rpcclient/infrastructure.go +++ b/rpcclient/infrastructure.go @@ -23,7 +23,7 @@ import ( "sync/atomic" "time" - "github.com/btcsuite/btcd/btcjson" + "github.com/daglabs/btcd/btcjson" "github.com/btcsuite/go-socks/socks" "github.com/btcsuite/websocket" ) diff --git a/rpcclient/mining.go b/rpcclient/mining.go index 76a9d3058..9fa315ae2 100644 --- a/rpcclient/mining.go +++ b/rpcclient/mining.go @@ -9,9 +9,9 @@ import ( "encoding/json" "errors" - "github.com/btcsuite/btcd/btcjson" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcd/btcjson" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcutil" ) // FutureGenerateResult is a future promise to deliver the result of a diff --git a/rpcclient/net.go b/rpcclient/net.go index aeda8b3c5..1a480fcaa 100644 --- a/rpcclient/net.go +++ b/rpcclient/net.go @@ -7,7 +7,7 @@ package rpcclient import ( "encoding/json" - "github.com/btcsuite/btcd/btcjson" + "github.com/daglabs/btcd/btcjson" ) // AddNodeCommand enumerates the available commands that the AddNode function diff --git a/rpcclient/notify.go b/rpcclient/notify.go index 2454a9469..ae274a343 100644 --- a/rpcclient/notify.go +++ b/rpcclient/notify.go @@ -13,10 +13,10 @@ import ( "fmt" "time" - "github.com/btcsuite/btcd/btcjson" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/wire" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcd/btcjson" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/wire" + "github.com/daglabs/btcutil" ) var ( diff --git a/rpcclient/rawrequest.go b/rpcclient/rawrequest.go index dd16fd049..63c900a4b 100644 --- a/rpcclient/rawrequest.go +++ b/rpcclient/rawrequest.go @@ -8,7 +8,7 @@ import ( "encoding/json" "errors" - "github.com/btcsuite/btcd/btcjson" + "github.com/daglabs/btcd/btcjson" ) // FutureRawResult is a future promise to deliver the result of a RawRequest RPC diff --git a/rpcclient/rawtransactions.go b/rpcclient/rawtransactions.go index e886f2250..d7264a3c3 100644 --- a/rpcclient/rawtransactions.go +++ b/rpcclient/rawtransactions.go @@ -9,10 +9,10 @@ import ( "encoding/hex" "encoding/json" - "github.com/btcsuite/btcd/btcjson" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/wire" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcd/btcjson" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/wire" + "github.com/daglabs/btcutil" ) // SigHashType enumerates the available signature hashing types that the diff --git a/rpcclient/wallet.go b/rpcclient/wallet.go index 10c12f1f7..8ca099e45 100644 --- a/rpcclient/wallet.go +++ b/rpcclient/wallet.go @@ -8,11 +8,11 @@ import ( "encoding/json" "strconv" - "github.com/btcsuite/btcd/btcjson" - "github.com/btcsuite/btcd/chaincfg" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/wire" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcd/btcjson" + "github.com/daglabs/btcd/chaincfg" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/wire" + "github.com/daglabs/btcutil" ) // ***************************** diff --git a/rpcserver.go b/rpcserver.go index e3f6430f2..0abb5b823 100644 --- a/rpcserver.go +++ b/rpcserver.go @@ -27,20 +27,20 @@ import ( "sync/atomic" "time" - "github.com/btcsuite/btcd/blockchain" - "github.com/btcsuite/btcd/blockchain/indexers" - "github.com/btcsuite/btcd/btcec" - "github.com/btcsuite/btcd/btcjson" - "github.com/btcsuite/btcd/chaincfg" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/database" - "github.com/btcsuite/btcd/mempool" - "github.com/btcsuite/btcd/mining" - "github.com/btcsuite/btcd/mining/cpuminer" - "github.com/btcsuite/btcd/peer" - "github.com/btcsuite/btcd/txscript" - "github.com/btcsuite/btcd/wire" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcd/blockchain" + "github.com/daglabs/btcd/blockchain/indexers" + "github.com/daglabs/btcd/btcec" + "github.com/daglabs/btcd/btcjson" + "github.com/daglabs/btcd/chaincfg" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/database" + "github.com/daglabs/btcd/mempool" + "github.com/daglabs/btcd/mining" + "github.com/daglabs/btcd/mining/cpuminer" + "github.com/daglabs/btcd/peer" + "github.com/daglabs/btcd/txscript" + "github.com/daglabs/btcd/wire" + "github.com/daglabs/btcutil" "github.com/btcsuite/websocket" ) diff --git a/rpcserverhelp.go b/rpcserverhelp.go index 489e9a871..e51603e12 100644 --- a/rpcserverhelp.go +++ b/rpcserverhelp.go @@ -11,7 +11,7 @@ import ( "strings" "sync" - "github.com/btcsuite/btcd/btcjson" + "github.com/daglabs/btcd/btcjson" ) // helpDescsEnUS defines the English descriptions used for the help strings. diff --git a/rpcwebsocket.go b/rpcwebsocket.go index 8b9d06b44..9eba21665 100644 --- a/rpcwebsocket.go +++ b/rpcwebsocket.go @@ -22,14 +22,14 @@ import ( "golang.org/x/crypto/ripemd160" - "github.com/btcsuite/btcd/blockchain" - "github.com/btcsuite/btcd/btcjson" - "github.com/btcsuite/btcd/chaincfg" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/database" - "github.com/btcsuite/btcd/txscript" - "github.com/btcsuite/btcd/wire" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcd/blockchain" + "github.com/daglabs/btcd/btcjson" + "github.com/daglabs/btcd/chaincfg" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/database" + "github.com/daglabs/btcd/txscript" + "github.com/daglabs/btcd/wire" + "github.com/daglabs/btcutil" "github.com/btcsuite/websocket" ) diff --git a/server.go b/server.go index f3e4c9f70..cc4c9ae17 100644 --- a/server.go +++ b/server.go @@ -22,22 +22,22 @@ import ( "sync/atomic" "time" - "github.com/btcsuite/btcd/addrmgr" - "github.com/btcsuite/btcd/blockchain" - "github.com/btcsuite/btcd/blockchain/indexers" - "github.com/btcsuite/btcd/chaincfg" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/connmgr" - "github.com/btcsuite/btcd/database" - "github.com/btcsuite/btcd/mempool" - "github.com/btcsuite/btcd/mining" - "github.com/btcsuite/btcd/mining/cpuminer" - "github.com/btcsuite/btcd/netsync" - "github.com/btcsuite/btcd/peer" - "github.com/btcsuite/btcd/txscript" - "github.com/btcsuite/btcd/wire" - "github.com/btcsuite/btcutil" - "github.com/btcsuite/btcutil/bloom" + "github.com/daglabs/btcd/addrmgr" + "github.com/daglabs/btcd/blockchain" + "github.com/daglabs/btcd/blockchain/indexers" + "github.com/daglabs/btcd/chaincfg" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/connmgr" + "github.com/daglabs/btcd/database" + "github.com/daglabs/btcd/mempool" + "github.com/daglabs/btcd/mining" + "github.com/daglabs/btcd/mining/cpuminer" + "github.com/daglabs/btcd/netsync" + "github.com/daglabs/btcd/peer" + "github.com/daglabs/btcd/txscript" + "github.com/daglabs/btcd/wire" + "github.com/daglabs/btcutil" + "github.com/daglabs/btcutil/bloom" ) const ( diff --git a/txscript/README.md b/txscript/README.md index 579317345..0e313c0a1 100644 --- a/txscript/README.md +++ b/txscript/README.md @@ -3,7 +3,7 @@ txscript [![Build Status](https://travis-ci.org/btcsuite/btcd.png?branch=master)](https://travis-ci.org/btcsuite/btcd) [![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) -[![GoDoc](https://godoc.org/github.com/btcsuite/btcd/txscript?status.png)](http://godoc.org/github.com/btcsuite/btcd/txscript) +[![GoDoc](https://godoc.org/github.com/daglabs/btcd/txscript?status.png)](http://godoc.org/github.com/daglabs/btcd/txscript) Package txscript implements the bitcoin transaction script language. There is a comprehensive test suite. @@ -21,20 +21,20 @@ can be found at https://en.bitcoin.it/wiki/Script ## Installation and Updating ```bash -$ go get -u github.com/btcsuite/btcd/txscript +$ go get -u github.com/daglabs/btcd/txscript ``` ## Examples -* [Standard Pay-to-pubkey-hash Script](http://godoc.org/github.com/btcsuite/btcd/txscript#example-PayToAddrScript) +* [Standard Pay-to-pubkey-hash Script](http://godoc.org/github.com/daglabs/btcd/txscript#example-PayToAddrScript) Demonstrates creating a script which pays to a bitcoin address. It also prints the created script hex and uses the DisasmString function to display the disassembled script. -* [Extracting Details from Standard Scripts](http://godoc.org/github.com/btcsuite/btcd/txscript#example-ExtractPkScriptAddrs) +* [Extracting Details from Standard Scripts](http://godoc.org/github.com/daglabs/btcd/txscript#example-ExtractPkScriptAddrs) Demonstrates extracting information from a standard public key script. -* [Manually Signing a Transaction Output](http://godoc.org/github.com/btcsuite/btcd/txscript#example-SignTxOutput) +* [Manually Signing a Transaction Output](http://godoc.org/github.com/daglabs/btcd/txscript#example-SignTxOutput) Demonstrates manually creating and signing a redeem transaction. ## GPG Verification Key diff --git a/txscript/engine.go b/txscript/engine.go index b5aef52a0..39ebbe228 100644 --- a/txscript/engine.go +++ b/txscript/engine.go @@ -10,8 +10,8 @@ import ( "fmt" "math/big" - "github.com/btcsuite/btcd/btcec" - "github.com/btcsuite/btcd/wire" + "github.com/daglabs/btcd/btcec" + "github.com/daglabs/btcd/wire" ) // ScriptFlags is a bitmask defining additional operations or tests that will be diff --git a/txscript/engine_test.go b/txscript/engine_test.go index 2e8c522c1..d0ff971cf 100644 --- a/txscript/engine_test.go +++ b/txscript/engine_test.go @@ -7,8 +7,8 @@ package txscript import ( "testing" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/wire" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/wire" ) // TestBadPC sets the pc to a deliberately bad result then confirms that Step() diff --git a/txscript/example_test.go b/txscript/example_test.go index 7bf2b3f05..9a2b49ef6 100644 --- a/txscript/example_test.go +++ b/txscript/example_test.go @@ -8,12 +8,12 @@ import ( "encoding/hex" "fmt" - "github.com/btcsuite/btcd/btcec" - "github.com/btcsuite/btcd/chaincfg" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/txscript" - "github.com/btcsuite/btcd/wire" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcd/btcec" + "github.com/daglabs/btcd/chaincfg" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/txscript" + "github.com/daglabs/btcd/wire" + "github.com/daglabs/btcutil" ) // This example demonstrates creating a script which pays to a bitcoin address. diff --git a/txscript/hashcache.go b/txscript/hashcache.go index f9c2caf76..9465f5d75 100644 --- a/txscript/hashcache.go +++ b/txscript/hashcache.go @@ -7,8 +7,8 @@ package txscript import ( "sync" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/wire" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/wire" ) // TxSigHashes houses the partial set of sighashes introduced within BIP0143. diff --git a/txscript/hashcache_test.go b/txscript/hashcache_test.go index 389918e2f..6fc9a88e1 100644 --- a/txscript/hashcache_test.go +++ b/txscript/hashcache_test.go @@ -9,7 +9,7 @@ import ( "testing" "time" - "github.com/btcsuite/btcd/wire" + "github.com/daglabs/btcd/wire" "github.com/davecgh/go-spew/spew" ) diff --git a/txscript/opcode.go b/txscript/opcode.go index 5ffb39827..d31b3c772 100644 --- a/txscript/opcode.go +++ b/txscript/opcode.go @@ -14,9 +14,9 @@ import ( "golang.org/x/crypto/ripemd160" - "github.com/btcsuite/btcd/btcec" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/wire" + "github.com/daglabs/btcd/btcec" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/wire" ) // An opcode defines the information related to a txscript opcode. opfunc, if diff --git a/txscript/reference_test.go b/txscript/reference_test.go index 1af9359bf..f62ddf61c 100644 --- a/txscript/reference_test.go +++ b/txscript/reference_test.go @@ -15,9 +15,9 @@ import ( "strings" "testing" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/wire" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/wire" + "github.com/daglabs/btcutil" ) // scriptTestName returns a descriptive test name for the given reference script diff --git a/txscript/script.go b/txscript/script.go index aac3d4aaa..18644f0de 100644 --- a/txscript/script.go +++ b/txscript/script.go @@ -10,8 +10,8 @@ import ( "fmt" "time" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/wire" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/wire" ) // Bip16Activation is the timestamp where BIP0016 is valid to use in the diff --git a/txscript/script_test.go b/txscript/script_test.go index 6a725e275..a9def2b53 100644 --- a/txscript/script_test.go +++ b/txscript/script_test.go @@ -9,7 +9,7 @@ import ( "reflect" "testing" - "github.com/btcsuite/btcd/wire" + "github.com/daglabs/btcd/wire" ) // TestParseOpcode tests for opcode parsing with bad data templates. diff --git a/txscript/sigcache.go b/txscript/sigcache.go index d9e4fa6ce..ccb7f642a 100644 --- a/txscript/sigcache.go +++ b/txscript/sigcache.go @@ -7,8 +7,8 @@ package txscript import ( "sync" - "github.com/btcsuite/btcd/btcec" - "github.com/btcsuite/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/btcec" + "github.com/daglabs/btcd/chaincfg/chainhash" ) // sigCacheEntry represents an entry in the SigCache. Entries within the diff --git a/txscript/sigcache_test.go b/txscript/sigcache_test.go index 5413ea3b2..04def36ba 100644 --- a/txscript/sigcache_test.go +++ b/txscript/sigcache_test.go @@ -8,8 +8,8 @@ import ( "crypto/rand" "testing" - "github.com/btcsuite/btcd/btcec" - "github.com/btcsuite/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/btcec" + "github.com/daglabs/btcd/chaincfg/chainhash" ) // genRandomSig returns a random message, a signature of the message under the diff --git a/txscript/sign.go b/txscript/sign.go index 42af9686c..917ff1120 100644 --- a/txscript/sign.go +++ b/txscript/sign.go @@ -8,10 +8,10 @@ import ( "errors" "fmt" - "github.com/btcsuite/btcd/btcec" - "github.com/btcsuite/btcd/chaincfg" - "github.com/btcsuite/btcd/wire" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcd/btcec" + "github.com/daglabs/btcd/chaincfg" + "github.com/daglabs/btcd/wire" + "github.com/daglabs/btcutil" ) // RawTxInWitnessSignature returns the serialized ECDA signature for the input diff --git a/txscript/sign_test.go b/txscript/sign_test.go index b97a8a64d..fee1b1ba5 100644 --- a/txscript/sign_test.go +++ b/txscript/sign_test.go @@ -9,11 +9,11 @@ import ( "fmt" "testing" - "github.com/btcsuite/btcd/btcec" - "github.com/btcsuite/btcd/chaincfg" - "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btcd/wire" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcd/btcec" + "github.com/daglabs/btcd/chaincfg" + "github.com/daglabs/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/wire" + "github.com/daglabs/btcutil" ) type addressToKey struct { diff --git a/txscript/standard.go b/txscript/standard.go index a7e929d10..0494431f4 100644 --- a/txscript/standard.go +++ b/txscript/standard.go @@ -7,9 +7,9 @@ package txscript import ( "fmt" - "github.com/btcsuite/btcd/chaincfg" - "github.com/btcsuite/btcd/wire" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcd/chaincfg" + "github.com/daglabs/btcd/wire" + "github.com/daglabs/btcutil" ) const ( diff --git a/txscript/standard_test.go b/txscript/standard_test.go index e24d5f615..073ebd9a0 100644 --- a/txscript/standard_test.go +++ b/txscript/standard_test.go @@ -10,9 +10,9 @@ import ( "reflect" "testing" - "github.com/btcsuite/btcd/chaincfg" - "github.com/btcsuite/btcd/wire" - "github.com/btcsuite/btcutil" + "github.com/daglabs/btcd/chaincfg" + "github.com/daglabs/btcd/wire" + "github.com/daglabs/btcutil" ) // mustParseShortForm parses the passed short form script and returns the diff --git a/wire/README.md b/wire/README.md index 646bc0a30..a4c5abcaf 100644 --- a/wire/README.md +++ b/wire/README.md @@ -3,7 +3,7 @@ wire [![Build Status](http://img.shields.io/travis/btcsuite/btcd.svg)](https://travis-ci.org/btcsuite/btcd) [![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) -[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/btcsuite/btcd/wire) +[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/daglabs/btcd/wire) ======= Package wire implements the bitcoin wire protocol. A comprehensive suite of @@ -19,7 +19,7 @@ protocol level. ## Installation and Updating ```bash -$ go get -u github.com/btcsuite/btcd/wire +$ go get -u github.com/daglabs/btcd/wire ``` ## Bitcoin Message Overview diff --git a/wire/bench_test.go b/wire/bench_test.go index f6637d421..8962e7b94 100644 --- a/wire/bench_test.go +++ b/wire/bench_test.go @@ -13,7 +13,7 @@ import ( "os" "testing" - "github.com/btcsuite/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/chaincfg/chainhash" ) // genesisCoinbaseTx is the coinbase transaction for the genesis blocks for diff --git a/wire/blockheader.go b/wire/blockheader.go index 9c9c2237e..b36936ae1 100644 --- a/wire/blockheader.go +++ b/wire/blockheader.go @@ -9,7 +9,7 @@ import ( "io" "time" - "github.com/btcsuite/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/chaincfg/chainhash" ) // MaxBlockHeaderPayload is the maximum number of bytes a block header can be. diff --git a/wire/common.go b/wire/common.go index 42c1797b3..c6bf09b93 100644 --- a/wire/common.go +++ b/wire/common.go @@ -12,7 +12,7 @@ import ( "math" "time" - "github.com/btcsuite/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/chaincfg/chainhash" ) const ( diff --git a/wire/common_test.go b/wire/common_test.go index fa963d4b5..afd81665f 100644 --- a/wire/common_test.go +++ b/wire/common_test.go @@ -12,7 +12,7 @@ import ( "strings" "testing" - "github.com/btcsuite/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/chaincfg/chainhash" "github.com/davecgh/go-spew/spew" ) diff --git a/wire/invvect.go b/wire/invvect.go index 1e706642b..e88675263 100644 --- a/wire/invvect.go +++ b/wire/invvect.go @@ -8,7 +8,7 @@ import ( "fmt" "io" - "github.com/btcsuite/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/chaincfg/chainhash" ) const ( diff --git a/wire/invvect_test.go b/wire/invvect_test.go index 1d02c0981..ec74273ce 100644 --- a/wire/invvect_test.go +++ b/wire/invvect_test.go @@ -9,7 +9,7 @@ import ( "reflect" "testing" - "github.com/btcsuite/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/chaincfg/chainhash" "github.com/davecgh/go-spew/spew" ) diff --git a/wire/message.go b/wire/message.go index 4f03cf564..d298df7f5 100644 --- a/wire/message.go +++ b/wire/message.go @@ -10,7 +10,7 @@ import ( "io" "unicode/utf8" - "github.com/btcsuite/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/chaincfg/chainhash" ) // MessageHeaderSize is the number of bytes in a bitcoin message header. diff --git a/wire/message_test.go b/wire/message_test.go index a174c49af..d38fd0e34 100644 --- a/wire/message_test.go +++ b/wire/message_test.go @@ -13,7 +13,7 @@ import ( "testing" "time" - "github.com/btcsuite/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/chaincfg/chainhash" "github.com/davecgh/go-spew/spew" ) diff --git a/wire/msgblock.go b/wire/msgblock.go index 4172949dc..67f3778d8 100644 --- a/wire/msgblock.go +++ b/wire/msgblock.go @@ -9,7 +9,7 @@ import ( "fmt" "io" - "github.com/btcsuite/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/chaincfg/chainhash" ) // defaultTransactionAlloc is the default size used for the backing array diff --git a/wire/msgblock_test.go b/wire/msgblock_test.go index 2a861b208..f0edd4a44 100644 --- a/wire/msgblock_test.go +++ b/wire/msgblock_test.go @@ -11,7 +11,7 @@ import ( "testing" "time" - "github.com/btcsuite/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/chaincfg/chainhash" "github.com/davecgh/go-spew/spew" ) diff --git a/wire/msgcfcheckpt.go b/wire/msgcfcheckpt.go index 32f9575e5..c28991382 100644 --- a/wire/msgcfcheckpt.go +++ b/wire/msgcfcheckpt.go @@ -8,7 +8,7 @@ import ( "fmt" "io" - "github.com/btcsuite/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/chaincfg/chainhash" ) const ( diff --git a/wire/msgcfheaders.go b/wire/msgcfheaders.go index 40d30f9b4..b36e243fe 100644 --- a/wire/msgcfheaders.go +++ b/wire/msgcfheaders.go @@ -8,7 +8,7 @@ import ( "fmt" "io" - "github.com/btcsuite/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/chaincfg/chainhash" ) const ( diff --git a/wire/msgcfilter.go b/wire/msgcfilter.go index 7387587fd..01a527a3a 100644 --- a/wire/msgcfilter.go +++ b/wire/msgcfilter.go @@ -8,7 +8,7 @@ import ( "fmt" "io" - "github.com/btcsuite/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/chaincfg/chainhash" ) // FilterType is used to represent a filter type. diff --git a/wire/msggetblocks.go b/wire/msggetblocks.go index caf4400ca..65d0c4aad 100644 --- a/wire/msggetblocks.go +++ b/wire/msggetblocks.go @@ -8,7 +8,7 @@ import ( "fmt" "io" - "github.com/btcsuite/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/chaincfg/chainhash" ) // MaxBlockLocatorsPerMsg is the maximum number of block locator hashes allowed diff --git a/wire/msggetblocks_test.go b/wire/msggetblocks_test.go index 376f7338b..ad6ca802e 100644 --- a/wire/msggetblocks_test.go +++ b/wire/msggetblocks_test.go @@ -10,7 +10,7 @@ import ( "reflect" "testing" - "github.com/btcsuite/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/chaincfg/chainhash" "github.com/davecgh/go-spew/spew" ) diff --git a/wire/msggetcfcheckpt.go b/wire/msggetcfcheckpt.go index c30a86cec..6d209b16f 100644 --- a/wire/msggetcfcheckpt.go +++ b/wire/msggetcfcheckpt.go @@ -7,7 +7,7 @@ package wire import ( "io" - "github.com/btcsuite/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/chaincfg/chainhash" ) // MsgGetCFCheckpt is a request for filter headers at evenly spaced intervals diff --git a/wire/msggetcfheaders.go b/wire/msggetcfheaders.go index 03a1caf72..562514848 100644 --- a/wire/msggetcfheaders.go +++ b/wire/msggetcfheaders.go @@ -7,7 +7,7 @@ package wire import ( "io" - "github.com/btcsuite/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/chaincfg/chainhash" ) // MsgGetCFHeaders is a message similar to MsgGetHeaders, but for committed diff --git a/wire/msggetcfilters.go b/wire/msggetcfilters.go index 800241382..e07526c6e 100644 --- a/wire/msggetcfilters.go +++ b/wire/msggetcfilters.go @@ -7,7 +7,7 @@ package wire import ( "io" - "github.com/btcsuite/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/chaincfg/chainhash" ) // MaxGetCFiltersReqRange the maximum number of filters that may be requested in diff --git a/wire/msggetdata_test.go b/wire/msggetdata_test.go index a2dd46518..581a8e513 100644 --- a/wire/msggetdata_test.go +++ b/wire/msggetdata_test.go @@ -10,7 +10,7 @@ import ( "reflect" "testing" - "github.com/btcsuite/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/chaincfg/chainhash" "github.com/davecgh/go-spew/spew" ) diff --git a/wire/msggetheaders.go b/wire/msggetheaders.go index 0bbe42cb0..dd339d37c 100644 --- a/wire/msggetheaders.go +++ b/wire/msggetheaders.go @@ -8,7 +8,7 @@ import ( "fmt" "io" - "github.com/btcsuite/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/chaincfg/chainhash" ) // MsgGetHeaders implements the Message interface and represents a bitcoin diff --git a/wire/msggetheaders_test.go b/wire/msggetheaders_test.go index 34a24ae3c..c9d99d9e7 100644 --- a/wire/msggetheaders_test.go +++ b/wire/msggetheaders_test.go @@ -10,7 +10,7 @@ import ( "reflect" "testing" - "github.com/btcsuite/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/chaincfg/chainhash" "github.com/davecgh/go-spew/spew" ) diff --git a/wire/msginv_test.go b/wire/msginv_test.go index b7c7c6aec..c8ca98c1d 100644 --- a/wire/msginv_test.go +++ b/wire/msginv_test.go @@ -10,7 +10,7 @@ import ( "reflect" "testing" - "github.com/btcsuite/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/chaincfg/chainhash" "github.com/davecgh/go-spew/spew" ) diff --git a/wire/msgmerkleblock.go b/wire/msgmerkleblock.go index d2ee47217..ae70dd267 100644 --- a/wire/msgmerkleblock.go +++ b/wire/msgmerkleblock.go @@ -8,7 +8,7 @@ import ( "fmt" "io" - "github.com/btcsuite/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/chaincfg/chainhash" ) // maxFlagsPerMerkleBlock is the maximum number of flag bytes that could diff --git a/wire/msgmerkleblock_test.go b/wire/msgmerkleblock_test.go index 9837f8a97..58432aaad 100644 --- a/wire/msgmerkleblock_test.go +++ b/wire/msgmerkleblock_test.go @@ -12,7 +12,7 @@ import ( "testing" "time" - "github.com/btcsuite/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/chaincfg/chainhash" "github.com/davecgh/go-spew/spew" ) diff --git a/wire/msgnotfound_test.go b/wire/msgnotfound_test.go index 69b9d07ae..e5623aed0 100644 --- a/wire/msgnotfound_test.go +++ b/wire/msgnotfound_test.go @@ -10,7 +10,7 @@ import ( "reflect" "testing" - "github.com/btcsuite/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/chaincfg/chainhash" "github.com/davecgh/go-spew/spew" ) diff --git a/wire/msgreject.go b/wire/msgreject.go index a00eeff6f..1534f5dd9 100644 --- a/wire/msgreject.go +++ b/wire/msgreject.go @@ -8,7 +8,7 @@ import ( "fmt" "io" - "github.com/btcsuite/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/chaincfg/chainhash" ) // RejectCode represents a numeric value by which a remote peer indicates diff --git a/wire/msgtx.go b/wire/msgtx.go index 4f10ef9f9..e6ceec809 100644 --- a/wire/msgtx.go +++ b/wire/msgtx.go @@ -10,7 +10,7 @@ import ( "io" "strconv" - "github.com/btcsuite/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/chaincfg/chainhash" ) const ( diff --git a/wire/msgtx_test.go b/wire/msgtx_test.go index dd809f81e..663b53b08 100644 --- a/wire/msgtx_test.go +++ b/wire/msgtx_test.go @@ -11,7 +11,7 @@ import ( "reflect" "testing" - "github.com/btcsuite/btcd/chaincfg/chainhash" + "github.com/daglabs/btcd/chaincfg/chainhash" "github.com/davecgh/go-spew/spew" )