Duke
558f662a33
Do not apply sapling network rules to block height 0 or 1 in ScanForWalletTransactions
3 months ago
onryo
58b65f9670
Update copyrights
4 months ago
Duke
07b041fd94
Do not apply overwinter/sapling consensus rules to block 0
4 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.
5 months ago
Duke
f0395196ec
Do not resend wallet txs during IBD, rescan or loading blocks
8 months ago
Duke
b73297f1f5
More debugging when resending txs
8 months ago
Duke
4642a35f06
Stop building witnesses if abortrescan is called #331
8 months ago
Duke
ae0ff73548
Stop building witnesses if shutdown requested, fixes #330
8 months ago
Duke
533356ce63
Remove more dead code related to interest
1 year ago
Duke
c69a47dd61
Remove dead code relating to interest
1 year ago
Duke
b4be7aa19b
malloc_trim does not seem to exist on FreeBSD
1 year ago
jahway603
ca36706001
merge conflicts blow goats
1 year ago
jahway603
d134fcf988
removed unused function to resolve Issue #273
1 year ago
Duke
bde7273c9f
Remove mapRequest tracking
1 year ago
Duke
560f8e2f41
Remove unused GetRequestCount()
1 year ago
Duke
e033a2e6eb
Update copyrights to 2023
1 year ago
Jonathan "Duke" Leto
ca52c6beb8
Avoid potential coredump if pindex is NULL
2 years ago
Duke Leto
b94ec80307
Use RANDOMX_FLAG_FULL_MEM
2 years ago
Duke Leto
c36464ee1b
Fix bug in getrescaninfo
There was a small bug in getrescaninfo where when a rescan first starts, it
shows rescanning=true but progress=100% because rescanHeight was not initialized
correctly.
Also update our rescanHeight while we are fast-forwarding thru blocks which are
before the current wallet birthday.
2 years ago
Duke Leto
6fda12612d
Initial implementation of abortrescan
2 years ago
Duke Leto
29ec7b5fb6
Set rescanStartHeight before we lock cs_main + cs_wallet
2 years ago
Duke Leto
71923e3ffb
Initial implementation of getrescaninfo
2 years ago
Jonathan "Duke" Leto
5d2307a709
Update copyrights to 2022
2 years ago
Duke Leto
f90715192e
Do not delete expired txs for now, it doesn't work correctly, and log more info about them
2 years ago
Duke Leto
bd9006623c
Avoid coredumps in ReacceptWalletTransactions and log the situation, which is possibly caused by corrupt wallet tx data
2 years ago
Duke Leto
5b15d790f9
Parse sweep+consolidation intervals on startup, add consolidationinterval config option, change consolidation interval default to 25, only validate consolidatesaplingaddress if consolidation is enabled
2 years ago
Duke Leto
772160af6d
Add more logging for consolidation + sweeping
2 years ago
Duke Leto
61ecffd074
Change default sweep interval to 10 and consolidation to be deterministic every 45 blocks
2 years ago
Duke Leto
8d8f988a19
Delete expired txs from the wallet, since they can never be included in a block
2 years ago
Jonathan "Duke" Leto
3327b25a28
fix logging bug
2 years ago
Duke Leto
0c2487c427
Throw error in wallet if ReadBlockFromDisk fails
2 years ago
Duke Leto
63f9e22308
log the function name correctly
2 years ago
Duke Leto
4573a8336f
Fix compile error
2 years ago
Jonathan "Duke" Leto
26fd16cb52
Avoid relaying expired transactions which causes other nodes to ban us
2 years ago
Duke Leto
3730175971
Add some logging when skipping sweep/consolidation
2 years ago
Duke Leto
c6e5b07a59
You might be a king or a little street zsweeper, but sooner or later you will dance with the reaper
2 years ago
Duke Leto
afd3f93e2e
Throw error in wallet if ReadBlockFromDisk fails
2 years ago
Duke Leto
361998b5d2
Do not erase for now
3 years ago
Duke Leto
8faa5dec89
Erase old unconfirmed wallet transactions that are too old to be accepted by network consensus rules
3 years ago
Duke Leto
f19c70bfa6
Add missing newline to rescan log line
3 years ago
Duke Leto
b4cf845bf3
New listaddresses RPC and z_exportwallet RPC now can be called during RPC warmup
3 years ago
Duke Leto
38089e2d15
Only build witness cache when needed
3 years ago
Duke Leto
2c315965d7
Log data about clearing witness cache
3 years ago
Duke Leto
84f79558d5
Desprout
3 years ago
Duke Leto
4db320355b
Small optimizations during rescanning and ChainTip()
3 years ago
Duke Leto
4a536d62dc
Update copyrights
3 years ago
Duke Leto
4d252334bf
.
3 years ago
Duke Leto
8ed3ced34f
Log block height in AddToWallet
3 years ago
Duke Leto
fe95a524fa
Hush dat mempool
3 years ago
Duke Leto
cde6d33ad1
The term 'whitelist' is racist and so we choose to call this feature 'allowlist'
3 years ago