Howard Chu and Howard Chu
1c600a492f
Fix randomx cache selection for RPCs
...
Was using the wrong cache slot, and returning invalid PoW hashes to RPC clients
2019-10-03 20:05:17 +01:00
Howard Chu and Howard Chu
3ff54bdd7a
Check for correct thread before ending batch transaction
2017-01-15 15:51:57 +00:00
Howard Chu and Howard Chu
eaf8470b29
Must wait for previous batch to finish before starting new one
2017-01-14 22:43:06 +00:00
Howard Chu and Howard Chu
c903c5541e
Don't cache block height, always get from DB
2017-01-14 22:43:06 +00:00
Howard Chu and Howard Chu
eb1fb6011a
Tweak default db-sync-mode to fast:async:1
...
fsync the DB asynchronously, to allow block download/verification
to proceed while syncing. Sync after every batch. Note that
"fastest" still defaults to fastest:async:1000.
2017-01-14 22:43:06 +00:00
Howard Chu and Howard Chu
0693cff925
Use batch transactions when syncing
...
Faster throughput while avoiding corruption. I.e., makes
running with --db-sync-mode safe more tolerable.
2017-01-14 22:43:06 +00:00
Howard Chu and Howard Chu
5a07cefe7b
Wrap some more actions in a larger read txn
2016-02-23 20:47:15 +00:00