Commit Graph
24456 Commits
Author SHA1 Message Date
Duke d181029d27 Include path for leveldb when compiling cc #290 2023-04-17 08:46:44 -07:00
Duke 4d6c451314 Try to fix #290 2023-04-17 08:38:30 -07:00
Duke e8dc755f06 Reduce memory usage of CBlockIndex
Ported code from https://github.com/zcash/zcash/pull/6192 with various changes needed
for the Hush codebase.
2023-04-13 23:30:23 -04:00
Duke 053e9156a7 Fix progress estimate for HUSH at startup 2023-04-12 10:08:09 -04:00
Duke 852f747cbf Remove dead code 2023-04-06 13:39:42 -04:00
Duke c1ec1b0e95 Remove dead code 2023-04-06 13:31:07 -04:00
Duke fba0d4136d Remove code for unsupported chains 2023-04-06 13:28:14 -04:00
Duke 533356ce63 Remove more dead code related to interest 2023-04-06 13:22:20 -04:00
Duke c69a47dd61 Remove dead code relating to interest 2023-04-06 13:05:20 -04:00
Duke 15aaf4af44 Remove mempool p2p message #284 2023-04-06 12:59:31 -04:00
Duke f0ee52a94d Remove dead code 2023-04-06 12:44:37 -04:00
Duke 4c5649454b Fix const-ness of ReadTxIndex 2023-04-06 12:44:30 -04:00
Duke 8c8f451be8 Remove dead code from CheckTransaction() 2023-04-06 12:37:10 -04:00
Duke b4be7aa19b malloc_trim does not seem to exist on FreeBSD 2023-04-06 05:40:30 -07:00
Duke 98ee2a6a4f Declare various CBlockTreeDB methods as const
Ported from https://github.com/zcash/zcash/commit/fb66589022df4a0eff6ff244aa6b713c3a2bb2dd
which has some methods we do not yet have.
2023-04-05 19:24:30 -07:00
Duke f3c0cb73bb Merge branch 'dev' into duke 2023-04-05 19:18:18 -07:00
jahway603 e1d6f7dd0e successfully built in Arch Linux with gcc12 2023-04-04 12:53:46 -04:00
jahway603 7f09d37cd4 reverted deleted code 2023-04-04 09:34:16 -04:00
jahway603 bb7cb253c1 miodrag patches to help get gcc12 building hushd 2023-04-03 22:23:30 -04:00
jahway603 ca36706001 merge conflicts blow goats 2023-04-03 19:35:38 -04:00
jahway603 10eb871026 merging dev into jahway603 branch 2023-04-03 19:29:06 -04:00
Duke 8126e706c6 Optional OP_RETURN in z_sendmany 2023-03-24 16:20:17 -04:00
Duke 63ad87f69b Ensure CNode::addrKnown immediately takes little memory when we disconnect the node 2023-03-17 00:21:00 -04:00
Duke c1baab7b8a Rate limit incoming addr p2p messages 2023-03-16 22:33:25 -04:00
jahway603 d134fcf988 removed unused function to resolve Issue #273 2023-03-15 23:12:31 -04:00
Duke bde7273c9f Remove mapRequest tracking 2023-03-14 15:54:28 -04:00
Duke 560f8e2f41 Remove unused GetRequestCount() 2023-03-14 14:44:14 -04:00
Duke 71928fa228 Randomize order of processing messages from peers 2023-03-14 14:42:39 -04:00
fekt ac413ecb2e Adding Mac SDX paths 2023-03-03 20:20:47 -05:00
fekt 883e598994 Fix for #270 to allow subnets
This seems to work as expected and allows CIDR, subnet, and single IP while rejecting IPs out of range.
2023-02-18 17:30:33 +00:00
Duke a0d02cc3be Batch files for dragonx-cli and dragonxd 2023-02-15 18:06:09 -08:00
Duke 94500a6e39 Reduce stderr spam 2023-02-10 11:27:11 -05:00
Duke 47c67e45db checkpoints 2023-02-09 18:22:57 -05:00
Duke e033a2e6eb Update copyrights to 2023 2023-02-09 18:06:03 -05:00
Duke 2c9bd5dd18 abortrescan 2023-02-09 17:17:00 -05:00
Duke 537307a812 Bump version and protocol version 2023-02-09 13:53:55 -08:00
Duke b360a2395a Allow abortrescan to be called via RPC 2023-02-09 13:45:45 -08:00
duke 07505e311d Merge pull request 'correct ac_supply documented default' (#236) from jahway603 into dev
Reviewed-on: https://git.hush.is/hush/hush3/pulls/236
2023-02-09 21:16:00 +00:00
onryo 9f90de2404 add more seeds 2023-02-08 19:17:54 +01:00
fekt 64d601047b Fix for wind0ze cross-compile 2023-02-06 01:18:18 -05:00
Duke a7939139b2 Merge remote-tracking branch 'origin/abortrescan' into dev
Conflicts:
	src/wallet/wallet.cpp
2023-02-05 18:16:36 -08:00
Duke 9977e12acf Merge branch 'dragonx' into dev 2023-02-05 18:08:40 -08:00
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