Martin Holst Swende
0842fb8012
p2p/nodestate: fix deadlock during shutdown of les server ( #21927 )
...
This PR fixes a deadlock reported here: #21925
The cause is that many operations may be pending, but if the close happens, only one of them gets awoken and exits, the others remain waiting for a signal that never comes.
# Conflicts:
# p2p/nodestate/nodestate.go
2021-03-08 12:45:56 +01:00
Martin Holst Swende
8b1d7681a2
cmd/geth: make tests run quicker + use less memory and disk ( #21919 )
...
# Conflicts:
# cmd/geth/accountcmd_test.go
# cmd/geth/consolecmd_test.go
# cmd/geth/dao_test.go
# cmd/geth/genesis_test.go
# cmd/geth/les_test.go
2021-03-08 12:44:41 +01:00
Felföldi Zsolt
269d31140e
les: fix GetProofsV2 bug ( #21896 )
...
# Conflicts:
# les/server_handler.go
2021-03-08 12:30:42 +01:00
LieutenantRoger
1e4293e499
cmd/faucet: improve handling of facebook post url ( #21838 )
...
Resolves #21532
Co-authored-by: roger <dengjun@huobi.com>
# Conflicts:
# cmd/faucet/faucet.go
2021-03-08 12:30:29 +01:00
Felföldi Zsolt
8879989e6d
les/utils: protect against WeightedRandomSelect overflow ( #21839 )
...
Also fixes a bug in les/flowcontrol that caused the overflow.
# Conflicts:
# les/flowcontrol/control.go
# les/utils/weighted_select.go
2021-03-08 12:29:32 +01:00
Martin Holst Swende
74e0b2cc36
cmd/geth: improve les test on windows ( #21860 )
...
# Conflicts:
# cmd/geth/les_test.go
2021-03-08 12:19:19 +01:00
Martin Holst Swende
5e5f43ad88
cmd/geth: remove retesteth
...
# Conflicts:
# cmd/geth/main.go
2021-03-08 12:18:43 +01:00
Marius van der Wijden
bcc51ea117
core, all: split vm.Context into BlockContext and TxContext ( #21672 )
...
* all: core: split vm.Config into BlockConfig and TxConfig
* core: core/vm: reset EVM between tx in block instead of creating new
* core/vm: added docs
# Conflicts:
# accounts/abi/bind/backends/simulated.go
# cmd/evm/internal/t8ntool/execution.go
# cmd/geth/retesteth.go
# core/evm.go
# core/state_prefetcher.go
# core/state_processor.go
# core/state_transition.go
# core/vm/evm.go
# core/vm/gas_table_test.go
# core/vm/instructions.go
# core/vm/instructions_test.go
# eth/api_tracer.go
# eth/tracers/tracer_test.go
# eth/tracers/tracers_test.go
# les/api_backend.go
# les/odr_test.go
# light/odr_test.go
# tests/vm_test_util.go
2021-03-08 12:17:35 +01:00
Felix Lange
70a47b58fa
params: begin v1.9.25 release cycle
...
# Conflicts:
# params/version.go
2021-03-08 11:40:26 +01:00
Igor Mandrigin
914c6c33ef
add diff file
2021-03-08 11:36:14 +01:00