From 7a33ba00feb3fb4bc145db8be5e0e9f23cbcf58a Mon Sep 17 00:00:00 2001 From: kaotisk Date: Tue, 23 Jul 2024 17:45:10 +0300 Subject: some coin based functions to come --- lib/_ak_coin | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 lib/_ak_coin (limited to 'lib') diff --git a/lib/_ak_coin b/lib/_ak_coin new file mode 100755 index 0000000..fda3bc0 --- /dev/null +++ b/lib/_ak_coin @@ -0,0 +1,14 @@ +#!/bin/bash +# coin max is 10,000.0000000 +# but we count in integer to avoid floating point arithmetic :P +# +# Note that this is subject to change when implemented in C +# +COINBASE=100000000000 + +GENESIS="00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" + +_ak_coin_stats(){ + echo "Coinbase: $COINBASE" + echo "Genesis: $GENESIS" +} -- cgit v1.2.3