©2018 by HPB Community.

BECOME A HPB NODE

NODE REQUIREMENTS

Minimum Requirements:

  • 16 CORE 2.0GHZ

  • 32GB RAM

  • 2x 1GBit RJ45 GE network port

  • 16T 7200RPM SAS drive

  • 20/20 bandwidth for Candidate nodes, 100/100 bandwidth for HP Nodes

  • Space for Full Height Full Width PCI-E  BOE card.

  • Ubuntu 16.04

NODE INVITATION

The application page on the official website will continue to be open. After three months, applicants who do not have BOE hardware will be ranked again according to the amount of HPB holdings. 50 new candidates will be selected and BOE hardware will be issued to them accordingly.


Among newly added and existing BOE hardware holders, 150 BOE-Nodes will be selected in a new round of election. Thus, one year after the MainNet launch, the total number of BOE hardware is expected to be 445 irrespective of any repurchases. Two years after the MainNet launch the number of BOE hardware is expected to be 645.

BLOCKCHAIN OFFLOAD ENGINE (BOE)

Blockchain Offload Engine (BOE) is a technological breakthrough made by the HPB R&D team and plays a fundamental role in accelerating the transactions per second (TPS) of HPB public chain. As a result, running a BOE hardware unit is a requirement for BOE-Node eligibility. In addition, other indicators such as host configuration, bandwidth performance, and the number of HPB held are also important reference standards.

In order to be able to purchase the BOE Hardware, you must be one of the nodes invited to participate in the election.

NODE ELECTION

Every three months, a Node Election is held. This election is there to ensure decentralization, and everyone are invited to vote for the Node they wish to support. The top 150 nodes who get most votes from the community will become HP and Contributing nodes.

If you would like to support HPB Community (Nicemans), then you can click Here for more information on how to vote for the node.

 

NODE FAQ

 

WHAT TYPE OF NODES ARE THERE?

There are three types of nodes: High Performance nodes, Candidate nodes and Light nodes.

After the first election, there will be a total of 150 BOE nodes, of which 31 are HP nodes (on rotation) and 119 Contributing nodes.


Light nodes do not participate actively in the network other than synchronizing data. Users do not need to run light nodes, but they can use them to check the blockchain. Anyone who has a BOE can be a light node, but they are not an active BOE node because they were not elected.

HOW MANY TOKENS DO I NEED TO BECOME A NODE?

There is no fixed amount, in order to get invited you must take part of the invitation process and be one of the top 75 users in terms of tokens held that pass the hardware test.

HOW DOES NODE INVITATION WORK?

The total BOE-Nodes composition and allocation is structured as follows:

  • 70% of BOE-Nodes are decided by voting

  • 24% of BOE-Nodes are issued by invitation

  • 6% of BOE-Nodes are maintained by the HPB Foundation

  • Node invitation cycle is every six months

  • BOE Hardware must be purchased by Nodes after the first invitation round.

HOW OFTEN IS THE NODE INVITATION?

75 new nodes are invited every 6 months.

HOW DOES THE NODE ELECTION WORK?

The nodes with the highest amount of votes during the election are chosen as nodes. Out of 150 nodes in the initial election, 105 will become nodes.

HOW OFTEN IS THE NODE ELECTION?

Every three months.

HOW MUCH DOES IT COST TO BUILD A NODE?

"It depends".

There are a few different options, that can be done depending how serious you want to be.

Cheapest option (hosted at home)

This way would get you a Node for < $2000.

Get a used DL380 G8 2x Octacore from Ebay, then purchase a new 8TB SAS drive for ~$350.

Be aware you will need to boot from a drive below 2TB, as G8 does not have UEFI support.

Remember to buy a UPS as battery backup in order to protect your server and network equipment from power failures. Something with 1500va or above is recommended. Eaton and APC are good models that can shut down your server in case of a prolonged power failure.

You could get a router such as the Asus AC68U which supports 3G/4G USB Modem as backup Internet in case your primary Internet connection goes down.

As for Internet, it is recommended to get as high as you can get from your ISP. Upload and Download are equally important, and you must remember that even if you get 1Gbit/s within your continent you will not be close to those speeds when it comes to communicating with China.

Recommended option

Purchase a server with enough cpu cores, disk and RAM. Dell R730/R740 or HP DL380 are great and can fit the BOE. Host the server at a proper datacenter, as they will have SLA and other guarantees that your node will always be operational.

WHAT ABOUT RAID?

If you want to be sure that your Node does not go down, you can use Raid1, Raid5 or Raid10.

Raid1 (up to 2x read speed increase) is recommended if you have 4 8TB SAS drives.

Raid5 (up to 8x read speed increase) is recommended if you have 18 1TB SSD drives as you can lose a drive and then simply replace that drive without any downtime. With Raid0, you would lose your entire logical drive if one of the 16 drives fails, so this is not recommended.


Raid10 is recommended if you have 32 1TB SSD Drives (up to 16x read speed and 8x write speed increase).

WHAT ARE THE NODE INCENTIVES?

As part of the Node Incentive Mechanism, to maintain the HPB network, the system issues HPB coins for node incentives on an annual basis. Single node incentives do not change with the increase of the total number of nodes. This implies that for stage 1) MainNet Go-Live and the expected 150 BOE-Nodes, the annual additional HPB issuance is expected to be approximately 3% of the initial total token supply. Following this logic, for stage 2) NodeExtension and the expected 300 BOE-Nodes, the annual additional HPB issuance is expected to be approximately 6% of initial total token supply.

The distribution of the block rewards will be divided into two parts:

  1. Two-thirds of the block rewards are allocated to HP-Nodes and Candidate-Nodes. For each block generated, the HP-Node responsible for the block generation receives 35% of the block reward, and all other Candidate-Nodes evenly divide the remaining 65% of the block rewards. This allocation model is motivating those maintaining a node to continuously carry out device evolution and contribute to the continuous improvement of TPS across the entire network

  2. One-third of the block rewards are allocated according to the proportion of votes the BOE-Nodes obtained. This allocation model compensates for the block reward allocation model of HP-Nodes and Candidate-Nodes and incentivizes those maintaining nodes.

WHERE IS THE OFFICIAL NODE PAGE?

CAN YOU HELP?

Of course! If you are in need of some technical help feel free to hit up @Nicemans on the official Telegram channel.

BOE INSTALLATION

THESE ARE SIMPLY THE COMMANDS NEEDED TO GET STARTED WITH THE BOE HARDWARE.

Change user to root:

sudo su -

Update package list and Upgrade existing packages:
apt update
apt upgrade

Install developer tools, git and golang 1.9:
apt-get install -y build-essential git golang-1.9


Install NTPD:
wget http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-4.2.8p12.tar.gz
tar zxf ntp-4.2.8p12.tar.gz
cd ntp-4.2.8p12/
./configure && make -j8 && make install
echo "nameserver 8.8.8.8" >> /etc/resolv.conf
ntpdate cn.pool.ntp.org
hwclock --systohc


Update /etc/profile and /etc/bash.bashrc:
echo 'export GOPATH=/usr/share/go-1.9' >> /etc/profile
echo 'export GOROOT=/usr/lib/go-1.9' >> /etc/profile
echo 'export PATH=$GOROOT/bin:$GOPATH/bin:$PATH' >> /etc/profile

echo 'export GOPATH=/usr/share/go-1.9' >> /etc/bash.bashrc
echo 'export GOROOT=/usr/lib/go-1.9' >> /etc/bash.bashrc
echo 'export PATH=$GOROOT/bin:$GOPATH/bin:$PATH' >> /etc/bash.bashrc

Reload the files:
source /etc/profile
source /etc/bash.bashrc

Typing "go version" in the prompt should now show "go 1.9.2"

BOE Board check:
cd /opt
git clone https://github.com/hpb-project/hpb-release
cd hpb-release/bin
tar xvzf ghpb-v0.0.0.1.tar.gz
chmod +x ghpb-v0.0.0.1 -R
cd ghpb-v0.0.0.1
./ghpb boecheck

It should say "HPB: boe board ok".

If it says "HPB : boe board not find", make sure the following is correct:

  • You must be logged in as root when running the ghpb application.

  • You have connected a network cable from the BoE directly to your server

If those two are true, the most likely cause is that the network port you have connected the BoE to is not enabled in ubuntu.


Check by typing:
ifconfig

The normal case is to see eno1, eno2 and lo.


If you only see eno1 and lo, type the following (replace en01 with what you see, sometimes it may say eth0 then instead of en02 below you would write eth1, etc):


echo 'auto eno2' >> /etc/network/interfaces
echo 'iface eno2 inet loopback' >> /etc/network/interfaces


Enable the network interface:

ifup eno2


Then run: 

/opt/hpb-release/bin/ghpb-v0.0.0.1/ghpb boecheck


It should say "HPB: boe board ok"