Skip to content
This repository has been archived by the owner on Jun 3, 2020. It is now read-only.

tendermint-rs: Initial "rpc" feature #235

Merged
merged 10 commits into from
Apr 21, 2019
Merged

tendermint-rs: Initial "rpc" feature #235

merged 10 commits into from
Apr 21, 2019

Commits on Apr 21, 2019

  1. tendermint-rs: Initial "rpc" feature and JSONRPC types

    Adds a set of JSONRPC request and response types, designed to construct
    JSON requests to the Tendermint RPC (HTTP) API, and parse the returned
    JSON responses.
    tony-iqlusion committed Apr 21, 2019
    Configuration menu
    Copy the full SHA
    69bea5f View commit details
    Browse the repository at this point in the history
  2. tendermint-rs: /status RPC endpoint

    Adds initial support for parsing JSON responses from the `/status`
    JSONRPC endpoint.
    tony-iqlusion committed Apr 21, 2019
    Configuration menu
    Copy the full SHA
    aaa7440 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7b7ded2 View commit details
    Browse the repository at this point in the history
  4. tendermint-rs: /block RPC endpoint and related types

    Initial support for querying blocks through the RPC API.
    
    Blocks comprise a number of different types which are generally useful
    (e.g. transactions), so many of them have been peppered throughout the
    `tendermint` crate where applicable.
    
    This commit also includes some debug output improvements, and factors
    algorithm types under the relevant modules.
    tony-iqlusion committed Apr 21, 2019
    Configuration menu
    Copy the full SHA
    edc3b59 View commit details
    Browse the repository at this point in the history
  5. tendermint-rs: /genesis RPC endpoint and related types

    Adds support for parsing genesis files from RPC responses.
    
    Genesis files are generic over the underlying application, and by
    default use `serde_json::Value` to model arbitrary JSON data.
    tony-iqlusion committed Apr 21, 2019
    Configuration menu
    Copy the full SHA
    b10d5c9 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e6d3788 View commit details
    Browse the repository at this point in the history
  7. tendermint-rs: /commit RPC endpoint

    This commit also includes a bunch of new documentation, and renames the
    `Timestamp` type to `Time` to better match upstream Tendermint.
    tony-iqlusion committed Apr 21, 2019
    Configuration menu
    Copy the full SHA
    c6c3077 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    fc36806 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    ee55ffd View commit details
    Browse the repository at this point in the history
  10. tendermint-rpc: RPC error handling

    Parses JSONRPC responses into `tendermint::rpc::Error` with a
    corresponding `tendermint::rpc::error::Code` covering all presently
    known RPC errors.
    tony-iqlusion committed Apr 21, 2019
    Configuration menu
    Copy the full SHA
    b3e65fe View commit details
    Browse the repository at this point in the history