diff options
author | kaotisk <kaotisk@arching-kaos.com> | 2022-01-26 22:06:46 +0200 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.com> | 2022-01-26 22:06:46 +0200 |
commit | da87a28ac0d4f6779ce17be75e9e4183a762c489 (patch) | |
tree | ee7e681db88e459600b1a2817bf73d961f5bba17 /bin | |
parent | fdb9b2f60e04520c92bc47077bd3815ac5904000 (diff) | |
download | arching-kaos-tools-da87a28ac0d4f6779ce17be75e9e4183a762c489.tar.gz arching-kaos-tools-da87a28ac0d4f6779ce17be75e9e4183a762c489.tar.bz2 arching-kaos-tools-da87a28ac0d4f6779ce17be75e9e4183a762c489.zip |
Added timestamp inside BLOCK.
Since most of the transactions will be done offline and then published,
is better to have a timestamp for each addtion.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/pack_z_block | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/pack_z_block b/bin/pack_z_block index bf0dd76..4ed9ab7 100755 --- a/bin/pack_z_block +++ b/bin/pack_z_block @@ -49,6 +49,7 @@ main(){ # We create a block of json like this: cat > block <<EOF { + "timestamp":"$(date -u +%s)", "action":"$ACTION", "data":"$MESSAGE_HASH", "detach":"$MESSAGE_SIGNATURE", |