Duke
bc0af82ce6
SMART_CHAIN_SYMBOL is always defined, no need to check which slows this hot path down
2024-01-24 11:25:48 -05:00
Duke
e49836b45e
Enforce sapling activation at height=1
...
We used to have the -ac_sapling option which defaulted to one, now we
enforce that it must always be one, it cannot be changed and is no
longer a CLI option.
2024-01-21 16:59:09 -05:00
Duke
27db254d68
Sapling and Overwinter network upgrades are always active
...
These NU's are always active for Hush Arrakis Chains so this code only serves
to slow down all operations by constantly being checked. So we disable them
which will speed up syncing, mining and creating transactions.
2024-01-21 16:34:53 -05:00
Duke
b0b9565d6a
Sapling and Overwinter network upgrades are always active
2024-01-21 15:32:23 -05:00
Duke
3a3c67e0fc
Delete many things we do not want or need
2024-01-13 00:06:09 -05:00
Duke
de7a5fb6d7
remove cc payments and rewards
2024-01-12 20:47:46 -05:00
Duke
d0fb9a0bc1
remove rogue
2024-01-12 20:05:15 -05:00
Duke
73d92a821e
remove sudoku
2024-01-12 12:54:56 -05:00
Duke
657bb1e25e
remove dice, channels, lotto
2024-01-11 22:30:50 -05:00
Duke
2a713aeba2
remove gateways
2024-01-11 21:39:08 -05:00
Duke
a23ab58af6
Start removing unused gateway code
2024-01-07 13:20:17 -08:00
Duke
d5c5c6008c
Remove unused code
2024-01-07 13:05:31 -08:00
Duke
c56a9e31a0
Merge branch 'duke' of https://git.hush.is/hush/hush3 into duke
2024-01-07 10:36:16 -08:00
Duke
7d73ebd7af
Remove voutsum variable which is calculated but never used
2024-01-07 10:25:36 -08:00
Duke
196e00c786
Remove unused variables
2024-01-07 10:24:12 -08:00
Duke
68427d0979
Remove unused code
2024-01-07 11:15:08 -05:00
Duke
c1ab82a881
Remove unused variables and add a const
2024-01-06 23:57:39 -08:00
Duke
4054140b21
RandomX interval and block lag are consensus changes and will never change at run-time, so they can be static
2024-01-06 23:47:00 -08:00
Duke
447f1f50f3
SMART_CHAIN_SYMBOL is always nonzero
2024-01-06 23:39:24 -08:00
Duke
b9937bc5d2
Release randomx cache in normal exit
2024-01-06 23:37:48 -08:00
Duke
765487bb14
Remove unused code
2024-01-06 23:30:19 -08:00
Duke
1b5422eb2d
Dynamically determine thread count for dataset init
2024-01-07 02:19:03 -05:00
Duke
56ef56b136
randomx_get_flags() automatically sets all flags except RANDOMX_FLAG_FULL_MEM, RANDOMX_FLAG_LARGE_PAGES and RANDOMX_FLAG_SECURE
2024-01-06 22:30:41 -08:00
Duke Leto
0e0b1cca97
Attempt to try different randomx flags
2024-01-06 21:33:23 -08:00
Duke Leto
21530ba159
Remove unused code
2024-01-06 21:24:57 -08:00
Duke
38dc994731
Remove unused code
2024-01-06 21:49:17 -05:00
Duke
d35ac5eac7
Update dragonx checkpoints
2023-12-31 09:32:16 -05:00
Duke
05ee318913
Update hush checkpoints
2023-12-31 08:58:00 -05:00
Duke
6635ab9e34
Bump version and copyright year
2023-12-31 06:55:58 -05:00
Duke
ae08c6ef56
Remove unused code
2023-12-27 21:06:33 -05:00
Duke
e5dc287d2f
Cleanup
2023-12-27 20:35:11 -05:00
Duke
90133dbc0e
Also log flush mode in FlushStateToDisk()
2023-12-27 17:56:44 -05:00
Duke
20fdc0e4fe
Get rid of deprecation entirely which allows current code to run past block height 5555555
2023-12-27 12:57:35 -05:00
Duke
19aa83ca80
You can now estimate future blocktimes of Arrakis Chains with: ./contrib/block_time.pl 5555555 DRAGONX
2023-12-27 12:53:07 -05:00
Duke
2a2391f0f9
Log when trimming block solutions
2023-12-27 11:43:53 -05:00
Duke
497ace0922
Add debug output to stderr when decode_hex() is called on invalid hex input
2023-12-27 08:38:24 -05:00
Duke
943ffbc1bf
Remove unused variables in BitcoinMiner/RandomXMiner which saves about 3.5KB of memory per mining thread
2023-12-27 08:37:20 -05:00
Duke
d8840beb3b
Remove unused code
2023-12-27 08:36:24 -05:00
Duke
0f5e291f9f
Remove unused pubkeys variable
2023-12-27 08:35:50 -05:00
Duke
77ab75c01d
Document hush_block2pubkey33()
2023-12-27 08:35:22 -05:00
Duke
43aa4a7d90
Create a local variable instead of modifying the global ASSETCHAINS_SCRIPTPUB
2023-12-25 14:05:05 -05:00
Duke
c33bd61480
Fix typo in default clientname
2023-12-06 11:19:40 -05:00
fekt
032f9b62da
MXE cross-compile fix for Windows builds
...
CMAKE_SIZEOF_VOID_P EQUAL 8 was added in newer versions of RandomX and breaks cross-compiling with MXE for Windows builds even though they are 64-bit.
3f69ad7b79
2023-12-04 05:10:48 +00:00
Duke
901152cc50
Also log incoming script when we see an incorrect coinbase pubkey
2023-12-03 23:31:16 -05:00
Duke
04a705444b
Improve rpc docs for getblocktemplate
2023-12-03 19:01:45 -08:00
Duke
429e25a3de
Log ASSETCHAINS_SCRIPTPUB to stderr when we see an incorrect coinbase pubkey
2023-12-03 18:51:55 -08:00
fekt
19e18cf37a
Temp Mac workaround
2023-11-30 05:01:53 +00:00
Duke
382861de2b
Fixes #362
...
Array index 2 does not exist, which caused the foundersrewardaddress
key of getblocktemplate to be incorrect. It would either show the next
address in the list or be empty if it caused a read past the end of the
2D DEVTAX_DATA array. This is what happens in gcc 9.4.0 but since this
is technically Undefined Behavior according to the C Standard it could
cause a crash or even make demons fly out of your nose.
See http://catb.org/jargon/html/N/nasal-demons.html for details.
2023-11-27 18:45:49 -05:00
Duke
51c5d03215
Fix notary code
2023-11-24 07:18:54 -05:00
Duke
6db872acd0
Merge branch 'dev' into duke
2023-11-22 14:05:31 -08:00