Browse Source

add hostname

master
Duke Leto 6 years ago
parent
commit
141c793db7
  1. 2
      bin/block_maturity_dates.pl

2
bin/block_maturity_dates.pl

@ -7,6 +7,8 @@ use POSIX qw(strftime);
my $output = qx{./fiat/verus listtransactions "" 1000 |grep blockstomaturity | cut -d: -f2 | sed 's/,//g' | sort -n};
my @lines = split /\n/, $output;
chomp(my $host = `hostname`);
print "$host:\n";
my $num = 0;
for my $line (@lines) {
$num++;

Loading…
Cancel
Save