Anton Kaliaev 6a369b69b8
rpc: /block_results fix docs + write test + restructure response
BREAKING

Example response:

```json
{
  "jsonrpc": "2.0",
  "id": "",
  "result": {
    "height": "2109",
    "txs_results": 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-07-04 15:21:52 +04:00
..
2018-05-14 16:17:21 -04:00
2019-02-18 13:23:40 +04:00
2018-09-28 20:03:19 -04:00