meowsbits
93ffb85b3d
rpc: dont log an error if user configures --rpcapi=rpc... ( #20776 )
...
This just prevents a false negative ERROR warning when, for some unknown
reason, a user attempts to turn on the module rpc even though it's already going
to be on.
5 years ago
Guillaume Ballet
e943f07a85
whisper/whisperv6: delete failing tests ( #20788 )
...
These tests occasionally fail on Travis.
5 years ago
Péter Szilágyi
0e6ea9199c
Merge pull request #20781 from karalabe/fix-clique-console-apis
...
internal/web3ext: fix clique console apis to work on missing arguments
5 years ago
Péter Szilágyi
36e93d2dd8
Merge pull request #20779 from meowsbits/patch-3
...
core/rawdb: fix freezer table test error check
5 years ago
Péter Szilágyi
e6ca1958d3
internal/web3ext: fix clique console apis to work on missing arguments
5 years ago
Péter Szilágyi
4655b60999
Merge pull request #20780 from karalabe/fix-eth-mine-sync-race
...
eth: when triggering a sync, check the head header TD, not block
5 years ago
Péter Szilágyi
dc6e98d2a8
eth: when triggering a sync, check the head header TD, not block
5 years ago
gary rong
6283391c99
core/rawdb: improve table database ( #20703 )
...
This PR fixes issues in TableDatabase.
TableDatabase is a wrapper of underlying ethdb.Database with an additional prefix.
The prefix is applied to all entries it maintains. However when we try to retrieve entries
from it we don't handle the key properly. In theory the prefix should be truncated and
only user key is returned. But we don't do it in some cases, e.g. the iterator and batch
replayer created from it. So this PR is the fix to these issues.
5 years ago
meowsbits
20a092fb9f
core/rawdb: fix freezer table test error check
...
Fixes: Condition is always 'false' because 'err' is always 'nil'
5 years ago
Alex Willmer
5dd0cd12ec
go.mod: update duktape to fix sprintf warnings ( #20777 )
...
This revision of go-duktype fixes the following warning
```
duk_logging.c: In function ‘duk__logger_prototype_log_shared’:
duk_logging.c:184:64: warning: ‘Z’ directive writing 1 byte into a region of size between 0 and 9 [-Wformat-overflow=]
184 | sprintf((char *) date_buf, "%04d-%02d-%02dT%02d:%02d:%02d.%03dZ",
| ^
In file included from /usr/include/stdio.h:867,
from duk_logging.c:5:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 25 and 85 bytes into a destination of size 32
36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
37 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
5 years ago
gary rong
efd92d81a9
cmd/checkpoint-admin: add some documentation ( #20697 )
5 years ago
Péter Szilágyi
8d7aa9078f
params: begin v1.9.13 release cycle
5 years ago
Péter Szilágyi
b6f1c8dcc0
params: release Geth v1.9.12
5 years ago
winsvega
97243f3a76
geth retesteth: increase retesteth default http timeouts ( #20767 )
5 years ago
Péter Szilágyi
241b283690
Merge pull request #20747 from karalabe/update-crypto-deps
...
go.mod: update golang.org/x/crypto to fix a Go 1.14 race rejection
5 years ago
Péter Szilágyi
466b009135
go.mod: update golang.org/x/crypto to fix a Go 1.14 race rejection
5 years ago
Péter Szilágyi
68b4b74682
Merge pull request #20762 from karalabe/fix-txprop-leak
...
eth: fix transaction announce/broadcast goroutine leak
5 years ago
Péter Szilágyi
270fbfba4b
eth: fix transaction announce/broadcast goroutine leak
5 years ago
gary rong
92f3405dae
eth, les: fix time sensitive unit tests ( #20741 )
5 years ago
Felix Lange
b1efff659e
rpc: improve cancel test ( #20752 )
...
This is supposed to fix the occasional failures in
TestCancel* on Travis CI.
5 years ago
meowsbits
0bdb21f0cb
tests: update tests/testdata@develop, include EIP2384 config ( #20746 )
...
Includes difficulty tests for EIP2384 aka MuirGlacier.
5 years ago
Ali Atiia
556888c4a9
core/vm: fix method doc ( #20730 )
...
typo in func name in the comment
5 years ago
rene
01d92531ee
rpc: correct typo and reword comment for consistency ( #20728 )
5 years ago
Felix Lange
1e1b18637e
p2p/discv5: fix test on go 1.14 ( #20724 )
5 years ago
Adam Schmideg
f1a7997af3
crypto/bn256: fix import line ( #20723 )
5 years ago
Felix Lange
cec1f292f0
mobile: add CallOpts.SetFrom ( #20721 )
...
This was missing because I forgot to wrap it when bind.CallOpts.From
as added.
5 years ago
gary rong
4fabd9cbd2
les: separate peer into clientPeer and serverPeer ( #19991 )
...
* les: separate peer into clientPeer and serverPeer
* les: address comments
5 years ago
Martin Holst Swende
fadf84a752
internal/ethapi: default to zero address for calls ( #20702 )
...
This makes eth_call and eth_estimateGas use the zero address
as sender when the "from" parameter is not supplied.
Co-authored-by: Felix Lange <fjl@twurst.com>
5 years ago
Boqin Qin
2a5ed1a1d3
eth/downloader: fix possible data race by inconsistent field protection ( #20690 )
5 years ago
Péter Szilágyi
bf1cdd723a
Merge pull request #20712 from karalabe/txfetcher-fix-test-randomness
...
eth/fetcher: remove randomness from test data
5 years ago
Péter Szilágyi
c6be24c731
eth/fetcher: remove randomness from test data
5 years ago
Chris Chinchilla
6ffee2afd6
docs: correct clef typo ( #20705 )
5 years ago
gary rong
2e1ecc02bd
les, miner, accounts/abi/bind: fix load-sensitive unit tests ( #20698 )
5 years ago
Guillaume Ballet
6df973df27
go.mod: upgrade goja to latest ( #20700 )
...
The new goja version supports the 'escape' and 'unescape' built-in functions.
This fixes #20693
5 years ago
Gregory Markou
4be8840120
core/vm: use dedicated SLOAD gas constant for EIP-2200 ( #20646 )
5 years ago
Péter Szilágyi
529b81dadb
params: begin v1.9.12 release cycle
5 years ago
Péter Szilágyi
6a62fe399b
params: release Geth v1.9.11 stable
5 years ago
Felix Lange
dae3aee5ff
les: add bootstrap nodes as initial discoveries ( #20688 )
5 years ago
Péter Szilágyi
05ccbb5edd
Merge pull request #20687 from karalabe/cht-1.9.11
...
params: update CHTs for the v1.9.11 release
5 years ago
Péter Szilágyi
4f55e24c02
params: update CHTs for the v1.9.11 release
5 years ago
Felix Lange
91b228966e
rpc: remove startup error for invalid modules, log it instead ( #20684 )
...
This removes the error added in #20597 in favor of a log message at
error level. Failing to start broke a bunch of people's setups and is
probably not the right thing to do for this check.
5 years ago
Boqin Qin
1b9c5b393b
all: fix goroutine leaks in unit tests by adding 1-elem channel buffer ( #20666 )
...
This fixes a bunch of cases where a timeout in the test would leak
a goroutine.
5 years ago
Felix Lange
57d4898e29
p2p/dnsdisc: re-check tree root when leaf resolution fails ( #20682 )
...
This adds additional logic to re-resolve the root name of a tree when a
couple of leaf requests have failed. We need this change to avoid
getting into a failure state where leaf requests keep failing for half
an hour when the tree has been updated.
5 years ago
Péter Szilágyi
c2117982b8
Merge pull request #20678 from karalabe/broadcast-sqrt-proper
...
eth: don't enforce minimum broadcast, fix broadcast test
5 years ago
Felix Lange
1c4c486a85
cmd/ethkey: speed up test by using weaker scrypt parameters ( #20680 )
5 years ago
Felix Lange
ac72787768
p2p: remove MeteredPeerEvent ( #20679 )
...
This event was added for the dashboard, but we don't need it anymore
since the dashboard is gone.
5 years ago
Péter Szilágyi
26284ec3cc
Merge pull request #20681 from karalabe/go1.13.8
...
travis, appveyor, build: bump builder Go to 1.13.8
5 years ago
Péter Szilágyi
fef8c985bc
travis, appveyor, build: bump builder Go to 1.13.8
5 years ago
Péter Szilágyi
36a1e0b67d
eth: don't enforce minimum broadcast, fix broadcast test
5 years ago
Boqin Qin
37531b1884
cmd/faucet: protect f.reqs with Rlock to prevent data race ( #20669 )
...
* cmd/faucet: add Rlock to protect f.reqs in apiHandler
* cmd/faucet: make a locked copy of f.reqs
5 years ago