Skip to content
This repository has been archived by the owner on Aug 20, 2020. It is now read-only.

Advanced start a network tutorial #16

Open
JoshOrndorff opened this issue Apr 16, 2020 · 0 comments
Open

Advanced start a network tutorial #16

JoshOrndorff opened this issue Apr 16, 2020 · 0 comments
Labels
mentoring available Someone is willing to help new tutorial Request to write a new tutorial

Comments

@JoshOrndorff
Copy link
Contributor

The existing private network tutorial walks the learner through starting a 2-node poa network using the node template. It teaches many important skills, but also leaves some questions.

This tutorial should walk through the process of starting a PoS network using the full substrate node (/bin/node). This is a useful exercise becuase there are several differences from the existing tutorial.

  • Uses the session pallet
  • More nodes - minor difference
  • Requires initial stakes
  • More session keys

The process

  • build the node and subkey (no messing around with generating keys through Apps)
  • Generate keys
  • make a custom spec
    • Keys in session pallet
    • leave consensus pallets blank
    • initial stakes
  • Start the network with three validators
  • Start fourth node as non-validating full node
  • Bond a fourth validator
  • Insert keys into the fourth node and observe that it starts authoring.

I wrote some useful tidbits for this exercise in this support issue paritytech/substrate#5078

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
mentoring available Someone is willing to help new tutorial Request to write a new tutorial
Projects
None yet
Development

No branches or pull requests

1 participant