Commit Graph

31158 Commits

Author SHA1 Message Date
Duke
d5e9ef763d Prevent coredump when -proxy=... -externalip=... is used
Replace an assert() in Unserialize() with the actual behavior we want,
i.e. making sure that vRandom is empty. Before the assert() was added,
the code called Clear() which ensured vRandom was empty. Clear() was
changed to the assert() in BTC commit b138973a8b4bbe061ad97011f278a21e08ea79e6
to prevent recursive locks but risks crashing the node. Instead, we
just empty out vRandom.

The addition of EXCLUSIVE_LOCKS_REQUIRED is not needed to fix
this but seems prudent since Serialize() has it and the original code
from BTC has EXCLUSIVE_LOCKS_REQUIRED on all the methods of this class.

As a side note, crashing a full node with an assert() and possibly
corrupting the wallet.dat, block files and other data is REALLY
FUCKING DUMB. Instead, code should be written to prevent the
possibility of crashing or throw an exception with a useful error.
2023-01-18 23:02:41 -05:00
Duke
176a9e1c7a Add 'make seeds' to make it easy to add seeds 2023-01-17 08:01:14 -05:00
Duke
6f8bce9b3a Fix bug where setban banned a node for 0 seconds 2023-01-12 23:59:11 -05:00
Duke
9d2277c697 Add tor v3 seed 2023-01-12 23:58:13 -05:00
zanzibar
512da314a5 BIP155 (addrv2)
Tor v3 + i2p
2023-01-06 15:23:22 +00:00
duke
fe9f1ef9e4 Merge pull request 'Remove alerts' (#252) from noalert into dev
Reviewed-on: https://git.hush.is/hush/hush3/pulls/252
2022-12-20 14:25:41 +00:00
Duke
da5ae526e7 Fix compile issue 2022-12-18 13:51:50 -08:00
Duke
ae64eb2392 Remove alerts 2022-12-18 08:24:49 -08:00
duke
4257b257df Merge pull request 'rm hashFinalSproutRoot' (#250) from onryo/hush3:dev into dev
Reviewed-on: https://git.hush.is/hush/hush3/pulls/250
2022-12-04 17:05:50 +00:00
onryo
f2f6019620 rm hashFinalSproutRoot
related to https://git.hush.is/hush/hush3/issues/248
2022-12-04 13:57:07 +00:00
Duke Leto
1b7f200d29 Fix typo in getsnapshot docs 2022-12-01 14:55:53 -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
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
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
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
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
jahway603
e8e0cb93b9 fixed manpage copyright spacing issue 2022-09-29 00:34:41 -04:00
jahway603
64e8d05214 fixed an update script 2022-09-29 00:29:28 -04:00
jahway603
870ed35fb5 Merge remote-tracking branch 'origin/dev' into jahway603 2022-09-29 00:20:34 -04:00
Jonathan "Duke" Leto
2c99fdb43d Add placeholder in relnotes for next release and add note in release process docs 2022-09-28 05:19:36 -07:00