belikor
6b3f787fee
INSTALL.md: add more information on the virtual environments
...
Leave with `deactivate`.
Enter the environment again with
```
source lbry-venv/bin/activate
```
When developing, we can start the server interactively.
```
python lbry/extras/cli.py start
```
Parameters can be passed in the same way.
```
python lbry/extras/cli.py wallet balance
```
If a Python debugger (`pdb` or `ipdb`) is installed we can also start
it in this way, set up break points, and step through the code.
```
ipdb lbry/extras/cli.py
```
2021-07-11 19:44:25 -05:00
belikor
8c79740ee8
script/test_claim_search: fix the import of ClientSession
...
This is nothing special, it just allows the module
to run without throwing an error on the import.
From
```
from lbry.wallet.client.basenetwork import ClientSession
```
To
```
from lbry.wallet.network import ClientSession
```
2021-07-09 10:52:41 -04:00
belikor
59d027ca02
script/find_max_server: fix the import of ClientSession
...
This is nothing special, it just allows the module
to run without throwing an error on the import.
From
```
from lbry.wallet.client.basenetwork import ClientSession
```
To
```
from lbry.wallet.network import ClientSession
```
2021-07-09 10:52:41 -04:00
Ofek Lev
37a7345a90
Upgrade coincurve
dependency
2021-07-09 10:51:03 -04:00
Jack Robison
f05dc46432
Merge pull request #3342 from lbryio/bug_flush_counter
...
[resync required] Avoid flush counter overflows on long running hubs by increasing it to 32 bits
2021-07-07 23:45:47 -04:00
Victor Shyba
3de0982a4a
limit request error logging to 16k
2021-07-07 18:39:38 -03:00
Victor Shyba
c2184fb3bf
run migration on history db open
2021-07-07 18:39:38 -03:00
Victor Shyba
919c09fcb0
add migration
2021-07-07 18:39:38 -03:00
Victor Shyba
1d9dbd40ec
increase flush counter to 32 bits
2021-07-07 18:39:38 -03:00
belikor
0cd953a6f3
script/checktrie: fix the import to SQLDB
...
This is nothing special, it just allows the module
to run without throwing an error.
From
```
from lbry.wallet.server.db import SQLDB
```
To
```
from lbry.wallet.server.db.writer import SQLDB
```
2021-07-07 11:02:28 -03:00
Alex Grin
4db2b72351
Merge pull request #3347 from kodxana/master
2021-07-02 11:16:40 -04:00
kodxana
dd54fcbdbd
Create README.md
2021-07-01 18:21:20 +02:00
kodxana
3123cf7ac6
Added docker-compose
2021-07-01 18:17:36 +02:00
Victor Shyba
6b579dd4ce
add dockerfiles for web sdk
2021-06-30 18:03:00 -03:00
Alex Grin
16dfaa3e27
Merge pull request #3343 from lbryio/example_es
...
add small example script showing how to read and update values to ES as we currently use it
2021-06-30 11:30:06 -04:00
Victor Shyba
d7842b9f84
small script showing how to read/update values to ES as we currently use it
2021-06-25 12:41:05 -03:00
Alex Grin
115034fccb
Merge pull request #3232 from lbryio/timeout
2021-06-25 11:05:25 -04:00
Victor Shyba
309e957a85
add concurrent_hub_requests conf
2021-06-24 21:21:19 -03:00
Victor Shyba
d7007e402e
move request semaphore to session and apply to all requests
2021-06-24 21:02:41 -03:00
Victor Shyba
91323a21cf
add hub_timeout and propagate it to network code
2021-06-24 21:02:41 -03:00
Lex Berezhny
fea893d76c
v0.100.0
2021-06-22 13:33:03 -04:00
Lex Berezhny
761bc6ba4c
revert release and fix test
2021-06-22 13:32:41 -04:00
Lex Berezhny
75172feb4e
v0.100.0
2021-06-22 12:53:23 -04:00
Lex Berezhny
3285fb1608
revert release
2021-06-22 12:52:48 -04:00
Lex Berezhny
03a4c6910d
v0.100.0
2021-06-22 12:51:36 -04:00
Lex Berezhny
485b958599
revert release
2021-06-22 12:50:11 -04:00
Lex Berezhny
da47ba2f67
v0.100.0
2021-06-22 11:11:02 -04:00
Lex Berezhny
c39195488a
bug fix
2021-06-22 11:07:58 -04:00
Lex Berezhny
227fb0ae9b
network integration test fix
2021-06-22 11:07:58 -04:00
Lex Berezhny
b12ff5b503
test fixes
2021-06-22 11:07:58 -04:00
Lex Berezhny
0946c72b88
lint
2021-06-22 11:07:58 -04:00
Lex Berezhny
7d49b046d4
added support to config for determining if value is set and implemented hub selection logic
2021-06-22 11:07:58 -04:00
Lex Berezhny
5f0426c840
country jurisdiction added to hub UDP protocol
2021-06-22 11:07:58 -04:00
Lex Berezhny
73e239cc5f
client side hub discovery pub/sub and hub metadata stored, removed old peers implementation
2021-06-22 11:07:58 -04:00
Lex Berezhny
ad670f721a
working client peer hub
2021-06-22 11:07:58 -04:00
Lex Berezhny
028a4a70cf
wallet server federation, client portion
2021-06-22 11:07:58 -04:00
Lex Berezhny
77d7960347
increase lbc exchange rate threshold
2021-06-18 11:26:30 -04:00
Lex Berezhny
39821146bd
increase lbc threshold in exchange rate integration tests even more
2021-06-17 10:23:33 -04:00
Lex Berezhny
7d505a41ac
drop sqlite indexes from test
2021-06-15 18:22:42 -04:00
Lex Berezhny
e457b2f0d6
fix trending to use built-in sqlite instead of apsw
2021-06-15 18:22:42 -04:00
Lex Berezhny
c9cf7fd4d4
drop apsw in wallet.server.db.elasticsearch.sync
2021-06-15 18:22:42 -04:00
Lex Berezhny
b0371dd33d
update test reader to use plain sqlite
2021-06-15 18:22:42 -04:00
Lex Berezhny
25e16c3565
dropping apsw
2021-06-15 18:22:42 -04:00
Lex Berezhny
7b39527863
update exchange rate threshold in integration tests due to significant drop in LBC price
2021-06-15 15:58:59 -04:00
Alex Grin
d861b08866
Merge pull request #3323 from lbryio/dht_leak
2021-06-07 16:15:59 -04:00
Victor Shyba
fb438dc108
remove the unregister call
2021-06-04 12:47:16 -03:00
Victor Shyba
4e6b4f179b
add items() to LRUCache
2021-06-04 12:20:44 -03:00
Victor Shyba
00d038c8f3
add default parameter to pop on LRUCache
2021-06-04 12:15:47 -03:00
Victor Shyba
a9f6a68952
use LRU caches for DHT metrics
2021-06-04 11:54:37 -03:00
Alex Grin
b9142bbc5a
Merge pull request #3319 from lbryio/support_value_type
...
drop `value_type` for supports
2021-06-04 08:39:40 -04:00