Jack Robison
faa43fc20e
use rocksdb instead of leveldb
...
-dont use block processor directly from session manager
2022-02-22 13:09:57 -05:00
Jack Robison
d7ecde7040
drop ES_MODE
hub setting, rename hub entry points
...
`lbry-hub-writer` - keeps an up-to-date database
`lbry-hub-server` - replies to clients with data from a read only snapshot of the db
`lbry-hub-elastic-sync` - watches for changes to the db and updates elasticsearch accordingly
2022-02-22 13:09:57 -05:00
Jack Robison
e2a75758f8
delete unused code
2022-02-22 13:09:57 -05:00
Jack Robison
f449cf61ab
update mempool in thread
2022-02-22 13:09:57 -05:00
Jack Robison
04db81e954
fix tests
2022-02-22 13:09:57 -05:00
Jack Robison
b49c9fd050
fix filtering/blocking
2022-02-22 13:09:57 -05:00
Jack Robison
3ff2bcf913
pylint
2022-02-22 13:09:57 -05:00
Jack Robison
3c03fff380
logging, update lbry-rocksdb requirement
2022-02-22 13:09:57 -05:00
Jack Robison
b1441d4247
wait for writing to finish before closing the db
2022-02-22 13:09:57 -05:00
Jack Robison
81458b75e4
fix unwinding readers during reorg
2022-02-22 13:09:57 -05:00
Jack Robison
f0f8ef044b
reduce hub writer polling delay
2022-02-22 13:09:57 -05:00
Jack Robison
47305e7446
executors
2022-02-22 13:09:57 -05:00
Jack Robison
ba6b985d71
cleanup debug logging
2022-02-22 13:09:57 -05:00
Jack Robison
49802b39cb
rocksdb column families
2022-02-22 13:09:57 -05:00
Jack Robison
46bcc5d725
executors for each reader, fix shutdown
2022-02-22 13:09:57 -05:00
Jack Robison
98f8fd0556
tests
2022-02-22 13:09:57 -05:00
Jack Robison
c0ce27ccf3
es sync notifier
2022-02-22 13:09:57 -05:00
Jack Robison
cfae30a364
reader/writer move from cli
2022-02-22 13:09:57 -05:00
Jack Robison
53e3828965
remove redundant undo cleanup, don't delete historic touched_or_deleted
2022-02-22 13:09:57 -05:00
Jack Robison
4f16f1c829
imports, impove errors
2022-02-22 13:09:57 -05:00
Jack Robison
478bd0510b
es writer
2022-02-22 13:09:57 -05:00
Jack Robison
499ee74dfc
add chain reader and reader server, new mempool, update block processor
2022-02-22 13:09:57 -05:00
Jack Robison
d3da442727
update undo key to include the block hash
2022-02-22 13:09:57 -05:00
Jack Robison
358fa21eaf
move Prefetcher to own file
2022-02-22 13:09:57 -05:00
Jack Robison
20f35d02fa
move HubDB, delete leveldb.py
2022-02-22 13:09:57 -05:00
Jack Robison
77e64ef028
add mempool, trending, and touched address indexes to the hub db
2022-02-22 13:09:57 -05:00
Jack Robison
0a71e2ff91
use rocksdb instead of leveldb
...
-dont use block processor directly from session manager
2022-02-22 13:09:57 -05:00
Jeffrey Picard
e0ea6383e2
Update __init__.py
...
Update go hub binary to fix es sync test.
2022-02-04 12:17:19 -05:00
Lex Berezhny
cba9c16a06
fix
2022-02-04 12:07:41 -05:00
Lex Berezhny
dd68fb077b
prevent creation of change which is below the dust threshold of 1000 dewies
2022-02-04 12:07:41 -05:00
Lex Berezhny
3a496902f8
wallet locking/unlocking no longer breaks deterministic channel keys
2022-01-24 09:45:08 -05:00
Lex Berezhny
302461b446
updated based on code review
2022-01-17 11:08:28 -05:00
Lex Berezhny
ac201c718e
drop dependency on cryptography library in wallet module
2022-01-17 10:43:59 -05:00
Victor Shyba
f89c75e642
bump hub version to latest supporting sd_hash search
2022-01-05 17:10:31 -03:00
Victor Shyba
2a4c5a48bf
increase indexed sd_hash prefix to 4 chars
2022-01-05 17:10:31 -03:00
Victor Shyba
5f5f39a4aa
enable and test prefix search for sd hash
2022-01-05 17:10:31 -03:00
Victor Shyba
df54cc04af
sync and search sd_hash
2022-01-05 17:10:31 -03:00
Lex Berezhny
23c10faff5
lint
2021-12-22 18:29:46 -05:00
Lex Berezhny
1eaa195363
reduced crypto dependency in wallet to coincurve
2021-12-22 18:29:46 -05:00
Lex Berezhny
fb57cfa5d8
moved imports for lint
2021-12-22 18:29:46 -05:00
Lex Berezhny
d815a6f02c
use ecdsa for signing/veryfing instead of coincurve due to compatibility issues
2021-12-22 18:29:46 -05:00
Lex Berezhny
8216f4a873
work in progress
2021-12-22 18:29:46 -05:00
Lex Berezhny
e4cc4521d9
channel key generation no longer arbitrarily bounded
2021-12-22 18:29:46 -05:00
Lex Berezhny
6bd9b3744d
progress, channel keys generate deterministically now
2021-12-22 18:29:46 -05:00
Lex Berezhny
f741b00768
progress on deterministic channel keys
2021-12-22 18:29:46 -05:00
Jeffrey Picard
3436965b33
Debugging
2021-12-03 17:22:52 -05:00
Jeffrey Picard
1b322dc404
Update protobufs, go hub shim, and claim test.
2021-12-03 13:03:00 -05:00
Jack Robison
58341f4ff1
remove unused ES fields
2021-12-03 13:03:00 -05:00
Jack Robison
0d3ca80008
support lists of constraints for all range fields
2021-12-03 13:03:00 -05:00
Jack Robison
7bb293e5d6
update claim_search
doc
...
backward compatibility for `trending_mixed`, `trending_local`, `trending_global`, and `trending_group` args to `claim_search`
2021-12-02 14:51:52 -05:00