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
Péter Szilágyi
f024339063
go.mod: tidy up the modules to avoid xgo writes to go.sum
2019-12-30 16:11:02 -05:00
Péter Szilágyi
f19cbb0662
travis, build: aggregate and upload go mod dependencies for PPA
2019-12-30 16:11:02 -05:00
Péter Szilágyi
0e8c205477
accounts/abi/bind: switch binding test to go modules
2019-12-30 16:11:02 -05:00
Péter Szilágyi
93bb6c3539
travis: explicitly enable go modules in Go 1.11 and 1.12
2019-12-30 16:11:02 -05:00
Péter Szilágyi
46496e876c
go.mod, vendor: switch to Go modules
2019-12-30 16:11:02 -05:00
gary rong
01a625408b
cmd/puppeth: update chain spec of parity ( #20241 )
2019-12-30 16:11:00 -05:00
gary rong
af3806f520
miner: fix data race in tests ( #20310 )
...
* miner: fix data race in tests
miner: fix linter
* miner: address comment
2019-12-30 16:11:00 -05:00
Felix Lange
0cc6974834
core: fix staticcheck warnings ( #20323 )
2019-12-30 16:11:00 -05:00
Felix Lange
06df38e9ee
rpc: remove 'exported or builtin' restriction for parameters ( #20332 )
...
* rpc: remove 'exported or builtin' restriction for parameters
There is no technial reason for this restriction because package reflect
can create values of any type. Requiring parameters and return values to
be exported causes a lot of noise in package exports.
* rpc: fix staticcheck warnings
2019-12-30 16:11:00 -05:00
Felix Lange
81d1bfdc81
internal/web3ext, les: update clique JS and make it work with the light client ( #20318 )
...
Also fix the input formatter on clique_getSnapshot and clique_getSigners
so that integers as well as hex number strings are accepted.
2019-12-30 16:11:00 -05:00
Felix Lange
67e9f391db
p2p/simulations: fix staticcheck warnings ( #20322 )
2019-12-30 16:11:00 -05:00
Felix Lange
2b8f3c4b0c
p2p: remove unused code ( #20325 )
2019-12-30 16:11:00 -05:00
Felix Lange
b01dccba05
whisper/whisperv6: fix staticcheck warnings ( #20328 )
2019-12-30 16:11:00 -05:00
Guillaume Ballet
2153dbe8b0
.github: remove 'nonsense' from CODEOWNERS ( #20329 )
2019-12-30 16:11:00 -05:00
Felix Lange
88e51543e0
event: remove unused field 'closed' ( #20324 )
2019-12-30 16:11:00 -05:00
Felix Lange
b1e2868e36
cmd/wnode: remove uses of common.ToHex ( #20327 )
2019-12-30 16:11:00 -05:00
Felix Lange
736422999f
ethclient: remove use of common.ToHex ( #20326 )
2019-12-30 16:11:00 -05:00
Guillaume Ballet
c0428c4e1f
travis: deactivate arm build during push ( #20321 )
2019-12-30 16:11:00 -05:00
gary rong
a2ea532f68
core/rawdb: check hash before return data from ancient db ( #20195 )
...
* core/rawdb: check hash before return data from ancient db
* core/rawdb: fix lint
* core/rawdb: calculate the hash in the fly
2019-12-30 16:11:00 -05:00
Felix Lange
756ed51875
p2p/netutil: fix staticcheck warning ( #20315 )
2019-12-30 16:11:00 -05:00
Felix Lange
db93da53e1
cmd/ethkey: fix file permissions in changepassword command ( #20313 )
...
Found by staticcheck.
2019-12-30 16:11:00 -05:00