Skip to content

nknorg/nkn-node-sampler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NKN Node Sampler

GitHub license Go Report Card Build Status PRs Welcome

nkn

NKN node crawler with random sampling. Get an estimate of the following network stats within just a few seconds and minimal resource (CPU, RAM, network):

  • Total number of nodes in the network
  • Total number of messages being relayed by the network per second

Build

make

Usage

./nkn-node-sampler

Control concurrency and sampling size

./nkn-node-sampler -m 8 -n 8
  • m: how many concurrency network request to make
  • n: how many steps to sample
  • m x n controls the sampling size

Contributing

Can I submit a bug, suggestion or feature request?

Yes. Please open an issue for that.

Can I contribute patches?

Yes, we appreciate your help! To make contributions, please fork the repo, push your changes to the forked repo with signed-off commits, and open a pull request here.

Please sign off your commit. This means adding a line "Signed-off-by: Name " at the end of each commit, indicating that you wrote the code and have the right to pass it on as an open source patch. This can be done automatically by adding -s when committing:

git commit -s

Community