1. 19 Jul, 2021 8 commits
  2. 17 Jul, 2021 3 commits
  3. 16 Jul, 2021 9 commits
  4. 15 Jul, 2021 10 commits
    • Jeremy Cooper's avatar
      Fix whitespace. · 5a110c8d
      Jeremy Cooper authored
      5a110c8d
    • 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
    • Jeremy Cooper's avatar
      Implement hbbft_perf for JSONRPC. · 7539cc69
      Jeremy Cooper authored
      Implement the `hbbft_perf` for JSON/RPC use, as requested in
      helium/miner #873.
      
      A large portion of this code originally lived entirely within
      `miner_cli_hbbft.erl`, so rather than duplicate it, the essential
      information gathering now happens in `miner_util.erl` (per Evan's
      suggestion) and is then parsed and formatted in different ways
      by the CLI (`miner_cli_hbbft.erl`) and the JSON/RPC handler
      (`miner_jsronrpc_hbbft.erl`).
      
      This is a cherry-pick commit to rescue a branch that has been
      screwed up by a bad rebase/merge.
      7539cc69
    • Andrew Thompson's avatar
      ae143b3c
  5. 14 Jul, 2021 8 commits
  6. 13 Jul, 2021 2 commits