-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathforkbenchipsq
28 lines (24 loc) · 1.03 KB
/
forkbenchipsq
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#! /usr/bin/env bash
function print_usage () {
echo "forkbenchips help:"
echo
echo "SYNOPSIS: Runs 'vdf_bench square_asm 400000', a benchmark of your system's capacity to run a"
echo " timelord for the specified fork, in ips."
echo " Requires having previously run sh install-timelord.sh for the fork."
echo " Anything over 100ips can probably maintain fork stability under normal found proof load"
echo " without too much trouble. Anything over 200 can be considered relatively fast and more than"
echo " enough to keep a well coded blockchain stable. Any timelord can be overwhelmed if the fork's"
echo " difficulty is set too low creating too many found proofs for any timelord to handle in time."
echo
echo "PARAMETERS:"
echo " forkname Required."
echo " -help | --help Show this information again."
echo
exit 0
}
VALIDATEFORKNAME='Yes'
. ftinit.sh
cd $FORKTOOLSBLOCKCHAINDIRS/$1-blockchain
. ./activate
./vdf_bench square_asm 400000
deactivate