Skip to content

Version 0.1.4-ALPHA

Pre-release
Pre-release
Compare
Choose a tag to compare
@ya-enot ya-enot released this 02 May 17:48
· 31 commits to filatov-dev since this release

Next step in evolution of infrastructure of Ties.DB is version 0.1.4 with basic support of peer discovery and interconnection. From now on nodes could be easily assembled into functional clusters with great stability and throughput. More steps to be made to make this mechanism more robust, independent and fully automatic.

Features

  • Added support of discovery service
  • Clustering mechanism improved
  • More minor fixes and improvements

Run instructions

Before running a TiesDB node you should install go-ethereum locally following the instructions from https://github.com/ethereum/go-ethereum/wiki/Building-Ethereum. After installation succeeded you could start geth for rinkeby network using the following command:

geth --rinkeby --datadir .rinkeby --cache 512 --rpc --rpcaddr 127.0.0.1 --syncmode "light"

After geth is successfully starting you should wait for full synchronisation with selected network, to be able to access newly created tables.
For running a TiesDB node instance please install it by downloading and unpacking the binary distribution or building it from source. Then run the following command in TiesDB installation directory:

bin/tiesdb

Build instructions

For building a TiesDB node from sources you should preinstall several tools:

After installing prerequisites run the following commands in sources directory:

For building a custom version of cassandra (required for TiesDB node):

cd node/node-elassandra/elassandra/core/cassandra
ant clean mvn-install

For building TiesDB node:

mvn package -Pnode -Pnode-elassandra

On successful build, you could find the assembled binary package in node/node-elassandra/target directory.