Commit Graph

24098 Commits

Author SHA1 Message Date
onryo
2f8a138cce add torv3 seed 2023-01-20 13:42:24 +01:00
jahway603
fc27972beb added i2p seed and wtfistheinternet seed 2023-01-19 19:12:06 -05:00
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
da5ae526e7 Fix compile issue 2022-12-18 13:51:50 -08:00
Duke
ae64eb2392 Remove alerts 2022-12-18 08:24:49 -08: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
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