1. 15 Jul, 2021 8 commits
    • Jeremy Cooper's avatar
      Remove "verbose" from ledger_validators. · a40b1bdc
      Jeremy Cooper authored
      Remove the "verbose" option from the ledger_validators call and make the
      items it returns (nonce and name) part of the normal result set.
      a40b1bdc
    • Jeremy Cooper's avatar
      Update ledger_validators, make more JSON semantic, adjust "verbose". · 9c9d8080
      Jeremy Cooper authored
      Update the `ledger_validators` call to:
      * Return more JSON-native datatypes, especially integers and floats,
        where possible.
      * Always include an `address` element
      * Optionally include a `name` element and `nonce` element if
        the `verbose` parameter is set.
      
      This output is slightly different than the previous version, which
      would return the validator address in `validator_address`, and even
      then, only if `verbose` had been set.
      
      I believe that `address` is a critical identity property to the
      validator, not an optional one. Human-readable angry-purple-tiger
      name, on the other hand, is optional instead.
      9c9d8080
    • Jeremy Cooper's avatar
      Fix validator name so that it is returned as a string, add address. · 4b14ffc4
      Jeremy Cooper authored
      Fix the `ledger_validators` method so that the return type of the "name"
      attribute for a validator appears properly in the JSON results as a
      string instead of a list of integers.
      
      Also add the validator's address to the result set, since that is
      an important identifier to have.
      
      Fixes helium/miner#908.
      4b14ffc4
    • Jeremy Cooper's avatar
      Fix JSON <-> Erlang string issues. · 8b964cf6
      Jeremy Cooper authored
      Fix several points in the JSON/RPC interface where items which
      should be strings in JSON are instead appearing as lists of integers
      in result sets.
      
      Likewise, fix an issue in the opposite direction, for `get_account`,
      where the account address wasn't being B58 decoded before being
      handed off to the ledger for querying.
      8b964cf6
    • Jeremy Cooper's avatar
      Fix whitespace. · dddcad6d
      Jeremy Cooper authored
      dddcad6d
    • Jeremy Cooper's avatar
      Remove "verbose" from ledger_validators. · c701c2d5
      Jeremy Cooper authored
      Remove the "verbose" option from the ledger_validators call and make the
      items it returns (nonce and name) part of the normal result set.
      c701c2d5
    • Evan Vigil-McClanahan's avatar
      ad195d7d
    • Andrew Thompson's avatar
      ae143b3c
  2. 14 Jul, 2021 8 commits
  3. 13 Jul, 2021 7 commits
  4. 12 Jul, 2021 5 commits
  5. 11 Jul, 2021 5 commits
  6. 10 Jul, 2021 1 commit
  7. 09 Jul, 2021 6 commits