Compare commits

..

3 Commits

Author SHA1 Message Date
Jeffrey Wilcke
34b622a248 Merge pull request #2287 from obscuren/release/1.3.5
Release/1.3.5
2016-03-03 15:22:12 +01:00
Jeffrey Wilcke
cab802b40f VERSION, cmd/geth: bumped version 1.3.5 2016-03-03 15:10:48 +01:00
Péter Szilágyi
869d9792b3 [release/1.3.5] eth: forward empty body responses to the downlaoder
(cherry picked from commit ae4982a365)
2016-03-03 15:10:32 +01:00
3 changed files with 8 additions and 4 deletions

View File

@@ -1 +1 @@
1.3.4
1.3.5

View File

@@ -48,10 +48,10 @@ import (
const (
ClientIdentifier = "Geth"
Version = "1.3.4"
Version = "1.3.5"
VersionMajor = 1
VersionMinor = 3
VersionPatch = 4
VersionPatch = 5
)
var (

View File

@@ -491,7 +491,11 @@ func (pm *ProtocolManager) handleMsg(p *peer) error {
uncles[i] = body.Uncles
}
// Filter out any explicitly requested bodies, deliver the rest to the downloader
if trasactions, uncles := pm.fetcher.FilterBodies(trasactions, uncles, time.Now()); len(trasactions) > 0 || len(uncles) > 0 {
filter := len(trasactions) > 0 || len(uncles) > 0
if filter {
trasactions, uncles = pm.fetcher.FilterBodies(trasactions, uncles, time.Now())
}
if len(trasactions) > 0 || len(uncles) > 0 || !filter {
err := pm.downloader.DeliverBodies(p.id, trasactions, uncles)
if err != nil {
glog.V(logger.Debug).Infoln(err)