From 7eddf396a5b5fde8b5b6c7109a982f7d6b6fbeda Mon Sep 17 00:00:00 2001 From: Ian Norden Date: Tue, 17 Mar 2020 11:18:00 -0500 Subject: [PATCH] split super node config into two for eth and btc --- environments/superNode.toml | 59 ---------------------------------- environments/superNodeBTC.toml | 28 ++++++++++++++++ environments/superNodeETH.toml | 22 +++++++++++++ 3 files changed, 50 insertions(+), 59 deletions(-) delete mode 100644 environments/superNode.toml create mode 100644 environments/superNodeBTC.toml create mode 100644 environments/superNodeETH.toml diff --git a/environments/superNode.toml b/environments/superNode.toml deleted file mode 100644 index 917616f1..00000000 --- a/environments/superNode.toml +++ /dev/null @@ -1,59 +0,0 @@ -[superNode] - chains = ["ethereum", "bitcoin"] - ipfsPath = "/root/.ipfs" - - [superNode.ethereum.database] - name = "vulcanize_public" - hostname = "localhost" - port = 5432 - user = "vdbm" - - [superNode.ethereum.sync] - on = true - wsPath = "ws://127.0.0.1:8546" - workers = 1 - - [superNode.ethereum.server] - on = true - ipcPath = "/root/.vulcanize/eth/vulcanize.ipc" - wsPath = "127.0.0.1:8080" - httpPath = "127.0.0.1:8081" - - [superNode.ethereum.backFill] - on = true - httpPath = "http://127.0.0.1:8545" - frequency = 15 - batchSize = 50 - - [superNode.bitcoin.database] - name = "vulcanize_public" - hostname = "localhost" - port = 5432 - user = "vdbm" - - [superNode.bitcoin.sync] - on = true - wsPath = "127.0.0.1:8332" - workers = 1 - pass = "password" - user = "username" - - [superNode.bitcoin.server] - on = true - ipcPath = "/root/.vulcanize/btc/vulcanize.ipc" - wsPath = "127.0.0.1:8082" - httpPath = "127.0.0.1:8083" - - [superNode.bitcoin.backFill] - on = true - httpPath = "127.0.0.1:8332" - frequency = 15 - batchSize = 50 - pass = "password" - user = "username" - - [superNode.bitcoin.node] - nodeID = "ocd0" - clientName = "Omnicore" - genesisBlock = "000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f" - networkID = "0xD9B4BEF9" \ No newline at end of file diff --git a/environments/superNodeBTC.toml b/environments/superNodeBTC.toml new file mode 100644 index 00000000..ce2f6b1f --- /dev/null +++ b/environments/superNodeBTC.toml @@ -0,0 +1,28 @@ +[database] + name = "vulcanize_public" + hostname = "localhost" + port = 5432 + user = "vdbm" + +[superNode] + chain = "bitcoin" + ipfsPath = "/root/.ipfs" + server = true + ipcPath = "/root/.vulcanize/btc/vulcanize.ipc" + wsPath = "127.0.0.1:8082" + httpPath = "127.0.0.1:8083" + sync = true + workers = 1 + backFill = true + frequency = 15 + batchSize = 50 + +[bitcoin] + wsPath = "127.0.0.1:8332" + httpPath = "127.0.0.1:8332" + pass = "password" + user = "username" + nodeID = "ocd0" + clientName = "Omnicore" + genesisBlock = "000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f" + networkID = "0xD9B4BEF9" \ No newline at end of file diff --git a/environments/superNodeETH.toml b/environments/superNodeETH.toml new file mode 100644 index 00000000..c2abc1b0 --- /dev/null +++ b/environments/superNodeETH.toml @@ -0,0 +1,22 @@ +[database] + name = "vulcanize_public" + hostname = "localhost" + port = 5432 + user = "vdbm" + +[superNode] + chain = "ethereum" + ipfsPath = "/root/.ipfs" + server = true + ipcPath = "/root/.vulcanize/eth/vulcanize.ipc" + wsPath = "127.0.0.1:8080" + httpPath = "127.0.0.1:8081" + sync = true + workers = 1 + backFill = true + frequency = 15 + batchSize = 50 + +[ethereum] + wsPath = "ws://127.0.0.1:8546" + httpPath = "http://127.0.0.1:8545" \ No newline at end of file