From 28a8ca08b5d5441c532cef71bde70dfa1f5b88d9 Mon Sep 17 00:00:00 2001 From: natlg Date: Fri, 14 Dec 2018 02:56:25 -0800 Subject: [PATCH] Update parity config, fix hosts.example file --- hosts.example | 3 +++ roles/blockscout/templates/node.toml.j2 | 10 +++++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/hosts.example b/hosts.example index 89e378d..9610d30 100644 --- a/hosts.example +++ b/hosts.example @@ -21,12 +21,15 @@ node03.example.com [explorer] +[blockscout] + [poa:children] bootnode moc netstat validator explorer +blockscout [centos] node03.example.com diff --git a/roles/blockscout/templates/node.toml.j2 b/roles/blockscout/templates/node.toml.j2 index 74d76d7..64ebb2b 100644 --- a/roles/blockscout/templates/node.toml.j2 +++ b/roles/blockscout/templates/node.toml.j2 @@ -3,7 +3,7 @@ chain = "spec.json" base_path = "parity_data" [rpc] -apis = ["all"] +apis = ["web3","eth","net", "parity", "traces"] cors=["all"] [network] @@ -17,7 +17,7 @@ disable = false port = 8546 interface = "all" origins = ["all"] -apis = ["all"] +apis = ["web3","eth","net","parity", "pubsub", "traces"] hosts = ["all"] [ui] @@ -28,4 +28,8 @@ disable_periodic = true [footprint] tracing = "on" -pruning = "archive" \ No newline at end of file +pruning = "archive" +fat_db = "on" + +[misc] +log_file = "{{ home }}/parity.log" \ No newline at end of file