Skip to content

altair-lab/xoreum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Journal-based Blockchain

Running

  • Prerequisite: Golang
  1. Set configuration file (conf.json)
  2. $ sh build.sh // Build project
  3. $ ./full // Initialize full node
  4. $ ./light // Synchronize light node with full node

Configuration

Name Description Default
Hostname [string] Host name localhost
Port [string] Port number 8081
BlockNumber [int64] The number of blocks 100
Participants [int64] The number of participants 100
PrintMode [bool] Print blocks on console true
MiningInterval [int] Mining Interval (sec) 0 sec

Simulation

Simulation depending on the block number and participants number

  1. Set BlockNumber, Participants in conf.json

  2. Remove old DB directory, if it exists (or rename it)

    $ rm -rf chaindata*

  3. Run full node

    $ ./full

  4. Synchronize light node with full node

    $ ./light

Simulation depending on the network bandwidth and delay

  • See network/README.md

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published