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.
23 lines
383 B
Perl
Executable File
23 lines
383 B
Perl
Executable File
#!/usr/bin/env perl
|
|
# Copyright (c) 2016-2024 The Hush developers
|
|
# Released under the GPLv3
|
|
|
|
use strict;
|
|
use warnings;
|
|
|
|
my $x = 340_000;
|
|
my $n = 0;
|
|
my $r = 12_500_000_000;
|
|
while ($n<=32) {
|
|
printf "%d,%d,%d\n", $n+1, $r, $x + 1680000*$n;
|
|
# blocktime halving at block 340000
|
|
if ($n==0) {
|
|
$r = 3.125 * 100_000_000;
|
|
} else {
|
|
$r /= 2;
|
|
}
|
|
|
|
$n++;
|
|
}
|
|
|