Skip to content
/ rei Public

Rei chain fork from quorum using raft consensus

License

LGPL-3.0, GPL-3.0 licenses found

Licenses found

LGPL-3.0
COPYING.LESSER
GPL-3.0
COPYING
Notifications You must be signed in to change notification settings

reichain/rei

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

REI is an Ethereum-based blockchain fork from GoQuorum.

Key differences from GoQuorum:

  • Re-enable gas price
  • Always use Raft consensus
  • Change block timestamp unit from nano-second back to second
  • Remove block rewards
  • Miner receives gas fee from mined transactions
  • Hard-coded block difficulty to 1
  • Disable private transactions and contracts
  • Support p2p for broadcast blocks to public nodes

Network

network.png

Docker

buildctl build \
    --frontend dockerfile.v0 \
    --local dockerfile=. \
    --local context=. \
    --output type=image,name=${IMAGE},push=true

Install

git clone https://github.com/reichain/rei.git
cd rei
make rei

Run RPC Node

Mainnet

rei --datadir ~/.rei/mainnet --mainnet --http

Testnet

rei --datadir ~/.rei/testnet --testnet --http

License

The go-ethereum library (i.e. all code outside of the cmd directory) is licensed under the GNU Lesser General Public License v3.0, also included in our repository in the COPYING.LESSER file.

The go-ethereum binaries (i.e. all code inside of the cmd directory) is licensed under the GNU General Public License v3.0, also included in our repository in the COPYING file.

Any project planning to use the crypto/secp256k1 sub-module must use the specific secp256k1 standalone library licensed under 3-clause BSD.