diff --git a/contrib/sdl_checkpoints.pl b/contrib/sdl_checkpoints.pl index 8b7ea54ea..938aee872 100755 --- a/contrib/sdl_checkpoints.pl +++ b/contrib/sdl_checkpoints.pl @@ -8,7 +8,11 @@ use warnings; use strict; -my $hush = "./src/hush-cli"; + +# call this script like this to generate checkpoints for a HAC such as DragonX: +# CLI=./src/dragonx-cli ./contrib/sdl_checkpoints.pl ... + +my $hush = $ENV{CLI} || "./src/hush-cli"; my $gethash = "$hush getblockhash"; my $gettree = "$hush getblockmerkletree"; my $start = shift || 300000;