Skip to content

Commit

Permalink
fix config files
Browse files Browse the repository at this point in the history
  • Loading branch information
maxidev committed May 1, 2018
1 parent 1e6491b commit 04e399e
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 3 deletions.
38 changes: 38 additions & 0 deletions config-miner.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
[parity]
chain = "genesis.json"

[account]
unlock = ["ETH_MINER_ACCOUNT"]
password = ["password.txt"]

[ui]
force = false
disable = true #Nodes does not normally need Wallet UI

[network]
port = 30303
bootnodes = []
discovery = true

[rpc]
apis = ["web3", "eth", "net", "personal", "parity", "parity_set", "traces", "rpc", "parity_accounts"] #RPC functionality can be restricted

[mining]
author = "ETH_MINER_ACCOUNT"
engine_signer = "ETH_MINER_ACCOUNT"
reseal_max_period = 30000

[footprint] # This config is needed for block explorers
tracing = "on"
fat_db = "on"
pruning = "archive"

[network]
port = 30303
reserved_peers = "nodes.txt"
discovery = true

[misc]
logging = "own_tx=trace"
log_file = "bitsign-miner-node.log"
color = true
13 changes: 10 additions & 3 deletions config.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,22 @@
[parity]
chain = "genesis.json"

[ui]
force = false
disable = true #Nodes does not normally need Wallet UI

[rpc]
apis = ["web3", "eth", "net", "personal", "parity", "parity_set", "traces", "rpc", "parity_accounts"]

[mining]
reseal_on_txs = "none"
reseal_max_period = 60000

[misc]
log_file = "parity.log"
logging = "own_tx=trace"
log_file = "bitsign-node.log"
color = true

[network]
reserved_peers = "nodes.txt"
port = 30303
reserved_peers = "nodes.txt"
discovery = true

0 comments on commit 04e399e

Please sign in to comment.