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

Report additional fields in validation stream #3865

Closed
wants to merge 1 commit into from

Commits on Jul 23, 2021

  1. Report additional fields in validation stream:

    The HardenedValidations amendment introduces additional fields
    in validations:
    
    - `sfValidatedHash`, if present, is the hash the of last ledger that
      the validator considers to be fully validated.
    - `sfCookie`, if present, is a 64-bit cookie (the default
      implementation selects it randomly at startup but other
      implementations are possible), which can be used to improve the
      detection and classification of duplicate validations.
    - `sfServerVersion`, if present, reports the version of the software
      that the validator is running. By surfacing this information,
      server operators gain additional insight about variety of software
      on the network.
    
    If merged, this commit fixes XRPLF#3797 by adding the fields to the
    `validations` stream as shown below:
    
    - `sfValidateHash` as `validated_hash`: a 256-bit hex string;
    - `sfCookie` as `cookie`: a 64-bit integer as a string; and
    - `sfServerVersion` as `server_version`: a 64-bit integer as
      a string.
    nbougalis authored and scottschurr committed Jul 23, 2021
    Configuration menu
    Copy the full SHA
    dc6d5cd View commit details
    Browse the repository at this point in the history