Parity: open network port, use Ropsten

This commit is contained in:
Basti 2017-05-12 00:02:58 +02:00
parent 4f7ee6fd3b
commit 81e87bc9ef

View File

@ -13,17 +13,18 @@
rpc_proxy_port = 8546
rpc_port = 18546
dapps_port = 8181
network_port = 30304
credentials = Chef::EncryptedDataBagItem.load('credentials', 'parity')
parity_node "testnet" do
password credentials["testnet_password"]
config parity: {
chain: "testnet",
chain: "ropsten",
no_download: true, # Don't Download Updates
},
network: {
port: 30304,
port: network_port,
warp: true,
},
rpc: {
@ -49,7 +50,7 @@ end
unless node.chef_environment == "development"
include_recipe 'firewall'
firewall_rule "parity_testnet" do
port rpc_proxy_port
port [ rpc_proxy_port, network_port ]
protocol :tcp
command :allow
end