Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gui_auth -> komodo_proxy #1162

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ethereum/AVAX
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"rpc_nodes": [
{
"url": "https://node.komodo.earth:8080/avalanche",
"gui_auth": true
"komodo_proxy": true
},
{
"url": "https://api.avax.network/ext/bc/C/rpc"
Expand Down
2 changes: 1 addition & 1 deletion ethereum/ETH
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"rpc_nodes": [
{
"url": "https://node.komodo.earth:8080/ethereum",
"gui_auth": true
"komodo_proxy": true
},
{
"url": "https://ethereum-rpc.publicnode.com",
Expand Down
2 changes: 1 addition & 1 deletion ethereum/ETH-ARB20
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"rpc_nodes": [
{
"url": "https://node.komodo.earth:8080/arbitrum",
"gui_auth": true
"komodo_proxy": true
},
{
"url": "https://arb1.arbitrum.io/rpc"
Expand Down
2 changes: 1 addition & 1 deletion ethereum/FTM
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"rpc_nodes": [
{
"url": "https://node.komodo.earth:8080/fantom",
"gui_auth": true
"komodo_proxy": true
},
{
"url": "https://fantom.drpc.org",
Expand Down
2 changes: 1 addition & 1 deletion ethereum/MATIC
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"rpc_nodes": [
{
"url": "https://node.komodo.earth:8080/polygon",
"gui_auth": true
"komodo_proxy": true
},
{
"url": "https://polygon-rpc.com"
Expand Down
2 changes: 1 addition & 1 deletion ethereum/ONE
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"rpc_nodes": [
{
"url": "https://node.komodo.earth:8080/harmony",
"gui_auth": true
"komodo_proxy": true
},
{
"url": "https://api.harmony.one"
Expand Down
8 changes: 4 additions & 4 deletions utils/generate_app_configs.py
Original file line number Diff line number Diff line change
Expand Up @@ -631,10 +631,10 @@ def filter_tcp(coins_config, coins_config_ssl):
coins_config_tcp = {}
for coin in coins_config:
coins_config_tcp.update({coin: coins_config[coin]})
# Omit gui_auth: true nodes - these are web only.
# Omit komodo_proxy: true nodes - these are web only.
if "nodes" in coins_config[coin]:
coins_config_tcp[coin]["nodes"] = [
i for i in coins_config[coin]["nodes"] if "gui_auth" not in i
i for i in coins_config[coin]["nodes"] if "komodo_proxy" not in i
][:3]
if "electrum" in coins_config[coin]:
electrums = []
Expand All @@ -643,8 +643,8 @@ def filter_tcp(coins_config, coins_config_ssl):
if len(coins_config_ssl[coin]["electrum"]) > 0:
electrums = coins_config_ssl[coin]["electrum"]
for i in coins_config[coin]["electrum"]:
if "gui_auth" in i:
if i["gui_auth"] == True:
if "komodo_proxy" in i:
if i["komodo_proxy"] == True:
continue
if item_exists(i, electrums) == False:
if "protocol" in i:
Expand Down