Commit Graph

698 Commits

Author SHA1 Message Date
Duke Leto
5574fd3a99 this config example is not needed 2020-11-21 05:35:29 -05:00
Duke Leto
95166409a9 update example config 2020-11-21 05:35:09 -05:00
Duke Leto
439ed89bc5 Update qos 2020-11-14 18:56:01 -05:00
Duke Leto
3939a7a444 +x 2020-11-14 18:54:21 -05:00
Duke Leto
bab65bf2a3 rm -rf Github 2020-11-14 18:53:42 -05:00
Duke Leto
a535b349b0 hush.is is replacing myhush.org 2020-11-14 17:52:04 -05:00
Duke Leto
be16f80abc Hush Full Node is now GPLv3
Any projects which want to use Hush code from now on will need to be licensed as
GPLv3 or we will send the lawyers: https://www.softwarefreedom.org/

Notably, Komodo (KMD) is licensed as GPLv2 and is no longer compatible to receive
code changes, without causing legal issues. MIT projects, such as Zcash, also cannot pull
in changes from the Hush Full Node without permission from The Hush Developers,
which may in some circumstances grant an MIT license on a case-by-case basis.
2020-10-21 07:28:10 -04:00
Duke Leto
410a1bdf94 Add script to make linux bins 2020-09-25 09:37:06 -04:00
Duke Leto
a7f88a87aa Update copyright URL to be https 2020-09-20 13:17:38 -04:00
Duke Leto
01e493d207 Update checkpoints up to block 295K 2020-09-19 12:38:11 -04:00
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
Duke Leto
0a96fdc63f Exactly simulate the Hush block reward until it hits zero at halving 31 2020-09-18 16:19:34 -04:00
Duke Leto
b277641ca1 Cleanup and cli help 2020-09-18 13:00:04 -04:00
Duke Leto
6746d1a46a Nothing is simple when floats are involved and this is a great example 2020-09-18 12:56:01 -04:00
Duke Leto
1c4a2ee13c WIP hush_supply 2020-09-07 08:33:38 -04:00
Duke Leto
6745ea5a48 WIP script to simulate Hush total supply for every block in the future until it goes to zero 2020-08-17 00:17:09 -04:00
Duke Leto
9deb58fa4e Start to tweak hush_supply and save old script to compare results 2020-08-16 23:18:15 -04:00
Duke Leto
63652a543d Increase default stride to 5000 blocks 2020-07-31 08:34:08 -04:00
Jonathan "Duke" Leto
8c435331ee Merge branch 'duke' into danger 2020-07-20 06:26:11 -07:00
Duke Leto
3110898426 Catch errors early and exit, such as when best chain is still activating 2020-07-17 01:24:50 -04:00
miodragpop
b1de0a7f86 proton lib removed 2020-07-16 23:35:43 +02:00
Duke Leto
cc3ae81644 2020 2020-06-13 09:29:24 -04:00
Duke Leto
f7a9db724a More error detection 2020-06-13 09:24:58 -04:00
Duke Leto
447ec28997 Delete a lot of libsnark stuff 2020-01-23 18:45:41 -05:00
Duke Leto
4c39efccce Add/update unix manpages 2020-01-18 09:07:22 -05:00
Duke Leto
5e0f583dd6 Update copyright fixin' script 2020-01-02 13:08:05 -05:00
Duke Leto
00feb5b573 Update block_time.pl to also print out GMT time 2019-12-27 08:59:04 -05:00
Duke Leto
727a4961d7 Remove example zcash.conf that is no longer needed 2019-12-24 07:36:00 -05:00
Duke Leto
230cbffcf6 Hush port scanner
I wrote this simple port scanner in 5 minutes to verify if 3rd party Hush notary seeds
from https://github.com/KomodoPlatform/dPoW/blob/master/iguana/3rd_party
were running properly.

Currently they are all down.

$ cat contrib/notary_seeds.txt | ./contrib/hush_scanner
HOST   P2P  RPC
103.6.12.117 DOWN DOWN
95.213.238.99 DOWN DOWN
77.75.121.139 DOWN DOWN
139.162.45.144 DOWN DOWN
152.89.105.66 DOWN DOWN
152.89.104.58 DOWN DOWN
5.53.120.34 DOWN DOWN
139.99.208.141 DOWN DOWN
2019-12-22 07:01:04 -05:00
Duke Leto
5ecc149142 Update gen-manpages.sh to autodetect hushd version 2019-12-15 21:26:43 -05:00
Duke Leto
73b7804977 Update version in gen-manpages.h, which really should be automated 2019-12-14 08:33:21 -05:00
Duke Leto
9c97792f5b add license 2019-12-14 07:46:36 -05:00
Duke Leto
b5f9ef98bc delete incompatible/unsupported contrib code 2019-12-14 07:46:31 -05:00
Duke Leto
32062b7c56 add license 2019-12-14 06:33:50 -05:00
Duke Leto
1ab74a90b2 add new tools to contrib readme 2019-12-14 06:33:45 -05:00
Duke Leto
92027ce650 Add script to estimate when a block will occur 2019-12-14 05:21:29 -05:00
Duke Leto
8ede0329b2 deprint 2019-12-08 14:02:20 -05:00
Duke Leto
bcc95bea7c Update checkpoint script 2019-12-08 14:01:33 -05:00
Duke Leto
95e0749bd0 Automate all checkpoint data creation 2019-12-08 13:57:21 -05:00
Duke Leto
80e065568b Add script to generate checkpoint data 2019-12-08 12:49:52 -05:00
Duke Leto
9444d8de85 update manpages 2019-11-26 08:21:32 -05:00
Duke Leto
4d70123bf1 Update hush-uri.bat 2019-11-18 04:56:36 -08:00
Jonathan "Duke" Leto
cc88d26b57 add hush:// URI protocol handler for windows 2019-11-18 04:48:34 -08:00
Duke Leto
1071e3c7c5 update manpages 2019-10-27 17:36:19 -04:00
Duke Leto
2bd1fb03cf make debian stuff happy 2019-10-18 01:04:02 -04:00
Jonathan "Duke" Leto
7caf82501c debian stuff 2019-10-17 19:54:54 -07:00
Jonathan "Duke" Leto
b7ecea8fde debian stuff 2019-10-17 19:49:47 -07:00
Jonathan "Duke" Leto
7c413bfaf6 update contrib 2019-10-17 07:32:55 -07:00
Jonathan "Duke" Leto
a9e6edeed9 more stuff 2019-10-05 12:06:06 -04:00
Jonathan "Duke" Leto
dbe2188d3f Correct debian package metadata 2019-09-11 14:41:29 -07:00