add more known dht nodes
also fix migrator bug
This commit is contained in:
parent
e224c33817
commit
a9f99d05b9
2 changed files with 4 additions and 2 deletions
|
@ -19,7 +19,10 @@ MIN_VALUABLE_BLOB_INFO_PAYMENT_RATE = .05 # points/1000 infos
|
||||||
MIN_VALUABLE_BLOB_HASH_PAYMENT_RATE = .05 # points/1000 infos
|
MIN_VALUABLE_BLOB_HASH_PAYMENT_RATE = .05 # points/1000 infos
|
||||||
MAX_CONNECTIONS_PER_STREAM = 5
|
MAX_CONNECTIONS_PER_STREAM = 5
|
||||||
|
|
||||||
KNOWN_DHT_NODES = [('104.236.42.182', 4000)]
|
KNOWN_DHT_NODES = [('104.236.42.182', 4000),
|
||||||
|
('lbryum1.lbry.io', 4444),
|
||||||
|
('lbryum2.lbry.io', 4444),
|
||||||
|
('lbryum3.lbry.io', 4444)]
|
||||||
|
|
||||||
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'
|
||||||
|
|
|
@ -20,7 +20,6 @@ class migrator(object):
|
||||||
return lbry_file.restore()
|
return lbry_file.restore()
|
||||||
|
|
||||||
r = defer.DeferredList([_restart_lbry_file(lbry_file) for lbry_file in self._api.lbry_file_manager.lbry_files if not lbry_file.txid], consumeErrors=True)
|
r = defer.DeferredList([_restart_lbry_file(lbry_file) for lbry_file in self._api.lbry_file_manager.lbry_files if not lbry_file.txid], consumeErrors=True)
|
||||||
r.callback(None)
|
|
||||||
return r
|
return r
|
||||||
|
|
||||||
d = self._api.session.wallet.get_nametrie()
|
d = self._api.session.wallet.get_nametrie()
|
||||||
|
|
Loading…
Reference in a new issue