Commit Graph

1383 Commits

Author SHA1 Message Date
Jonathan "Duke" Leto
e0d22ee170 Enable z_anonsetblockdelta to calculate a delta for a block range; ignore coinbase txs as optimization 2022-06-09 03:00:50 -07:00
Duke Leto
cc61b19930 Make z_anonsettxdelta work on a tx that is not in our wallet and fix calculation 2022-06-07 23:56:25 -04:00
Duke Leto
c218cf1c09 Fix compile errors 2022-06-07 23:19:06 -04:00
Jonathan "Duke" Leto
bdde67c359 Initial implementation of anonsettxdelta + z_anonsetblockdelta 2022-06-07 20:05:49 -07:00
Duke Leto
689a360b60 Allow notary addresses in sendmany, fixes #126 2022-04-18 00:32:11 -04:00
Duke Leto
79a6f51c2d Update some comments and docs 2022-03-30 00:21:38 -04:00
jahway603
04911ae966 Mention z_viewtransaction in gettransaction and getrawtransaction RPC calls 2022-03-18 12:12:40 -04:00
Duke Leto
66f1f9b076 Remove mention of overwintered from RPC docs. HUSH and all HSCs are all overwintered #19 2021-12-23 12:14:54 -05:00
Duke Leto
e00dabb79b Fix bug in listaddresses RPC 2021-09-18 11:25:13 -04:00
Duke Leto
f22cbbf1e2 Cleanup and remove dead code 2021-09-16 14:12:31 -04:00
Duke Leto
3d4123ee88 Cleanup 2021-09-03 12:35:59 -04:00
Duke Leto
e3bb6ed01e listaddresses takes no params and remove accounts from docs 2021-09-02 18:50:56 -04:00
Duke Leto
b4cf845bf3 New listaddresses RPC and z_exportwallet RPC now can be called during RPC warmup 2021-09-02 12:22:04 -04:00
Duke Leto
0c6e5945a6 Add listaddresses as a new replacement for getaddressesbyaccount; cleanup 2021-09-01 20:26:59 -04:00
Duke Leto
b713f43487 Clean up dead code and cruft 2021-09-01 14:46:53 -04:00
Duke Leto
b505660489 Clarify some docs related to Overwinter, which HUSH and all HSCs have 2021-08-22 14:57:49 -04:00
Duke Leto
91383d0bc5 . 2021-07-10 12:56:43 -04:00
Duke Leto
d977345b26 Specify that cleanwallettransactions only works on utxos, not zutxos 2021-05-15 12:15:00 -04:00
Duke Leto
d654df7c29 Better error handling when there is no zaddr with enough balance 2021-04-17 12:46:33 -04:00
Duke Leto
1123ccf7bb Show actual zaddr in z_getoperationstatus output if it was automagic 2021-04-16 15:17:29 -04:00
Duke Leto
631a63a4e2 Automagic z_sendmany 2021-04-16 12:28:16 -04:00
Duke Leto
e48ffbe455 This error is user-facing in GUI wallets, so try to confuse them less 2021-04-15 12:44:23 -04:00
Duke Leto
5686f0c691 Clean up sprout turdz 2021-04-14 21:00:28 -04:00
Duke Leto
07931668cf Optionally filter balances by min value in z_getbalances 2021-04-14 20:15:11 -04:00
Duke Leto
ab934fd094 Much fast z_getbalances, such wow 2021-04-13 23:18:40 -04:00
Duke Leto
52e14828c8 Basic z_getbalances working, but slow 2021-04-13 18:13:36 -04:00
Duke Leto
4f57858881 Show z2z example in z_sendmany RPC docs 2021-04-11 23:37:21 -04:00
Duke Leto
34c5278340 No more JSDescription's 2021-04-10 00:10:37 -04:00
Duke Leto
cf57365698 Deletions and cleanups 2021-01-26 08:56:08 -05:00
Duke Leto
1f4c4f27e6 Refactoring 2021-01-24 08:51:17 -05:00
Duke Leto
2e31b7d2dc lol 2021-01-23 22:18:57 -05:00
Duke Leto
e3a68dfdfb Hush is the extreme future, Komodo is the KYC past 2020-12-16 22:49:58 -05:00
Duke Leto
980350b9b4 Stuck in the grind 2020-12-16 22:10:59 -05:00
Duke Leto
c5f1021d8a Compiler happiness 2020-12-16 04:58:22 -05:00
Duke Leto
c2eec1f7a7 Remove Komodo interest code and various other improvements 2020-12-15 13:14:54 -05:00
Duke Leto
b58c15b9fb update copyrights 2020-12-10 07:45:36 -05:00
Duke Leto
fd753569bf we cuddle our elses around here 2020-12-10 06:57:15 -05:00
Duke Leto
31fc4099df HUSH NSPV 2020-12-09 19:22:51 -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
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
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
a7f88a87aa Update copyright URL to be https 2020-09-20 13:17:38 -04:00
Duke Leto
5c5e545e75 HUSH has no JoinSplits 2020-09-13 19:12:21 -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