port and import name
This commit is contained in:
parent
cf4d78a24c
commit
f89486f5fe
3 changed files with 4 additions and 4 deletions
|
@ -634,7 +634,7 @@ class LBRYcrdWallet(LBRYWallet):
|
||||||
def _get_rpc_conf(self):
|
def _get_rpc_conf(self):
|
||||||
settings = {"username": "rpcuser",
|
settings = {"username": "rpcuser",
|
||||||
"password": "rpcpassword",
|
"password": "rpcpassword",
|
||||||
"rpc_port": 8332}
|
"rpc_port": 9245}
|
||||||
if os.path.exists(self.wallet_conf):
|
if os.path.exists(self.wallet_conf):
|
||||||
conf = open(self.wallet_conf)
|
conf = open(self.wallet_conf)
|
||||||
for l in conf:
|
for l in conf:
|
||||||
|
@ -846,7 +846,7 @@ class LBRYcrdWallet(LBRYWallet):
|
||||||
@_catch_connection_error
|
@_catch_connection_error
|
||||||
def _get_nametrie_rpc(self):
|
def _get_nametrie_rpc(self):
|
||||||
rpc_conn = self._get_rpc_conn()
|
rpc_conn = self._get_rpc_conn()
|
||||||
return rpc_conn.getnametrie()
|
return rpc_conn.getclaimtrie()
|
||||||
|
|
||||||
@_catch_connection_error
|
@_catch_connection_error
|
||||||
def _get_wallet_balance_rpc(self):
|
def _get_wallet_balance_rpc(self):
|
||||||
|
|
|
@ -24,7 +24,7 @@ from appdirs import user_data_dir
|
||||||
from urllib2 import urlopen
|
from urllib2 import urlopen
|
||||||
|
|
||||||
from lbrynet import __version__ as lbrynet_version
|
from lbrynet import __version__ as lbrynet_version
|
||||||
from lbryum.version import ELECTRUM_VERSION as lbryum_version
|
from lbryum.version import LBRYUM_VERSION as lbryum_version
|
||||||
from lbrynet.core.PaymentRateManager import PaymentRateManager
|
from lbrynet.core.PaymentRateManager import PaymentRateManager
|
||||||
from lbrynet.core.server.BlobAvailabilityHandler import BlobAvailabilityHandlerFactory
|
from lbrynet.core.server.BlobAvailabilityHandler import BlobAvailabilityHandlerFactory
|
||||||
from lbrynet.core.server.BlobRequestHandler import BlobRequestHandlerFactory
|
from lbrynet.core.server.BlobRequestHandler import BlobRequestHandlerFactory
|
||||||
|
|
|
@ -10,7 +10,7 @@ from twisted.web import static
|
||||||
from twisted.internet import defer
|
from twisted.internet import defer
|
||||||
from lbrynet.conf import DEFAULT_UI_BRANCH, LOG_FILE_NAME
|
from lbrynet.conf import DEFAULT_UI_BRANCH, LOG_FILE_NAME
|
||||||
from lbrynet import __version__ as lbrynet_version
|
from lbrynet import __version__ as lbrynet_version
|
||||||
from lbryum.version import ELECTRUM_VERSION as lbryum_version
|
from lbryum.version import LBRYUM_VERSION as lbryum_version
|
||||||
from zipfile import ZipFile
|
from zipfile import ZipFile
|
||||||
from appdirs import user_data_dir
|
from appdirs import user_data_dir
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue