Commit Graph
30156 Commits
Author SHA1 Message Date
Duke Leto 727abe0ef2 Be more precise 2020-09-07 12:36:26 -04:00
Duke Leto d420e14472 Explicitly set the Hush block reward and halving intervals for the next two halvings (8 years) 2020-09-07 12:35:15 -04:00
Duke Leto 880cbc6b0d Mo docs for hushd 2020-09-07 08:54:12 -04:00
Duke Leto 58f7ae1336 Document hushd a bit 2020-09-07 08:51:50 -04:00
Duke Leto 043d58709d Fix off-by-one-decimal-place error discovered by @DenioD 2020-09-07 08:36:48 -04:00
Duke Leto b9fd0ce900 Fix bugs in porting zec upstream code 2020-09-07 08:34:19 -04:00
Duke Leto 1c4a2ee13c WIP hush_supply 2020-09-07 08:33:38 -04:00
Jonathan "Duke" Leto 2bb5454020 Explicitly set BR in each halving interval
This extremely important consensus-changing code takes into account
that with our new 75s block time, which gives us twice as many blocks
per day, we must divide our block reward by two in the next
halving interval, becoming 3.125 HUSH per block insted of 6.25 HUSH
under the old rules of 150s blocks.

Subsequent halving intervals do not change block times, and so they
follow the normal pattern of halving.

This commit has a number of rough edges:
        * Final BR height is still incorrect
        * Due to above, exact number of halvings is unknown under new
          75s blocktime
2020-09-05 05:38:09 -07:00
Jonathan "Duke" Leto 0c0b2ec1cc cleanup 2020-09-05 05:36:28 -07:00
Jonathan "Duke" Leto 86ad289a42 Clean up dead code 2020-09-05 04:45:54 -07:00
Jonathan "Duke" Leto 820a48bb73 Add trezor bip39 code 2020-09-04 22:50:23 -07:00
Jonathan "Duke" Leto b3ff90ed6f Add constant time AES routines 2020-09-04 22:29:28 -07: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 https://github.com/zcash/zcash/commit/6a7cfdea54a9469ac1234e32db9d2fed0bb146af
which did not apply cleanly.
2020-09-04 19:31:05 -07:00
Duke Leto e067453f49 Merge pull request #132 from jahway603/master
Added stdexcept to src/crypto/equihash.h
2020-08-24 22:18:49 -07: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
jahway603 8558fa1c8d Added stdexcept to src/crypto/equihash.h to enable compiling hush3 in Arch Linux with gcc 10 2020-08-11 23:44:28 -04:00
jahway603 88d14cd9e6 Merge pull request #1 from MyHush/master
sync from upstream
2020-08-07 13:54:42 -04:00
Duke Leto 40d6716993 Update Hush emission schedule code based on going to 75s blocks @ Block 340K 2020-08-01 09:12:14 -04:00
Duke Leto 1d24015300 Update checkpoints 2020-07-31 09:24:47 -04:00
Duke Leto 6b531f4ecb Update checkpoints 2020-07-31 08:51:35 -04:00
Duke Leto 63652a543d Increase default stride to 5000 blocks 2020-07-31 08:34:08 -04:00
Duke Leto eab78f6b44 We probably don't need to version control our core files 2020-07-31 08:33:55 -04:00
Duke Leto 9459536b52 copyrights 2020-07-31 08:33:36 -04:00
Duke Leto 19b6feecba Fix docs of decoderawtransaction 2020-07-31 08:17:19 -04: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 fd456ec146 Bump version to 3.5.0 and update unix man pages 2020-07-26 08:47:59 -04:00
Duke Leto a59803c325 Merge branch 'sietch_dynamic' into danger 2020-07-26 08:29:45 -04:00
Duke Leto 6e40e2f1e2 NULL terminator considered important 2020-07-26 08:29:25 -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 ee09f123c6 Bump version to a 3.5 pre-release 2020-07-23 10:27:07 -04:00
Duke Leto 5a1109ccf4 Allow z2z fork height to be specified on CLI for testing 2020-07-23 08:04:25 -04:00
Duke Leto cf83dc135a Merge branch 'danger' into sietch_dynamic 2020-07-22 09:39:48 -04:00
Duke Leto 4401d484ef Merge branch 'duke' into danger 2020-07-22 09:34:40 -04:00
Duke Leto fbb9a20de4 Merge branch 'danger' of github.com:MyHush/hush3 into danger 2020-07-22 09:34:34 -04:00
Duke Leto 47aaeea0c9 Merge branch 'dev' into duke 2020-07-22 09:34:15 -04:00
Duke Leto 9f8f24dc78 Merge pull request #126 from miodragpop/patch-1
malloc.h conditional inclusion
2020-07-22 02:04:33 -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 8c435331ee Merge branch 'duke' into danger 2020-07-20 06:26:11 -07:00
Jonathan "Duke" Leto 7227739733 Merge branch 'dev' into duke 2020-07-20 06:25:50 -07:00
Duke Leto 2452d4d3ec Merge pull request #123 from miodragpop/master-aarch64
Updates and tweaks which enable cross-building of 64bit arm binaries
2020-07-20 09:23:29 -04:00
Duke Leto b094db7113 More debugspam for -zdebug; Fix bug where shielded spends where not tracked correctly 2020-07-17 15:35:28 -04: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