Commit Graph

24094 Commits

Author SHA1 Message Date
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
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
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
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
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
triplefive
70908b1009 document -maxdebugfilesize 2022-10-31 16:13:21 -04: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
fekt
a5bcfc88b6 Mac build fix 2022-10-28 00:56:40 -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
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
jahway603
30a1921e26 added -ac_randomx_interval and -ac_randomx_lag to hushd --help 2022-10-04 13:39:41 -04:00
jahway603
e8e0cb93b9 fixed manpage copyright spacing issue 2022-09-29 00:34:41 -04:00
Jonathan "Duke" Leto
8dbfe6eb13 Add copyright 2022-09-27 18:23:39 -07:00
Jonathan "Duke" Leto
1e40d2711d Add copyright to files missing Hush copyright lines 2022-09-21 08:59:19 -07:00
Jonathan "Duke" Leto
6e6dfabbe2 Add copyright to files missing Hush copyright lines 2022-09-21 08:57:41 -07:00
Jonathan "Duke" Leto
ea93a31c09 Add copyright to files missing Hush copyright lines 2022-09-21 08:56:10 -07:00
Jonathan "Duke" Leto
ad3a35fcba Add copyright to files missing Hush copyright lines 2022-09-21 08:54:08 -07:00
Jonathan "Duke" Leto
03e1308783 Add copyright to files missing Hush copyright lines 2022-09-21 08:50:10 -07:00
Jonathan "Duke" Leto
35df2aa91f Add copyright to files missing Hush copyright lines 2022-09-21 08:48:42 -07:00
Jonathan "Duke" Leto
2564f6a66f Add copyright to files missing Hush copyright lines 2022-09-21 08:47:45 -07:00
Jonathan "Duke" Leto
43ef851f8c Add copyright to files missing Hush copyright lines 2022-09-21 08:46:02 -07:00
Jonathan "Duke" Leto
f791613c70 Add copyright to files missing Hush copyright lines 2022-09-21 08:44:34 -07:00
Jonathan "Duke" Leto
005f1e00bc Update copyrights 2022-09-21 08:38:10 -07:00
Jonathan "Duke" Leto
2a8dbbad7b Make shell scripts more portable by using /usr/bin/env bash 2022-09-19 16:30:39 -07:00
Jonathan "Duke" Leto
f02a81fa4c Also update COPYRIGHT_YEAR in clientversion.h and teach update-copyrights.sh how to do it 2022-09-19 16:02:05 -07:00
Jonathan "Duke" Leto
b7b269448f Update copyrights that have an initial year of 2020 or later 2022-09-19 15:54:01 -07:00
Jonathan "Duke" Leto
5d2307a709 Update copyrights to 2022 2022-09-19 15:45:30 -07:00
Jonathan "Duke" Leto
2de20daa66 Document z_sendmany 'z' ... 2022-09-19 15:13:47 -07:00
Jonathan "Duke" Leto
f6457a7ce5 Clarify a confusing comment 2022-09-19 13:59:16 -07:00
Jonathan "Duke" Leto
c1286c4140 Add copyright lines to HSC batch file 2022-09-19 13:58:21 -07:00
Jonathan "Duke" Leto
bd8ebb6a1c Pass along all CLI params, not just the first 9 2022-09-19 13:56:46 -07:00