From 7d783bfa16c96f7836d04e938ba41b7524d92f45 Mon Sep 17 00:00:00 2001 From: Huseyin ABANOZ Date: Wed, 16 Oct 2019 22:07:17 +0300 Subject: [PATCH] prpc-> Mainnet https://rpc.tulip.tools/mainnet Alphanet https://rpc.tulip.tools/alphanet Zeronet https://rpc.tulip.tools/zeronet --- src/api/provider_factory.py | 4 +--- src/launch_common.py | 4 ++-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/api/provider_factory.py b/src/api/provider_factory.py index 81bba21b..d6c661dd 100644 --- a/src/api/provider_factory.py +++ b/src/api/provider_factory.py @@ -8,9 +8,7 @@ class ProviderFactory: - URL = "{}.tzbeta.net/" - URL = "{}.tezrpc.me/" - url_prefixes = {"MAINNET": "rpc", "ALPHANET": "rpcalpha", "ZERONET": "rpczero"} + URL = "https://rpc.tulip.tools/{}/" url_prefixes = {"MAINNET": "mainnet", "ALPHANET": "alphanet", "ZERONET": "zeronet"} def __init__(self, provider, verbose=False): diff --git a/src/launch_common.py b/src/launch_common.py index 8fe91535..de0160f2 100644 --- a/src/launch_common.py +++ b/src/launch_common.py @@ -33,8 +33,8 @@ def add_argument_reports_base(parser): def add_argument_provider(parser): - parser.add_argument("-P", "--reward_data_provider", help="where reward data is provided. prpc=public rpc", choices=['tzscan', 'rpc','prpc'], - default='tzscan') + parser.add_argument("-P", "--reward_data_provider", help="where reward data is provided. prpc=public rpc", choices=['rpc','prpc'], + default='prpc') def add_argument_config_dir(parser):