aboutsummaryrefslogtreecommitdiff
path: root/api/make_cache.sh
blob: 03dab99d35a24333791dd4057d99fd667df5d68e (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash
AK_CACHE="$AK_WORKDIR/cache"
if [ ! -d $AK_CACHE ]
then
    mkdir $AK_CACHE
fi

ak-find-latest-mined-sblock > $AK_CACHE/ak-find-latest-mined-sblock.json
ak-get-chain-minified > $AK_CACHE/ak-get-chain-minified.json
ak-get-latest > $AK_CACHE/ak-get-latest.json