From 391e2610ac4cc014a932c4cdbf8a4a19a65e3d36 Mon Sep 17 00:00:00 2001 From: MadelineMurray <43356962+MadelineMurray@users.noreply.github.com> Date: Tue, 22 Jan 2019 07:27:41 +1300 Subject: [PATCH] Added host-whitelist to command line example (#602) Signed-off-by: Adrian Sutton --- docs/Getting-Started/Starting-Pantheon.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/Getting-Started/Starting-Pantheon.md b/docs/Getting-Started/Starting-Pantheon.md index 6416a13be4..d2c2c14707 100644 --- a/docs/Getting-Started/Starting-Pantheon.md +++ b/docs/Getting-Started/Starting-Pantheon.md @@ -67,7 +67,7 @@ call [JSON-RPC API methods](../Reference/JSON-RPC-API-Methods.md) to confirm the To run a node that mines blocks at a rate suitable for testing purposes: ```bash -pantheon --dev-mode --network-id="2018" --bootnodes --miner-enabled --miner-coinbase=0xfe3b557e8fb62b89f4916b721be55ceb828dbd73 --rpc-cors-origins="all" --ws-enabled --rpc-enabled --datadir=/tmp/tmpDatdir +pantheon --dev-mode --network-id="2018" --bootnodes --miner-enabled --miner-coinbase=0xfe3b557e8fb62b89f4916b721be55ceb828dbd73 --rpc-cors-origins="all" --host-whitelist="all" --ws-enabled --rpc-enabled --datadir=/tmp/tmpDatdir ``` Alternatively, use the following [configuration file](../Configuring-Pantheon/Using-Configuration-File.md) and `--bootnodes` on the command line to start a node with the same options as above: @@ -76,7 +76,8 @@ dev-mode=true network-id="2018" miner-enabled=true miner-coinbase="0xfe3b557e8fb62b89f4916b721be55ceb828dbd73" -rpc-cors-origins="all" +rpc-cors-origins=["all"] +host-whitelist=["all"] ws-enabled=true rpc-enabled=true datadir="/tmp/tmpDatadir"