diff --git a/docs/subtensor-nodes/using-source.md b/docs/subtensor-nodes/using-source.md index f95aff405b..da9be28deb 100644 --- a/docs/subtensor-nodes/using-source.md +++ b/docs/subtensor-nodes/using-source.md @@ -75,7 +75,7 @@ rm -rf /tmp/blockchain 5. Install Subtensor by compiling with Cargo: ```bash -cargo build --release --features=runtime-benchmarks +cargo build --profile production --features=runtime-benchmarks ``` ## Run the subtensor node @@ -87,36 +87,29 @@ You can now run the public subtensor node either as a lite node or as an archive To run a lite node connected to the mainchain, execute the below command (note the `--sync=warp` flag which runs the subtensor node in lite mode): ```bash title="With --sync=warp setting, for lite node" -./target/release/node-subtensor --chain raw_spec_finney.json --base-path /tmp/blockchain --sync=warp --execution wasm --wasm-execution compiled --port 30333 --max-runtime-instances 64 --rpc-max-response-size 2048 --rpc-cors all --rpc-port 9933 --bootnodes /ip4/13.58.175.193/tcp/30333/p2p/12D3KooWDe7g2JbNETiKypcKT1KsCEZJbTzEHCn8hpd4PHZ6pdz5 --no-mdns --in-peers 8000 --out-peers 8000 --prometheus-external --rpc-external +./target/production/node-subtensor --chain raw_spec_finney.json --base-path /tmp/blockchain --sync=warp --port 30333 --max-runtime-instances 32 --rpc-max-response-size 2048 --rpc-cors all --rpc-port 9944 --bootnodes /ip4/13.58.175.193/tcp/30333/p2p/12D3KooWDe7g2JbNETiKypcKT1KsCEZJbTzEHCn8hpd4PHZ6pdz5 --no-mdns --in-peers 8000 --out-peers 8000 --prometheus-external --rpc-external ``` ### Archive node on mainchain -Archive node settings are currently being investigated. - - ### Lite node on testchain To run a lite node connected to the testchain, execute the below command: ```bash title="With bootnodes set to testnet and --sync=warp setting, for lite node." -./target/release/node-subtensor --chain raw_spec_testfinney.json --base-path /tmp/blockchain --sync=warp --execution wasm --wasm-execution compiled --port 30333 --max-runtime-instances 64 --rpc-max-response-size 2048 --rpc-cors all --rpc-port 9933 --bootnodes /dns/bootnode.test.finney.opentensor.ai/tcp/30333/p2p/12D3KooWPM4mLcKJGtyVtkggqdG84zWrd7Rij6PGQDoijh1X86Vr --no-mdns --in-peers 8000 --out-peers 8000 --prometheus-external --rpc-external +./target/production/node-subtensor --chain raw_spec_testfinney.json --base-path /tmp/blockchain --sync=warp --port 30333 --max-runtime-instances 32 --rpc-max-response-size 2048 --rpc-cors all --rpc-port 9944 --bootnodes /dns/bootnode.test.finney.opentensor.ai/tcp/30333/p2p/12D3KooWPM4mLcKJGtyVtkggqdG84zWrd7Rij6PGQDoijh1X86Vr --no-mdns --in-peers 8000 --out-peers 8000 --prometheus-external --rpc-external ``` ### Archive node on testchain -Archive node settings are currently being investigated. - - diff --git a/docusaurus.config.js b/docusaurus.config.js index e333b1301c..98d0c0658c 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -153,21 +153,11 @@ const config = { }, }, items: [ - // { - // position: "left", - // label: "Bittensor API", - // to: "bt-api-ref", - // }, - // { - // position: "left", - // label: "Subnet Pages", - // to: "subnet-pages", - // }, - // { - // position: "left", - // label: "Subtensor Nodes", - // to: "subtensor-nodes", - // }, + { + position: "left", + label: "Subtensor Nodes", + to: "subtensor-nodes", + }, { type: "search", position: "left",