Split node config into separate recipes, support account creation
The account is automatically created and added to the list of accounts that are unlocked (can send without a password)
This commit is contained in:
34
site-cookbooks/kosmos-parity/recipes/node_dev.rb
Normal file
34
site-cookbooks/kosmos-parity/recipes/node_dev.rb
Normal file
@@ -0,0 +1,34 @@
|
||||
#
|
||||
# Cookbook Name:: kosmos-parity
|
||||
# Recipe:: node_dev
|
||||
#
|
||||
# Copyright 2017, Kosmos
|
||||
#
|
||||
# All rights reserved - Do Not Redistribute
|
||||
#
|
||||
|
||||
parity_node "dev" do
|
||||
config parity: {
|
||||
chain: "dev",
|
||||
no_download: true, # Don't Download Updates
|
||||
},
|
||||
network: {
|
||||
port: 30303,
|
||||
warp: true,
|
||||
},
|
||||
rpc: {
|
||||
port: 8545,
|
||||
cors: "*",
|
||||
},
|
||||
dapps: {
|
||||
port: 8090,
|
||||
},
|
||||
ui: {
|
||||
port: 8180,
|
||||
force: true,
|
||||
},
|
||||
mining: {
|
||||
reseal_min_period: 0,
|
||||
}
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user