Commit Graph
30062 Commits
Author SHA1 Message Date
Duke Leto fab0f94942 Cleanup and update copyrights 2020-09-18 16:49:42 -04:00
Duke Leto 5adfbf80ee Bump protocol version since this is a mandatory consensus change, in the future we can make this a minimum protocol version 2020-09-18 16:42:14 -04:00
Duke Leto 70455eb41e update version 2020-09-18 16:41:28 -04:00
Duke Leto d65fbabc77 Correctly specify the exact block height when Hush block reward goes to zero 2020-09-18 16:34:36 -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 3e60d1187f Fix logging bug where incorrect number of zins/zouts was shown (block vs tx counts) 2020-09-18 13:09:30 -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 62fc6af52c cleanup 2020-09-18 11:47:06 -04:00
Duke Leto c5189df034 A few useful comments in hush_commission() 2020-09-15 13:18:01 -04:00
Duke Leto 909285b981 Where Would I Be Without @DenioD 2020-09-15 13:15:11 -04:00
Duke Leto 396488306b Optional logspam is best logspam 2020-09-15 13:09:36 -04:00
Duke Leto c422ec37b7 Initialize numhalvings and do not print for now, since we dont calculate it here 2020-09-15 10:15:03 -04:00
Duke Leto 0920f264be cleanup 2020-09-14 15:56:25 -04:00
Duke Leto 65b45d9f88 mining logspam 2020-09-14 15:53:34 -04:00
Duke Leto 1ae419b54c cleanup 2020-09-14 15:34:09 -04:00
Duke Leto b83f38c615 komodo_commission logspam 2020-09-14 15:27:26 -04:00
Duke Leto 5fc4b4c770 Use the correct interval at z2zheight 2020-09-14 15:14:47 -04:00
Duke Leto 3d5740191e Merge pull request #140 from MyHush/danger
Sync danger to duke branches
2020-09-14 05:54:30 -07:00
Duke Leto 3f2e814067 alert system updates 2020-09-13 19:15:15 -04:00
Duke Leto 5c5e545e75 HUSH has no JoinSplits 2020-09-13 19:12:21 -04:00
Duke Leto 98e9ed80d7 Merge branch 'danger' of github.com:MyHush/hush3 into danger 2020-09-13 13:28:46 -04:00
Duke Leto b22a73fc29 Run-time randomly generated Sietch zdust addresses
This commit drastically improves the privacy of the HUSH anonymity set
under attacks which ingest wallet.dat's which have been obtained by
seizure, i.e. stealing someones HUSH wallet.dat and putting it into
chain analysis software. Ciphertrace is known to do this to ZEC and XMR
and we can assume all chain analysis companies are implementing new
ways to de-anonymize privacy coins with any data they can obtain.

Instead of randomly sending to a randomly chosen static address,
hushd Sietch zdust addresses are now randomly generated at run-time. These
addresses are not stored in wallet.dat in any way and their private keys
are not known except by the internal memory of hushd for a few milliseconds.
This data is not stored in long-lived data structures of hushd, only as long
as the RPC z_getnewaddress is running or the equivalent function for internals
code paths. The seeds or private keys of these addresses are never stored on disk.

This now brings hushd on par with SDL, which already does this via a
different but equivalent seed phrase technique.

With this technique, if a HUSH wallet.dat is seized, it's impossible to tell
if any of the shielded outputs are random Sietch zdust with random data payload
or a one-time-use zaddr with encrypted payload.
2020-09-13 12:35:41 -04:00
Duke Leto 4f70252524 Increase max --sietch-min-zouts to 50 2020-09-13 11:24:47 -04:00
Duke Leto 85a40ae2ed Tweak copyright 2020-09-13 11:23:55 -04:00
DenioD 702ea5fe91 delete joinsplit from rawtransactions #127 2020-09-12 15:11:52 +02:00
DenioD 2075d0da25 Port scheduler race condition fix from BTC upstream #133, https://github.com/bitcoin/bitcoin/commit/12519bf62b8c49b1c1744eca6ea5b3162a61f962 2020-09-12 10:01:33 +02:00
DenioD 5d86afef6a Port -txsend from str4d #37, https://github.com/zcash/zcash/pull/4522 2020-09-12 09:12:40 +02:00
Duke Leto a45ee31765 Add a static makefile for now 2020-09-11 10:30:56 -04:00
Duke Leto 7ae5a565d5 Add a bunch of things required by bip39 dependencies 2020-09-11 10:30:01 -04:00
Duke Leto 514348c427 Add various bip39 and base32/base58 stuff 2020-09-11 10:29:00 -04:00
Duke Leto 650498ec27 bip39 updates + tweaks 2020-09-11 10:27:14 -04:00
Duke Leto 5d08cd7b57 Refactor Hush supply curve into a dedicated function and increase logspam 2020-09-11 07:23:44 -04:00
Duke Leto 032c7cbb9f Add transaction time to z_listreceivedbyaddress which drastically speeds up SD operations 2020-09-09 12:58:53 -04:00
Duke Leto 0614f51f28 Fix more docs bugs 2020-09-09 11:51:59 -04:00
Duke Leto fc9725ca44 Fix docs 2020-09-09 11:45:23 -04:00
Duke Leto ba4f1710a4 Merge branch 'danger' of github.com:MyHush/hush3 into danger 2020-09-09 11:43:00 -04:00
Duke Leto 5412da7d71 Connect z_listreceivedaddress to the outside world 2020-09-09 11:42:52 -04:00
Denio 7f602de255 Merge pull request #136 from MyHush/danger
Sync danger to duke
2020-09-09 14:49:14 +02:00
Jonathan "Duke" Leto 844626f457 Block 128 has a block reward of 11.25 HUSH 2020-09-08 15:06:06 -07:00
Jonathan "Duke" Leto dd13bfb394 Yep 2020-09-08 14:38:58 -07:00
Jonathan "Duke" Leto f4294a25cf Be more explicit 2020-09-08 14:33:52 -07:00
Duke Leto b432e27f1b Refactor hush block subsidy 2020-09-08 16:10:32 -04:00
Duke Leto 3744f429f2 Re-enable 3rd block subsidy era 2020-09-08 15:52:09 -04:00
Duke Leto fbc34ef071 Implement custom Hush block subsidy code since changing our blocktime and using many eras breaks assumptions of existing code 2020-09-08 15:49:10 -04:00
Duke Leto 1751f986f1 Logspam for last and max eras 2020-09-08 15:16:00 -04:00
Duke Leto 5871b3019a Mo debug regarding current era and block subsidy 2020-09-08 14:57:38 -04:00
Duke Leto 807a37e740 Behold vast logspam, refactoring and dead code removal 2020-09-08 12:47:17 -04:00
Duke Leto fe4f0f7e9e Logspam 2020-09-08 12:01:07 -04:00
Duke Leto 67ed136e25 Only give 3 values for now to match how many values come in via CLI 2020-09-08 11:45:19 -04:00