@@ -61,8 +79,6 @@ Replace `/mnt/my_volume/data` with the volume and/or data folder you want to use
command:
- "--port=30333"
- "--rpc-port=9933"
- - "--ws-port=9944"
- - "--ws-external"
- "--rpc-external"
- "--rpc-cors=all"
- "--pruning=archive"
@@ -73,7 +89,6 @@ Replace `/mnt/my_volume/data` with the volume and/or data folder you want to use
- "--execution=wasm"
- "--wasm-execution=compiled"
- "--ws-max-connections=5000"
- - "--bootnodes=/ip4/35.198.171.148/tcp/30333/ws/p2p/12D3KooWDXDwSdqi8wB1Vjjs5SVpAfk6neadvNTPAik5mQXqV7jF"
- "--bootnodes=/ip4/34.159.117.205/tcp/30333/ws/p2p/12D3KooWMspZo4aMEXWBH4UXm3gfiVkeu1AE68Y2JDdVzU723QPc"
- "--bootnodes=/dns4/node-7010781199623471104-0.p2p.onfinality.io/tcp/23564/ws/p2p/12D3KooWSN6VXWPvo1hoT5rb5hei5B7YdTWeUyDcc42oTPwLGF2p"
- "--name=YOUR_NODE_NAME"
@@ -104,9 +119,7 @@ Replace `/mnt/my_volume/data` with the volume and/or data folder you want to use
command:
- "--port=30333"
- "--rpc-port=9933"
- - "--ws-port=9944"
- "--unsafe-rpc-external"
- - "--unsafe-ws-external"
- "--rpc-cors=all"
- "--pruning=archive"
- "--chain=/resources/demo-spec-raw.json"
@@ -204,9 +217,7 @@ Change the `ports` based on your network setup.
KillSignal=SIGHUP
ExecStart=/var/lib/centrifuge-data/centrifuge-chain --bootnodes=/ip4/35.198.171.148/tcp/30333/ws/p2p/12D3KooWDXDwSdqi8wB1Vjjs5SVpAfk6neadvNTPAik5mQXqV7jF --bootnodes=/ip4/34.159.117.205/tcp/30333/ws/p2p/12D3KooWMspZo4aMEXWBH4UXm3gfiVkeu1AE68Y2JDdVzU723QPc --bootnodes=/dns4/node-7010781199623471104-0.p2p.onfinality.io/tcp/23564/ws/p2p/12D3KooWSN6VXWPvo1hoT5rb5hei5B7YdTWeUyDcc42oTPwLGF2p \
--port=30333 \
- --rpc-port=9933 \
- --ws-port=9944 \
- --ws-external \
+ --rpc-port=9933
--rpc-external \
--rpc-cors=all \
--pruning=archive \
@@ -265,7 +276,6 @@ Change the `ports` based on your network setup.
ExecStart=/var/lib/centrifuge-data/centrifuge-chain --bootnodes=/ip4/34.89.150.73/tcp/30333/p2p/12D3KooWHsA69Fb1HkdWrwrxY3cSga3wWyHnxuk5GeYtCh59XsWB --bootnodes=/ip4/35.198.144.90/tcp/30333/p2p/12D3KooWMJPzvEp5Jhea8eKsUDufBbAzGrn265GcaCmcnp3koPk4 --bootnodes=/ip4/35.198.98.253/tcp/30333/p2p/12D3KooWHzRutQHbQKWh3Z5BWoXGk5c3gxscxfG57N8fNV6XjVLz \
--port=30333 \
--rpc-port=9933 \
- --ws-port=9944 \
--unsafe-ws-external \
--unsafe-rpc-external \
--rpc-cors=all \
@@ -316,15 +326,19 @@ Once your node is fully synced, you can run a cURL request to see the status of
the port you configured in your `/etc/systemd/system/centrifuge.service` file above
```bash
-curl -H "Content-Type: application/json" \
--d '{"id":1, "jsonrpc":"2.0", "method": "eth_syncing", "params":[]}' \
-localhost:9933
+curl -H "Content-Type: application/json"
+localhost:9933/health
```
-Expected output if node is synced is `{"jsonrpc":"2.0","result":false,"id":1}`
+Expected output if node is synced is `{"peers":35,"isSyncing":false,"shouldHavePeers":true}`
## Optional: Using a snapshot instead of synching from scratch
+
+
+Centrifuge currently does not maintain automated snapshots, if you need a newer snapshot please reach out to the dev team
+
+
* By downloading a snapshot from the Centrifuge Dev team:
- You get faster sync, your fullnode will be ready in within hours (time depends on how old the snapshot is)
- You are trusting the Centrifuge's team snapshots and therefore is not as "trustless" or "decentralized" as synching from scratch