#!/bin/bash

#
#  VARIABLES
#
export APPS_PATH=`dirname "$(readlink -f "$0")"`
export TMP_PATH=$APPS_PATH/../tmp
export DATA_PATH=$APPS_PATH/../data
export FLAG_PATH=$APPS_PATH/../flags

export TS=`date +%s`
export MINUTE=`date +%M | sed 's/^0*//'`
export DATE=`date +%Y%m%d0000`
export DATEHOUR=`date +%Y%m%d%H`

#
# Synchronize the Blockchain
#
$APPS_PATH/scripts/synchronize.sh

#
# Draw the HASHES
#
$APPS_PATH/scripts/hashes.sh

#
# Draw the BLOCKS
#
$APPS_PATH/scripts/known_blocks.sh
