Official Go implementation of the Ethereum protocol
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
meowsbits
c72b16c340
core: use block difficulty for genesis ( #23793 )
...
* core: write test showing that TD is not stored properly at genesis
The ToBlock method applies a default value for an empty
difficulty value. This default is not carried over through the Commit
method because the TotalDifficulty database write writes the
original difficulty value (nil) instead of the defaulty value
present on the genesis Block.
Date: 2021-10-22 08:25:32-07:00
Signed-off-by: meows <b5c6@protonmail.com>
* core: write TD value from Block, not original genesis value
This an issue where a default TD value was not written to
the database, resulting in a 0 value TD at genesis.
A test for this issue was provided at 90e3ffd393
Date: 2021-10-22 08:28:00-07:00
Signed-off-by: meows <b5c6@protonmail.com>
* core: fix tests by adding GenesisDifficulty to expected result
See prior two commits.
Date: 2021-10-22 09:16:01-07:00
Signed-off-by: meows <b5c6@protonmail.com>
* les: fix test with genesis change
Co-authored-by: Martin Holst Swende <martin@swende.se>
3 years ago
..
checkpointoracle
les: update checktime even if check fails
4 years ago
downloader
les: duplicate downloader and fetcher to allow progressive refactoring
3 years ago
fetcher
les: duplicate downloader and fetcher to allow progressive refactoring
3 years ago
flowcontrol
les: move client pool to les/vflux/server ( #22495 )
4 years ago
utils
les/utils: UDP rate limiter ( #21930 )
4 years ago
vflux
les/vflux/server: fix metrics ( #22946 )
3 years ago
api.go
les: move client pool to les/vflux/server ( #22495 )
4 years ago
api_backend.go
eth,rpc: allow for flag configured timeouts for eth_call ( #23645 )
3 years ago
api_test.go
les: duplicate downloader and fetcher to allow progressive refactoring
3 years ago
benchmark.go
all: add support for EIP-2718, EIP-2930 transactions ( #21502 )
4 years ago
bloombits.go
les: handler separation ( #19639 )
5 years ago
client.go
les: duplicate downloader and fetcher to allow progressive refactoring
3 years ago
client_handler.go
les: duplicate downloader and fetcher to allow progressive refactoring
3 years ago
commons.go
les: fix balance expiration ( #22343 )
4 years ago
costtracker.go
eth: move eth.Config to a common package ( #22205 )
4 years ago
distributor.go
les, les/lespay: implement new server pool ( #20758 )
5 years ago
distributor_test.go
les: separate peer into clientPeer and serverPeer ( #19991 )
5 years ago
enr_entry.go
cmd/devp2p: skip ENR field tails properly in nodeset filter ( #22565 )
4 years ago
fetcher.go
les: duplicate downloader and fetcher to allow progressive refactoring
3 years ago
fetcher_test.go
core: use block difficulty for genesis ( #23793 )
3 years ago
handler_test.go
les: duplicate downloader and fetcher to allow progressive refactoring
3 years ago
metrics.go
les: polish code ( #22625 )
4 years ago
odr.go
les: generate random nums directly, not via strange conversions
4 years ago
odr_requests.go
les, light: improve txstatus retrieval ( #22349 )
4 years ago
odr_test.go
les: fix data races in tests ( #23457 )
3 years ago
peer.go
les: polish code ( #22625 )
4 years ago
peer_test.go
les: introduce forkID ( #21974 )
4 years ago
protocol.go
eth/protocols/eth, les: avoid Raw() when decoding HashOrNumber ( #22841 )
4 years ago
pruner.go
trie, les: add missing calls to Ticker.Stop ( #23415 )
3 years ago
pruner_test.go
les, light: improve txstatus retrieval ( #22349 )
4 years ago
request_test.go
les, light: improve txstatus retrieval ( #22349 )
4 years ago
retrieve.go
les: generate random nums directly, not via strange conversions
4 years ago
server.go
les: fix goroutine leaks in tests ( #22707 )
4 years ago
server_handler.go
core/state: move state account to core/types + abstracted "write account to trie" ( #23567 )
3 years ago
server_requests.go
tests/fuzzers: fix goroutine leak in les fuzzer ( #22455 )
4 years ago
servingqueue.go
les: avoid shutdown hang ( #23139 )
3 years ago
state_accessor.go
all: removed blockhash from statedb ( #23126 )
3 years ago
sync.go
les: duplicate downloader and fetcher to allow progressive refactoring
3 years ago
sync_test.go
les: fix data races in tests ( #23457 )
3 years ago
test_helper.go
les: fix data races in tests ( #23457 )
3 years ago
txrelay.go
les: generate random nums directly, not via strange conversions
4 years ago
ulc.go
cmd, eth, les: fix up ultra light config integration
5 years ago
ulc_test.go
les: fix data races in tests ( #23457 )
3 years ago