Expose --index_address_statuses setting and improve first sync performance #35

Merged
jackrobison merged 15 commits from optional-address-history-status into master 2022-05-18 02:14:59 +02:00

15 commits

Author SHA1 Message Date
Jack Robison
14b14686f4
update readme 2022-05-17 19:58:01 -04:00
Jack Robison
830ee294ef
batched catch up for the address status index 2022-05-17 19:20:31 -04:00
Jack Robison
25a8c6b558
remove unneeded labels from prometheus 2022-05-17 11:59:39 -04:00
Jack Robison
f747637688
reduce cache sizes 2022-05-17 11:34:59 -04:00
Jack Robison
bf1667b44d
fix turning address status index on and off 2022-05-17 11:34:59 -04:00
Jack Robison
51a753c4d2
fix settings 2022-05-17 11:34:59 -04:00
Jack Robison
32c21a26a9
cleanup 2022-05-17 11:34:59 -04:00
Jack Robison
708c45504a
delete unused code 2022-05-17 11:34:59 -04:00
Jack Robison
460a06ec04
reduce history_tx_info_cache size 2022-05-17 11:34:59 -04:00
Jack Robison
f91d2be91e
log if address status index is turned on 2022-05-17 11:34:59 -04:00
Jack Robison
d244136efd
add --index_address_statuses option
-scribe no longer writes address statuses nor compacts them during initial sync
-scribe will only precompute address statuses if `--index_address_statuses` is set
-combine history compaction with updating the address status
2022-05-17 11:34:59 -04:00
Jack Robison
e4ac106b98
_get_clear_mempool_ops 2022-05-17 11:34:59 -04:00
Jack Robison
869fc1698c
add tx caching layer to scribe writer to improve performance when cache_all_tx_hashes isn't on 2022-05-17 11:34:59 -04:00
Jack Robison
02922845dd
add multi_put and multi_delete api to the db class 2022-05-17 11:34:59 -04:00
Jack Robison
c5f18a4166
expose --address_history_cache_size setting for scribe 2022-05-17 11:34:59 -04:00