mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-05 13:25:48 +00:00
12 lines
345 B
Bash
Executable File
12 lines
345 B
Bash
Executable File
#!/bin/sh
|
|
URL="https://www.dropbox.com/s/a0gy7vbb86eeqlq/ledger-full-1000000.json?dl=1"
|
|
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
|
|
DEST="$DIR/cache/ledger-full-1000000.json"
|
|
if [ ! -e "$DEST" ]
|
|
then
|
|
echo "Downloading test data..."
|
|
mkdir -p "$DIR/cache"
|
|
curl -L "$URL" > "$DEST"
|
|
fi
|
|
time node "$DIR/verify_ledger_json.js" "$DEST"
|