Commit graph

273 commits

Author SHA1 Message Date
Jack Robison
0918299163 use LFU caches 2022-07-31 15:38:53 -04:00
Jack Robison
a46343c84f add LFUCache and LFUCacheWithMetrics 2022-07-31 15:38:53 -04:00
Jack Robison
eb87474b48 expose tx_cache_size setting 2022-07-17 13:56:34 -04:00
Jack Robison
fc9b0af5b6 expose resolved_url_cache_size 2022-07-17 13:56:34 -04:00
Jack Robison
a41abc870d expose merkle_cache_size setting 2022-07-17 13:56:34 -04:00
Jack Robison
78e9d7b50b
add example scripts for manually copying docker volumes 2022-07-06 16:00:38 -04:00
dependabot[bot]
a10beac943 Bump ujson from 5.2.0 to 5.4.0
Bumps [ujson](https://github.com/ultrajson/ultrajson) from 5.2.0 to 5.4.0.
- [Release notes](https://github.com/ultrajson/ultrajson/releases)
- [Commits](https://github.com/ultrajson/ultrajson/compare/5.2.0...5.4.0)

---
updated-dependencies:
- dependency-name: ujson
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-06 13:08:21 -04:00
Jack Robison
9e3963ba23
fix resolve error messages 2022-06-30 12:37:12 -04:00
Jack Robison
3b2b8f814c add wait_until_block testing helper to BlockchainProcessorService 2022-06-30 11:22:17 -04:00
Jack Robison
2363865e00 prune stale trending notifications during initial bulk sync 2022-06-30 11:22:17 -04:00
Jack Robison
903a44d991 add mempool time metric for scribe prometheus 2022-06-30 11:22:17 -04:00
Jack Robison
6b46f0488d fix scribe prometheus 2022-06-30 11:22:17 -04:00
Jack Robison
c3703fd13f fix using lbcd with ssl 2022-06-30 11:22:17 -04:00
Jack Robison
79b84d89a3 batched claim txo fetching for the ES claim producers 2022-06-30 11:22:17 -04:00
Jack Robison
ac01a17214 fix estimate_timestamp 2022-06-27 18:56:59 -04:00
Jack Robison
a86388f6de add resolved url lru cache 2022-06-27 18:56:59 -04:00
Jack Robison
4b90097997 increase cache sizes for Tx, TxNum, and TxHash prefixes 2022-06-27 18:56:59 -04:00
Jack Robison
0094237b97 update default ADDRESS_HISTORY_CACHE_SIZE 2022-06-27 18:56:59 -04:00
Jack Robison
028143ec7e reduce tx_cache and merkle_cache sizes 2022-06-27 18:56:59 -04:00
Jack Robison
ea7b55f1f0
fix issue with claims for the same channel, related to https://github.com/lbryio/hub/issues/51 2022-06-17 01:21:11 -04:00
Jack Robison
b069e3d824
fix https://github.com/lbryio/hub/issues/51 2022-06-17 00:53:46 -04:00
Jack Robison
2038877e4e
update example docker composes to use master 2022-06-16 18:00:44 -04:00
Jack Robison
6c0f901d33
fix updating the block height in udp pong responses 2022-06-16 15:26:54 -04:00
Jack Robison
1a5fd214b9
Update cluster_guide.md 2022-06-15 17:57:07 -04:00
Jack Robison
5512a841e1
update docker build action 2022-06-15 17:42:13 -04:00
kodxana
983955f5d0 Update docker-image.yml 2022-06-15 17:40:50 -04:00
Jack Robison
23ac3fcd89
Merge pull request #49 from lbryio/lbcd-ssl
add `--daemon_ca_path` arg to use ssl with lbcd
2022-06-15 10:13:28 -04:00
Jack Robison
9dbd8cab4b
add --daemon_ca_path arg to use ssl with lbcd
fixes https://github.com/lbryio/hub/issues/41
2022-06-14 15:25:28 -04:00
Jack Robison
6fd718f353
Merge pull request #48 from lbryio/initialize-from-snapshot
Optionally initialize rocksdb from a snapshot
2022-06-14 14:35:22 -04:00
Jack Robison
09ea58c062
update examples 2022-06-14 14:20:31 -04:00
Jack Robison
fbe68d516c
optionally initialize rocksdb from a snapshot
fixes https://github.com/lbryio/hub/issues/10
2022-06-14 13:59:53 -04:00
Jack Robison
4187afd165
Merge pull request #45 from lbryio/batched-status
Use multi_get for resolve and address statuses
2022-06-14 13:53:12 -04:00
Jack Robison
5d44018018
batched resolve using multi_get 2022-06-10 09:31:08 -04:00
Jack Robison
287de0807c
remove unused code 2022-05-31 16:42:23 -04:00
Jack Robison
e9be86229d
address_history_cache_size 2022-05-31 12:23:21 -04:00
Jack Robison
237b78ee63
use multi_get for sending history notifications and for batched subscriptions 2022-05-27 14:06:34 -04:00
Jack Robison
f1d51eae7b
add get_hashX_statuses, using multi_get 2022-05-27 14:05:43 -04:00
Jack Robison
709ea1ebcb
set constant relayfee and and estimatefee values 2022-05-27 13:57:52 -04:00
Jack Robison
9f2e329d99
Merge pull request #43 from lbryio/cleanup-db
Split up the db classes used by the different hub services
2022-05-27 12:54:21 -04:00
Jack Robison
76dd9c392b
fix uncaught error returning transactions that dont yet exist 2022-05-27 11:58:09 -04:00
Jack Robison
78bd2da267
cache estimated_timestamp 2022-05-27 10:05:13 -04:00
Jack Robison
0901f67d89
split up secondary/primary db classes 2022-05-27 09:47:23 -04:00
Jack Robison
66278443c4
Merge pull request #42 from lbryio/dependabot/pip/ujson-5.2.0
Bump ujson from 5.1.0 to 5.2.0
2022-05-27 09:43:36 -04:00
dependabot[bot]
c11aba7aa4
Bump ujson from 5.1.0 to 5.2.0
Bumps [ujson](https://github.com/ultrajson/ultrajson) from 5.1.0 to 5.2.0.
- [Release notes](https://github.com/ultrajson/ultrajson/releases)
- [Commits](https://github.com/ultrajson/ultrajson/compare/5.1.0...5.2.0)

---
updated-dependencies:
- dependency-name: ujson
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-26 01:23:19 +00:00
Jack Robison
c43ec575ae
Update cluster_guide.md 2022-05-24 15:31:58 -04:00
Jack Robison
a7e6bcb366
fix metric 2022-05-22 12:11:24 -04:00
Jack Robison
fb98a4d7d0
Merge pull request #40 from lbryio/improve-history-cache
Improve `blockchain.address.get_history` performance
2022-05-22 00:00:38 -04:00
Jack Robison
75e9123eaf
update the history cache in place instead of clearing/rebuilding 2022-05-21 15:25:07 -04:00
Jack Robison
7263ec553e
asyncify for loop 2022-05-20 14:43:27 -04:00
Jack Robison
4466bb1451
address_subscriptions gauge and history_size histogram metrics 2022-05-20 11:58:18 -04:00