Jeff Wentworth
6ae9dc15cc
[ #20266 ] Fix bugs decoding integers and fixed bytes in indexed event fields ( #20269 )
...
* fix parseTopics() and add tests
* remove printf
* add ParseTopicsIntoMap() tests
* fix FixedBytesTy
* fix int and fixed bytes
* golint topics_test.go
5 years ago
Paweł Bylica
49cf000df7
cmd/evm: Add --bench flag for benchmarking ( #20330 )
...
The --bench flag uses the testing.B to execute the EVM bytecode many times and get the average exeuction time out of it.
5 years ago
Ryan Schneider
c4b7fdd27e
eth, internal/web3ext: add optional first and last arguments to the `admin_exportChain` RPC. ( #20107 )
5 years ago
Guillaume Ballet
275cd4988d
cmd/abigen: Sanitize vyper's combined json names ( #20419 )
...
* cmd/abigen: Sanitize vyper's combined json names
* Review feedback: handle full paths
5 years ago
Felix Lange
f51cf573b5
cmd/devp2p: implement AWS Route53 enrtree deployer ( #20446 )
5 years ago
Felix Lange
191364c350
p2p/dnsdisc: add enode.Iterator API ( #20437 )
...
* p2p/dnsdisc: add support for enode.Iterator
This changes the dnsdisc.Client API to support the enode.Iterator
interface.
* p2p/dnsdisc: rate-limit DNS requests
* p2p/dnsdisc: preserve linked trees across root updates
This improves the way links are handled when the link root changes.
Previously, sync would simply remove all links from the current tree and
garbage-collect all unreachable trees before syncing the new list of
links.
This behavior isn't great in certain cases: Consider a structure where
trees A, B, and C reference each other and D links to A. If D's link
root changed, the sync code would first remove trees A, B and C, only to
re-sync them later when the link to A was found again.
The fix for this problem is to track the current set of links in each
clientTree and removing old links only AFTER all links are synced.
* p2p/dnsdisc: deflake iterator test
* cmd/devp2p: adapt dnsClient to new p2p/dnsdisc API
* p2p/dnsdisc: tiny comment fix
5 years ago
Felix Lange
d90d1db609
eth/filters: remove use of event.TypeMux for pending logs ( #20312 )
5 years ago
Péter Szilágyi
b8bc9b3d8e
Merge pull request #20444 from MariusVanDerWijden/patch-4
...
core: removed old invalid comment
5 years ago
Marius van der Wijden
f383eaa102
core: removed old invalid comment
5 years ago
Martin Holst Swende
cecc7230c0
tests/fuzzers: fuzzbuzz fuzzers for keystore, rlp, trie, whisper ( #19910 )
...
* fuzzers: fuzzers for keystore, rlp, trie, whisper (cred to @guidovranken )
* fuzzers: move fuzzers to testdata
* testdata/fuzzers: documentation
* testdata/fuzzers: corpus for rlp
* tests/fuzzers: fixup
5 years ago
Charing
4b40b5377b
miner: add dependency for stress tests ( #20436 )
...
1.to build stress tests
Depends-On: 6269e5574c
5 years ago
Péter Szilágyi
370cb95b7f
params: begin v1.9.10 release cycle
5 years ago
Péter Szilágyi
017449971e
params: release Geth v1.9.9
5 years ago
Martin Holst Swende
bc01593afb
consensus/ethash, params: eip-2384: bump difficulty bomb ( #20347 )
...
* consensus/ethash, params: implement eip-2384: bump difficulty bomb
* params: EIP 2384 compat checks
* consensus, params: add Muir Glacier block number (mainnet,ropsten) + official name
* core/forkid: forkid tests for muir glacier
* params/config: address review concerns
* params, core/forkid: review nitpicks
* cmd/geth,eth,les: add override option for muir glacier
* params: nit fix
5 years ago
Marius van der Wijden
c9dce0bfd7
p2p/enode: remove data race in sliceIter ( #20421 )
5 years ago
Péter Szilágyi
e78f631dfc
Merge pull request #20428 from karalabe/cht-1.9.9
...
params: update CHTs for v1.9.9 release
5 years ago
Péter Szilágyi
6b6882f08b
params: update CHTs for v1.9.9 release
5 years ago
Péter Szilágyi
c2d65d34d5
Merge pull request #20415 from karalabe/trie-dirty-cache-metrics
...
trie: track dirty cache metrics, track clean writes on commit
5 years ago
Péter Szilágyi
13ccf6016e
trie: track dirty cache metrics, track clean writes on commit
5 years ago
Marius van der Wijden
7ce7c3967c
accounts/abi/bind: fix destructive packing of *big.Int ( #20412 )
5 years ago
gary rong
fc7e0fe6c7
core, miner: remove PostChainEvents ( #19396 )
...
This change:
- removes the PostChainEvents method on core.BlockChain.
- sorts 'removed log' events by block number.
- fire the NewChainHead event if we inject a canonical block into the chain
even if the entire insertion is not successful.
- guarantees correct event ordering in all cases.
5 years ago
Guillaume Ballet
5cc6e7a71e
accounts/usbwallet: fix staticcheck warnings ( #20372 )
5 years ago
xinluyin
d556d39a2c
internal/web3ext: add debug_accountRange ( #20410 )
5 years ago
Guillaume Ballet
54d332e1db
accounts/scwallet: fix staticcheck warnings ( #20370 )
5 years ago
Guillaume Ballet
e0bf5f0ccb
internal: fix staticcheck warnings ( #20380 )
5 years ago
Guillaume Ballet
1ff3d7c2d4
cmd/faucet, cmd/geth: fix staticcheck warnings ( #20374 )
5 years ago
gary rong
08611cfd75
trie: remove dead code ( #20405 )
5 years ago
Guillaume Ballet
9a529d64d1
log: fix staticcheck warnings ( #20388 )
5 years ago
Felix Lange
a91b704b01
consensus/ethash: refactor remote sealer ( #20335 )
...
The original idea behind this change was to remove a use of the
deprecated CancelRequest method. Simply removing it would've been an
option, but I couldn't resist and did a bit of a refactoring instead.
All remote sealing code was contained in a single giant function. Remote
sealing is now extracted into its own object, remoteSealer.
5 years ago
Péter Szilágyi
c9f28ca8e5
go: update fastcache to 1.5.3 ( #20404 )
...
deps: update fastcache to 1.5.3
5 years ago
Péter Szilágyi
58e33d9e5a
Merge pull request #20403 from karalabe/fix-freezer-reinit
...
core/rawdb: fix reinit regression caused by the hash check PR
5 years ago
Martin Holst Swende
7800ba978d
deps: update fastcache to 1.5.3
5 years ago
Péter Szilágyi
717f8a4e8f
core/rawdb: fix reinit regression caused by the hash check PR
5 years ago
Guillaume Ballet
7b189d6f1f
core: fix staticcheck warnings ( #20384 )
...
* core: fix staticcheck warnings
* fix goimports
5 years ago
Guillaume Ballet
c4844e9ee2
les: fix staticcheck warnings ( #20371 )
5 years ago
zaccoding
23c8c74131
cmd: fix command help messages in modules ( #20203 )
5 years ago
Péter Szilágyi
0676320169
params: begin v1.9.9 release cycle
5 years ago
Péter Szilágyi
d62e9b2857
params: release go-ethereum v1.9.8
5 years ago
Felföldi Zsolt
878e35bfde
les: fix clientInfo deadlock ( #20395 )
5 years ago
Felix Lange
2e98706a99
p2p/discover: slow down lookups on empty table ( #20389 )
...
* p2p/discover: slow down lookups on empty table
* p2p/discover: wake from slowdown sleep when table is closed
5 years ago
Guillaume Ballet
8c1e8de839
accounts/keystore: fix staticcheck warnings ( #20373 )
...
* accounts/keystore: fix staticcheck warnings
* review feedback
5 years ago
gary rong
b26eedf9e9
accounts/abi/bind: avoid reclaring structs ( #20381 )
5 years ago
Felix Lange
44b41641f8
rlp: fix staticcheck warnings ( #20368 )
...
* rlp: fix staticcheck warnings
* rlp: fix ExampleDecode test
5 years ago
Péter Szilágyi
9ef90dbf30
Merge pull request #20385 from etclabscore/fix/version-cmd-networkid
...
cmd/geth: remove network id from version cmd
5 years ago
meows
d9d2a4eef9
cmd/geth: remove network id from version cmd
...
It was reflective only of the Default setting,
and not chain aware.
5 years ago
gary rong
9d67222f4e
trie: replace bigcache with fastcache ( #19971 )
5 years ago
Guillaume Ballet
f5a68a40bf
eth/tracers: fix staticcheck warnings ( #20379 )
5 years ago
Guillaume Ballet
f06ae5ca6a
miner: fix staticcheck warnings ( #20375 )
5 years ago
Michael Forney
3a0480e07d
core/asm: allow numbers in labels ( #20362 )
...
Numbers were already allowed when creating labels, just not when
referencing them.
5 years ago
Guillaume Ballet
5d21667587
tests, signer: remove staticcheck warnings ( #20364 )
5 years ago