Duke
0f4956dcd5
Initialize variables in z_getstats correctly
2023-09-04 08:50:05 -04:00
Duke
96ae2d61ca
z_getstats RPC that calculates various stats about ztxs in a block range
2023-09-04 08:22:12 -04:00
Duke
1c45a71b05
Remove dead code
2023-09-03 08:52:28 -04:00
Duke
e2521ac2fa
Remove unused sproutfunds argument
2023-09-03 08:48:06 -04:00
Duke
bd38a12512
Remove useless sprout key from coinsupply RPC
2023-09-03 08:40:06 -04:00
Duke
bacc08e817
Remove sprout data from valuePools
...
This codebase does not support sprout, the data will always be zero/empty
and is essentially useless cruft, so we delete it.
2023-09-03 08:37:19 -04:00
fekt
20ee425ece
Updated checkpoints
2023-06-29 23:31:53 -04:00
fekt
b7359ef70e
Update chainparamsseeds.h
2023-06-29 21:16:46 -04:00
nullfekt
03071ef0cd
Bump version
2023-06-29 20:23:28 -04:00
Duke
9508095186
Remove unused code
2023-06-29 11:48:30 -04:00
Duke
da46d48f1d
Use 20 different taddrs/scriptpubs for testing dedevtax
2023-06-28 08:46:47 -04:00
Duke
479ed54ff0
Add devtax address and scriptpub to getblocktemplate output
2023-06-23 09:13:11 -04:00
Duke
9d2720d118
Merge branch 'duke' into dev
2023-06-20 05:17:52 -07:00
Duke
9f92bdd7dc
Decentralized Devtax
2023-06-19 09:32:32 -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
97c7e814cf
Add checkpoints for DRAGONX
2023-06-15 15:47:14 -04:00
Duke
b8ae39ccc7
Enable the option for dragonx checkpoints
2023-06-15 10:25:59 -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
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
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
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
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
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