onryo
58b65f9670
Update copyrights
3 months ago
Duke
a581f8fc8e
Fix compile error and remove some cryptocondition dingleberries
3 months ago
Duke
07b041fd94
Do not apply overwinter/sapling consensus rules to block 0
3 months ago
Duke
b14070d15b
Overwinter+sapling consensus rules do not apply to height=0
3 months ago
Duke
c94906e011
Do not spam debug.log with 'Received addr' unless -debug
3 months ago
Duke
acee1c8cf5
Do not spam debug.log with 'Received addr' unless -debug
3 months ago
Duke
90d47ecce4
Potentially fix #382 by not checking the genesis block against sapling consensus rules
3 months ago
Duke
27db254d68
Sapling and Overwinter network upgrades are always active
These NU's are always active for Hush Arrakis Chains so this code only serves
to slow down all operations by constantly being checked. So we disable them
which will speed up syncing, mining and creating transactions.
4 months ago
Duke
b0b9565d6a
Sapling and Overwinter network upgrades are always active
4 months ago
Duke
3a3c67e0fc
Delete many things we do not want or need
4 months ago
Duke
90133dbc0e
Also log flush mode in FlushStateToDisk()
5 months ago
Duke
20fdc0e4fe
Get rid of deprecation entirely which allows current code to run past block height 5555555
5 months ago
Duke
2a2391f0f9
Log when trimming block solutions
5 months ago
Duke
4256e7d835
Suppress 'Ignoring nbits' debug
7 months ago
Duke
14d3ae1785
Reject ztxs with duplicate zkproofs
This is a greatly simplified and slightly tweaked version of
af2e3713e2
Their version will detect duplicate zkproofs across transactions while
this code will only detect duplicate zkproofs in a single ztx. If dupes
are found, the tx will be denied entry into the mempool.
This provides most of the benefit (increased CPU cost to attackers) with the
least code change and no annoyance to full node operators. Detecting
duplicate zkproofs across transactions requires a one-time reindex of
all of history, which means significant downtime for nodes.
Since Hush + HSCs have a much more strict policy on number of shielded
outputs and shielded inputs, only detecting duplicate zkproofs in
individual ztxs seems sufficient for now.
No correctly functioning node or wallet will ever create duplicate
zkproofs, so there is no worry of this accidentally affecting normal
users. Currently this is not a consensus rule but it could become one
in the future.
7 months ago
Duke
aa5cbee69c
Remove dead code
8 months ago
Duke
13612bb1c8
Better error message when hashPrevBlock != view.GetBestBlock
11 months ago
Duke
5f9bb80873
Remove unused function
11 months ago
Duke
487fff149c
Remove dead code related to invalid joinsplit sigs
11 months ago
Duke
18f0689695
Avoid ztx validation during IBD if height is less than latest checkpoint
11 months ago
Duke
d840a0ec62
Only log nbits in ContextualCheckBlockHeader if -debug
1 year ago
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.
1 year ago
Duke
053e9156a7
Fix progress estimate for HUSH at startup
1 year ago
Duke
15aaf4af44
Remove mempool p2p message #284
1 year ago
Duke
8c8f451be8
Remove dead code from CheckTransaction()
1 year ago
Duke
63ad87f69b
Ensure CNode::addrKnown immediately takes little memory when we disconnect the node
1 year ago
Duke
c1baab7b8a
Rate limit incoming addr p2p messages
1 year ago
Duke
bde7273c9f
Remove mapRequest tracking
1 year ago
Duke
e033a2e6eb
Update copyrights to 2023
1 year ago
zanzibar
512da314a5
BIP155 (addrv2)
Tor v3 + i2p
1 year ago
Duke
da5ae526e7
Fix compile issue
1 year ago
Duke
ae64eb2392
Remove alerts
1 year ago
onryo
f2f6019620
rm hashFinalSproutRoot
related to #248
1 year ago
Jonathan "Duke" Leto
5d2307a709
Update copyrights to 2022
2 years ago
Duke Leto
55703fdb95
Do not ban nodes which relay expired transactions
2 years ago
Duke Leto
a3258de217
less debug by default from IsInitialBlockDownload
2 years ago
Duke Leto
66e9bd835a
less debug
2 years ago
Duke Leto
d078eed3cf
reduce some debugging in non-randomx code
2 years ago
Duke Leto
a45150eac4
yet more debug
2 years ago
Duke Leto
4988ce6f2e
much debug such wow
2 years ago
Duke Leto
90bb8c7cf4
Fix incorrect comment
2 years ago
Duke Leto
a157a5c6a1
update
2 years ago
Duke Leto
b4f38e2a77
Increase nMinDiskSpace to 1GB
2 years ago
Duke Leto
f22cbbf1e2
Cleanup and remove dead code
3 years ago
Duke Leto
49713d8a04
Various things
3 years ago
Duke Leto
31fa46e2a1
Extra debug for notary stuff
3 years ago
Duke Leto
4fecf72ec8
Remove dead code
3 years ago
Duke Leto
59fbcbb541
.
3 years ago
Duke Leto
b30fae8238
clean up some more
3 years ago
Duke Leto
5c83c1b4e7
Cleanup
3 years ago