first commit

This commit is contained in:
2018-09-02 10:26:34 +02:00
commit a62ea0fa19
53 changed files with 3823 additions and 0 deletions

23
blockchain/robot.sh Executable file
View File

@@ -0,0 +1,23 @@
#!/bin/bash
flag=$TMP_PATH/blockchain_bot.flag
if [ -f $flag ];
then
echo "blockchain_bot is already running !"
exit 1
fi
touch $flag
cd $APPS_PATH/blockchain
rm -f $DATA_PATH/block_list.txt
php cache.php >> $DATA_PATH/block_list.txt
for BLOCK in GENESIS THE_ANSWER LUCIFER LEET TOPISTO PIZZA HALVING_1 HALVING_2 BIP_91_LOCK BCC SEGWIT_LOCK SEGWIT LAST
do
php robot.php $BLOCK >> $DATA_PATH/block_list.txt
done
rm -f $flag