Commit graph

30 commits

Author SHA1 Message Date
Jack Robison
00628b5596
increase cache sizes 2022-05-01 11:34:50 -04:00
Jack Robison
2f15fc56cd
reduce cache size 2022-04-30 18:17:46 -04:00
Jack Robison
6e69e1a272
remove unused attribute 2022-04-28 15:53:00 -04:00
Jack Robison
c30ef1d409
add merkle and tx lru caches to BlockchainReaderService
-updates batched `HubDB.get_transactions_and_merkles` to use and set new lru caches
-caches txs from new blocks in anticipation of those txs being requested soon
-removes _tx_and_merkle_cache
-fixes metrics namespace
2022-04-28 15:48:42 -04:00
Jack Robison
2d75d62d3f
add FastMerkleCacheItem for faster block tx merkle proofs 2022-04-28 15:44:41 -04:00
Jack Robison
1bf079e177
batched merkle proofs 2022-04-15 16:58:20 -04:00
Jack Robison
b5f46af3b4
store block hashes in memory 2022-04-15 16:58:20 -04:00
Jack Robison
37b6c91ba6
block_txs 2022-04-15 16:58:20 -04:00
Jack Robison
e9e5471ad3
fix cache 2022-04-15 16:58:20 -04:00
Jack Robison
ca4dc1eaac
use multi_get for transaction.get_batch 2022-04-15 16:58:20 -04:00
Jack Robison
4f0359c177
expose rocksdb multi_get api for column families
-use multi_get for fetching tx hashes when they're not all held in memory
2022-04-13 15:49:29 -04:00
Jack Robison
881fdf347c
fix logging in migrator 2022-04-07 11:57:41 -04:00
Jack Robison
5d8a32368a
add a migrator to build the hashX status index and to compactify histories 2022-04-06 22:01:55 -04:00
Jack Robison
b1bb5927c7
faster get_hashX_status 2022-04-06 22:00:41 -04:00
Jack Robison
8a2517aa36
run in thread 2022-04-05 17:29:33 -04:00
Jack Robison
4cfc1b4765
precomputed address status upon new blocks and mempool
-adds HashXStatusPrefixRow and HashXMempoolStatusPrefixRow column families
2022-04-05 17:29:33 -04:00
Jack Robison
5763d38017
fix incorrectly caching mempool txs 2022-04-05 16:54:00 -04:00
Jack Robison
4936bd43b6
remove scribe-hub getrawtransaction calls, improve notifications 2022-04-04 10:36:30 -04:00
Jack Robison
60a1c2ec20
reduce cache sizes 2022-04-02 13:17:08 -04:00
Jack Robison
e07c3d39dc
improve limited_history performance 2022-04-01 10:50:51 -04:00
Jack Robison
25915d3ec9
cleanup 2022-03-24 13:22:18 -04:00
Jack Robison
ca2ca23892
cleanup 2022-03-24 12:54:22 -04:00
Jack Robison
ba1a93b9b0
re-add 'blockchain.address.listunspent and blockchain.address.getbalance to scribe-hub 2022-03-23 14:02:26 -04:00
Jack Robison
32b8afe154
more efficient mempool tx refresh
-hopefully safer from the rare RocksIOError without a bare iterate()
2022-03-23 12:10:09 -04:00
Jack Robison
f59adef282
block scribe-hub and scribe-elastic-sync startup on scribe initially catching up
fixes https://github.com/lbryio/scribe/issues/1
2022-03-22 12:17:47 -04:00
Jack Robison
bd68613b74
fix catch_up 2022-03-16 22:50:40 -04:00
Jack Robison
50b3acb4e6
refactor handling blocked claims in serialization 2022-03-16 15:32:44 -04:00
Jack Robison
0daf205cb0
add channel and repost txo info to ResolveResult
-used to set references in Outputs, allows for faster serialization of resolve/claim_search responses
-requires resyncing elasticsearch
2022-03-15 23:56:37 -04:00
Jack Robison
0d7483a044
fix cache_all_tx_hashes for readers 2022-03-13 14:26:40 -04:00
Jack Robison
dfef80d9c2
initial 2022-03-08 12:41:51 -05:00