From 7550b8ccb0b05d3b11a9bfcb45cee0849dc05f76 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Mon, 11 Sep 2023 20:57:04 +0300 Subject: Workaround for IPNS unresolvable zchain links - Adds a "zlatest" field to the configuration of the node - We update and publish the configuration each time we change the latest block of our zchain --- bin/ak-pack_z_block | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'bin/ak-pack_z_block') diff --git a/bin/ak-pack_z_block b/bin/ak-pack_z_block index 4c3ae16..de84638 100755 --- a/bin/ak-pack_z_block +++ b/bin/ak-pack_z_block @@ -145,6 +145,12 @@ then logit "[ERROR]" "Could not copy $ZBLOCK to /zlatest" exit 1 fi + ak-config publish + if [ "$?" -ne 0 ] + then + logit "[ERROR]" "Could not publish new configuration" + exit 1 + fi else usage exit 0 -- cgit v1.2.3