From c7e91a15706d3e6de585800b9e124c04f78b4a76 Mon Sep 17 00:00:00 2001 From: Uh Sado Date: Tue, 1 Oct 2019 09:16:57 +0000 Subject: [PATCH 1/2] for instant sync, reduced fetcher.arriveTimeout and fetcher.gatherSlack to 0 --- eth/fetcher/fetcher.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eth/fetcher/fetcher.go b/eth/fetcher/fetcher.go index 138e4ace31b2..9bd42dc6fdb1 100644 --- a/eth/fetcher/fetcher.go +++ b/eth/fetcher/fetcher.go @@ -30,8 +30,8 @@ import ( ) const ( - arriveTimeout = 5000 * time.Millisecond // Time allowance before an announced block is explicitly requested - gatherSlack = 1000 * time.Millisecond // Interval used to collate almost-expired announces with fetches + arriveTimeout = 0 * time.Millisecond // Time allowance before an announced block is explicitly requested + gatherSlack = 0 * time.Millisecond // Interval used to collate almost-expired announces with fetches fetchTimeout = 120 * time.Second // Maximum allotted time to return an explicitly requested block maxUncleDist = 700 // Maximum allowed backward distance from the chain head maxQueueDist = 3200 // Maximum allowed distance from the chain head to queue From 6452d309144ad6f2712e52365a26cc968a1ae29a Mon Sep 17 00:00:00 2001 From: Uh Sado Date: Wed, 2 Oct 2019 01:07:19 +0000 Subject: [PATCH 2/2] version is now 0.9.5 --- params/version.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/params/version.go b/params/version.go index a668688ee9b3..5f187b59474e 100644 --- a/params/version.go +++ b/params/version.go @@ -23,7 +23,7 @@ import ( const ( VersionMajor = 0 // Major version component of the current release VersionMinor = 9 // Minor version component of the current release - VersionPatch = 4 // Patch version component of the current release + VersionPatch = 5 // Patch version component of the current release VersionMeta = "stable" // Version metadata to append to the version string )