- Mar 31, 2020
-
-
Martin Holst Swende authored
The test failed due to what appears to be fluctuations in time.Sleep, which is not the actual method under test. This change modifies it so we compare the metered Max to the actual time instead of the desired time.
-
Martin Holst Swende authored
-
Adam Schmideg authored
-
Wenbiao Zheng authored
This new API allows reading accounts and their content by address range. Co-authored-by:
Martin Holst Swende <martin@swende.se> Co-authored-by:
Felix Lange <fjl@twurst.com>
-
Martin Holst Swende authored
* cmd/clef: add newaccount command * cmd/clef: document clef_New, update API versioning * Update cmd/clef/intapi_changelog.md Co-Authored-By:
ligi <ligi@ligi.de> * Update signer/core/uiapi.go Co-Authored-By:
ligi <ligi@ligi.de> Co-authored-by:
ligi <ligi@ligi.de>
-
Hanjiang Yu authored
* cmd, consensus: add option to disable mmap for DAG caches/datasets * consensus: add benchmarks for mmap with/with lock
-
Martin Holst Swende authored
* core/state/snapshot: basic trie-to-hash implementation * tests: validate snapshot after test * core/state/snapshot: fix review concerns
-
- Mar 30, 2020
-
-
Péter Szilágyi authored
core: bump txpool tx max size to 128KB
-
Martin Holst Swende authored
-
- Mar 27, 2020
-
-
Ha ĐANG authored
-
Gary Rong authored
-
Felix Lange authored
* eth: improve shutdown synchronization Most goroutines started by eth.Ethereum didn't have any shutdown sync at all, which lead to weird error messages when quitting the client. This change improves the clean shutdown path by stopping all internal components in dependency order and waiting for them to actually be stopped before shutdown is considered done. In particular, we now stop everything related to peers before stopping 'resident' parts such as core.BlockChain. * eth: rewrite sync controller * eth: remove sync start debug message * eth: notify chainSyncer about new peers after handshake * eth: move downloader.Cancel call into chainSyncer * eth: make post-sync block broadcast synchronous * eth: add comments * core: change blockchain stop message * eth: change closeBloomHandler channel type
-
rene authored
-
- Mar 26, 2020
-
-
Felix Lange authored
Turns out the way RDATA limits work is documented after all, I just didn't search right. The trick to make it work is to count UPSERTs twice. This also adds an additional check to ensure TTL changes are applied on existing records.
-
Felix Lange authored
-
Felix Lange authored
* cmd/devp2p: tweak DNS TTLs * cmd/devp2p: bump treeNodeTTL to four weeks
-
Péter Szilágyi authored
metrics: disable CPU stats (gosigar) on iOS
-
Péter Szilágyi authored
-
- Mar 23, 2020
-
-
Martin Holst Swende authored
Prior to this change, eth_call changed the balance of the sender account in the EVM environment to 2^256 wei to cover the gas cost of the call execution. We've had this behavior for a long time even though it's super confusing. This commit sets the default call gasprice to zero instead of updating the balance, which is better because it makes eth_call semantics less surprising. Removing the built-in balance assignment also makes balance overrides work as expected.
-
Martin Holst Swende authored
-
meowsbits authored
Signed-off-by:
meows <b5c6@protonmail.com>
-
Péter Szilágyi authored
Dynamic state snapshots
-
Martin Holst Swende authored
* core/state/snapshot/iterator: fix two disk iterator flaws * core/rawdb: change SnapshotStoragePrefix to avoid prefix collision with preimagePrefix
-
- Mar 21, 2020
-
-
meowsbits authored
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.
-
- Mar 20, 2020
-
-
Guillaume Ballet authored
These tests occasionally fail on Travis.
-
- Mar 19, 2020
-
-
Péter Szilágyi authored
internal/web3ext: fix clique console apis to work on missing arguments
-
- Mar 18, 2020
-
-
Péter Szilágyi authored
core/rawdb: fix freezer table test error check
-
Péter Szilágyi authored
-
Péter Szilágyi authored
eth: when triggering a sync, check the head header TD, not block
-
Péter Szilágyi authored
-
Gary Rong authored
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.
-
meowsbits authored
Fixes: Condition is always 'false' because 'err' is always 'nil'
-
Alex Willmer authored
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 ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ```
-
Gary Rong authored
-
- Mar 16, 2020
-
-
Péter Szilágyi authored
-
Péter Szilágyi authored
-
winsvega authored
-
- Mar 14, 2020
-
-
Péter Szilágyi authored
go.mod: update golang.org/x/crypto to fix a Go 1.14 race rejection
-
Péter Szilágyi authored
-
Péter Szilágyi authored
eth: fix transaction announce/broadcast goroutine leak
-