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
make
./nkn-node-sampler
./nkn-node-sampler -m 8 -n 8
m
: how many concurrency network request to maken
: how many steps to samplem x n
controls the sampling size
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