update changelog and spec

This commit is contained in:
Anton Kaliaev
2018-10-16 10:27:00 +04:00
parent 166dc01ab5
commit f7e0cd1360
2 changed files with 9 additions and 3 deletions
+7
View File
@@ -12,10 +12,17 @@ BREAKING CHANGES:
* [rpc] \#2298 `/abci_query` takes `prove` argument instead of `trusted` and switches the default
behaviour to `prove=false`
* [privval] \#2459 Split `SocketPVMsg`s implementations into Request and Response, where the Response may contain a error message (returned by the remote signer)
* [genesis] \#2565 `consensus_params.evidence_params.max_age` is now `time.Duration` (nanosecond count)
```json
"evidence_params": {
"max_age": "172800000000000"
}
```
* Apps
* [abci] \#2298 ResponseQuery.Proof is now a structured merkle.Proof, not just
arbitrary bytes
* [abci] \#2565 InitChain `ConsensusParams.EvidenceParams.MaxAge` is now `google.protobuf.Duration` (see https://developers.google.com/protocol-buffers/docs/reference/csharp/class/google/protobuf/well-known-types/duration)
* Go API
* [node] Remove node.RunForever
+2 -3
View File
@@ -443,11 +443,10 @@ Commit are included in the header of the next block.
### EvidenceParams
- **Fields**:
- `MaxAge (int64)`: Max age of evidence, in blocks. Evidence older than this
is considered stale and ignored.
- `MaxAge (google.protobuf.Duration)`: Max age of evidence. Evidence older
than this is considered stale and ignored.
- This should correspond with an app's "unbonding period" or other
similar mechanism for handling Nothing-At-Stake attacks.
- NOTE: this should change to time (instead of blocks)!
### Proof