Commit Graph
31596 Commits
Author SHA1 Message Date
Duke e993acb2f0 Fix missing hashFinalSaplingRoot in block header 2023-06-13 16:21:25 -04:00
Duke 2525dc6734 Merge branch 'dev' into reduce_memory 2023-06-13 16:08:09 -04:00
Duke 5f9bb80873 Remove unused function 2023-06-12 19:06:50 -04:00
Duke 67c7632062 Remove dead code 2023-06-12 19:06:41 -04:00
Duke 487fff149c Remove dead code related to invalid joinsplit sigs 2023-06-12 07:59:53 -07:00
Duke 18f0689695 Avoid ztx validation during IBD if height is less than latest checkpoint 2023-06-12 07:55:45 -07:00
Duke fc921eba57 Remove dead code 2023-06-09 00:00:42 -04:00
Duke 04c28e3eef Disable run-time asserts in addrman
Run-time asserts are a horrible anti-pattern littered across code
inherited from BTC. One could maybe argue they are the right thing to do
in some situations but not when managing the peer database. Crashing our
full node and potentially corrupting our wallet or block index is INSANE
in the case of some inconsistencies in peers.dat .
2023-05-20 06:12:40 -07:00
duke 4124633442 Merge pull request 'Fixes compilation failing with gcc13.x' (#298) from gcc13 into dev
Reviewed-on: https://git.hush.is/hush/hush3/pulls/298
2023-05-17 01:24:03 +00:00
jahway603 121ec4b9d4 successfully built with gcc13.x 2023-05-16 17:29:13 -04:00
jahway603 c902701715 unfuxing to fix https://git.hush.is/hush/hush3/issues/293 2023-05-15 13:55:20 -04:00
jahway603 b3a6c2bee1 Import RandomX from https://github.com/tevador/RandomX/commit/040f4500a6e79d54d84a668013a94507045e786f without audits/ directory 2023-05-15 13:47:05 -04:00
jahway603 73a54682b8 ARM commit - have to squash these damn commits... 2023-04-28 12:24:06 -04:00
jahway603 4524ca1ccb fixed script to fix Issue #294 2023-04-27 23:02:36 -04:00
jahway603 2b5d7a1779 Merge remote-tracking branch 'origin/dev' into jahway603 2023-04-27 21:06:23 -04:00
jahway603 12f746b391 build script to xcompile ARM64 (aarch64) 2023-04-27 21:06:10 -04:00
jahway603 78978dfc45 Reverting to commit dd9be59e4 or current origin/dev branch 2023-04-27 16:27:25 -04:00
Duke 18eea5cb03 Merge branch 'duke' of https://git.hush.is/hush/hush3 into duke 2023-04-27 07:10:08 -04:00
Duke 519743f704 Only log to stderr in CalculateNextWorkRequired and GetNextWorkRequired if -debug 2023-04-23 07:03:05 -07:00
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