diff --git a/Makefile b/Makefile index a1ffc3cc702c824d69085f3273ddee5d577b1206..44a0b1680ac377ec35522bd0047d9dd162a8185e 100644 --- a/Makefile +++ b/Makefile @@ -154,7 +154,7 @@ test-live-staging-appbase-calls: .PHONY: test-live-prod-appbase-calls test-live-prod-appbase-calls: - pipenv run pytest --maxfail=1 tests/test_responses.py::test_appbase_responses --jussiurl https://api.hive.blog + pipenv run pytest --maxfail=1 tests/test_responses.py::test_appbase_responses --jussiurl https://api.steemit.com ./perf: diff --git a/README.md b/README.md index e024941d67392e7d182baca12d8fca8bcccf659e..50ae8dba13f4a362cc29c956f48ae603d8932d3b 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,7 @@ Each urls key can have multiple endpoints for each namespace. For example: ``` { "urls":[ - ["appbase", "https://api.steemitdev.com"] + ["appbase", "https://api.hive.blog"] ] } ``` @@ -84,9 +84,9 @@ Each urls key can have multiple endpoints for each namespace. For example: ``` { "urls":[ - ["appbase","https://api.steemitdev.com"], - ["appbase.condenser_api.get_account_history","https://api-for-account-history.steemitdev.com"], - ["appbase.condenser_api.get_ops_in_block","https://api-for-get-ops-in-block.steemitdev.com"] + ["appbase","https://api.hive.blog"], + ["appbase.condenser_api.get_account_history","https://api-for-account-history.hive.blog"], + ["appbase.condenser_api.get_ops_in_block","https://api-for-get-ops-in-block.hive.blog"] ] } ``` @@ -147,4 +147,4 @@ Certain features of jussi can be configured using environment variables. If you ## Additional documentation -For more indepth documentation on jussi including examples, check out the section on it in the steem dev portal: https://developers.steem.io/services/#services-jussi +For more indepth documentation on jussi including examples, check out the section on it in the Hive dev portal: https://developers.hive.io/services/#services-jussi diff --git a/contrib/async_http_client.py b/contrib/async_http_client.py index 9e97d5ce58ed1782e98a5fd4cfe80e1ba358d404..288c8affcd7766e225ae7dd784f3589450604022 100644 --- a/contrib/async_http_client.py +++ b/contrib/async_http_client.py @@ -93,7 +93,7 @@ def chunkify(iterable, chunksize=3000): class AsyncClient(object): def __init__(self, *, url=None, **kwargs): self.url = url or os.environ.get( - 'STEEMD_HTTP_URL', 'https://api.hive.blog') + 'STEEMD_HTTP_URL', 'https://steemd.steemitdev.com') self.kwargs = kwargs self.session = kwargs.get('session', None) self.connector = get_in(kwargs, ['session', 'connector']) diff --git a/contrib/http_client.py b/contrib/http_client.py index 178b0e1c75c026c14a167a5a330b6d97dfd7cf3d..23f03aafd9a1c19ad65eb5bddf52439209bd63f7 100644 --- a/contrib/http_client.py +++ b/contrib/http_client.py @@ -80,7 +80,7 @@ class SimpleSteemAPIClient(object): tcp_keepalive=True, **kwargs): url = url or os.environ.get('STEEMD_HTTP_URL', - 'https://api.hive.blog') + 'https://steemd.steemitdev.com') self.url = url self.hostname = urlparse(url).hostname self.return_with_args = kwargs.get('return_with_args', False) diff --git a/tests/conftest.py b/tests/conftest.py index 550e6d83011096ecccd3552bd13707e10d5c906c..46a0d9116e4c9c037606aa4b41cb0536cf4d1c0d 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1139,7 +1139,7 @@ URN_TEST_REQUEST_DICTS = [ 'params': _empty }, 'hived.database_api.get_dynamic_global_properties', - 'https://api.hive.blog', + 'wss://steemd.steemitdev.com', 1, 3 ), @@ -1157,7 +1157,7 @@ URN_TEST_REQUEST_DICTS = [ 'params': [] }, 'hived.database_api.get_dynamic_global_properties.params=[]', - 'https://api.hive.blog', + 'wss://steemd.steemitdev.com', 1, 3 ), @@ -1175,7 +1175,7 @@ URN_TEST_REQUEST_DICTS = [ 'params': [1] }, 'hived.database_api.get_block.params=[1]', - 'https://api.hive.blog', + 'wss://steemd.steemitdev.com', -2, 3 ), @@ -1217,7 +1217,7 @@ URN_TEST_REQUEST_DICTS = [ 'params': [] }, 'hived.database_api.get_account_count.params=[]', - 'https://api.hive.blog', + 'wss://steemd.steemitdev.com', 3, 3 ), @@ -1235,7 +1235,7 @@ URN_TEST_REQUEST_DICTS = [ 'params': ["", ""] }, 'hived.login_api.login.params=["",""]', - 'https://api.hive.blog', + 'wss://steemd.steemitdev.com', -1, 3 ), @@ -1252,7 +1252,7 @@ URN_TEST_REQUEST_DICTS = [ 'params': [] }, 'hived.database_api.find_accounts.params=[]', - 'https://api.hive.blog', + 'wss://steemd.steemitdev.com', 3, 3 ), diff --git a/tests/data/configs/TEST_UPSTREAM_CONFIG.json b/tests/data/configs/TEST_UPSTREAM_CONFIG.json index 1ed9529bc0486a369d0d3e5d58037d4fba428644..3aca04dda292a292f0509c5912fe54613fe63ece 100644 --- a/tests/data/configs/TEST_UPSTREAM_CONFIG.json +++ b/tests/data/configs/TEST_UPSTREAM_CONFIG.json @@ -8,7 +8,7 @@ "urls": [ [ "hived", - "https://api.hive.blog" + "wss://steemd.steemitdev.com" ] ], "ttls": [