Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add API support for queries for protocol params. #2263

Merged
merged 5 commits into from
Jan 11, 2021

Commits on Jan 7, 2021

  1. Reorder the code in ProtocolParameters for improved clarity

    Before we add more things into that module.
    dcoutts committed Jan 7, 2021
    Configuration menu
    Copy the full SHA
    2bded2d View commit details
    Browse the repository at this point in the history
  2. Add a ProtocolParameters type for the current values

    To go along with the existing ProtocolParametersUpdate type. This new
    one will be used for the query that returns the current param values.
    dcoutts committed Jan 7, 2021
    Configuration menu
    Copy the full SHA
    316839a View commit details
    Browse the repository at this point in the history
  3. Add a GenesisParameters type for initial params from the genesis

    The node keeps the values of the params that are fixed in the genesis
    file.
    
    -- Please enter the commit message for your changes. Lines starting
    dcoutts committed Jan 7, 2021
    Configuration menu
    Copy the full SHA
    d192f0b View commit details
    Browse the repository at this point in the history
  4. Add API support for queries for protocol params.

    Several kinds of params:
    1. current values of updateable protocol params
    2. any pending proposed param updates
    3. the non-updateable params fixed in the (Shelley) genesis file
    dcoutts committed Jan 7, 2021
    Configuration menu
    Copy the full SHA
    dee245d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b5abac0 View commit details
    Browse the repository at this point in the history