Merge pull request #3062 from tendermint/release/v0.27.4

Release/v0.27.4
This commit is contained in:
Ethan Buchman
2018-12-21 16:35:45 -05:00
committed by GitHub
3 changed files with 12 additions and 2 deletions

View File

@@ -1,5 +1,15 @@
# Changelog
## v0.27.4
*December 21st, 2018*
### BUG FIXES:
- [mempool] [\#3036](https://github.com/tendermint/tendermint/issues/3036) Fix
LRU cache by popping the least recently used item when the cache is full,
not the most recently used one!
## v0.27.3
*December 16th, 2018*

View File

@@ -676,7 +676,7 @@ func (cache *mapTxCache) Push(tx types.Tx) bool {
// Use the tx hash in the cache
txHash := sha256.Sum256(tx)
if moved, exists := cache.map_[txHash]; exists {
cache.list.MoveToFront(moved)
cache.list.MoveToBack(moved)
return false
}

View File

@@ -18,7 +18,7 @@ const (
// TMCoreSemVer is the current version of Tendermint Core.
// It's the Semantic Version of the software.
// Must be a string because scripts like dist.sh read this file.
TMCoreSemVer = "0.27.3"
TMCoreSemVer = "0.27.4"
// ABCISemVer is the semantic version of the ABCI library
ABCISemVer = "0.15.0"