Skip to content

Enhancement: init command genesis file w/o validator filled #124

@greg-szabo

Description

@greg-szabo

The basecoin init command should be able to generate genesis.json files that have the validator part filled (as it is now) or where the validator part is empty. (new enhancement)
This request is also opened for the tendermint app, the the solution should be the same for both. The request number will be pasted below.

Option #1: Keep as is and introduce switch:
basecoin init --not-a-validator (or similar, like --no-validator)

Option #2: Make no-validator the default and optionally fill it:
basecoin init (creates genesis.json with validator not filled basecoin init --validator` (creates genesis.json with validator filled)

I like the second option for two reasons:

  1. It's better if switches add functionality than when they remove functionality.
  2. Since the packaging process packages tendermint with basecoin, basecoin will not be run in-process. The validator part in the basecoin config becomes confusing and unnecessary.

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