mirror of
https://github.com/LBRYFoundation/lbry-sdk.git
synced 2025-08-23 17:27:25 +00:00
flag to use development lighthouse servers
This commit is contained in:
parent
456572f87c
commit
a6619a628e
1 changed files with 9 additions and 3 deletions
|
@ -4,6 +4,8 @@ Some network wide and also application specific parameters
|
||||||
import os
|
import os
|
||||||
|
|
||||||
|
|
||||||
|
IS_DEVELOPMENT_VERSION = True
|
||||||
|
|
||||||
MAX_HANDSHAKE_SIZE = 2**16
|
MAX_HANDSHAKE_SIZE = 2**16
|
||||||
MAX_REQUEST_SIZE = 2**16
|
MAX_REQUEST_SIZE = 2**16
|
||||||
MAX_BLOB_REQUEST_SIZE = 2**16
|
MAX_BLOB_REQUEST_SIZE = 2**16
|
||||||
|
@ -25,9 +27,13 @@ KNOWN_DHT_NODES = [('104.236.42.182', 4000),
|
||||||
|
|
||||||
POINTTRADER_SERVER = 'http://ec2-54-187-192-68.us-west-2.compute.amazonaws.com:2424'
|
POINTTRADER_SERVER = 'http://ec2-54-187-192-68.us-west-2.compute.amazonaws.com:2424'
|
||||||
#POINTTRADER_SERVER = 'http://127.0.0.1:2424'
|
#POINTTRADER_SERVER = 'http://127.0.0.1:2424'
|
||||||
SEARCH_SERVERS = ["http://lighthouse1.lbry.io:50005",
|
|
||||||
"http://lighthouse2.lbry.io:50005",
|
if IS_DEVELOPMENT_VERSION:
|
||||||
"http://lighthouse3.lbry.io:50005"]
|
SEARCH_SERVERS = ["http://107.170.207.64:50005"]
|
||||||
|
else:
|
||||||
|
SEARCH_SERVERS = ["http://lighthouse1.lbry.io:50005",
|
||||||
|
"http://lighthouse2.lbry.io:50005",
|
||||||
|
"http://lighthouse3.lbry.io:50005"]
|
||||||
|
|
||||||
REFLECTOR_SERVERS = [("reflector.lbry.io", 5566)]
|
REFLECTOR_SERVERS = [("reflector.lbry.io", 5566)]
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue