Merge pull request #1889 from karalabe/fast-sync-rebase

eth/63 fast synchronization algorithm
This commit is contained in:
Jeffrey Wilcke
2015-10-21 11:44:22 -07:00
53 changed files with 5047 additions and 1802 deletions

View File

@ -111,7 +111,7 @@ type BlockNonceErr struct {
}
func (err *BlockNonceErr) Error() string {
return fmt.Sprintf("block %d (%v) nonce is invalid (got %d)", err.Number, err.Hash, err.Nonce)
return fmt.Sprintf("nonce for #%d [%x…] is invalid (got %d)", err.Number, err.Hash, err.Nonce)
}
// IsBlockNonceErr returns true for invalid block nonce errors.