a tool to observe btc blokcchain
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 

29 lignes
432 B

#!/bin/bash
RUNDIR=/tmp/btcspy
if [ -d /opt/TOPISTO/data/btcspy ];
then
        RUNDIR=/opt/TOPISTO/data/btcspy
fi
if [ ! -d $RUNDIR/data/simpledb ];
then
        mkdir -p $RUNDIR/data/simpledb/blocks
fi
if [ ! -d $RUNDIR/tmp ];
then
        mkdir -p $RUNDIR/tmp
fi
/tmp/btcspy/bin/btcspy $RUNDIR
while true
do
        sleep 60
        if [ ! -f $RUNDIR/tmp/daemond.lock ];
        then
                exit 0
        fi
done