Duke fc6745129d Fix randomx memory leak but create some mining errors
This change lifts the declaration of the randomx VM out of an inner loop
into the main function body of RandomXMiner(), which allows us to destroy
it later on when catching exceptions. We cannot lift the allocation of it's
memory (randomx_create_vm) because it depends on things that change in every
iteration of the inner loop. Otherwise, the VM will only sometimes
be destroyed, which is what I think causes the memleak.

But this seems to create one invalid block when mining each block height :

STDOUT:

TestBlockValidity: failure C checkPOW=1
RandomXMiner: Invalid randomx block mined, try again 05f30f419133b2d862106b89c20059967639e4f2699dd5afc5d2b0832f1ac76a

debug.log:
2023-10-11 16:10:41 CreateNewBlock(): total size 1000 blocktime.1697040642 nBits.200e77d1
2023-10-11 16:10:41 Running HushRandomXMiner with 1 transactions in block (260 bytes)
2023-10-11 16:10:41 ERROR: ContextualCheckBlock: block height mismatch in coinbase

Mining does seem to continue normally when testing with -testnode=1
2023-10-11 12:07:40 -04:00
2021-01-26 08:56:08 -05:00
2023-10-07 14:16:59 -04:00
2023-02-09 18:06:03 -05:00
2022-09-03 09:26:55 -04:00
2018-03-12 17:54:30 -03:00
2023-10-07 14:15:12 -04:00
2021-07-20 23:54:30 -04:00
2022-03-18 14:48:46 -04:00
2023-02-09 18:06:03 -05:00
2023-02-09 18:06:03 -05:00
2020-10-25 04:43:24 -07:00
2023-06-29 20:23:28 -04:00
2020-12-16 07:52:26 -05:00
2023-02-09 18:06:03 -05:00
2021-09-24 13:54:11 -04:00
2022-10-30 21:14:20 -05:00
2021-10-20 23:27:25 -04:00
2020-10-21 07:28:10 -04:00
2023-02-09 18:06:03 -05:00
2023-02-09 18:06:03 -05:00
2023-02-09 21:48:40 +00:00
2019-08-07 04:56:24 -07:00
2019-08-07 04:56:24 -07:00
2019-12-12 16:53:19 -05:00
2023-10-10 12:03:41 -04:00
2023-02-09 18:06:03 -05:00
2017-10-22 04:08:53 +02:00

Hush

What is Hush?

Logo

Hush implements Extreme Privacy via blockchain tech. We have our own genesis block. We are not a chain fork (copy) of another coin. We are based on Bitcoin code, with sophisticated zero-knowledge mathematics added for privacy. This keeps your transaction metadata private!

This repository

This software is the Hush node and command-line client. It downloads and stores the entire history of Hush transactions; depending on the speed of your computer and network connection, it will likely take a few hours at least, but some people report full nodes syncing in less than 1.5 hours. A competing privacy coin takes over 24 hours to sync their full nodes because of Sprout Transactions, lulz.

BANNED BY GITHUB

In working on this release, Duke Leto was suspended from Github, which gave Hush developers the impetus to completely leave that racist and censorship-loving platform.

Hush now has it's own git.hush.is Gitea instance, because we will not be silenced by Microsoft.

All Hush software will be released from git.hush.is and hush.is, downloads from any other domains should be assumed to be backdoored.

Hush is unfinished and highly experimental. Use at your own risk! Just like Bitcoin.

Installing

You can either compile it yourself or you can install a binary which was compiled by us. Please refer to the instructions which apply to you below:

  • See INSTALL.md to compile from source on Linux and to cross-compile for Windows
  • See INSTALL-BIN.md to install pre-compiled binary on Linux

Claiming Funds From Old Hush Wallets

If you have an older wallet, then refer to OLD_WALLETS.md.

Official Explorers

The links for the Official Hush explorers:

We are looking for alternate explorers to be run on Tor, i2P and other TLDs, if you are interested please join Telegram and ask questions.

For system admins

There is a new systemd user service script so you can easily start/stop/restart your hushd service on your server. Try it out today and the systemd script is located in the doc directory of the source tree.

Support and Socials

Please feel free to join us on Telegram for official support:

Other socials:

License

For license information see the file COPYING.

Description
No description provided
Readme 174 MiB
Languages
C++ 44.3%
Shell 28.4%
C 19.4%
Python 4.5%
M4 1%
Other 2.3%