diff options
author | login (tilde.club) | 2019-11-13 15:11:16 -0700 |
---|---|---|
committer | login (tilde.club) | 2019-11-13 15:11:16 -0700 |
commit | 89fca5bc7d168814036a64c11e15d0f59c59c4af (patch) | |
tree | 4f8d1edfa76b5e68627e3f73785141e0522640b3 /tcc | |
parent | 4f07e446befb30733a21dd42ea5eaa9d1a35f40f (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-x | tcc | 3 |
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 |