Commit Graph
8 Commits
Author SHA1 Message Date
Duke 0d79d11a95 Use Tor v3 .onion in qa tests 2023-01-28 08:44:36 -08:00
Duke 9519e3a6cd Merge branch 'bip155' of https://git.hush.is/hush/hush3 into bip155 2023-01-18 23:24:38 -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
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