Commit Graph

31212 Commits

Author SHA1 Message Date
Duke Leto
1a4e8d4acf Initialize randomx dataset with 2 threads 2022-11-15 14:11:55 -05:00
Duke Leto
c55d1cbc5f Destroy randomx VM when we are done with it 2022-11-15 14:02:02 -05:00
Duke Leto
d3b948005c indentation 2022-11-15 13:44:47 -05:00
Duke Leto
3dbe8d3c6b indentation 2022-11-15 13:43:10 -05:00
Duke Leto
0926dfca75 Merge branch 'duke' into awt 2022-11-12 09:25:36 -05:00
Duke Leto
81f0c7755e Code to test exact cause of the 'up only' diff bug 2022-11-12 09:22:10 -05:00
Jonathan "Duke" Leto
fcfe09d196 chainActive.Tip() can be NULL if have never synced to a chain tip before, so use chainActive.Height() instead 2022-11-12 04:17:35 -08:00
Jonathan "Duke" Leto
ca52c6beb8 Avoid potential coredump if pindex is NULL 2022-11-11 04:26:18 -08:00
Duke Leto
c108db8f3c Speed up randomx hashing by ~60X per core
These code changes move various randomx setup code out of the inner mining loop,
which significantly increases hashrate. Currently seeing ~60 hashes/second/core
on a Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz.

This code may have memory leaks, it does not destroy the randomx VM since it was
causing coredumps. It also seems to use more memory, I am only able to mine on 2
cores with 16GB of RAM. Using more cores runs out of memory.
2022-11-11 06:42:51 -05:00
Duke Leto
b94ec80307 Use RANDOMX_FLAG_FULL_MEM 2022-11-10 22:38:04 -05:00
Duke Leto
c81b49c96c fix params for testcoins 2022-11-08 09:55:46 -05:00
Duke Leto
24dc8252a3 Add scripts to research randomx difficulty problems 2022-11-08 09:29:05 -05:00
Duke Leto
591b9e4c7d Merge branch 'dev' into duke 2022-11-08 09:17:00 -05:00
Duke Leto
5aea752337 Fix compiler warnings 2022-11-08 09:16:27 -05:00
Duke Leto
6eccab3e98 Add missing newline in rxdebug and add debugging about solutionTargetChecks 2022-11-08 09:07:49 -05:00
jahway603
d5871b2090 correct ac_supply documented default 2022-11-06 21:02:33 -05:00
jahway603
d2001b1ee0 Merge pull request 'dragonx scripts: removed hardcoded bash location for better platform support' (#234) from jahway603 into dev
Reviewed-on: https://git.hush.is/hush/hush3/pulls/234
2022-11-06 20:42:23 +00:00
jahway603
cba21e8f2a removed hardcoded bash location for better platform support 2022-11-06 15:14:46 -05:00
Duke Leto
db2fe16b0e Merge pull request 'dragonx scripts' (#233) from hydra/hush3:dev into dev
Reviewed-on: https://git.hush.is/hush/hush3/pulls/233
2022-11-06 12:04:12 +00:00
hydra
3499aad7cd Update 'src/dragonxd' 2022-11-06 11:59:39 +00:00
hydra
ac2a68aa86 update seednode ip 2022-11-06 11:59:20 +00:00
Duke Leto
65b9e74333 Delete 'issue_template.md' 2022-11-03 11:13:38 +00:00
Duke Leto
7bbc291370 Add 'issue_template.md' 2022-11-03 11:11:51 +00:00
Duke Leto
98ca257908 Merge pull request 'document -maxreorg argument' (#231) from jahway603 into dev
Reviewed-on: https://git.hush.is/hush/hush3/pulls/231
2022-11-01 21:05:06 +00:00
jahway603
202e67f9ac document -maxreorg argument 2022-11-01 14:25:12 -04:00
Hydra
7f37974e28 dragonxd 2022-11-01 11:32:35 -04:00
Hydra
0e2f0f8ffe dragonx-cli 2022-11-01 10:29:35 -04:00
Hydra
4a534ceb3f delete 2022-11-01 10:28:37 -04:00
hydra
bfb51e1c34 dragonx-cli 2022-11-01 14:16:18 +00:00
Duke Leto
17e6fd25c0 Merge pull request 'added smartz to build.sh and document -maxdebugfilesize' (#230) from jahway603 into dev
Reviewed-on: https://git.hush.is/hush/hush3/pulls/230
2022-11-01 12:37:03 +00:00
triplefive
70908b1009 document -maxdebugfilesize 2022-10-31 16:13:21 -04:00
triplefive
491e263af9 added smartz to build.sh 2022-10-31 15:19:35 -04:00
Jonathan "Duke" Leto
ef461fd639 Merge remote-tracking branch 'origin/master' into dev 2022-10-31 05:34:30 -07:00
Duke Leto
0d86a2d895 Merge pull request 'removed "python" from apt command' (#229) from dan_s/hush3:master into master
Reviewed-on: https://git.hush.is/hush/hush3/pulls/229
2022-10-31 11:39:34 +00:00
dan_s
0786c0755a removed "python" from apt command 2022-10-30 21:14:20 -05:00
Duke Leto
bfc91e0f78 Merge pull request 'Mac changes' (#227) from dev-mac into dev
Reviewed-on: https://git.hush.is/hush/hush3/pulls/227
2022-10-29 11:49:51 +00:00
fekt
66411537dd Mac fix for HSCs 2022-10-28 19:03:44 -04:00
Duke Leto
c36464ee1b Fix bug in getrescaninfo
There was a small bug in getrescaninfo where when a rescan first starts, it
shows rescanning=true but progress=100% because rescanHeight was not initialized
correctly.

Also update our rescanHeight while we are fast-forwarding thru blocks which are
before the current wallet birthday.
2022-10-28 17:09:40 -04:00
Duke Leto
d94883ad64 Update 'doc/release-process.md' 2022-10-28 13:26:33 +00:00
fekt
f4927fa54a OSX deployment script and bg 2022-10-28 01:17:22 -04:00
fekt
a5bcfc88b6 Mac build fix 2022-10-28 00:56:40 -04:00
fekt
24788c7dfe Build RandomX 2022-10-28 00:37:18 -04:00
fekt
7914b63861 Upstream change for OSX 2022-10-28 00:36:19 -04:00
fekt
e313676562 Mac build fixes 2022-10-27 16:49:02 -04:00
Duke Leto
6fda12612d Initial implementation of abortrescan 2022-10-19 05:12:12 -04:00
Duke Leto
29ec7b5fb6 Set rescanStartHeight before we lock cs_main + cs_wallet 2022-10-17 07:13:50 -04:00
Duke Leto
71923e3ffb Initial implementation of getrescaninfo 2022-10-17 07:03:32 -04:00
Duke Leto
c049575357 Merge pull request 'added -ac_randomx_interval and -ac_randomx_lag to hushd --help' (#219) from jahway603 into dev
Reviewed-on: https://git.hush.is/hush/hush3/pulls/219
2022-10-04 21:58:10 +00:00
jahway603
30a1921e26 added -ac_randomx_interval and -ac_randomx_lag to hushd --help 2022-10-04 13:39:41 -04:00
Duke Leto
0cb343d508 Merge pull request 're-fixing spacing in manpages' (#217) from jahway603 into dev
Reviewed-on: https://git.hush.is/hush/hush3/pulls/217
2022-09-29 12:39:46 +00:00