Duke
c933771f85
Merge branch 'danger' into duke
2023-06-17 21:40:36 -04:00
Duke
fc69220e78
Remove unused code
2023-06-17 21:38:39 -04:00
Duke
b03c8f3108
Remove unused code
2023-06-17 21:31:05 -04:00
Duke
31cc5ee901
Remove unused code
2023-06-17 21:22:41 -04:00
Duke
8f7e53a6fe
Merge branch 'duke' into danger
2023-06-17 09:52:34 -04:00
Duke
5abc550af7
Dragonx has a blocktime of 36s not 60s
2023-06-17 09:52:12 -04:00
Duke
e608600f07
Merge branch 'duke' into danger
2023-06-17 09:48:31 -04:00
Duke
97c7e814cf
Add checkpoints for DRAGONX
2023-06-15 15:47:14 -04:00
Duke
1f0b538540
Take into account ac_name to calculate total txs
2023-06-15 15:43:08 -04:00
Duke
f12bfeb7f4
Fix bug where it uses the wrong -ac_name
2023-06-15 15:38:16 -04:00
Duke
b8ae39ccc7
Enable the option for dragonx checkpoints
2023-06-15 10:25:59 -04:00
Duke
c9f1fe4cf3
Support arbitrary -ac_name in checkpoints.pl
2023-06-15 10:13:01 -04:00
Duke
f05cb0cfbd
Fix nspv
2023-06-14 00:08:16 -04:00
Duke
13612bb1c8
Better error message when hashPrevBlock != view.GetBestBlock
2023-06-13 22:58:36 -04:00
Duke
79f126be43
Use default jobs number when compiling boost
...
According to current boost docs, not specifying -j parameter will default to using all cores to compile,
so removing these should speed up compiling boost. This code dates back to 2014 when the default
may have been a single core, so it was specified.
2023-06-13 22:43:16 -04:00
Duke
31d97c7c9c
Spell it correctly
2023-06-13 16:24:54 -04:00
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 040f4500a6 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