os & version: ubuntu 16.04
branch: Latest tag
While passing java_api_listen_address=0.0.0.0 when running aionr docker container with Latest tag:
$ docker run --entrypoint /bin/bash -e java_api_listen_address=0.0.0.0 -it aionnetwork/aionr:Latest
the env variable modifies the http interface to 0.0.0.0 on mainnet.toml only but not for mastery.toml
You can verify that by doing inside the docker container:
$ cat mainnet/mainnet.toml
[aion]
chain = "mainnet/mainnet.json"
[network]
sync_from_boot_nodes_only = false
max_peers = 64
net_id = 256
local_node = "p2p://00000000-0000-0000-0000-000000000000@0.0.0.0:30303"
boot_nodes = [
"p2p://c33d2207-729a-4584-86f1-e19ab97cf9ce@51.144.42.220:30303",
"p2p://c33d302f-216b-47d4-ac44-5d8181b56e7e@52.231.187.227:30303",
"p2p://c33d4c07-6a29-4ca6-8b06-b2781ba7f9bf@191.232.164.119:30303",
"p2p://c39d0a10-20d8-49d9-97d6-284f88da5c25@13.92.157.19:30303",
"p2p://c38d2a32-20d8-49d9-97d6-284f88da5c83@40.78.84.78:30303",
"p2p://c37d6b45-20d8-49d9-97d6-284f88da5c51@104.40.182.54:30303",
"p2p://c36d4208-fe4b-41fa-989b-c7eeafdffe72@35.208.215.219:30303"
]
ip_black_list = []
[http]
port = 8545
interface = "0.0.0.0"
[stratum]
port = 8008
interface = "0.0.0.0"
$ cat mastery/mastery.toml
[aion]
chain = "mastery/mastery.json"
[network]
max_peers = 32
net_id = 32
local_node = "p2p://00000000-0000-0000-0000-000000000000@0.0.0.0:30303"
boot_nodes = [
"p2p://a30d1000-8c7e-496c-9c4e-c89318280274@168.62.170.146:30303",
"p2p://a30d2000-729a-4584-86f1-e19ab97cf9ce@23.96.22.19:30303",
"p2p://a30d4000-729a-4584-86f1-e19ab97cf9cq@13.90.81.122:30303",
"p2p://a30d5000-8c7e-496c-9c4e-c89318280275@104.42.186.213:30303"
]
ip_black_list = []
[websockets]
disable = false
[http]
disable = false
port = 8545
[ipc]
disable = false
[stratum]
port = 8008
interface = "0.0.0.0"
[mining]
author = "0xa08fc457b39b03c30dc71bdb89a4d0409dd4fa42f6539a5c3ee4054af9b71f23"
While passing
java_api_listen_address=0.0.0.0when running aionr docker container with Latest tag:$
docker run --entrypoint /bin/bash -e java_api_listen_address=0.0.0.0 -it aionnetwork/aionr:Latestthe env variable modifies the http interface to 0.0.0.0 on mainnet.toml only but not for mastery.toml
You can verify that by doing inside the docker container:
$
cat mainnet/mainnet.toml$
cat mastery/mastery.toml