Skip to content

Allow configuration via a config file #3332

Description

@pipermerriam

What is wrong?

Parity allows configuration via a config file. This is very convenient for a number of reasons.

  • If I consistently run two clients I can set one of them to use a different port by default so that they do not conflict.
  • Certain command line flags are inherently long, such as --bootnodes. Being able to hide these within a config file makes command line interaction easier.
  • Being able to specify which config file to use with something like --config allows for pre-saved configurations.

How could it be implemented

  • Have geth load defaults for cli options from a config file from somewhere like ./data-dir/<config-file>.
  • Anything provided via command line would override values from a config file.
  • Allow specifying a specific config file with something like --config

Cute animal picture

baby-hippo-hippos-24490777-500-667

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions