Files
hush3/contrib
Duke Leto 65da80de58 Implement entire Hush block subsidy schedule
We now have our halving schedule implemented until the BR goes to zero.
The data was calculated via two new scripts which are in ./contrib :

$ ./contrib/hush_halvings
1,12500000000,340000
2,312500000,2020000
3,156250000,3700000
4,78125000,5380000
5,39062500,7060000
6,19531250,8740000
7,9765625,10420000
8,4882812,12100000
9,2441406,13780000
10,1220703,15460000
11,610351,17140000
12,305175,18820000
13,152587,20500000
14,76293,22180000
15,38146,23860000
16,19073,25540000
17,9536,27220000
18,4768,28900000
19,2384,30580000
20,1192,32260000
21,596,33940000
22,298,35620000
23,149,37300000
24,74,38980000
25,37,40660000
26,18,42340000
27,9,44020000
28,4,45700000
29,2,47380000
30,1,49060000
31,0,50740000
32,0,52420000
33,0,54100000

$ ./contrib/hush_block_subsidy_per_halving
0,1250000000,1125000000,125000000
1,625000000,562500000,62500000
2,312500000,281250000,31250000
3,156250000,140625000,15625000
4,78125000,70312500,7812500
5,39062500,35156250,3906250
6,19531250,17578125,1953125
7,9765625,8789062,976562
8,4882812,4394531,488281
9,2441406,2197265,244140
10,1220703,1098632,122070
11,610351,549316,61035
12,305175,274658,30517
13,152587,137329,15258
14,76293,68664,7629
15,38146,34332,3814
16,19073,17166,1907
17,9536,8583,953
18,4768,4291,476
19,2384,2145,238
20,1192,1072,119
21,596,536,59
22,298,268,29
23,149,134,14
24,74,67,7
25,37,33,3
26,18,16,1
27,9,8,0
28,4,4,0
29,2,2,0
30,1,1,0
31,0,0,0

These show that the block subsidy for miners goes to 0 at the 31st halving
and that the Founders Reward AKA Dev Tax goes to 0 at the 27th halving. There
is also some current KMD internals code that we inherited that prevents
the FR from being less than 10000, so that code would currently set our FR
to 0 at the 14th halving and lead less HUSH being mined than the planned 21M and
even a bit less than the amount under 21M that normally happens, such as in BTC.
We have some time to deal with the bug, since halving 14 is in about 52 years.
2020-09-19 11:03:35 -04:00
..
2020-07-16 23:35:43 +02:00
2020-01-18 09:07:22 -05:00
2020-07-16 23:35:43 +02:00
2017-03-07 19:15:08 +00:00
2016-06-17 00:21:58 +12:00
2019-04-19 18:42:27 -07:00
2016-06-17 00:21:58 +12:00
2020-06-13 09:29:24 -04:00
2019-12-14 06:33:50 -05:00
2019-12-22 07:01:04 -05:00
2019-11-18 04:56:36 -08:00
2019-12-22 07:01:04 -05:00
2019-12-14 06:33:45 -05:00

Hush Contrib

This is mostly very old stuff inherited from Bitcoin and Zcash!

Do not expect all scripts to work!

Please fix bugs and report things you find.

Hush Tools

checkpoints.pl - generate checkpoint data for main.cpp block_time.pl - estimate when a Hush block will happen

Wallet Tools

BitRPC

Allows for sending of all standard Bitcoin commands via RPC rather than as command line args.

SpendFrom

Use the raw transactions API to send coins received on a particular address (or addresses).

Repository Tools

Developer tools

Specific tools for developers working on this repository. Contains the script github-merge.sh for merging github pull requests securely and signing them using GPG.

Verify-Commits

Tool to verify that every merge commit was signed by a developer using the above github-merge.sh script.

Linearize

Construct a linear, no-fork, best version of the blockchain.

Qos

A Linux bash script that will set up traffic control (tc) to limit the outgoing bandwidth for connections to the Bitcoin network. This means one can have an always-on bitcoind instance running, and another local bitcoind/bitcoin-qt instance which connects to this node and receives blocks from it.

Seeds

Utility to generate the pnSeed[] array that is compiled into the client.

Build Tools and Keys

Debian

Contains files used to package bitcoind/bitcoin-qt for Debian-based Linux systems. If you compile bitcoind/bitcoin-qt yourself, there are some useful files here.

Gitian-descriptors

Gavin's notes on getting gitian builds up and running using KVM.

Gitian-downloader

Various PGP files of core developers.

MacDeploy

Scripts and notes for Mac builds.

Test and Verify Tools

TestGen

Utilities to generate test vectors for the data-driven Bitcoin tests.

Test Patches

These patches are applied when the automated pull-tester tests each pull and when master is tested using jenkins.

Verify SF Binaries

This script attempts to download and verify the signature file SHA256SUMS.asc from SourceForge.