Merge pull request #2471 from tendermint/master
Merge master to develop
This commit is contained in:
commit
a8eee4ab28
55
CHANGELOG.md
55
CHANGELOG.md
|
@ -1,5 +1,60 @@
|
||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## v0.25.0
|
||||||
|
|
||||||
|
*September 22, 2018*
|
||||||
|
|
||||||
|
Special thanks to external contributors on this release:
|
||||||
|
@scriptionist, @bradyjoestar, @WALL-E
|
||||||
|
|
||||||
|
This release is mostly about the ConsensusParams - removing fields and enforcing MaxGas.
|
||||||
|
It also addresses some issues found via security audit, removes various unused
|
||||||
|
functions from `libs/common`, and implements
|
||||||
|
[ADR-012](https://github.com/tendermint/tendermint/blob/develop/docs/architecture/adr-012-peer-transport.md).
|
||||||
|
|
||||||
|
Friendly reminder, we have a [bug bounty program](https://hackerone.com/tendermint).
|
||||||
|
|
||||||
|
BREAKING CHANGES:
|
||||||
|
|
||||||
|
* CLI/RPC/Config
|
||||||
|
* [rpc] [\#2391](https://github.com/tendermint/tendermint/issues/2391) /status `result.node_info.other` became a map
|
||||||
|
* [types] [\#2364](https://github.com/tendermint/tendermint/issues/2364) Remove `TxSize` and `BlockGossip` from `ConsensusParams`
|
||||||
|
* Maximum tx size is now set implicitly via the `BlockSize.MaxBytes`
|
||||||
|
* The size of block parts in the consensus is now fixed to 64kB
|
||||||
|
|
||||||
|
* Apps
|
||||||
|
* [mempool] [\#2360](https://github.com/tendermint/tendermint/issues/2360) Mempool tracks the `ResponseCheckTx.GasWanted` and
|
||||||
|
`ConsensusParams.BlockSize.MaxGas` and enforces:
|
||||||
|
- `GasWanted <= MaxGas` for every tx
|
||||||
|
- `(sum of GasWanted in block) <= MaxGas` for block proposal
|
||||||
|
|
||||||
|
* Go API
|
||||||
|
* [libs/common] [\#2431](https://github.com/tendermint/tendermint/issues/2431) Remove Word256 due to lack of use
|
||||||
|
* [libs/common] [\#2452](https://github.com/tendermint/tendermint/issues/2452) Remove the following functions due to lack of use:
|
||||||
|
* byteslice.go: cmn.IsZeros, cmn.RightPadBytes, cmn.LeftPadBytes, cmn.PrefixEndBytes
|
||||||
|
* strings.go: cmn.IsHex, cmn.StripHex
|
||||||
|
* int.go: Uint64Slice, all put/get int64 methods
|
||||||
|
|
||||||
|
FEATURES:
|
||||||
|
- [rpc] [\#2415](https://github.com/tendermint/tendermint/issues/2415) New `/consensus_params?height=X` endpoint to query the consensus
|
||||||
|
params at any height (@scriptonist)
|
||||||
|
- [types] [\#1714](https://github.com/tendermint/tendermint/issues/1714) Add Address to GenesisValidator
|
||||||
|
- [metrics] [\#2337](https://github.com/tendermint/tendermint/issues/2337) `consensus.block_interval_metrics` is now gauge, not histogram (you will be able to see spikes, if any)
|
||||||
|
- [libs] [\#2286](https://github.com/tendermint/tendermint/issues/2286) Panic if `autofile` or `db/fsdb` permissions change from 0600.
|
||||||
|
|
||||||
|
IMPROVEMENTS:
|
||||||
|
- [libs/db] [\#2371](https://github.com/tendermint/tendermint/issues/2371) Output error instead of panic when the given `db_backend` is not initialised (@bradyjoestar)
|
||||||
|
- [mempool] [\#2399](https://github.com/tendermint/tendermint/issues/2399) Make mempool cache a proper LRU (@bradyjoestar)
|
||||||
|
- [p2p] [\#2126](https://github.com/tendermint/tendermint/issues/2126) Introduce PeerTransport interface to improve isolation of concerns
|
||||||
|
- [libs/common] [\#2326](https://github.com/tendermint/tendermint/issues/2326) Service returns ErrNotStarted
|
||||||
|
|
||||||
|
BUG FIXES:
|
||||||
|
- [node] [\#2294](https://github.com/tendermint/tendermint/issues/2294) Delay starting node until Genesis time
|
||||||
|
- [consensus] [\#2048](https://github.com/tendermint/tendermint/issues/2048) Correct peer statistics for marking peer as good
|
||||||
|
- [rpc] [\#2460](https://github.com/tendermint/tendermint/issues/2460) StartHTTPAndTLSServer() now passes StartTLS() errors back to the caller rather than hanging forever.
|
||||||
|
- [p2p] [\#2047](https://github.com/tendermint/tendermint/issues/2047) Accept new connections asynchronously
|
||||||
|
- [tm-bench] [\#2410](https://github.com/tendermint/tendermint/issues/2410) Enforce minimum transaction size (@WALL-E)
|
||||||
|
|
||||||
## 0.24.0
|
## 0.24.0
|
||||||
|
|
||||||
*September 6th, 2018*
|
*September 6th, 2018*
|
||||||
|
|
|
@ -1,37 +1,17 @@
|
||||||
# Pending
|
# Pending
|
||||||
|
|
||||||
Special thanks to external contributors with PRs included in this release:
|
Special thanks to external contributors on this release:
|
||||||
|
|
||||||
BREAKING CHANGES:
|
BREAKING CHANGES:
|
||||||
|
|
||||||
* CLI/RPC/Config
|
* CLI/RPC/Config
|
||||||
* [rpc] [\#2391](https://github.com/tendermint/tendermint/issues/2391) /status `result.node_info.other` became a map
|
|
||||||
|
|
||||||
* Apps
|
* Apps
|
||||||
* [mempool] \#2310 Mempool tracks the `ResponseCheckTx.GasWanted` and enforces `ConsensusParams.BlockSize.MaxGas` on proposals.
|
|
||||||
|
|
||||||
* Go API
|
* Go API
|
||||||
* [libs/common] \#2431 Remove Word256 due to lack of use
|
|
||||||
* [libs/common] \#2452 Remove the following functions due to lack of use:
|
|
||||||
* byteslice.go: cmn.IsZeros, cmn.RightPadBytes, cmn.LeftPadBytes, cmn.PrefixEndBytes
|
|
||||||
* strings.go: cmn.IsHex, cmn.StripHex
|
|
||||||
* int.go: Uint64Slice, all put/get int64 methods
|
|
||||||
|
|
||||||
* Blockchain Protocol
|
|
||||||
|
|
||||||
* P2P Protocol
|
|
||||||
|
|
||||||
|
|
||||||
FEATURES:
|
FEATURES:
|
||||||
|
|
||||||
IMPROVEMENTS:
|
IMPROVEMENTS:
|
||||||
- [libs/db] \#2371 Output error instead of panic when the given db_backend is not initialised (@bradyjoestar)
|
|
||||||
- [mempool] [\#2399](https://github.com/tendermint/tendermint/issues/2399) Make mempool cache a proper LRU (@bradyjoestar)
|
|
||||||
- [types] [\#1714](https://github.com/tendermint/tendermint/issues/1714) Add Address to GenesisValidator
|
|
||||||
- [metrics] `consensus.block_interval_metrics` is now gauge, not histogram (you will be able to see spikes, if any)
|
|
||||||
- [p2p] \#2126 Introduce PeerTransport interface to improve isolation of concerns
|
|
||||||
|
|
||||||
BUG FIXES:
|
BUG FIXES:
|
||||||
- [node] \#2294 Delay starting node until Genesis time
|
|
||||||
- [consensus] \#2048 Correct peer statistics for marking peer as good
|
|
||||||
- [rpc] \#2460 StartHTTPAndTLSServer() now passes StartTLS() errors back to the caller rather than hanging forever.
|
|
|
@ -3,6 +3,12 @@
|
||||||
This guide provides steps to be followed when you upgrade your applications to
|
This guide provides steps to be followed when you upgrade your applications to
|
||||||
a newer version of Tendermint Core.
|
a newer version of Tendermint Core.
|
||||||
|
|
||||||
|
## v0.25.0
|
||||||
|
|
||||||
|
This release has minimal impact.
|
||||||
|
|
||||||
|
If you use GasWanted in ABCI and want to enforce it, set the MaxGas in the genesis file (default is no max).
|
||||||
|
|
||||||
## v0.24.0
|
## v0.24.0
|
||||||
|
|
||||||
New 0.24.0 release contains a lot of changes to the state and types. It's not
|
New 0.24.0 release contains a lot of changes to the state and types. It's not
|
||||||
|
|
|
@ -3,14 +3,14 @@ package version
|
||||||
// Version components
|
// Version components
|
||||||
const (
|
const (
|
||||||
Maj = "0"
|
Maj = "0"
|
||||||
Min = "24"
|
Min = "25"
|
||||||
Fix = "0"
|
Fix = "0"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
// Version is the current version of Tendermint
|
// Version is the current version of Tendermint
|
||||||
// Must be a string because scripts like dist.sh read this file.
|
// Must be a string because scripts like dist.sh read this file.
|
||||||
Version = "0.24.0"
|
Version = "0.25.0"
|
||||||
|
|
||||||
// GitCommit is the current HEAD set using ldflags.
|
// GitCommit is the current HEAD set using ldflags.
|
||||||
GitCommit string
|
GitCommit string
|
||||||
|
|
Loading…
Reference in New Issue