Commit Graph
30828 Commits
Author SHA1 Message Date
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 15d254af10 Ignore chain sync verification and relaying when -testnode=1 2022-07-01 21:40:39 -04:00
Duke Leto 71a72c9c60 Prevent coredump when randomxBlockKey changes 2022-07-01 18:37:59 -04:00
Duke Leto 1864b83e99 oops, looks like I never added this test script 2022-07-01 18:04:04 -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 15ca83b817 Add randomx to build.sh 2022-01-24 09:56:12 -05:00
Duke Leto 000dc1dc34 change some randomx config params after reading thru the spec+audits 2022-01-24 00:57:00 -05:00
Duke Leto dba86be534 Update randomx argon salt to make it unique 2022-01-23 23:15:12 -05:00
Duke Leto 0b7f57af44 Document possible values of -ac_algo 2022-01-23 01:10:57 -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 36140a5457 Import RandomX from https://github.com/tevador/RandomX/commit/df6e15e1303034831dc14128d654c157ddc0dce3 without audits/ directory 2022-01-22 23:57:27 -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 6ace8b0028 Start to add RandomX support 2022-01-22 22:18:00 -05:00
Duke Leto 804a4abbe7 Log correct debug.log filename to stdout 2022-01-13 20:38:50 -05:00
Duke Leto 25c6a4676f update release notes 2022-01-13 12:57:05 -05:00
Duke Leto 1bd9337c90 Add some release notes 2022-01-12 21:57:14 -05:00
Duke Leto d8481722ad Add time_remaining to listbanned output
Example output:

hush-cli listbanned
[
  {
    "address": "1.2.3.4/255.255.255.255",
    "banned_until": 1640921730,
    "time_remaining": 86395
  }
]
2021-12-29 22:36:02 -05:00
Duke Leto db056ce1ba Bump version to 3.9.1 2021-12-29 20:42:42 -05:00
Duke Leto 361998b5d2 Do not erase for now 2021-12-23 17:59:01 -05:00
Duke Leto 66f1f9b076 Remove mention of overwintered from RPC docs. HUSH and all HSCs are all overwintered #19 2021-12-23 12:14:54 -05:00
Duke Leto b4dc415f1e Log when we are done doing a partial rescan 2021-12-23 10:46:20 -05:00
Duke Leto 8faa5dec89 Erase old unconfirmed wallet transactions that are too old to be accepted by network consensus rules 2021-12-22 12:12:13 -05:00
Duke Leto cff8d114ea Fix rescan RPC to correctly use the optional rescan height 2021-12-21 20:55:29 -05:00
Duke Leto fffa06d138 Fix UB in no Plaintext wallet.dat #85 2021-12-15 08:47:19 -05:00
Duke Leto b4f38e2a77 Increase nMinDiskSpace to 1GB 2021-12-12 11:12:10 -05:00
Duke Leto a4792404d6 Add notes about using jq 2021-12-10 08:40:51 -05:00
Duke Leto 1ce50447ba Merge branch 'dev' of https://git.hush.is/hush/hush3 into dev 2021-10-30 12:22:43 -04:00
Duke Leto e04465983c Port upstream rpc deadlock fix #77 2021-10-30 12:21:58 -04:00
Duke Leto b2cf132f0c Update binary name in tests and old example script 2021-10-21 10:06:25 -04:00