Skip to content

Allow server to report its current manifest #3099

@nbougalis

Description

@nbougalis

We need rippled to improve its manifest support:

  1. A rippled instance configured as a validator should offer an admin-only RPC command that can report the master public key, the ephemeral public key, the manifest sequence number and, if present, the domain associated with the manifest that the server is using. The command can be validator_info. If the server is not configured as a validator, the command should report an error.
  2. Any rippled instance should offer an RPC command that, given a master or ephemeral public key, should report the master public key, the ephemeral public key, the manifest sequence number the domain associated with the given manifest (if present), and the manifest in base64-encoded format. The command can be manifest. If the server does not have the given manifest, the command should report an error.

Optionally, for (1) a --validator-info command line should parse the config file, load the validator_token if one is present, and report the master and ephemeral public keys, the manifest sequence number and, if present, the domain associated with the manifest. Additionally, the command should report the base64 encoded manifest. Once completed, the program would terminate (similar to, e.g. --version)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Good First IssueGreat issue for a new contributor

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions