a p2p solution for hosting files with Hypercore protocol (...more)
Join our discord
This version is work in progress (to try previous verisons of the code, see milestone-1 and milestone-2 branches)
git clone https://github.com/datdotorg/datdot-service.git
cd datdot-service
npm install
npm run bootstrap
npm run simulation -- -s 1 -p bootstrap.json
npm run simulation -- -s 2 -c 10000 -p bootstrap.json -t
2. Run a simulation (simsim.js) where you can customize how many simulations you want to run and when
npm run bootstrap
node demo/simsim.js
npm run bootstrap
node demo/simsim.js &>> logs/logs.txt
- successfully completed performance challenges
tail -f logs/logs.txt | grep -i 'Hoster successfully completed performance challenge' -C 2
- succesfully completed storage challenges
tail -f logs/logs.txt | grep -i 'Storage challenge analysis' -C 4
- errors
tail -f logs/logs.txt | grep -i 'error' -C 5
For custom commands:
-
use -A number_of_lines to print the lines after the match
-
use -B number_of_lines to print the lines before the match
-
use -C number_of_lines to print the lines before and after the match (context)
See our research repo
MIT