mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-05 07:37:14 +00:00
formatting and update CHANGELOG
This commit is contained in:
+5
-3
@@ -4,7 +4,9 @@
|
||||
|
||||
BREAKING CHANGES:
|
||||
|
||||
- Query takes RequestQuery and returns ResponseQuery, with more specificity over keys, paths, and proofs:
|
||||
- Query takes RequestQuery and returns ResponseQuery. The request is split into `data` and `path`,
|
||||
can specify a height to query the state from, and whether or not the response should come with a proof.
|
||||
The response returns the corresponding key-value pair, with proof if requested.
|
||||
|
||||
```
|
||||
message RequestQuery{
|
||||
@@ -20,7 +22,7 @@ message ResponseQuery{
|
||||
bytes key = 3;
|
||||
bytes value = 4;
|
||||
bytes proof = 5;
|
||||
uint64 height = 6;
|
||||
uint64 height = 6;
|
||||
string log = 7;
|
||||
}
|
||||
```
|
||||
@@ -47,7 +49,7 @@ message RequestBeginBlock{
|
||||
}
|
||||
```
|
||||
|
||||
- Info returns a ResponseInfo, containing last block height and app hash:o
|
||||
- Info returns a ResponseInfo, containing last block height and app hash:
|
||||
|
||||
```
|
||||
message ResponseInfo {
|
||||
|
||||
+2
-2
@@ -196,7 +196,7 @@ message ResponseQuery{
|
||||
bytes key = 3;
|
||||
bytes value = 4;
|
||||
bytes proof = 5;
|
||||
uint64 height = 6;
|
||||
uint64 height = 6;
|
||||
string log = 7;
|
||||
}
|
||||
|
||||
@@ -214,7 +214,7 @@ message ResponseBeginBlock{
|
||||
}
|
||||
|
||||
message ResponseEndBlock{
|
||||
repeated Validator diffs = 4;
|
||||
repeated Validator diffs = 1;
|
||||
}
|
||||
|
||||
//----------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user