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 6a7cfdea54
which did not apply cleanly.
2020-09-04 19:31:05 -07: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
miodragpop
534efcb65d
malloc_trim is glibc specific
2020-07-17 02:28:27 +02:00
miodragpop
b1de0a7f86
proton lib removed
2020-07-16 23:35:43 +02:00
miodragpop
6017bdba79
cryptoconditions: ugly workaround to fix memory access issues on aarch64
2020-07-16 19:24:30 +02:00
Duke Leto
cbf0351e98
Show shielded spends in getchaintxstats output
2020-07-13 14:03:37 -04:00
miodragpop
c12ec78caf
executable permissions on makecustom script
2020-07-12 13:35:31 +02:00
miodragpop
9544bd0ffc
adjustments for cross build of aarch64 binaries on x86_64 linux
2020-07-12 11:47:00 +02:00
Duke Leto
40f0745fab
Track shielded spends on disk so we can calculate anonset in real-time correctly
2020-07-11 11:11:14 -04:00
Duke Leto
d516a21d54
Create setter to modify blocktime consensus params at run-time
2020-07-11 11:10:15 -04:00
Duke Leto
55890a0543
Set various chain params when changing blocktime
2020-07-11 01:19:08 -04:00
Duke Leto
d4883bce7c
More timedate changes from KMD 0.6
2020-07-09 10:31:12 -04:00
Duke Leto
e959ea9768
Timedata changes from KMD 0.6
2020-07-09 08:35:04 -04:00
Duke Leto
eb935e3c93
Set correct blocktime when disconnecting a block and rewinding before our block time halving
2020-07-09 07:22:33 -04:00
Duke Leto
bb6565d966
Block time halving at height 340000
2020-06-24 20:49:53 -04:00
Duke Leto
e4d2ada728
formatting
2020-06-24 17:58:03 -04:00
Duke Leto
2cf9b80b8c
cleanup
2020-06-24 17:56:50 -04:00
Duke Leto
828fff6168
Update some tests
2020-06-23 12:59:32 -04:00
Duke Leto
f03a7b0e7e
Copyright
2020-06-23 12:48:36 -04:00