Files
tendermint/consensus
Anton Kaliaev 59da313bc0 rpc: /block_results fix docs + write test + restructure response (#3615)
BREAKING

Example response:

```json
{
  "jsonrpc": "2.0",
  "id": "",
  "result": {
    "height": "2109",
    "txs_results": null,
    "begin_block_events": null,
    "end_block_events": null,
    "validator_updates": null,
    "consensus_param_updates": null
  }
}
```

Old result consisted of ABCIResponses struct and height. Exposing
internal ABCI structures (which we store in state package) in RPC seems
bad to me for the following reasons:

1) high risk of breaking the API when somebody changes internal structs
(HAPPENED HERE!)
2) RPC is aware of ABCI, which I'm not sure we want
2019-11-14 13:34:35 +04:00
..
2019-07-23 15:35:36 +02:00
2019-10-30 12:25:58 -07:00
2019-07-31 11:34:17 +02:00
2019-10-30 12:25:58 -07:00
2018-07-01 22:36:49 -04:00
2019-10-30 12:25:58 -07:00
2019-10-30 12:25:58 -07:00

See the consensus spec and the reactor consensus spec for more information.