stacks-core icon indicating copy to clipboard operation
stacks-core copied to clipboard

Configuration reader should enforce testnet initial balances

Open kantai opened this issue 4 years ago • 1 comments

Connecting to the Stacks testnets requires having the same initial balances configured for the genesis block as the rest of the network. Otherwise, the initialized node will operate as a separate fork.

Currently, this requires specifying those ustx_balance entries explicitly in the config file (even if you don't intend to change them).

Two things would improve the experience around configuring a testnet node:

  1. Making those entries default when the configuration file otherwise specifies the node is a testnet node.
  2. If a node is a testnet node and the configuration file specifies ustx_balance entries that are incorrect, then either (a) exit with an error code or (b) issue a warning.

kantai avatar Jul 13 '21 18:07 kantai

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Aug 12 '22 01:08 stale[bot]

This issue has been automatically closed. Please reopen if needed.

stale[bot] avatar Oct 01 '22 08:10 stale[bot]