Commit graph

186 commits

Author SHA1 Message Date
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
Jack Robison
e9f2b1efea
asyncio.sleep less often 2022-05-20 11:32:39 -04:00
Jack Robison
cb1ed3beb1
history_tx_info_cache metrics 2022-05-19 16:36:55 -04:00
Jack Robison
e5713dc63c
improve caching for blockchain.address.get_history 2022-05-19 12:56:17 -04:00
Jack Robison
9a6f2a6d96
update examples and deploy script 2022-05-19 10:37:38 -04:00
Jack Robison
844bdbdf60
update readme 2022-05-18 16:49:42 -04:00
Jack Robison
8d125f8d44
Update README.md 2022-05-18 16:34:29 -04:00
Jack Robison
36c1471dcf
Update README.md 2022-05-18 16:31:52 -04:00
Jack Robison
9e9c778edd
Merge pull request #38 from lbryio/rename-things
Rename package to `hub`
2022-05-18 16:18:21 -04:00
Jack Robison
87c8457144
fix dockerfile 2022-05-18 15:37:22 -04:00
Jack Robison
b873f75ff6
update entrypoint 2022-05-18 15:08:56 -04:00
Jack Robison
706971edbe
fix logging 2022-05-18 14:41:34 -04:00
Jack Robison
f8022c9c9a
move docker compose examples into docs 2022-05-18 13:42:36 -04:00
Jack Robison
4f7d2af1fa
delete unused 2022-05-18 13:42:25 -04:00
Jack Robison
a919a3a519
move search.py to herald 2022-05-18 13:34:36 -04:00
Jack Robison
37fc334c46
update docker and entrypoints 2022-05-18 13:13:29 -04:00
Jack Robison
30e295ec28
move notifier_protocol.py 2022-05-18 12:02:08 -04:00
Jack Robison
301a0ca66d
rename scribe.elasticsearch -> hub.elastic_sync 2022-05-18 10:57:08 -04:00
Jack Robison
060e423707
rename scribe.hub -> hub.herald 2022-05-18 10:56:09 -04:00
Jack Robison
0da235bceb
rename scribe.blockchain -> hub.scribe 2022-05-18 10:55:12 -04:00
Jack Robison
27e09d7aa7
rename repo to lbry-hub and module to hub 2022-05-18 10:50:20 -04:00
Jack Robison
0eeab397cf
move files to docs folder 2022-05-18 10:44:42 -04:00
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