From bcc95bea7cac9000f49350d9330751e3af7dbe7f Mon Sep 17 00:00:00 2001 From: Duke Leto Date: Sun, 8 Dec 2019 14:01:33 -0500 Subject: [PATCH] Update checkpoint script --- contrib/checkpoints.pl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/contrib/checkpoints.pl b/contrib/checkpoints.pl index eb4548fd0..71a37c169 100755 --- a/contrib/checkpoints.pl +++ b/contrib/checkpoints.pl @@ -1,4 +1,6 @@ #!/usr/bin/perl +# Copyright 2019 The Hush developers +# Released under the GPLv3 use warnings; use strict; # Generate checkpoint data for use in src/main.cpp @@ -12,8 +14,11 @@ my $count = 0; my $blocks = qx{$hush getblockcount}; my $prev = $blocks - $perday; my $last = 0; +my $now = time(); chomp($blocks); +print "// Generated at $now via hush3 contrib/checkpoints.pl by Duke Leto\n"; + while (1) { $count++; my $block = $stride*$count;