Uploaded image for project: 'Indy Node'
  1. Indy Node
  2. INDY-967

Enhancements to validator-info

    XMLWordPrintable

Details

    • Story
    • Status: Complete
    • Medium
    • Resolution: Done
    • None
    • 1.6.79
    • validator-info
    • EV 18.24

    Description

      The validator-info diagnostic script is an excellent addition to the Indy suite.  Here are a few additional features that will enhance its usefulness:

      1. In the verbose human-readable output, indicate the time (which must include the timezone) in ISO 8601 format.  For example: "Current time:    2017-12-15T15:53:00+05:00"
      2. In addition to the DID and verkey, report the BLS public key
      3. Indicate the nodes that are the current primaries.  In the verbose human-readable output, this can be indicated by the primary number in parenthesis after the name of the nodes that are primaries, in this fashion:

       

      Reachable Hosts: 10/10
      RFCU
      australia   (1)
      brazil      (0)
      canada
      england     (2)
      korea       (3)
      mapleleaf
      ricFlair
      singapore
      virginia
      

      For the json output, this could be done using a hash instead of a list for the nodes as shown, or by another means:

      {
      "RFCU": null,
      "australia": 1,
      "brazil": 0,
      "canada": null,
      "england": 2,
      "korea": 3,
      "mapleleaf": null,
      "ricFlair": null,
      "singapore": null,
      "virginia": null
      }
      

      Attachments

        Issue Links

          Activity

            People

              ozheregelya Olga Zheregelya
              mgbailey Mike Bailey
              Dmitry Surnin, Mike Bailey, Olga Zheregelya
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: