diff options
author | Felix Lange <fjl@twurst.com> | 2016-03-16 02:38:24 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2016-03-16 02:38:24 +0800 |
commit | 066d30152088188cec782bb62844550332d6b142 (patch) | |
tree | 93afcd1ed8c3661a9ff736ff32c410bfeece39db /eth/fetcher | |
parent | e189fb839c688b418b43ad6533111c246c109a93 (diff) | |
parent | bbbe2360d02a5c8191e98cd6c3cbefe20db2b9db (diff) | |
download | dexon-066d30152088188cec782bb62844550332d6b142.tar dexon-066d30152088188cec782bb62844550332d6b142.tar.gz dexon-066d30152088188cec782bb62844550332d6b142.tar.bz2 dexon-066d30152088188cec782bb62844550332d6b142.tar.lz dexon-066d30152088188cec782bb62844550332d6b142.tar.xz dexon-066d30152088188cec782bb62844550332d6b142.tar.zst dexon-066d30152088188cec782bb62844550332d6b142.zip |
Merge pull request #2352 from leijurv/patch-5
eth: various typos
Diffstat (limited to 'eth/fetcher')
-rw-r--r-- | eth/fetcher/fetcher.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/eth/fetcher/fetcher.go b/eth/fetcher/fetcher.go index d88d91982..9300717c3 100644 --- a/eth/fetcher/fetcher.go +++ b/eth/fetcher/fetcher.go @@ -14,7 +14,7 @@ // You should have received a copy of the GNU Lesser General Public License // along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>. -// Package fetcher contains the block announcement based synchonisation. +// Package fetcher contains the block announcement based synchronisation. package fetcher import ( @@ -34,7 +34,7 @@ import ( const ( arriveTimeout = 500 * time.Millisecond // Time allowance before an announced block is explicitly requested gatherSlack = 100 * time.Millisecond // Interval used to collate almost-expired announces with fetches - fetchTimeout = 5 * time.Second // Maximum alloted time to return an explicitly requested block + fetchTimeout = 5 * time.Second // Maximum allotted time to return an explicitly requested block maxUncleDist = 7 // Maximum allowed backward distance from the chain head maxQueueDist = 32 // Maximum allowed distance from the chain head to queue hashLimit = 256 // Maximum number of unique blocks a peer may have announced @@ -176,7 +176,7 @@ func New(getBlock blockRetrievalFn, validateBlock blockValidatorFn, broadcastBlo } } -// Start boots up the announcement based synchoniser, accepting and processing +// Start boots up the announcement based synchroniser, accepting and processing // hash notifications and block fetches until termination requested. func (f *Fetcher) Start() { go f.loop() |