Commit Graph

2247 Commits

Author SHA1 Message Date
Duke Leto
18910ca14d Only log when zouts exist and less noise to STDOUT by default 2020-12-06 20:24:02 -05:00
Duke Leto
54d3293db5 I Got The (Pub)Keys - https://www.youtube.com/watch?v=WjBQ7v6i4O4 2020-12-06 17:04:20 -05:00
Duke Leto
6c70956f4f Remove -exchange option which jl777 used to steal from KMD miners and notary node ops 2020-12-04 19:31:03 -05:00
Duke Leto
6f556c2b60 Hush dat wallet 2020-12-04 09:46:21 -05:00
Duke Leto
c737c0dfaf We call them Hush Smart Chains around here 2020-11-15 11:54:06 -05:00
Duke Leto
ebf0df633b Define a new season of anon Hush DPoW notaries 2020-11-15 11:13:15 -05:00
Duke Leto
a23b0e8388 Remove the unsupported concept of staked notaries 2020-11-15 10:28:53 -05:00
Duke Leto
d02fdd4fe5 I originally wrote this function and we call it Hush DPoW around here 2020-11-15 07:34:43 -05:00
Duke Leto
52240c64b1 Tweak test suite and rename to HUSH_INSYNC 2020-11-14 20:00:23 -05:00
Duke Leto
e07d870661 Update copyrights in c++ tests 2020-11-14 17:42:18 -05:00
Duke Leto
7079742408 Merge branch 'dev' into duke 2020-11-14 15:46:32 -05:00
miodragpop
a226334d66 more hidden OpenSSL stuff replaced 2020-11-03 21:26:25 +01:00
Duke Leto
7524c64024 Our intrepid warrior gazed at his Dragon and both knew what was needed 2020-10-25 19:06:09 -04:00
DenioD
84eb65c7bb add memo as hex and str to z_listreceivedaddress 2020-10-21 15:52:43 +02: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
d7a6ec7e81 less logspam 2020-10-03 07:45:24 -04:00
Duke Leto
5b07e54c3f spam fix 2020-10-03 07:32:31 -04:00
Duke Leto
b33b1db4f1 lol 2020-09-26 23:33:25 -04:00
Jonathan "Duke" Leto
7835fbd341 Fix for win64 systems, hopefully 2020-09-23 12:51:37 -07:00
Duke Leto
b5d308f182 Fix deletetx=1 coredump and more logspam 2020-09-21 01:03:38 -04:00
Duke Leto
61e805083c deletetx=1 logspam 2020-09-21 00:16:03 -04:00
Duke Leto
8317beef1e Increase logspam for deletetx=1 and -zdebug 2020-09-20 14:33:15 -04:00
Duke Leto
a7f88a87aa Update copyright URL to be https 2020-09-20 13:17:38 -04:00
Duke Leto
3a2288bcc4 Logspam 2020-09-20 12:06:37 -04:00
Duke Leto
e87101bd1f RPC help fixes 2020-09-20 11:16:42 -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
DenioD
5d86afef6a Port -txsend from str4d #37, https://github.com/zcash/zcash/pull/4522 2020-09-12 09:12:40 +02: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
5412da7d71 Connect z_listreceivedaddress to the outside world 2020-09-09 11:42:52 -04:00
Duke Leto
95ff64404c Specify that secret_key is a decimal not hex value 2020-09-08 11:10:43 -04:00
Duke Leto
b9fd0ce900 Fix bugs in porting zec upstream code 2020-09-07 08:34:19 -04:00
Jonathan "Duke" Leto
ad3e5db501 Update help regarding new -wallet option for relative paths 2020-09-04 19:40:29 -07:00
Jonathan "Duke" Leto
5315ded786 Support wallet.dat outside of datadir
Ported from 6a7cfdea54
which did not apply cleanly.
2020-09-04 19:31:05 -07:00
Jonathan "Duke" Leto
eae956cde9 Update docs 2020-07-30 09:01:29 -07:00
Duke Leto
bfbe4e9553 Tweak some logging 2020-07-28 11:38:16 -04:00
Duke Leto
c14e7102bf Reduce noise 2020-07-28 11:11:21 -04:00
Duke Leto
10c5809877 More z_sendmany debugging when -zdebug enabled 2020-07-28 11:00:20 -04:00
Duke Leto
b4e7f45826 Remove dead code 2020-07-28 00:44:57 -04:00
Duke Leto
79a4a48c38 Fix zaddr logging 2020-07-26 14:58:49 -04:00
Duke Leto
31983a9655 Correctly choose between dynamic or random sietch zdust addresses 2020-07-25 01:41:48 -04:00
Duke Leto
7e0c41977f Revert "Use dynamically generated zaddrs in sietch, which are not stored in wallet.dat"
This reverts commit 89532c4d7b.
2020-07-23 22:53:12 -04:00
Duke Leto
cf83dc135a Merge branch 'danger' into sietch_dynamic 2020-07-22 09:39:48 -04:00
Duke Leto
47aaeea0c9 Merge branch 'dev' into duke 2020-07-22 09:34:15 -04:00
Miodrag Popović
33358740f4 malloc.h conditional inclusion
malloc.h header is also glibc specific
2020-07-21 10:26:42 +02:00
Jonathan "Duke" Leto
7227739733 Merge branch 'dev' into duke 2020-07-20 06:25:50 -07:00