Commit Graph
31427 Commits
Author SHA1 Message Date
Duke d840a0ec62 Only log nbits in ContextualCheckBlockHeader if -debug 2023-04-23 06:56:19 -07:00
Duke a6924bb061 Give a useful message if autoconf is not installed 2023-04-23 06:29:48 -07:00
Duke 883fbe407f Revert "Add libleveldb-dev to build dependencies"
This reverts commit fab9a7f51d.
2023-04-23 06:23:18 -07:00
Duke 9602e715ed Fix compile issue 2023-04-23 09:13:21 -04:00
Duke b197c18ffc . 2023-04-23 09:05:51 -04:00
Duke ca6a1c48bb Make GetBlockHash() calculate the blockhash if phashBlock is null 2023-04-23 06:02:22 -07:00
Duke fbda7b8dec Fix compile issues 2023-04-22 19:28:24 -04:00
Duke 7102d50a47 Try to prevent #266
We seem to have a bug that we don't find a peer when looking for a peer
in peers.dat . Instead of doing an assertion and crashing the node,
just keep iterating in the loop. The code which computes nId may have an
off-by-one error, such that it looks up an incorrect bucket position and
doesn't find a valid nId.
2023-04-22 15:54:13 -07:00
Duke cf1274a42a Remove unnecessary consistency checks
As per https://github.com/zcash/zcash/issues/6532 this should speed up
startup times by roughly 3X and drastically reduce disk i/o on startup.
2023-04-20 04:47:20 -07:00
Duke 513ebc5bb4 Say which height we are at when we get an assertion from GetBlockHash 2023-04-19 11:01:20 -04:00
Duke f8939d2fd9 Fix src/cc compile 2023-04-19 10:38:21 -04:00
Duke bc1d6be55f Add leveldb/include header dir to src/Makefile.am 2023-04-17 14:32:02 -07:00
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
onryo fab9a7f51d Add libleveldb-dev to build dependencies
Fixes "leveldb/db.h: No such file or directory" error.
2023-04-16 15:53:48 +00: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
jahway603 e9036402ca build.sh change 2023-04-06 13:21:34 -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
jahway603 784744b5b8 added to AUTHORS 2023-04-06 02:21:20 -04:00
jahway603 e572b2922e add missing aarch64 (ARM64) build dependency 2023-04-06 02:15:55 -04:00
jahway603 51ee606547 changed make to for freebsd support 2023-04-05 23:44:04 -04:00
Duke 0b68ea2a20 Disable rust docs to speed up build times 2023-04-05 19:31:15 -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 75c42512ea more changes for freebsd support 2023-04-05 17:09:11 -04:00
jahway603 e0f27459b0 more changes for freebsd support 2023-04-05 16:51:36 -04:00
jahway603 31ac51d58d added freebsd into build.sh 2023-04-05 16:39:15 -04:00
jahway603 dd9be59e4f Merge pull request 'Fixes compilation failing on Arch Linux (gcc/g++12) and Ubuntu 22.04 (gcc/g++11)' (#282) from jahway603 into dev
Reviewed-on: https://git.hush.is/hush/hush3/pulls/282
2023-04-04 18:58:54 +00:00
jahway603 7eadeb860e Merge branch 'dev' into jahway603 2023-04-04 18:58:08 +00: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 ca26403c4a Merge pull request 'merge conflicts blow goats' (#280) from jahway603 into dev
Reviewed-on: https://git.hush.is/hush/hush3/pulls/280
2023-04-03 23:37:22 +00:00
jahway603 ca36706001 merge conflicts blow goats 2023-04-03 19:35:38 -04:00
jahway603 188384cf85 Merge branch 'jahway603' into dev 2023-04-03 23:30:32 +00: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 d1b649825a Merge branch 'duke' into dev 2023-03-17 14:07:19 -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