being able to start light client from clil

This commit is contained in:
Lex Berezhny 2021-01-08 01:18:57 -05:00
parent a26535252d
commit 665921b3b1
2 changed files with 5 additions and 3 deletions

View file

@ -249,8 +249,10 @@ def main(argv=None):
args.start_parser.print_help() args.start_parser.print_help()
elif args.service == FullNode.name: elif args.service == FullNode.name:
return Daemon.from_config(FullNode, conf).run() return Daemon.from_config(FullNode, conf).run()
elif args.service == LightClient.name:
return Daemon.from_config(LightClient, conf).run()
else: else:
print(f'Only `start {FullNode.name}` is currently supported.') print(f'Only `start {FullNode.name}` or `start {LightClient.name}` is currently supported.')
elif args.command == 'install': elif args.command == 'install':
if args.help: if args.help:
args.install_parser.print_help() args.install_parser.print_help()

View file

@ -597,8 +597,8 @@ class Config(CLIConfig):
reflector_servers = Servers("Reflector re-hosting servers", [ reflector_servers = Servers("Reflector re-hosting servers", [
('reflector.lbry.com', 5566) ('reflector.lbry.com', 5566)
]) ])
known_full_nodes = Servers("Full blockchain nodes", [ full_nodes = Servers("Full blockchain nodes", [
('spv11.lbry.com', 50001), ('sdk.lbry.tech', 50001),
('spv12.lbry.com', 50001), ('spv12.lbry.com', 50001),
('spv13.lbry.com', 50001), ('spv13.lbry.com', 50001),
('spv14.lbry.com', 50001), ('spv14.lbry.com', 50001),