Skip to content

Commit

Permalink
multi: update to point to roasbeef forks
Browse files Browse the repository at this point in the history
  • Loading branch information
Roasbeef committed May 23, 2018
1 parent 9a30e95 commit 3d1caa2
Show file tree
Hide file tree
Showing 30 changed files with 107 additions and 117 deletions.
26 changes: 13 additions & 13 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -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/btcsuite/btcd/issues/209)
(https://github.com/roasbeef/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
Expand All @@ -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/btcsuite/btcd/issues/190)
(https://github.com/roasbeef/btcd/issues/190)
- Add a new logging subsystem for address index related operations
- Support new searchrawtransactions RPC
(https://github.com/btcsuite/btcd/issues/185)
(https://github.com/roasbeef/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/btcsuite/btcd/pull/192)
(https://github.com/roasbeef/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/btcsuite/btcd/issues/210)
(https://github.com/roasbeef/btcd/issues/210)
- Correct error handling in the getrawtransaction RPC which could lead
to a crash in rare cases
(https://github.com/btcsuite/btcd/issues/196)
(https://github.com/roasbeef/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/btcsuite/btcd/issues/178)
(https://github.com/roasbeef/btcd/issues/178)
- Don't omit the 'confirmations' field from getrawtransaction when it is
zero
- Websocket changes:
Expand All @@ -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/btcsuite/btcd/issues/305)
(https://github.com/roasbeef/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
Expand All @@ -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/btcsuite/btcd/issues/214)
(https://github.com/roasbeef/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
Expand All @@ -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/btcsuite/btcd/issues/189)
(https://github.com/roasbeef/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/btcsuite/btcd/issues/231)
(https://github.com/roasbeef/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/btcsuite/btcd/issues/193)
of unmounted symlinks (https://github.com/roasbeef/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/btcsuite/btcd/issues/218)
(https://github.com/roasbeef/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
Expand Down
2 changes: 1 addition & 1 deletion blockchain/chainview_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"reflect"
"testing"

"github.com/btcsuite/btcd/wire"
"github.com/roasbeef/btcd/wire"
)

// testNoncePrng provides a deterministic prng for the nonce in generated fake
Expand Down
2 changes: 1 addition & 1 deletion blockchain/notifications_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ package blockchain
import (
"testing"

"github.com/btcsuite/btcd/chaincfg"
"github.com/roasbeef/btcd/chaincfg"
)

// TestNotifications ensures that notification callbacks are fired on events.
Expand Down
1 change: 1 addition & 0 deletions chaincfg/chainhash/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,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)
=======

chainhash provides a generic hash type and associated functions that allows the
specific hash algorithm to be abstracted.
Expand Down
1 change: 1 addition & 0 deletions database/ffldb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,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)
=======

Package ffldb implements a driver for the database package that uses leveldb for
the backing metadata and flat files for block storage.
Expand Down
48 changes: 24 additions & 24 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ details on how to install on the supported operating systems.

**2.1.1 Windows Installation**<br />

* Install the MSI available at: https://github.com/btcsuite/btcd/releases
* Install the MSI available at: https://github.com/roasbeef/btcd/releases
* Launch btcd from the Start Menu

<a name="PosixInstallation" />
Expand All @@ -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/roasbeef/btcd $GOPATH/src/github.com/roasbeef/btcd
$ cd $GOPATH/src/github.com/roasbeef/btcd
$ glide install
$ go install . ./cmd/...
```
Expand All @@ -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/roasbeef/btcd
$ git pull && glide install
$ go install . ./cmd/...
```
Expand All @@ -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/roasbeef/btcd)
options, which can be viewed by running: `$ btcd --help`.

<a name="BtcctlConfig" />
Expand Down Expand Up @@ -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/roasbeef/btcd/tree/master/docs/using_bootstrap_dat.md)

<a name="NetworkConfig" />

**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/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)

<a name="Wallet" />

Expand Down Expand Up @@ -258,12 +258,12 @@ information.

<a name="ContributionGuidelines" />

* [Code Contribution Guidelines](https://github.com/btcsuite/btcd/tree/master/docs/code_contribution_guidelines.md)
* [Code Contribution Guidelines](https://github.com/roasbeef/btcd/tree/master/docs/code_contribution_guidelines.md)

<a name="JSONRPCReference" />

* [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/roasbeef/btcd/tree/master/docs/json_rpc_api.md)
* [RPC Examples](https://github.com/roasbeef/btcd/tree/master/docs/json_rpc_api.md#ExampleCode)

<a name="GoPackages" />

Expand All @@ -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/btcsuite/btcd/tree/master/wire) - Implements the
* [wire](https://github.com/roasbeef/btcd/tree/master/wire) - Implements the
Bitcoin wire protocol
* [peer](https://github.com/btcsuite/btcd/tree/master/peer) -
* [peer](https://github.com/roasbeef/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/roasbeef/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/roasbeef/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/roasbeef/btcd/tree/master/txscript) -
Implements the Bitcoin transaction scripting language
* [btcec](https://github.com/btcsuite/btcd/tree/master/btcec) - Implements
* [btcec](https://github.com/roasbeef/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/roasbeef/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/roasbeef/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/roasbeef/btcutil) - Provides Bitcoin-specific
convenience functions and types
* [chainhash](https://github.com/btcsuite/btcd/tree/master/chaincfg/chainhash) -
* [chainhash](https://github.com/roasbeef/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/roasbeef/btcd/tree/master/connmgr) -
Package connmgr implements a generic Bitcoin network connection manager.
6 changes: 3 additions & 3 deletions docs/code_contribution_guidelines.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/roasbeef/btcd/commits/master) for examples of
commit messages.
Here are some of the reasons why wrapping your commit messages to 72 columns is
Expand Down Expand Up @@ -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/roasbeef/btcd/graphs/contributors)!
<a name="Standards" />
Expand Down Expand Up @@ -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/roasbeef/btcd/blob/master/LICENSE). This is
the same license as all of the code in the btcd suite.
14 changes: 7 additions & 7 deletions docs/json_rpc_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -1095,7 +1095,7 @@ package main

import (
"github.com/btcsuite/btcrpcclient"
"github.com/btcsuite/btcutil"
"github.com/roasbeef/btcutil"
"io/ioutil"
"log"
"path/filepath"
Expand Down Expand Up @@ -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/roasbeef/btcutil"
"github.com/roasbeef/btcd/chaincfg/chainhash"
"github.com/roasbeef/btcd/wire"
"io/ioutil"
"log"
"path/filepath"
Expand Down Expand Up @@ -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/roasbeef/btcutil"
"github.com/roasbeef/btcd/chaincfg/chainhash"
"github.com/roasbeef/btcd/wire"
"io/ioutil"
"log"
"path/filepath"
Expand Down
6 changes: 3 additions & 3 deletions integration/rpctest/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
rpctest
=======

[![Build Status](http://img.shields.io/travis/btcsuite/btcd.svg)](https://travis-ci.org/btcsuite/btcd)
[![Build Status](http://img.shields.io/travis/roasbeef/btcd.svg)](https://travis-ci.org/roasbeef/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/roasbeef/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`
Expand All @@ -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/roasbeef/btcd/integration/rpctest
```

## License
Expand Down
1 change: 1 addition & 0 deletions mining/cpuminer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,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)
=======

## Overview

Expand Down
14 changes: 7 additions & 7 deletions rpcadapters.go
Original file line number Diff line number Diff line change
Expand Up @@ -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/Roasbeef/btcd/netsync"
"github.com/roasbeef/btcd/blockchain"
"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"
)

// rpcPeer provides a peer for use with the RPC server and implements the
Expand Down
14 changes: 7 additions & 7 deletions rpcclient/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
rpcclient
=========

[![Build Status](http://img.shields.io/travis/btcsuite/btcd.svg)](https://travis-ci.org/btcsuite/btcd)
[![Build Status](http://img.shields.io/travis/roasbeef/btcd.svg)](https://travis-ci.org/roasbeef/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/roasbeef/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
Expand All @@ -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/tree/master/rpcclient/examples/btcdwebsockets)
* [API Reference](http://godoc.org/github.com/roasbeef/btcd/rpcclient)
* [btcd Websockets Example](https://github.com/roasbeef/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/tree/master/rpcclient/examples/btcwalletwebsockets)
* [btcwallet Websockets Example](https://github.com/roasbeef/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/tree/master/rpcclient/examples/bitcoincorehttp)
* [Bitcoin Core HTTP POST Example](https://github.com/roasbeef/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

Expand All @@ -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/roasbeef/btcd/rpcclient
```

## License
Expand Down
2 changes: 1 addition & 1 deletion rpcclient/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -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/roasbeef/btcd),
btcwallet (https://github.com/btcsuite/btcwallet), and
bitcoin core (https://github.com/bitcoin).
Expand Down
Loading

0 comments on commit 3d1caa2

Please sign in to comment.