Commit graph

302 commits

Author SHA1 Message Date
Jack Robison
3b7850802a
Merge pull request #35 from lbryio/optional-address-history-status
Expose `--index_address_statuses` setting and improve first sync performance
2022-05-17 20:14:59 -04:00
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
Jack Robison
195bc7c69d
Merge pull request #37 from lbryio/fix-resolve-duplicate-claims-in-channel
fix resolving duplicate names in a channel
2022-05-17 11:34:29 -04:00
Jack Robison
19ac0e83ad
fix https://github.com/lbryio/scribe/issues/16 2022-05-17 11:26:16 -04:00
Jack Robison
d6d758c5c1
fix es timeout 2022-05-09 11:20:15 -04:00
Jack Robison
9fa232e3a1
Merge pull request #28 from lbryio/update-settings
Improve documentation
2022-05-05 17:27:59 -04:00
Jack Robison
a00b11822a
readme 2022-05-05 17:22:14 -04:00
Jack Robison
5d0868704b
add instructions for blocking/filtering 2022-05-05 17:19:44 -04:00
Jack Robison
bda9561178
type annotations 2022-05-05 16:50:39 -04:00
Jack Robison
6f22767486
split env classes 2022-05-05 16:34:27 -04:00
Jack Robison
b230a13761
add lbcd-compose.yml 2022-05-04 16:52:07 -04:00
Jack Robison
53206a0861
update readme and docker files 2022-05-04 15:24:47 -04:00
Jack Robison
10baf47c02
lbcd volume 2022-05-04 13:00:16 -04:00
Jack Robison
7f277dda2f
add lbcd to all-in-one docker-compose 2022-05-04 13:00:16 -04:00
Jack Robison
5a0af081e6
update readme and example docker-composes 2022-05-04 13:00:16 -04:00
Jack Robison
a1e5d22570
update example docker-compose 2022-05-04 13:00:16 -04:00
Jack Robison
ca39d38dda
improve cli/env settings
-remove unused settings
-add help strings
-fix required settings
2022-05-04 13:00:16 -04:00
Jack Robison
9efddcdbf9
remove unnecessary docker-compose down in deploy script 2022-05-04 12:59:36 -04:00
Jack Robison
95495aa786
Merge pull request #30 from lbryio/get-transaction-json
fix `verbose` arg for `blockchain.transaction.get`
2022-05-02 18:07:02 -04:00
Jack Robison
9525c86a78
add fixmes for fields that aren't yet matching lbrycrd 2022-05-02 18:05:49 -04:00
Jack Robison
a9a4f87628
fix peer list 2022-05-02 17:58:15 -04:00
Jack Robison
4e8c8d4054
return transaction as json if verbose is given to blockchain.transaction.get
-fixes https://github.com/lbryio/scribe/issues/27
2022-05-02 15:20:58 -04:00
Jack Robison
00628b5596
increase cache sizes 2022-05-01 11:34:50 -04:00
Jack Robison
efd064b104
Merge pull request #29 from lbryio/improve-tx-caches
Improve merkle proof and tx cache performance
2022-04-30 19:23:52 -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
c56b7fb133
Merge pull request #25 from lbryio/multiget-transactions
use `multi_get` for fetching transactions
2022-04-16 11:19:13 -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
21d983032e
test dockerhub ci 2022-04-14 13:10:32 -04:00
Jack Robison
648e782df6
fix dockerhub action 2022-04-14 13:02:32 -04:00