diff --git a/CHANGES b/CHANGES
index b7aabf85..6f7013e9 100644
--- a/CHANGES
+++ b/CHANGES
@@ -264,7 +264,7 @@ Changes in 0.10.0 (Sun Mar 01 2015)
for version 3 blocks which are compatible with BIP0066
- Allow getblocktemplate to serve blocks when the current time is
less than the minimum allowed time for a generated block template
- (https://github.com/roasbeef/btcd/issues/209)
+ (https://github.com/btcsuite/btcd/issues/209)
- Crypto changes:
- Optimize scalar multiplication by the base point by using a
pre-computed table which results in approximately a 35% speedup
@@ -279,29 +279,29 @@ Changes in 0.10.0 (Sun Mar 01 2015)
- Add a new parameter --addrindex which will enable the creation of an
address index which can be queried to determine all transactions which
involve a given address
- (https://github.com/roasbeef/btcd/issues/190)
+ (https://github.com/btcsuite/btcd/issues/190)
- Add a new logging subsystem for address index related operations
- Support new searchrawtransactions RPC
- (https://github.com/roasbeef/btcd/issues/185)
+ (https://github.com/btcsuite/btcd/issues/185)
- RPC changes:
- Require TLS version 1.2 as the minimum version for all TLS connections
- Provide support for disabling TLS when only listening on localhost
- (https://github.com/roasbeef/btcd/pull/192)
+ (https://github.com/btcsuite/btcd/pull/192)
- Modify help output for all commands to provide much more consistent
and detailed information
- Correct case in getrawtransaction which would refuse to serve certain
transactions with invalid scripts
- (https://github.com/roasbeef/btcd/issues/210)
+ (https://github.com/btcsuite/btcd/issues/210)
- Correct error handling in the getrawtransaction RPC which could lead
to a crash in rare cases
- (https://github.com/roasbeef/btcd/issues/196)
+ (https://github.com/btcsuite/btcd/issues/196)
- Update getinfo RPC to include the appropriate 'timeoffset' calculated
from the median network time
- Modify listreceivedbyaddress result type to include txids field so it
is compatible
- Add 'iswatchonly' field to validateaddress result
- Add 'startingpriority' and 'currentpriority' fields to getrawmempool
- (https://github.com/roasbeef/btcd/issues/178)
+ (https://github.com/btcsuite/btcd/issues/178)
- Don't omit the 'confirmations' field from getrawtransaction when it is
zero
- Websocket changes:
@@ -317,7 +317,7 @@ Changes in 0.10.0 (Sun Mar 01 2015)
dumping all of the commands
- Make the usage syntax much more consistent and correct a few cases of
misnamed fields
- (https://github.com/roasbeef/btcd/issues/305)
+ (https://github.com/btcsuite/btcd/issues/305)
- Improve usage errors to show the specific parameter number, reason,
and error code
- Only show the usage for specific command is shown when a valid command
@@ -336,7 +336,7 @@ Changes in 0.10.0 (Sun Mar 01 2015)
- Remove utility in favor of the RPC getblock method
- Notable developer-related package changes:
- Many of the core packages have been relocated into the btcd repository
- (https://github.com/roasbeef/btcd/issues/214)
+ (https://github.com/btcsuite/btcd/issues/214)
- A new version of the btcjson package that has been completely
redesigned from the ground up based based upon how the project has
evolved and lessons learned while using it since it was first written
@@ -353,21 +353,21 @@ Changes in 0.10.0 (Sun Mar 01 2015)
and using that data to calculate an offset against the local time
- Misc changes:
- Fix a slow memory leak due to tickers not being stopped
- (https://github.com/roasbeef/btcd/issues/189)
+ (https://github.com/btcsuite/btcd/issues/189)
- Fix an issue where a mix of orphans and SPV clients could trigger a
condition where peers would no longer be served
- (https://github.com/roasbeef/btcd/issues/231)
+ (https://github.com/btcsuite/btcd/issues/231)
- The RPC username and password can now contain symbols which previously
conflicted with special symbols used in URLs
- Improve handling of obtaining random nonces to prevent cases where it
could error when not enough entropy was available
- Improve handling of home directory creation errors such as in the case
- of unmounted symlinks (https://github.com/roasbeef/btcd/issues/193)
+ of unmounted symlinks (https://github.com/btcsuite/btcd/issues/193)
- Improve the error reporting for rejected transactions to include the
inputs which are missing and/or being double spent
- Update sample config file with new options and correct a comment
regarding the fact the RPC server only listens on localhost by default
- (https://github.com/roasbeef/btcd/issues/218)
+ (https://github.com/btcsuite/btcd/issues/218)
- Update the continuous integration builds to run several tools which
help keep code quality high
- Significant amount of internal code cleanup and improvements
diff --git a/blockchain/chainview_test.go b/blockchain/chainview_test.go
index bf49751d..c59004fd 100644
--- a/blockchain/chainview_test.go
+++ b/blockchain/chainview_test.go
@@ -10,7 +10,7 @@ import (
"reflect"
"testing"
- "github.com/roasbeef/btcd/wire"
+ "github.com/btcsuite/btcd/wire"
)
// testNoncePrng provides a deterministic prng for the nonce in generated fake
diff --git a/blockchain/indexers/cfindex.go b/blockchain/indexers/cfindex.go
index 93d00fff..552fa953 100644
--- a/blockchain/indexers/cfindex.go
+++ b/blockchain/indexers/cfindex.go
@@ -14,7 +14,7 @@ import (
"github.com/btcsuite/btcutil"
"github.com/btcsuite/btcutil/gcs"
"github.com/btcsuite/btcutil/gcs/builder"
- "github.com/roasbeef/btcd/wire"
+ "github.com/btcsuite/btcd/wire"
)
const (
diff --git a/blockchain/notifications_test.go b/blockchain/notifications_test.go
index 11c60f8b..fde58735 100644
--- a/blockchain/notifications_test.go
+++ b/blockchain/notifications_test.go
@@ -7,7 +7,7 @@ package blockchain
import (
"testing"
- "github.com/roasbeef/btcd/chaincfg"
+ "github.com/btcsuite/btcd/chaincfg"
)
// TestNotifications ensures that notification callbacks are fired on events.
diff --git a/btcjson/chainsvrcmds.go b/btcjson/chainsvrcmds.go
index 18933da0..a5e56471 100644
--- a/btcjson/chainsvrcmds.go
+++ b/btcjson/chainsvrcmds.go
@@ -11,7 +11,7 @@ import (
"encoding/json"
"fmt"
- "github.com/roasbeef/btcd/wire"
+ "github.com/btcsuite/btcd/wire"
)
// AddNodeSubCmd defines the type used in the addnode JSON-RPC command for the
diff --git a/docs/README.md b/docs/README.md
index 09350d18..c00d295e 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/roasbeef/btcd/releases
+* Install the MSI available at: https://github.com/btcsuite/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/roasbeef/btcd $GOPATH/src/github.com/roasbeef/btcd
-$ cd $GOPATH/src/github.com/roasbeef/btcd
+$ git clone https://github.com/btcsuite/btcd $GOPATH/src/github.com/btcsuite/btcd
+$ cd $GOPATH/src/github.com/btcsuite/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/roasbeef/btcd
+$ cd $GOPATH/src/github.com/btcsuite/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/roasbeef/btcd)
+btcd has a number of [configuration](http://godoc.org/github.com/btcsuite/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/roasbeef/btcd/tree/master/docs/using_bootstrap_dat.md)
+* [Using bootstrap.dat](https://github.com/btcsuite/btcd/tree/master/docs/using_bootstrap_dat.md)
**3.1.2 Network Configuration**
-* [What Ports Are Used by Default?](https://github.com/roasbeef/btcd/tree/master/docs/default_ports.md)
-* [How To Listen on Specific Interfaces](https://github.com/roasbeef/btcd/tree/master/docs/configure_peer_server_listen_interfaces.md)
-* [How To Configure RPC Server to Listen on Specific Interfaces](https://github.com/roasbeef/btcd/tree/master/docs/configure_rpc_server_listen_interfaces.md)
-* [Configuring btcd with Tor](https://github.com/roasbeef/btcd/tree/master/docs/configuring_tor.md)
+* [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)
@@ -258,12 +258,12 @@ information.
-* [Code Contribution Guidelines](https://github.com/roasbeef/btcd/tree/master/docs/code_contribution_guidelines.md)
+* [Code Contribution Guidelines](https://github.com/btcsuite/btcd/tree/master/docs/code_contribution_guidelines.md)
-* [JSON-RPC Reference](https://github.com/roasbeef/btcd/tree/master/docs/json_rpc_api.md)
- * [RPC Examples](https://github.com/roasbeef/btcd/tree/master/docs/json_rpc_api.md#ExampleCode)
+* [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)
@@ -272,28 +272,28 @@ information.
robust and easy to use Websocket-enabled Bitcoin JSON-RPC client
* [btcjson](https://github.com/btcsuite/btcd/tree/master/btcjson) - Provides an extensive API
for the underlying JSON-RPC command and return values
- * [wire](https://github.com/roasbeef/btcd/tree/master/wire) - Implements the
+ * [wire](https://github.com/btcsuite/btcd/tree/master/wire) - Implements the
Bitcoin wire protocol
- * [peer](https://github.com/roasbeef/btcd/tree/master/peer) -
+ * [peer](https://github.com/btcsuite/btcd/tree/master/peer) -
Provides a common base for creating and managing Bitcoin network peers.
- * [blockchain](https://github.com/roasbeef/btcd/tree/master/blockchain) -
+ * [blockchain](https://github.com/btcsuite/btcd/tree/master/blockchain) -
Implements Bitcoin block handling and chain selection rules
- * [blockchain/fullblocktests](https://github.com/roasbeef/btcd/tree/master/blockchain/fullblocktests) -
+ * [blockchain/fullblocktests](https://github.com/btcsuite/btcd/tree/master/blockchain/fullblocktests) -
Provides a set of block tests for testing the consensus validation rules
- * [txscript](https://github.com/roasbeef/btcd/tree/master/txscript) -
+ * [txscript](https://github.com/btcsuite/btcd/tree/master/txscript) -
Implements the Bitcoin transaction scripting language
- * [btcec](https://github.com/roasbeef/btcd/tree/master/btcec) - Implements
+ * [btcec](https://github.com/btcsuite/btcd/tree/master/btcec) - Implements
support for the elliptic curve cryptographic functions needed for the
Bitcoin scripts
- * [database](https://github.com/roasbeef/btcd/tree/master/database) -
+ * [database](https://github.com/btcsuite/btcd/tree/master/database) -
Provides a database interface for the Bitcoin block chain
- * [mempool](https://github.com/roasbeef/btcd/tree/master/mempool) -
+ * [mempool](https://github.com/btcsuite/btcd/tree/master/mempool) -
Package mempool provides a policy-enforced pool of unmined bitcoin
transactions.
- * [btcutil](https://github.com/roasbeef/btcutil) - Provides Bitcoin-specific
+ * [btcutil](https://github.com/btcsuite/btcutil) - Provides Bitcoin-specific
convenience functions and types
- * [chainhash](https://github.com/roasbeef/btcd/tree/master/chaincfg/chainhash) -
+ * [chainhash](https://github.com/btcsuite/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/roasbeef/btcd/tree/master/connmgr) -
+ * [connmgr](https://github.com/btcsuite/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 29613608..b643e911 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/roasbeef/btcd/commits/master) for examples of
+commits](https://github.com/btcsuite/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/roasbeef/btcd/graphs/contributors)!
+Rejoice as you will now be listed as a [contributor](https://github.com/btcsuite/btcd/graphs/contributors)!
@@ -351,5 +351,5 @@ Rejoice as you will now be listed as a [contributor](https://github.com/roasbeef
### 6.2. Licensing of Contributions
All contributions must be licensed with the
-[ISC license](https://github.com/roasbeef/btcd/blob/master/LICENSE). This is
+[ISC license](https://github.com/btcsuite/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 7fc3a23c..9b8b36b3 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/roasbeef/btcutil"
+ "github.com/btcsuite/btcutil"
"io/ioutil"
"log"
"path/filepath"
@@ -1156,9 +1156,9 @@ package main
import (
"github.com/btcsuite/btcrpcclient"
- "github.com/roasbeef/btcutil"
- "github.com/roasbeef/btcd/chaincfg/chainhash"
- "github.com/roasbeef/btcd/wire"
+ "github.com/btcsuite/btcutil"
+ "github.com/btcsuite/btcd/chaincfg/chainhash"
+ "github.com/btcsuite/btcd/wire"
"io/ioutil"
"log"
"path/filepath"
@@ -1248,9 +1248,9 @@ package main
import (
"github.com/btcsuite/btcrpcclient"
- "github.com/roasbeef/btcutil"
- "github.com/roasbeef/btcd/chaincfg/chainhash"
- "github.com/roasbeef/btcd/wire"
+ "github.com/btcsuite/btcutil"
+ "github.com/btcsuite/btcd/chaincfg/chainhash"
+ "github.com/btcsuite/btcd/wire"
"io/ioutil"
"log"
"path/filepath"
diff --git a/integration/rpctest/README.md b/integration/rpctest/README.md
index 26a53ef2..fceeed20 100644
--- a/integration/rpctest/README.md
+++ b/integration/rpctest/README.md
@@ -1,9 +1,9 @@
rpctest
=======
-[![Build Status](http://img.shields.io/travis/roasbeef/btcd.svg)](https://travis-ci.org/roasbeef/btcd)
+[![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/roasbeef/btcd/integration/rpctest)
+[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/btcsuite/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/roasbeef/btcd/integration/rpctest
+$ go get -u github.com/btcsuite/btcd/integration/rpctest
```
## License
diff --git a/mempool/estimatefee.go b/mempool/estimatefee.go
index ee725240..53933469 100644
--- a/mempool/estimatefee.go
+++ b/mempool/estimatefee.go
@@ -16,9 +16,9 @@ import (
"strings"
"sync"
- "github.com/roasbeef/btcd/chaincfg/chainhash"
- "github.com/roasbeef/btcd/mining"
- "github.com/roasbeef/btcutil"
+ "github.com/btcsuite/btcd/chaincfg/chainhash"
+ "github.com/btcsuite/btcd/mining"
+ "github.com/btcsuite/btcutil"
)
// TODO incorporate Alex Morcos' modifications to Gavin's initial model
diff --git a/mempool/estimatefee_test.go b/mempool/estimatefee_test.go
index 07130673..16dcfadc 100644
--- a/mempool/estimatefee_test.go
+++ b/mempool/estimatefee_test.go
@@ -9,10 +9,10 @@ import (
"math/rand"
"testing"
- "github.com/roasbeef/btcd/chaincfg/chainhash"
- "github.com/roasbeef/btcd/mining"
- "github.com/roasbeef/btcd/wire"
- "github.com/roasbeef/btcutil"
+ "github.com/btcsuite/btcd/chaincfg/chainhash"
+ "github.com/btcsuite/btcd/mining"
+ "github.com/btcsuite/btcd/wire"
+ "github.com/btcsuite/btcutil"
)
// newTestFeeEstimator creates a feeEstimator with some different parameters
diff --git a/netsync/interface.go b/netsync/interface.go
index 2e6edce8..3e6ca1c1 100644
--- a/netsync/interface.go
+++ b/netsync/interface.go
@@ -5,13 +5,13 @@
package netsync
import (
- "github.com/roasbeef/btcd/blockchain"
- "github.com/roasbeef/btcd/chaincfg"
- "github.com/roasbeef/btcd/chaincfg/chainhash"
- "github.com/roasbeef/btcd/mempool"
- "github.com/roasbeef/btcd/peer"
- "github.com/roasbeef/btcd/wire"
- "github.com/roasbeef/btcutil"
+ "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"
)
// PeerNotifier exposes methods to notify peers of status changes to
diff --git a/rpcadapters.go b/rpcadapters.go
index aee62d13..7d2c3a14 100644
--- a/rpcadapters.go
+++ b/rpcadapters.go
@@ -7,13 +7,13 @@ package main
import (
"sync/atomic"
- "github.com/roasbeef/btcd/blockchain"
- "github.com/roasbeef/btcd/chaincfg/chainhash"
- "github.com/roasbeef/btcd/mempool"
- "github.com/roasbeef/btcd/netsync"
- "github.com/roasbeef/btcd/peer"
- "github.com/roasbeef/btcd/wire"
- "github.com/roasbeef/btcutil"
+ "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"
)
// rpcPeer provides a peer for use with the RPC server and implements the
diff --git a/rpcclient/README.md b/rpcclient/README.md
index f53fa766..b6077d2a 100644
--- a/rpcclient/README.md
+++ b/rpcclient/README.md
@@ -1,9 +1,9 @@
rpcclient
=========
-[![Build Status](http://img.shields.io/travis/roasbeef/btcd.svg)](https://travis-ci.org/roasbeef/btcd)
+[![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/roasbeef/btcd/rpcclient)
+[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/btcsuite/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/roasbeef/btcd/rpcclient)
-* [btcd Websockets Example](https://github.com/roasbeef/btcd/rpcclient/blob/master/examples/btcdwebsockets)
+* [API Reference](http://godoc.org/github.com/btcsuite/btcd/rpcclient)
+* [btcd Websockets Example](https://github.com/btcsuite/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/roasbeef/btcd/rpcclient/blob/master/examples/btcwalletwebsockets)
+* [btcwallet Websockets Example](https://github.com/btcsuite/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/roasbeef/btcd/rpcclient/blob/master/examples/bitcoincorehttp)
+* [Bitcoin Core HTTP POST Example](https://github.com/btcsuite/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/roasbeef/btcd/rpcclient
+$ go get -u github.com/btcsuite/btcd/rpcclient
```
## License
diff --git a/rpcclient/chain.go b/rpcclient/chain.go
index fd7a781e..c2166891 100644
--- a/rpcclient/chain.go
+++ b/rpcclient/chain.go
@@ -10,9 +10,9 @@ import (
"encoding/hex"
"encoding/json"
- "github.com/roasbeef/btcd/btcjson"
- "github.com/roasbeef/btcd/chaincfg/chainhash"
- "github.com/roasbeef/btcd/wire"
+ "github.com/btcsuite/btcd/btcjson"
+ "github.com/btcsuite/btcd/chaincfg/chainhash"
+ "github.com/btcsuite/btcd/wire"
)
// FutureGetBestBlockHashResult is a future promise to deliver the result of a
diff --git a/rpcclient/doc.go b/rpcclient/doc.go
index f52bbc48..d4bbb64d 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/roasbeef/btcd),
+API. This client has been tested with btcd (https://github.com/btcsuite/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 b13d09a7..4d1f0adf 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/roasbeef/btcd/rpcclient
+$ go get github.com/btcsuite/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/roasbeef/btcd/rpcclient/examples/bitcoincorehttp
+$ cd $GOPATH/src/github.com/btcsuite/btcd/rpcclient/examples/bitcoincorehttp
$ go run *.go
```
diff --git a/rpcclient/examples/bitcoincorehttp/main.go b/rpcclient/examples/bitcoincorehttp/main.go
index 0afdfab1..489770a2 100644
--- a/rpcclient/examples/bitcoincorehttp/main.go
+++ b/rpcclient/examples/bitcoincorehttp/main.go
@@ -7,7 +7,7 @@ package main
import (
"log"
- "github.com/roasbeef/btcd/rpcclient"
+ "github.com/btcsuite/btcd/rpcclient"
)
func main() {
diff --git a/rpcclient/examples/btcdwebsockets/README.md b/rpcclient/examples/btcdwebsockets/README.md
index 7187865d..a1686484 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/roasbeef/btcd/rpcclient
+$ go get github.com/btcsuite/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/roasbeef/btcd/rpcclient/examples/btcdwebsockets
+$ cd $GOPATH/src/github.com/btcsuite/btcd/rpcclient/examples/btcdwebsockets
$ go run *.go
```
diff --git a/rpcclient/examples/btcdwebsockets/main.go b/rpcclient/examples/btcdwebsockets/main.go
index f554cb45..56d12d82 100644
--- a/rpcclient/examples/btcdwebsockets/main.go
+++ b/rpcclient/examples/btcdwebsockets/main.go
@@ -10,9 +10,9 @@ import (
"path/filepath"
"time"
- "github.com/roasbeef/btcd/rpcclient"
- "github.com/roasbeef/btcd/wire"
- "github.com/roasbeef/btcutil"
+ "github.com/btcsuite/btcd/rpcclient"
+ "github.com/btcsuite/btcd/wire"
+ "github.com/btcsuite/btcutil"
)
func main() {
diff --git a/rpcclient/examples/btcwalletwebsockets/README.md b/rpcclient/examples/btcwalletwebsockets/README.md
index bb07bf15..e495dff8 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/roasbeef/btcd/rpcclient
+$ go get github.com/btcsuite/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/roasbeef/btcd/rpcclient/examples/btcwalletwebsockets
+$ cd $GOPATH/src/github.com/btcsuite/btcd/rpcclient/examples/btcwalletwebsockets
$ go run *.go
```
diff --git a/rpcclient/examples/btcwalletwebsockets/main.go b/rpcclient/examples/btcwalletwebsockets/main.go
index 4d31443d..e803138d 100644
--- a/rpcclient/examples/btcwalletwebsockets/main.go
+++ b/rpcclient/examples/btcwalletwebsockets/main.go
@@ -10,8 +10,8 @@ import (
"path/filepath"
"time"
- "github.com/roasbeef/btcd/rpcclient"
- "github.com/roasbeef/btcutil"
+ "github.com/btcsuite/btcd/rpcclient"
+ "github.com/btcsuite/btcutil"
"github.com/davecgh/go-spew/spew"
)
diff --git a/rpcclient/extensions.go b/rpcclient/extensions.go
index 1ceb16c4..d16cd525 100644
--- a/rpcclient/extensions.go
+++ b/rpcclient/extensions.go
@@ -12,10 +12,10 @@ import (
"encoding/json"
"fmt"
- "github.com/roasbeef/btcd/btcjson"
- "github.com/roasbeef/btcd/chaincfg/chainhash"
- "github.com/roasbeef/btcd/wire"
- "github.com/roasbeef/btcutil"
+ "github.com/btcsuite/btcd/btcjson"
+ "github.com/btcsuite/btcd/chaincfg/chainhash"
+ "github.com/btcsuite/btcd/wire"
+ "github.com/btcsuite/btcutil"
)
// FutureDebugLevelResult is a future promise to deliver the result of a
diff --git a/rpcclient/infrastructure.go b/rpcclient/infrastructure.go
index 9c6b790b..27f7f21f 100644
--- a/rpcclient/infrastructure.go
+++ b/rpcclient/infrastructure.go
@@ -23,7 +23,7 @@ import (
"sync/atomic"
"time"
- "github.com/roasbeef/btcd/btcjson"
+ "github.com/btcsuite/btcd/btcjson"
"github.com/btcsuite/go-socks/socks"
"github.com/btcsuite/websocket"
)
diff --git a/rpcclient/mining.go b/rpcclient/mining.go
index 5994f2a8..76a9d305 100644
--- a/rpcclient/mining.go
+++ b/rpcclient/mining.go
@@ -9,9 +9,9 @@ import (
"encoding/json"
"errors"
- "github.com/roasbeef/btcd/btcjson"
- "github.com/roasbeef/btcd/chaincfg/chainhash"
- "github.com/roasbeef/btcutil"
+ "github.com/btcsuite/btcd/btcjson"
+ "github.com/btcsuite/btcd/chaincfg/chainhash"
+ "github.com/btcsuite/btcutil"
)
// FutureGenerateResult is a future promise to deliver the result of a
diff --git a/rpcclient/net.go b/rpcclient/net.go
index 42d882b2..aeda8b3c 100644
--- a/rpcclient/net.go
+++ b/rpcclient/net.go
@@ -7,7 +7,7 @@ package rpcclient
import (
"encoding/json"
- "github.com/roasbeef/btcd/btcjson"
+ "github.com/btcsuite/btcd/btcjson"
)
// AddNodeCommand enumerates the available commands that the AddNode function
diff --git a/rpcclient/notify.go b/rpcclient/notify.go
index 0b156194..2454a946 100644
--- a/rpcclient/notify.go
+++ b/rpcclient/notify.go
@@ -13,10 +13,10 @@ import (
"fmt"
"time"
- "github.com/roasbeef/btcd/btcjson"
- "github.com/roasbeef/btcd/chaincfg/chainhash"
- "github.com/roasbeef/btcd/wire"
- "github.com/roasbeef/btcutil"
+ "github.com/btcsuite/btcd/btcjson"
+ "github.com/btcsuite/btcd/chaincfg/chainhash"
+ "github.com/btcsuite/btcd/wire"
+ "github.com/btcsuite/btcutil"
)
var (
diff --git a/rpcclient/rawrequest.go b/rpcclient/rawrequest.go
index f8a6494f..dd16fd04 100644
--- a/rpcclient/rawrequest.go
+++ b/rpcclient/rawrequest.go
@@ -8,7 +8,7 @@ import (
"encoding/json"
"errors"
- "github.com/roasbeef/btcd/btcjson"
+ "github.com/btcsuite/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 605678cc..e886f225 100644
--- a/rpcclient/rawtransactions.go
+++ b/rpcclient/rawtransactions.go
@@ -9,10 +9,10 @@ import (
"encoding/hex"
"encoding/json"
- "github.com/roasbeef/btcd/btcjson"
- "github.com/roasbeef/btcd/chaincfg/chainhash"
- "github.com/roasbeef/btcd/wire"
- "github.com/roasbeef/btcutil"
+ "github.com/btcsuite/btcd/btcjson"
+ "github.com/btcsuite/btcd/chaincfg/chainhash"
+ "github.com/btcsuite/btcd/wire"
+ "github.com/btcsuite/btcutil"
)
// SigHashType enumerates the available signature hashing types that the
diff --git a/rpcclient/wallet.go b/rpcclient/wallet.go
index 9c7b291d..10c12f1f 100644
--- a/rpcclient/wallet.go
+++ b/rpcclient/wallet.go
@@ -8,11 +8,11 @@ import (
"encoding/json"
"strconv"
- "github.com/roasbeef/btcd/btcjson"
- "github.com/roasbeef/btcd/chaincfg"
- "github.com/roasbeef/btcd/chaincfg/chainhash"
- "github.com/roasbeef/btcd/wire"
- "github.com/roasbeef/btcutil"
+ "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"
)
// *****************************
diff --git a/txscript/hashcache_test.go b/txscript/hashcache_test.go
index 09814bdf..389918e2 100644
--- a/txscript/hashcache_test.go
+++ b/txscript/hashcache_test.go
@@ -9,7 +9,7 @@ import (
"testing"
"time"
- "github.com/roasbeef/btcd/wire"
+ "github.com/btcsuite/btcd/wire"
"github.com/davecgh/go-spew/spew"
)
diff --git a/txscript/script_test.go b/txscript/script_test.go
index 4abf3d78..6a725e27 100644
--- a/txscript/script_test.go
+++ b/txscript/script_test.go
@@ -9,7 +9,7 @@ import (
"reflect"
"testing"
- "github.com/roasbeef/btcd/wire"
+ "github.com/btcsuite/btcd/wire"
)
// TestParseOpcode tests for opcode parsing with bad data templates.
diff --git a/wire/msgcfcheckpt.go b/wire/msgcfcheckpt.go
index 179abe66..cdf32dd5 100644
--- a/wire/msgcfcheckpt.go
+++ b/wire/msgcfcheckpt.go
@@ -8,7 +8,7 @@ import (
"fmt"
"io"
- "github.com/roasbeef/btcd/chaincfg/chainhash"
+ "github.com/btcsuite/btcd/chaincfg/chainhash"
)
const (
diff --git a/wire/msggetcfcheckpt.go b/wire/msggetcfcheckpt.go
index 12ecce4e..60ec2652 100644
--- a/wire/msggetcfcheckpt.go
+++ b/wire/msggetcfcheckpt.go
@@ -7,7 +7,7 @@ package wire
import (
"io"
- "github.com/roasbeef/btcd/chaincfg/chainhash"
+ "github.com/btcsuite/btcd/chaincfg/chainhash"
)
// MsgGetCFCheckpt is a request for filter headers at evenly spaced intervals
diff --git a/wire/msggetcfilters.go b/wire/msggetcfilters.go
index 3ea88b39..7818bf15 100644
--- a/wire/msggetcfilters.go
+++ b/wire/msggetcfilters.go
@@ -7,7 +7,7 @@ package wire
import (
"io"
- "github.com/roasbeef/btcd/chaincfg/chainhash"
+ "github.com/btcsuite/btcd/chaincfg/chainhash"
)
// MaxGetCFiltersReqRange the maximum number of filters that may be requested in