eth/downloader: fix data race around the ancientlimit (#21681)

* eth/downloader: fix data race around the ancientlimit

* eth/downloader: initialize the ancientlimit as 0
# Conflicts:
#	eth/downloader/downloader.go
This commit is contained in:
gary rong 2020-10-09 14:58:30 +08:00 committed by Igor Mandrigin
parent 6ae9473675
commit 99120e0c07

View File

@ -259,110 +259,3 @@ Date: Fri Oct 9 09:09:10 2020 +0200
eth/downloader: cache parent hash instead of recomputing (#21678)
commit 905ed109edfda340ccd3641ebad4e0ff5dc73440
Author: Gary Rong <garyrong0905@gmail.com>
Date: Fri Oct 9 14:58:30 2020 +0800
eth/downloader: fix data race around the ancientlimit (#21681)
* eth/downloader: fix data race around the ancientlimit
* eth/downloader: initialize the ancientlimit as 0
commit 43cd31ea9f57e26f8f67aa8bd03bbb0a50814465
Author: Guillaume Ballet <gballet@gmail.com>
Date: Thu Oct 8 14:03:24 2020 +0200
core/vm: dedup config check in markdown logger (#21655)
* core/vm: dedup config check
* review feedback: reuse buffer
commit 5e86e4ed291ef0133670f0974b5511618e43e297
Author: Felix Lange <fjl@twurst.com>
Date: Thu Oct 8 11:19:54 2020 +0200
p2p/discover: remove use of shared hash instance for key derivation (#21673)
For some reason, using the shared hash causes a cryptographic incompatibility
when using Go 1.15. I noticed this during the development of Discovery v5.1
when I added test vector verification.
The go library commit that broke this is golang/go@97240d5, but the
way we used HKDF is slightly dodgy anyway and it's not a regression.
commit 6d29e192e92ed51beaad3792b33a0b6c5043a00c
Author: Martin Holst Swende <martin@swende.se>
Date: Thu Oct 8 10:10:58 2020 +0200
signer/core: don't mismatch reject and no accounts (#21677)
* signer/core: don't mismatch reject and zero accounts, fixes #21674
* signer/core: docs
commit 015e78928a374afb016a12db137d9ca7f1a37a03
Author: Felix Lange <fjl@twurst.com>
Date: Wed Oct 7 20:05:14 2020 +0200
node: relax websocket connection header check (#21646)
This makes it accept the "upgrade,keep-alive" header value, which
apparently is a thing.
commit 716864deba26d2afea6b3cb62eeb573613d6b86b
Author: rene <41963722+renaynay@users.noreply.github.com>
Date: Wed Oct 7 17:22:44 2020 +0200
cmd/devp2p/internal/ethtest: improve eth test suite (#21615)
This fixes issues with the protocol handshake and status exchange
and adds support for responding to GetBlockHeaders requests.
commit e43d827a1987c362dce6efd0afd8e753a6ecf9ae
Author: Martin Holst Swende <martin@swende.se>
Date: Tue Oct 6 15:57:00 2020 +0200
core/types: optimize bloom filters (#21624)
* core/types: tests for bloom
* core/types: refactored bloom filter for receipts, added tests
core/types: replaced old bloom implementation
core/types: change interface of bloom add+test
* core/types: refactor bloom
* core/types: minor tweak on LogsBloom
Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>
commit eb87121300725623d7f504f7761fb7277579d689
Author: Martin Holst Swende <martin@swende.se>
Date: Tue Oct 6 15:34:29 2020 +0200
core/bloombits: faster generator (#21625)
* core/bloombits: add benchmark
* core/bloombits: optimize inserts
commit 2b2fd74158795bfccaff053558b4c1d1d60fa2fa
Author: Raw Pong Ghmoa <58883403+q9f@users.noreply.github.com>
Date: Tue Oct 6 07:35:21 2020 +0200
params: update goerli testnet bootnodes (#21659)
* params: update pegasys besu bootnode
* params: update goerli initiative bootnodes
commit d9890a6a8fc245c31dd0852c5fb0e1081708c4bc
Author: Felix Lange <fjl@twurst.com>
Date: Mon Oct 5 12:50:26 2020 +0200
cmd/faucet: enable DNS discovery for known networks (#21636)