Skip to content

intervalue/intervalue-2.0.0-testnet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

intervalue-2.0.0-testnet

for tps test.

Introduction

full node - build network, shard all local full nodes, get local full node list, show tps info.
local full node - receive transaction messages, create events with transactions, gossip events with other nodes, consensus events and transactions, calculate tps.
light-demo - construct transaction messages, and send to local full node.

Manual

env

ubuntu16.04, jdk1.8(sun)

full node (just one)

  1. config(default.config)
    keep default.config and seed-1.0.0-pg.jar in the same path.
    ShardSize, LocalFullNodeSize, NeighborSize, seed.pubIP, seed.port, seed.rpcPort, seed.httpPort are very important.
    ShardSize*LocalFullNodeSize must be equal to the total number of local full nodes.
  2. run
    command: nohup java -jar seed-1.0.0-pg.jar --Ice.Config=./default.config &

local full node

  1. config(default.config)
    keep default.config and localfullnode-1.0.0-pg.jar in the same path.
    seed.pubIP, seed.port, seed.rpcPort, seed.httpPort must be consistent with full node's config.
  2. run
    command: nohup java -jar localfullnode-1.0.0-pg.jar --Ice.Config=./default.config &

lightnode-demo

  1. config(default.config)
    keep default.config and light-demo-1.0.0.jar in the same path.
    seed.pubIP, seed.port, seed.rpcPort, seed.httpPort must be consistent with full node's config.
  2. run
    command: nohup java -jar light-demo-1.0.0.jar --Ice.Config=./default.config &

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published