Skip to content

The document for manually start a local network is not followable #1040

@huahuayu

Description

@huahuayu

Hi, I want manually start a local network based on the document https://docs.avax.network/build/tutorials/platform/create-a-local-test-network/#manually.

Let me copy the steps here

step1

cd $GOPATH/src/github.com/ava-labs/avalanchego

step2

./scripts/build.sh

step3

./build/avalanchego --public-ip=127.0.0.1 --http-port=9650 --staking-port=9651 --db-dir=db/node1 --network-id=local --bootstrap-ips= --staking-tls-cert-file=$(pwd)/staking/local/staker1.crt --staking-tls-key-file=$(pwd)/staking/local/staker1.key

step4

./build/avalanchego --public-ip=127.0.0.1 --http-port=9652 --staking-port=9653 --db-dir=db/node2 --network-id=local --bootstrap-ips=127.0.0.1:9651 --bootstrap-ids=NodeID-7Xhw2mDxuDS44j42TCB6U5579esbSt3Lg --staking-tls-cert-file=$(pwd)/staking/local/staker2.crt --staking-tls-key-file=$(pwd)/staking/local/staker2.key

Omit the other 3 nodes...

Two problems here

  1. when executing step3, get an error
couldn't load node config: set "bootstrap-ips" but didn't set "bootstrap-ids"
  1. there's no steps to starting a bootstrap node ( 127.0.0.1:9651 ), so the nodes can't find each other

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions