Commit Graph
23684 Commits
Author SHA1 Message Date
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
Duke Leto 95ff64404c Specify that secret_key is a decimal not hex value 2020-09-08 11:10:43 -04:00
Duke Leto 2d90cef651 Merge branch 'danger' of github.com:MyHush/hush3 into danger 2020-09-08 09:54:20 -04:00
Duke Leto 31940f2b3a Thanks to @DenioD for reminding me we must modify -ac_end internals variable as well 2020-09-08 09:54:13 -04:00
Jonathan "Duke" Leto d53e39aa4d Good ol' off-by-one strikes again 2020-09-08 05:47:53 -07:00
Duke Leto b572ef0228 Calculate this value at run-time because it's not set yet when this header file is parsed 2020-09-07 18:40:51 -04:00
Duke Leto 9ae40031d6 Add -ac_halving1 + -ac_halving2 CLI args for devs
These new CLI args control the interval of the 1st halving (between
1st and 2nd halving blocks) and the 2nd halving (between 2nd and 3rd
halving blocks). -ac_halving2 is used for all subsequent halvings.

This allows devs to simulate things via the CLI without changing code,
to verify things work as expected at halvings in the far future.
2020-09-07 12:58:50 -04:00
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
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
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
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 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 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
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 b094db7113 More debugspam for -zdebug; Fix bug where shielded spends where not tracked correctly 2020-07-17 15:35:28 -04:00
miodragpop 29a06462cb more associative naming convention 2020-07-17 02:44:29 +02:00