Commit Graph

11409 Commits

Author SHA1 Message Date
Marius van der Wijden
04998d12a5 p2p/enode: remove data race in sliceIter (#20421) 2019-12-30 16:11:02 -05:00
Péter Szilágyi
0c7ae69814 params: update CHTs for v1.9.9 release 2019-12-30 16:11:02 -05:00
Péter Szilágyi
4c4e8e852b trie: track dirty cache metrics, track clean writes on commit 2019-12-30 16:11:02 -05:00
Marius van der Wijden
091e9db6ad accounts/abi/bind: fix destructive packing of *big.Int (#20412) 2019-12-30 16:11:02 -05:00
gary rong
72e8fb3a9e 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.
2019-12-30 16:11:02 -05:00
Guillaume Ballet
db26dfc075 accounts/usbwallet: fix staticcheck warnings (#20372) 2019-12-30 16:11:02 -05:00
xinluyin
05b3c161c0 internal/web3ext: add debug_accountRange (#20410) 2019-12-30 16:11:02 -05:00
Guillaume Ballet
98e0b8cd35 accounts/scwallet: fix staticcheck warnings (#20370) 2019-12-30 16:11:02 -05:00
Guillaume Ballet
84ce2ed396 internal: fix staticcheck warnings (#20380) 2019-12-30 16:11:02 -05:00
Guillaume Ballet
376e876db1 cmd/faucet, cmd/geth: fix staticcheck warnings (#20374) 2019-12-30 16:11:02 -05:00
gary rong
44e7becbe9 trie: remove dead code (#20405) 2019-12-30 16:11:02 -05:00
Guillaume Ballet
e6f02948ea log: fix staticcheck warnings (#20388) 2019-12-30 16:11:02 -05:00
Felix Lange
b41940f1f4 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.
2019-12-30 16:11:02 -05:00
Martin Holst Swende
9c04887adb deps: update fastcache to 1.5.3 2019-12-30 16:11:02 -05:00
Péter Szilágyi
e7a06d58c5 core/rawdb: fix reinit regression caused by the hash check PR 2019-12-30 16:11:02 -05:00
Guillaume Ballet
0046347a99 core: fix staticcheck warnings (#20384)
* core: fix staticcheck warnings

* fix goimports
2019-12-30 16:11:02 -05:00
Guillaume Ballet
37844995c6 les: fix staticcheck warnings (#20371) 2019-12-30 16:11:02 -05:00
zaccoding
d534abffab cmd: fix command help messages in modules (#20203) 2019-12-30 16:11:02 -05:00
Péter Szilágyi
3b549fa8b9 params: begin v1.9.9 release cycle 2019-12-30 16:11:02 -05:00
Péter Szilágyi
572d244868 params: release go-ethereum v1.9.8 2019-12-30 16:11:02 -05:00
Felföldi Zsolt
946f88906a les: fix clientInfo deadlock (#20395) 2019-12-30 16:11:02 -05:00
Felix Lange
070afb0e06 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
2019-12-30 16:11:02 -05:00
Guillaume Ballet
809a085f84 accounts/keystore: fix staticcheck warnings (#20373)
* accounts/keystore: fix staticcheck warnings

* review feedback
2019-12-30 16:11:02 -05:00
gary rong
0d3bcbbdc5 accounts/abi/bind: avoid reclaring structs (#20381) 2019-12-30 16:11:02 -05:00
Felix Lange
397c3e20cd rlp: fix staticcheck warnings (#20368)
* rlp: fix staticcheck warnings

* rlp: fix ExampleDecode test
2019-12-30 16:11:02 -05:00
meows
8e352763ea cmd/geth: remove network id from version cmd
It was reflective only of the Default setting,
and not chain aware.
2019-12-30 16:11:02 -05:00
gary rong
ab5e0e3986 trie: replace bigcache with fastcache (#19971) 2019-12-30 16:11:02 -05:00
Guillaume Ballet
e3f254553c eth/tracers: fix staticcheck warnings (#20379) 2019-12-30 16:11:02 -05:00
Guillaume Ballet
d6a0772f21 miner: fix staticcheck warnings (#20375) 2019-12-30 16:11:02 -05:00
Michael Forney
fca48e2a9a core/asm: allow numbers in labels (#20362)
Numbers were already allowed when creating labels, just not when
referencing them.
2019-12-30 16:11:02 -05:00
Guillaume Ballet
eaf136e19e tests, signer: remove staticcheck warnings (#20364) 2019-12-30 16:11:02 -05:00
Felix Lange
31cec2a54c p2p/discv5: add deprecation warning and remove unused code (#20367)
* p2p/discv5: add deprecation warning and remove unused code

* p2p/discv5: remove unused variables
2019-12-30 16:11:02 -05:00
Felix Lange
30af43fb7b trie: remove unused code (#20366) 2019-12-30 16:11:02 -05:00
Guillaume Ballet
747e4495fc metrics: fix issues reported by staticcheck (#20365) 2019-12-30 16:11:02 -05:00
Felix Lange
4c2ce942e4 core/state: fix staticcheck warnings (#20357)
Also remove dependency on gopkg.in/check.v1 in tests.
2019-12-30 16:11:02 -05:00
Felix Lange
9fa5359d3a accounts/abi: fix staticcheck warnings (#20358)
* accounts/abi: fix staticcheck warnings

* accounts/abi: restore unused field for test
2019-12-30 16:11:02 -05:00
Felix Lange
76efa9677a accounts/abi/bind/backends: remove unused assignment (#20359) 2019-12-30 16:11:02 -05:00
Péter Szilágyi
7be6449efe build: skip go clean on PPA, messes with the module trick 2019-12-30 16:11:02 -05:00
Felix Lange
d58ad8d62a core/types: remove BlockBy sorting code (#20355) 2019-12-30 16:11:02 -05:00
Felix Lange
6ccf0a7304 common: improve GraphQL error messages (#20354) 2019-12-30 16:11:02 -05:00
Péter Szilágyi
3d46043304 build: pull in ci.go dependencies for the PPA builder 2019-12-30 16:11:02 -05:00
Felix Lange
62d423f75f common/hexutil: improve GraphQL error messages (#20353) 2019-12-30 16:11:02 -05:00
Martin Holst Swende
419268fa29 cmd/puppeth: make ssh prompt more user-friendly 2019-12-30 16:11:02 -05:00
meows
13b28f78cf cmd/puppeth: x-spec nonce data type, use types.BlockNonce
Refactors to use existing BlockNonce type instead of
hand-rolled bytes logic.
2019-12-30 16:11:02 -05:00
meowsbits
33837394d2 tests: enable TransactionTests Istanbul case (#20337) 2019-12-30 16:11:02 -05:00
Péter Szilágyi
1887cd7ece build, travis: use ephemeral debsrc GOPATH to get mod deps 2019-12-30 16:11:02 -05:00
meows
c1dabf8df6 tests: refactor TestState to dedupe walk callback
Minor refactoring.
2019-12-30 16:11:02 -05:00
Péter Szilágyi
fbc3611cc8 mobile: fix CopyFile switch to package cp 2019-12-30 16:11:02 -05:00
Péter Szilágyi
6f31c1ff72 travis: fake build ppa only for go module dependencies 2019-12-30 16:11:02 -05:00
Péter Szilágyi
d83c9fa07d build, internal/build: drop own file/folder copier 2019-12-30 16:11:02 -05:00