Skip to content

0bsnetwork/Zbs

Repository files navigation

0bsNetwork Full Node

In the master branch there is a code with functions that is under development. The latest release for each network can be found in the Releases section, you can switch to the corresponding tag and build the application.

Instructions for Running

Download the zbs-testnet.conf file from this directory and modify it according to the comments present in the file itself (if unsure about what you are doing, it is sufficient to only change the Node name and wallet password, you can leave all else as it is).

Download the appropriate file from the Releases section: If you are running a Debian-based GNU/Linux system (including Ubuntu or Linux Mint) and want to run the node as a service, download the latest version of the file with the name ending in all.deb and follow the instructions for Option 1 below. If you are running any other OS, or want to run the node only temporarily, download the latest version of the file with the name ending in .jar and follow the instructions for Option 2 below.

Option 1: Install as a service on Ubuntu / Debian:

Install Java (OpenJDK):

sudo apt-get install openjdk-8-jdk

Then install the node software:

sudo dpkg -i zbs_0.*_all.deb

Start the service (it will in the future run automatically on boot):

systemctl start zbs.service

Monitor the service:

journalctl -u zbs.service -f

Option 2: Run as a Java file

java -jar zbs-all-0.*.jar zbs-testnet.conf

Feature Voting

To vote for a feature, add the feature number into your config file as below;

Image of Voting Feature

Mutiple features can be seperated by commas;

features = [9,10,11]

Note: Features <= 11 have been pre-activated on the chain.

Tests & Coverage

unset _JAVA_OPTIONS
unset SBT_OPTS
export JAVA_TOOL_OPTIONS="-Xmx1548m"
sbt -J-Xms128m -J-Xmx1248m -J-XX:+UseConcMarkSweepGC -J-XX:+CMSClassUnloadingEnabled ";coverage;checkPR;coverageReport"