Statistic tools for twister network
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

951 B

twister-stat ⠀

Statistic tools for twister network ⠀

Blockchain crawler ⠀

Script written in python v2, that scans the blockchain and dump the data to the MySQL database. ⠀

Index contain: ⠀

  • block number ⠀
  • block hash ⠀
  • time created ⠀
  • usernames ⠀

Configuration ⠀

line 5 - MySQL database ⠀ line 13 - blocks per step ⠀ line 31 - twister API ⠀

Requirements ⠀

apt install python2 php-mysql mysql-serverpip install mysqlclient

Running ⠀

python2 crawler/blockchain.py

Charts ⠀

Tools for the data dumped visualization written in PHP ⠀

Configuration ⠀

line 8 - MySQL database ⠀

Requirements ⠀

php-fpm php-curl

Running ⠀

create new server instance ⠀

cd chartphp -S localhost:8081

open in browser ⠀

http://localhost:8081/index.php

todo: ⠀

Static dumps directory ⠀

dump