Skip to content

Latest commit

 

History

History

Table of Contents

  1. About
  2. Getting Started
    1. Installation
      1. Windows
      2. Linux/BSD/MacOSX/POSIX
    2. Configuration
    3. Controlling and Querying abcd via abcctl
    4. Mining
  3. Help
    1. Startup
      1. Using bootstrap.dat
    2. Network Configuration
    3. Wallet
  4. Contact
    1. IRC
    2. Mailing Lists
  5. Developer Resources
    1. Code Contribution Guidelines
    2. JSON-RPC Reference
    3. The Aero-related Go Packages
### 1. About abcd is a full node abcd implementation written in [Go](http://golang.org), licensed under the [copyfree](http://www.copyfree.org) ISC License.

This project is currently under active development and is in a Beta state. It is extremely stable and has been in production use since February 2016.

It also properly relays newly mined blocks, maintains a transaction pool, and relays individual transactions that have not yet made it into a block. It ensures all individual transactions admitted to the pool follow the rules required into the block chain and also includes the vast majority of the more strict checks which filter transactions based on miner requirements ("standard" transactions).

### 2. Getting Started **2.1 Installation**

The first step is to install abcd. See one of the following sections for details on how to install on the supported operating systems.

**2.1.1 Windows Installation**
**2.1.2 Linux/BSD/MacOSX/POSIX Installation**
**2.2 Configuration**

abcd has a number of configuration options, which can be viewed by running: $ abcd --help.

**2.3 Controlling and Querying abcd via abcctl**

abcctl is a command line utility that can be used to both control and query abcd via RPC. abcd does not enable its RPC server by default; You must configure at minimum both an RPC username and password or both an RPC limited username and password:

  • abcd.conf configuration file
[Application Options]
rpcuser=myuser
rpcpass=SomeDecentp4ssw0rd
rpclimituser=mylimituser
rpclimitpass=Limitedp4ssw0rd
  • abcctl.conf configuration file
[Application Options]
rpcuser=myuser
rpcpass=SomeDecentp4ssw0rd

OR

[Application Options]
rpclimituser=mylimituser
rpclimitpass=Limitedp4ssw0rd

For a list of available options, run: $ abcctl --help

**2.4 Mining**
abcd supports both the `getwork` and `getblocktemplate` RPCs although the `getwork` RPC is deprecated and will likely be removed in a future release. The limited user cannot access these RPCs.

1. Add the payment addresses with the miningaddr option.

[Application Options]
rpcuser=myuser
rpcpass=SomeDecentp4ssw0rd
miningaddr=12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX
miningaddr=1M83ju3EChKYyysmM2FXtLNftbacagd8FR

2. Add abcd's RPC TLS certificate to system Certificate Authority list.

cgminer uses curl to fetch data from the RPC server. Since curl validates the certificate by default, we must install the abcd RPC certificate into the default system Certificate Authority list.

Ubuntu

  1. Copy rpc.cert to /usr/share/ca-certificates: # cp /home/user/.abcd/rpc.cert /usr/share/ca-certificates/abcd.crt
  2. Add abcd.crt to /etc/ca-certificates.conf: # echo abcd.crt >> /etc/ca-certificates.conf
  3. Update the CA certificate list: # update-ca-certificates

3. Set your mining software url to use https.

$ cgminer -o https://127.0.0.1:9528 -u rpcuser -p rpcpassword

### 3. Help **3.1 Startup**

Typically abcd will run and start downloading the block chain with no extra configuration necessary, however, there is an optional method to use a bootstrap.dat file that may speed up the initial block chain download process.

**3.1.1 bootstrap.dat**
* [Using bootstrap.dat](https://github.com/abcsuite/abcd/tree/master/docs/using_bootstrap_dat.md)
**3.1.2 Network Configuration**
* [What Ports Are Used by Default?](https://github.com/abcsuite/abcd/tree/master/docs/default_ports.md) * [How To Listen on Specific Interfaces](https://github.com/abcsuite/abcd/tree/master/docs/configure_peer_server_listen_interfaces.md) * [How To Configure RPC Server to Listen on Specific Interfaces](https://github.com/abcsuite/abcd/tree/master/docs/configure_rpc_server_listen_interfaces.md) * [Configuring abcd with Tor](https://github.com/abcsuite/abcd/tree/master/docs/configuring_tor.md)
**3.1 Wallet**

abcd was intentionally developed without an integrated wallet for security reasons. Please see Abcwallet for more information.

### 4. Contact **4.1 IRC**
* [irc.freenode.net](irc://irc.freenode.net), channel #abcd
**4.2 Mailing Lists**
*
abcd: discussion of abcd and its packages. * abcd-commits: readonly mail-out of source code changes. ### 5. Developer Resources * [Code Contribution Guidelines](https://github.com/abcsuite/abcd/tree/master/docs/code_contribution_guidelines.md) * [JSON-RPC Reference](https://github.com/abcsuite/abcd/tree/master/docs/json_rpc_api.md) * [RPC Examples](https://github.com/abcsuite/abcd/tree/master/docs/json_rpc_api.md#ExampleCode) * The Aero-related Go Packages: * [abcrpcclient](https://github.com/abcsuite/abcrpcclient) - Implements a robust and easy to use Websocket-enabled Aero JSON-RPC client * [abcjson](https://github.com/abcd/abcjson) - Provides an extensive API for the underlying JSON-RPC command and return values * [wire](https://github.com/abcsuite/abcd/tree/master/wire) - Implements the Aero wire protocol * [peer](https://github.com/abcsuite/abcd/tree/master/peer) - Provides a common base for creating and managing Aero network peers. * [blockchain](https://github.com/abcsuite/abcd/tree/master/blockchain) - Implements Aero block handling and chain selection rules * [txscript](https://github.com/abcsuite/abcd/tree/master/txscript) - Implements the Aero transaction scripting language * [abcec](https://github.com/abcsuite/abcd/tree/master/abcec) - Implements support for the elliptic curve cryptographic functions needed for the Aero scripts * [database](https://github.com/abcsuite/abcd/tree/master/database) - Provides a database interface for the Aero block chain * [abcutil](https://github.com/abcsuite/abcutil) - Provides Aero-specific convenience functions and types * [chainhash](https://github.com/abcsuite/abcd/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/abcsuite/abcd/tree/master/connmgr) - Package connmgr implements a generic Aero network connection manager.