summary refs log tree commit diff
path: root/tcc
diff options
context:
space:
mode:
authorlogin (tilde.club)2019-11-13 15:11:16 -0700
committerlogin (tilde.club)2019-11-13 15:11:16 -0700
commit89fca5bc7d168814036a64c11e15d0f59c59c4af (patch)
tree4f8d1edfa76b5e68627e3f73785141e0522640b3 /tcc
parent4f07e446befb30733a21dd42ea5eaa9d1a35f40f (diff)
tildecoin-check file included
tcc (which stands for 'tildecoin check'), simply adds all the balances and prints the sum. This can be used to check that the amounts sent and amounts received are equal.
Diffstat (limited to 'tcc')
-rwxr-xr-xtcc3
1 files changed, 3 insertions, 0 deletions
diff --git a/tcc b/tcc
new file mode 100755
index 0000000..ac32743
--- /dev/null
+++ b/tcc
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+/bin/cat /home/login/tcoin/*.txt | /usr/bin/paste -sd+ - | /usr/bin/bc