Consolidate all standalone utility scripts into contrib/scripts/: - Perl: avg_blocktime.pl, block_time.pl, gen-zaddrs.pl, sda_checkpoints.pl, sdl_checkpoints.pl, hush_block_subsidy_per_halving, hush_halvings, hush_scanner, hush_supply, hush_supply_old - Shell: fresh_clone_compile_and_run.sh, tidy_datadir.sh, dragonx_scanner - Python: convert_address.py - BAT: hush-uri.bat Update path references in contrib/README.md, doc/OLD_WALLETS.md, doc/relnotes/README.md, and sdl_checkpoints.pl.
18 lines
332 B
Perl
Executable File
18 lines
332 B
Perl
Executable File
#!/usr/bin/env perl
|
|
# Copyright 2016-2020 The Hush developers
|
|
# Released under the GPLv3
|
|
|
|
use strict;
|
|
use warnings;
|
|
|
|
my $x = 12.5 * 100000000;
|
|
my $n = 0;
|
|
while ($n<=31) {
|
|
#printf "$n,%.16g,%.16g,%.16g\n", $x, $x*0.90, $x*0.1;
|
|
printf "$n,%d,%d,%d\n", $x, $x*0.90, $x*0.1;
|
|
$x = $x / 2;
|
|
$n++;
|
|
exit if ($x <= 0);
|
|
}
|
|
|