Skip to content

EQB Node

David McFadzean edited this page Feb 11, 2019 · 11 revisions

Release Notes

v02.08

This is a maintenance release, just automated tests and refactoring. Upgrading is optional.

If you are upgrading from a v01.25 or previous wallet and want to keep any EQB received first export the wallet before upgrading:

equibit-cli -datadir=[path] dumpwallet mywallet

The command will output the path to the wallet file:

{
  "filename": "/home/david/Equibit/mywallet"
}

You can use any valid file name in place of mywallet. Then upgrade the node, then import the wallet:

equibit-cli -datadir=[path] importwallet mywallet

This can take a long time depending on how big the wallet file is so be patient. (Hundreds of thousands of transactions can take more than an hour to import.)

v02.01

  • Sets the wallet version to 0.2.1 to correspond with the node version.

This version is backwards compatible with the blockchain but not backwards compatible with existing wallets. If you are upgrading you should create a new data folder. You can transfer existing testnet EQB to the new wallet by running previous versions of the core to send EQB to the new wallet's address (totally optional).

v01.25

  • Fixes RPC importwallet bug #261
  • Fixes RPC importprivkey returns Invalid private key encoding error message #262

This version is compatible with the previous two versions in terms of consensus rules.

v01.18

In this version we are testing a new format for the bech32 address, e.g. eqbtestnet1qelfpnf98d3c4y4ncxws5mr079emmd3kl3aaks7. The way the address is generated has not changed (see CLI Commands below).

The consensus rules have not changed so the blockchain is compatible with v01.11. Upgrading is optional but nodes running different versions will not be able to exchange funds using bech32 addresses.

v01.11

If upgrading from a previous version make sure you use a different data folder. The consensus rules have changed, specifically the coinbase maturity has been reset to 100 confirmations from 10.

v01.04

First testnet release.

Installation

Windows binaries

  • Download and unpack eqb-node-0208.zip to your local drive
  • Optionally customize data\equibit.conf (doc TBD)
  • Run start-node.bat to launch the equibit testnet node
  • Run monitor-log.bat to ensure it syncs OK

When running the batch files under Windows 10, Windows Defender will likely popup a warning for an "unrecognized app". Click the "More info" followed by "Run anyway".

Ubuntu

To run natively on Ubuntu you will have to build from source. If you're comfortable with git and build tools you should be good to go. I would suggest building bitcoin core first to make sure you have all the right dependencies.

Docker

  • You'll probably want to install Docker
  • Create a data folder
  • Add a configuration file equibit.conf to the folder (see template below)
  • Start the node: docker run --rm --name testnet -p 17331:17331 -p 18331:18331 -v [data folder]:/data -d macterra/eqb-testnet:v02.08
    • Substitute the path for your own data folders
    • Expose the same ports that is specified in the equibit.conf file
    • The 17331 port should be exposed if you are running a seed node (specify listen=1 in the config file and add port forwarding if you are behind a firewall)
    • The 18331 (RPC) port should be exposed for the miner to connect
  • Make sure it syncs OK: docker logs -f testnet
  • Login to the container to issue commands: docker exec -it testnet bash
    • Once logged in you can use the alias ec instead of equibit-client -datadir=/data, e.g. ec uptime
  • When you stop the container docker stop testnet it will be automatically removed but the blockchain data will persist in your data folder so you can restart any time

Configuration

  • Create a data folder
  • Add a configuration file named equibit.conf to the data folder
  • Run: equibitd -datadir=[path to data folder]

Template for equibit.conf

rpcuser=equibit
rpcpassword=equibit
rpcallowip=0.0.0.0/0
uacomment=anon-node

testnet=1
server=1
txindex=0
rest=1
listen=1
logtimemicros=1
debug=1
debugexclude=libevent
debugexclude=leveldb
debugexclude=tor
keypool=1
discover=0
mocktime=0
port=17331
rpcport=18331
addnode=35.207.42.65:17331

CLI Commands

  • equibit-cli -datadir=[path] uptime to check if the node is running
  • equibit-cli -datadir=[path] getwalletinfo to check your balance
  • equibit-cli -datadir=[path] getnewaddress main bech32 to generate an address in the main account to receive funds
  • equibit-cli -datadir=[path] sendtoaddress [address] [amount] to send funds
  • equibit-cli -datadir=[path] help [command] to get documentation

Clone this wiki locally