Felix Lange
dd21f079e8
core/state: fix staticcheck warnings ( #20357 )
...
Also remove dependency on gopkg.in/check.v1 in tests.
5 years ago
Felix Lange
36a684ca1e
accounts/abi: fix staticcheck warnings ( #20358 )
...
* accounts/abi: fix staticcheck warnings
* accounts/abi: restore unused field for test
5 years ago
Felix Lange
bcc1234778
accounts/abi/bind/backends: remove unused assignment ( #20359 )
5 years ago
Péter Szilágyi
c1db636fb3
Merge pull request #20360 from karalabe/ppa-fix-cigo-clean
...
build: skip go clean on PPA, messes with the module trick
5 years ago
Péter Szilágyi
5b558ad936
build: skip go clean on PPA, messes with the module trick
5 years ago
Felix Lange
b6d4f6b66e
core/types: remove BlockBy sorting code ( #20355 )
5 years ago
Felix Lange
0ec5ab4175
common: improve GraphQL error messages ( #20354 )
5 years ago
Péter Szilágyi
0754100464
Merge pull request #20356 from karalabe/ppa-fix-cigo
...
build: pull in ci.go dependencies for the PPA builder
5 years ago
Péter Szilágyi
475ae8bd93
build: pull in ci.go dependencies for the PPA builder
5 years ago
Felix Lange
89ab8a74c0
go.mod: switch to Go modules ( #20311 )
...
* go.mod, vendor: switch to Go modules
* travis: explicitly enable go modules in Go 1.11 and 1.12
* accounts/abi/bind: switch binding test to go modules
* travis, build: aggregate and upload go mod dependencies for PPA
* go.mod: tidy up the modules to avoid xgo writes to go.sum
* build, internal/build: drop own file/folder copier
* travis: fake build ppa only for go module dependencies
* mobile: fix CopyFile switch to package cp
* build, travis: use ephemeral debsrc GOPATH to get mod deps
5 years ago
Felix Lange
72e62efc76
common/hexutil: improve GraphQL error messages ( #20353 )
5 years ago
Péter Szilágyi
f56f969dd3
Merge pull request #20350 from holiman/puppeth_ssh
...
cmd/puppeth: make ssh prompt more user-friendly
5 years ago
Martin Holst Swende
216ff5a952
cmd/puppeth: make ssh prompt more user-friendly
5 years ago
Péter Szilágyi
7be89a7a01
Merge pull request #20339 from etclabscore/fix/cmd-puppeth-blocknonce-type
...
cmd/puppeth: x-spec nonce data type, use types.BlockNonce
5 years ago
meows
59177bc8c0
cmd/puppeth: x-spec nonce data type, use types.BlockNonce
...
Refactors to use existing BlockNonce type instead of
hand-rolled bytes logic.
5 years ago
Péter Szilágyi
c5b46a79c1
Merge pull request #20338 from etclabscore/feat/statetests-dedupe-walk-refactor
...
tests: refactor TestState to dedupe walk callback
5 years ago
meowsbits
b4bc3b3c35
tests: enable TransactionTests Istanbul case ( #20337 )
5 years ago
Péter Szilágyi
75e029db8b
build, travis: use ephemeral debsrc GOPATH to get mod deps
5 years ago
meows
b8ced9e00b
tests: refactor TestState to dedupe walk callback
...
Minor refactoring.
5 years ago
Péter Szilágyi
f8790b9482
mobile: fix CopyFile switch to package cp
5 years ago
Péter Szilágyi
8bd5bb8918
travis: fake build ppa only for go module dependencies
5 years ago
Péter Szilágyi
a7dfaa0bda
build, internal/build: drop own file/folder copier
5 years ago
Péter Szilágyi
e1dcea8bf0
go.mod: tidy up the modules to avoid xgo writes to go.sum
5 years ago
Péter Szilágyi
b3d6304f1e
travis, build: aggregate and upload go mod dependencies for PPA
5 years ago
Péter Szilágyi
f4ec85486a
accounts/abi/bind: switch binding test to go modules
5 years ago
Péter Szilágyi
dfdb204b48
travis: explicitly enable go modules in Go 1.11 and 1.12
5 years ago
Péter Szilágyi
15fb780de6
go.mod, vendor: switch to Go modules
5 years ago
Péter Szilágyi
3a4a3d080b
Merge pull request #20261 from holiman/less_querying
...
internal/ethapi: don't query wallets at every execution of gas estimation
5 years ago
gary rong
b7ba944e88
cmd/puppeth: update chain spec of parity ( #20241 )
5 years ago
gary rong
9b59c75405
miner: fix data race in tests ( #20310 )
...
* miner: fix data race in tests
miner: fix linter
* miner: address comment
5 years ago
Felix Lange
f71e85b8e2
core: fix staticcheck warnings ( #20323 )
5 years ago
Felix Lange
8008c5b1fa
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
5 years ago
Felix Lange
9c6cf960b4
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.
5 years ago
Felix Lange
df206d2513
p2p/simulations: fix staticcheck warnings ( #20322 )
5 years ago
Felix Lange
9e8cc00b73
p2p: remove unused code ( #20325 )
5 years ago
Felix Lange
ac5e28ea38
whisper/whisperv6: fix staticcheck warnings ( #20328 )
5 years ago
Guillaume Ballet
3b0f3483c4
.github: remove 'nonsense' from CODEOWNERS ( #20329 )
5 years ago
Felix Lange
7f70a70106
event: remove unused field 'closed' ( #20324 )
5 years ago
Felix Lange
94e8250983
cmd/wnode: remove uses of common.ToHex ( #20327 )
5 years ago
Felix Lange
c013192ba7
ethclient: remove use of common.ToHex ( #20326 )
5 years ago
Guillaume Ballet
0b6338321f
travis: deactivate arm build during push ( #20321 )
5 years ago
gary rong
b9c90c5581
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
5 years ago
Felix Lange
5fefe39ba5
p2p/netutil: fix staticcheck warning ( #20315 )
5 years ago
Felix Lange
dfe891270a
cmd/ethkey: fix file permissions in changepassword command ( #20313 )
...
Found by staticcheck.
5 years ago
Felix Lange
c5c5e0dbe8
consensus/clique: fix struct tags for status API ( #20316 )
...
Also unexport the status struct.
5 years ago
Martin Holst Swende
3f4a875bf6
consensus/clique: add clique_status API method ( #20103 )
...
This PR introduces clique_status which gives info about the health of
the clique network.
It's currently a bit PITA to find out how a clique network is
performing, and it can easily happen that sealers drop off -- and
everything is 'fine' until one more signer drops off, and the network
suddenly halts.
The new method provides the following stats:
- Which signers are currently active, and have signed blocks in the last
N (set to 64) blocks?
- How many blocks has each signer signed?
- What is the difficulty in the last N blocks, compared to the
theoretical maximum?
5 years ago
Felix Lange
a3d263dd3a
cmd/clef: fix staticcheck warnings ( #20314 )
5 years ago
meowsbits
190fb8180a
build: add test cmd flag -v for verbose logs ( #20298 )
...
Adds flags akin to -coverage flag enabling the test runner
to use go test's -v flag, signaling verbose test log output.
5 years ago
Guillaume Ballet
b02afb6b3d
travis: use travis_wait for both install and build ( #20309 )
5 years ago
Felföldi Zsolt
422604b438
les: rename UpdateBalance to AddBalance and simplify return format ( #20304 )
5 years ago