Commit Graph

1257 Commits

Author SHA1 Message Date
Duke Leto
5a742dfc9d Make our initial randomx key longer, at least 9 bytes of entropy 2022-07-02 10:57:01 -04:00
Duke Leto
42f75bd577 Make our randomx input longer with a variable prefix and suffix 2022-07-02 01:52:49 -04:00
Duke Leto
212f984459 Use -ac_name for initial randomx key and ASSETCHAINS_MAGIC for randomx input 2022-07-02 01:03:05 -04:00
Duke Leto
71a72c9c60 Prevent coredump when randomxBlockKey changes 2022-07-01 18:37:59 -04:00
Duke Leto
26129a6339 Give the randomx block interval and block lag CLI options 2022-07-01 17:47:03 -04:00
Duke Leto
05cbc86a00 Fix bug where GetNextWorkRequired did not know about randomx 2022-07-01 13:43:51 -04:00
Duke Leto
a45150eac4 yet more debug 2022-07-01 13:10:30 -04:00
Duke Leto
4988ce6f2e much debug such wow 2022-07-01 12:20:51 -04:00
Duke Leto
2353f1a433 even more debug 2022-06-30 09:18:58 -04:00
Duke Leto
b99772e622 more debug 2022-06-30 09:05:20 -04:00
Duke Leto
5640d21e0e avoid coredump by hardcoding some things 2022-06-29 23:20:25 -04:00
Duke Leto
97dea10b2b more randomx debug 2022-06-29 22:18:05 -04:00
Duke Leto
fc214e9644 Get closer to deciding if a block is valid in randomx solver 2022-03-16 11:57:33 -04:00
Duke Leto
a2954c4576 Fill in more randomx miner code 2022-03-10 01:09:42 -05:00
Duke Leto
224b5b144c Set a rolling randomx block key 2022-03-09 10:18:56 -05:00
Duke Leto
e4abb51fcd update copyright years 2022-03-09 08:53:37 -05:00
Duke Leto
c5743d5985 Error checking for randomx vm creation 2022-02-21 09:41:08 -05:00
Duke Leto
8eab796800 WIP to change rx key+input for groups of blocks; use full ac_name in rx key 2022-02-20 23:46:37 -05:00
Duke Leto
c9aaf341ae Use randomxInput = blake2b(randomXkey || ac_name) 2022-02-20 23:20:15 -05:00
Duke Leto
ad754cf2f0 Use chain magic as a unique starting value for randomx key 2022-02-20 21:55:34 -05:00
Duke Leto
583b0fdeff Calculate randomx hashes 2022-02-20 14:46:42 -05:00
Duke Leto
f78479b34e Get randomx flags and allocate cache 2022-02-20 12:57:08 -05:00
Duke Leto
35f6314123 Correctly link against librandomx in build 2022-02-20 11:32:09 -05:00
Duke Leto
35dde25d98 Fill out some RandomXMiner code, which is BitcoinMiner without all the extraneous junk 2022-01-23 00:32:01 -05:00
Duke Leto
a7a67a4668 remove dead code 2022-01-22 23:58:10 -05:00
Duke Leto
e6e5b3a352 Include randomx.h header in miner code 2022-01-22 23:57:42 -05:00
Duke Leto
26d78bedb5 Use a completely different function for RandomX mining to minimize potential of equihash consensus bugs 2022-01-22 22:31:46 -05:00
Duke Leto
f22cbbf1e2 Cleanup and remove dead code 2021-09-16 14:12:31 -04:00
Duke Leto
085f28a067 Hush does not have elections 2021-09-03 11:44:22 -04:00
Duke Leto
4fecf72ec8 Remove dead code 2021-09-02 15:01:58 -04:00
Duke Leto
b4cf845bf3 New listaddresses RPC and z_exportwallet RPC now can be called during RPC warmup 2021-09-02 12:22:04 -04:00
Duke Leto
e424a997a7 Cleanup 2021-08-26 00:08:37 -04:00
Duke Leto
40853af335 Remove things related to PoS 2021-08-19 19:30:03 -04:00
Duke Leto
aa39fc4f49 hush_baseid 2021-07-11 17:32:06 -04:00
Duke Leto
8e7cf04ad2 Fix upstream KMD crash bug in getblocktemplate when disablewallet=1
Originally dc8e1695c2
2021-06-28 22:34:35 -04:00
Duke Leto
6ca35f2b0a Remove dead code 2021-06-28 21:17:59 -04:00
Duke Leto
df8cd1180f delete dead code 2021-06-28 21:00:42 -04:00
Duke Leto
4a536d62dc Update copyrights 2021-04-17 13:03:22 -04:00
Duke Leto
cf57365698 Deletions and cleanups 2021-01-26 08:56:08 -05:00
Duke Leto
1f4c4f27e6 Refactoring 2021-01-24 08:51:17 -05:00
Duke Leto
482990936f Cleanup 2021-01-23 22:30:56 -05:00
Duke Leto
2e31b7d2dc lol 2021-01-23 22:18:57 -05:00
Duke Leto
2733101a6a Harden p2p layer against Eclipse Attacks 2021-01-07 16:46:30 -05:00
Duke Leto
e3a68dfdfb Hush is the extreme future, Komodo is the KYC past 2020-12-16 22:49:58 -05:00
Duke Leto
980350b9b4 Stuck in the grind 2020-12-16 22:10:59 -05:00
Duke Leto
c2eec1f7a7 Remove Komodo interest code and various other improvements 2020-12-15 13:14:54 -05:00
Duke Leto
7aacd3dfce Merge branch 'syncbug' into dev
Conflicts:
	src/metrics.cpp
2020-12-11 00:35:14 -05:00
Duke Leto
5b07e01437 Various things 2020-12-11 00:33:56 -05:00
Duke Leto
b58c15b9fb update copyrights 2020-12-10 07:45:36 -05:00
Duke Leto
8ccc5f0f3f Hushin' it 2020-12-10 06:59:43 -05:00