From 89fca5bc7d168814036a64c11e15d0f59c59c4af Mon Sep 17 00:00:00 2001 From: login (tilde.club) Date: Wed, 13 Nov 2019 15:11:16 -0700 Subject: 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. --- tcc | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 tcc (limited to 'tcc') 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 -- cgit 1.4.1-2-gfad0