aboutsummaryrefslogtreecommitdiff
path: root/lib/_ak_coin
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-07-23 17:45:10 +0300
committerkaotisk <kaotisk@arching-kaos.org>2024-07-23 17:45:10 +0300
commit7a33ba00feb3fb4bc145db8be5e0e9f23cbcf58a (patch)
tree5f1a99464cbcdb1c32cf34123e26756c44974847 /lib/_ak_coin
parenta30b682af45c35418b64336e45e8c3404acddeac (diff)
downloadarching-kaos-tools-7a33ba00feb3fb4bc145db8be5e0e9f23cbcf58a.tar.gz
arching-kaos-tools-7a33ba00feb3fb4bc145db8be5e0e9f23cbcf58a.tar.bz2
arching-kaos-tools-7a33ba00feb3fb4bc145db8be5e0e9f23cbcf58a.zip
some coin based functions to come
Diffstat (limited to 'lib/_ak_coin')
-rwxr-xr-xlib/_ak_coin14
1 files changed, 14 insertions, 0 deletions
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"
+}