From 5535d712f21044663344ab49066a4e8c1d173767 Mon Sep 17 00:00:00 2001
From: phahulin
Date: Tue, 13 Mar 2018 14:19:57 +0300
Subject: [PATCH] Updates for parity 1.9.2
---
group_vars/all.example | 4 ++--
group_vars/all.network | 4 ++--
roles/bootnode/templates/node.toml.j2 | 5 ++---
3 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/group_vars/all.example b/group_vars/all.example
index 4a1f5dd..0e9d956 100644
--- a/group_vars/all.example
+++ b/group_vars/all.example
@@ -52,8 +52,8 @@ BLK_GAS_LIMIT: "6700000"
NODE_PWD: "node.pwd"
NODE_SOURCE_DEB: "https://deb.nodesource.com/node_8.x"
-PARITY_BIN_LOC: "https://github.com/poanetwork/binary-releases/releases/download/1.8.4/parity"
-PARITY_BIN_SHA256: "a7794b04f056cb93cd6ad27be3f7a07ceeb2f340ddf4635306b020b6bfc3c2ae"
+PARITY_BIN_LOC: "https://d1h4xl4cr1h0mo.cloudfront.net/v1.9.2/x86_64-unknown-linux-gnu/parity"
+PARITY_BIN_SHA256: "3604a030388cd2c22ebe687787413522106c697610426e09b3c5da4fe70bbd33"
ORCHESTRATOR_BIN_LOC: ""
ORCHESTRATOR_BIN_SHA256: ""
diff --git a/group_vars/all.network b/group_vars/all.network
index dbe47c1..91cad05 100644
--- a/group_vars/all.network
+++ b/group_vars/all.network
@@ -22,8 +22,8 @@ region: "us-east-1"
NODE_PWD: "node.pwd" # don't change this one
NODE_SOURCE_DEB: "https://deb.nodesource.com/node_8.x"
-PARITY_BIN_LOC: "https://github.com/poanetwork/binary-releases/releases/download/1.8.4/parity"
-PARITY_BIN_SHA256: "a7794b04f056cb93cd6ad27be3f7a07ceeb2f340ddf4635306b020b6bfc3c2ae"
+PARITY_BIN_LOC: "https://d1h4xl4cr1h0mo.cloudfront.net/v1.9.2/x86_64-unknown-linux-gnu/parity"
+PARITY_BIN_SHA256: "3604a030388cd2c22ebe687787413522106c697610426e09b3c5da4fe70bbd33"
ORCHESTRATOR_BIN_LOC: ""
ORCHESTRATOR_BIN_SHA256: ""
diff --git a/roles/bootnode/templates/node.toml.j2 b/roles/bootnode/templates/node.toml.j2
index a89e405..c5fcd87 100644
--- a/roles/bootnode/templates/node.toml.j2
+++ b/roles/bootnode/templates/node.toml.j2
@@ -18,7 +18,8 @@ allow_ips = "public"
[rpc]
#apis = ["web3", "eth", "parity", "parity_set", "net", "traces", "rpc"]
apis = ["web3","eth","net" {{ ', "parity", "parity_set", "shh"' if bootnode_orchestrator|default("off") == "on" else '' }}]
-threads = 4
+processing_threads = 4
+cors=['all']
{% if bootnode_archive|default("off") == "on" %}
[ui]
@@ -36,8 +37,6 @@ pruning = "archive"
pruning_history = 1200
fat_db = "on"
cache_size_db = 12000
-min_peers = 5
-max_peers = 10
{% endif %}
[misc]