From 21f76a6dbf6fab5311ab7f4b7b2fb5d0991ea3b2 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Mon, 3 Apr 2023 05:18:04 +0300 Subject: Attempt to create cache places for the API to hit instead of running things --- api/make_cache.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 api/make_cache.sh (limited to 'api/make_cache.sh') diff --git a/api/make_cache.sh b/api/make_cache.sh new file mode 100644 index 0000000..b9e7cb9 --- /dev/null +++ b/api/make_cache.sh @@ -0,0 +1,6 @@ +AK_CACHE="$AK_WORKDIR/cache" + +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 + -- cgit v1.2.3