From 17659ce1983f39720de51b5fb898af515f701206 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Tue, 12 Mar 2024 07:37:29 +0200 Subject: Caching enabled results and a fix --- bin/ak-schain-latest-cached | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 bin/ak-schain-latest-cached (limited to 'bin') diff --git a/bin/ak-schain-latest-cached b/bin/ak-schain-latest-cached new file mode 100755 index 0000000..87d9194 --- /dev/null +++ b/bin/ak-schain-latest-cached @@ -0,0 +1,9 @@ +#!/bin/bash + +PROGRAM="$(basename $0)" +source $AK_LIBDIR/logit +if [ ! -f $AK_WORKDIR/schain.latest ] +then + ak-find-latest-mined-sblock > $AK_WORKDIR/schain.latest +fi +cat $AK_WORKDIR/schain.latest -- cgit v1.2.3