mirror of
https://github.com/arnaucube/go-ethereum.git
synced 2026-03-01 14:36:48 +01:00
Compare commits
8 Commits
v1.3.4
...
release/1.
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bf324bd24b | ||
|
|
a2e1e5c6a0 | ||
|
|
506c927791 | ||
|
|
c0673eefb1 | ||
|
|
34b622a248 | ||
|
|
cab802b40f | ||
|
|
869d9792b3 | ||
|
|
d3f8b763bf |
20
.github/ISSUE_TEMPLATE.md
vendored
Normal file
20
.github/ISSUE_TEMPLATE.md
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
#### System information
|
||||
|
||||
Geth version: `geth version`
|
||||
OS & Version: Windows/Linux/OSX
|
||||
Commit hash : (if `develop`)
|
||||
|
||||
#### Expected behaviour
|
||||
|
||||
|
||||
#### Actual behaviour
|
||||
|
||||
|
||||
#### Steps to reproduce the behaviour
|
||||
|
||||
|
||||
#### Backtrace
|
||||
|
||||
````
|
||||
[backtrace]
|
||||
````
|
||||
@@ -48,10 +48,10 @@ import (
|
||||
|
||||
const (
|
||||
ClientIdentifier = "Geth"
|
||||
Version = "1.3.4"
|
||||
Version = "1.3.6"
|
||||
VersionMajor = 1
|
||||
VersionMinor = 3
|
||||
VersionPatch = 4
|
||||
VersionPatch = 6
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
@@ -91,6 +91,7 @@ func PromptPassword(prompt string, warnTerm bool) (string, error) {
|
||||
}
|
||||
fmt.Print(prompt)
|
||||
input, err := bufio.NewReader(os.Stdin).ReadString('\n')
|
||||
input = strings.TrimRight(input, "\r\n")
|
||||
fmt.Println()
|
||||
return input, err
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user