- 23 2月, 2018 2 次提交
-
-
由 Péter Szilágyi 提交于
* core: flush out trie cache more meaningfully on stop * core: upgrade legacy tests to chain maker
-
由 Anton Evangelatov 提交于
* go-metrics: fork library and introduce ResettingTimer and InfluxDB reporter. * vendor: change nonsense/go-metrics to ethersphere/go-metrics * go-metrics: add tests. move ResettingTimer logic from reporter to type. * all, metrics: pull in metrics package in go-ethereum * metrics/test: make sure metrics are enabled for tests * metrics: apply gosimple rules * metrics/exp, internal/debug: init expvar endpoint when starting pprof server * internal/debug: tiny comment formatting fix
-
- 13 2月, 2018 1 次提交
-
-
由 Felix Lange 提交于
Talk about "state" instead of "trie timing", "trie memory" and remove the overzealous warning when the limit is just reached. Since the time limit is always reached on slow machines, move the message to info level so users don't freak out about internal details.
-
- 12 2月, 2018 1 次提交
-
-
由 Péter Szilágyi 提交于
-
- 06 2月, 2018 1 次提交
-
-
由 Péter Szilágyi 提交于
This commit reduces database I/O by not writing every state trie to disk.
-
- 31 1月, 2018 2 次提交
-
-
由 Martin Holst Swende 提交于
* leveldb: Update leveldb to 211f780 (poolfix) * core, ethdb: reuse database batches
-
由 Péter Szilágyi 提交于
-
- 22 1月, 2018 1 次提交
-
-
由 Péter Szilágyi 提交于
-
- 03 1月, 2018 1 次提交
-
-
由 Péter Szilágyi 提交于
-
- 02 1月, 2018 1 次提交
-
-
由 ferhat elmas 提交于
-
- 13 11月, 2017 1 次提交
-
-
由 Péter Szilágyi 提交于
-
- 04 10月, 2017 1 次提交
-
-
由 Péter Szilágyi 提交于
-
- 11 9月, 2017 1 次提交
-
-
由 Péter Szilágyi 提交于
* core: only fire one chain head per batch * miner: announce chan events synchronously
-
- 10 9月, 2017 1 次提交
-
-
由 Felix Lange 提交于
* ethdb: add Putter interface and Has method * ethdb: improve docs and add IdealBatchSize * ethdb: remove memory batch lock Batches are not safe for concurrent use. * core: use ethdb.Putter for Write* functions This covers the easy cases. * core/state: simplify StateSync * trie: optimize local node check * ethdb: add ValueSize to Batch * core: optimize HasHeader check This avoids one random database read get the block number. For many uses of HasHeader, the expectation is that it's actually there. Using Has avoids a load + decode of the value. * core: write fast sync block data in batches Collect writes into batches up to the ideal size instead of issuing many small, concurrent writes. * eth/downloader: commit larger state batches Collect nodes into a batch up to the ideal size instead of committing whenever a node is received. * core: optimize HasBlock check This avoids a random database read to get the number. * core: use numberCache in HasHeader numberCache has higher capacity, increasing the odds of finding the header without a database lookup. * core: write imported block data using a batch Restore batch writes of state and add blocks, tx entries, receipts to the same batch. The change also simplifies the miner. This commit also removes posting of logs when a forked block is imported. * core: fix DB write error handling * ethdb: use RLock for Has * core: fix HasBlock comment
-
- 06 9月, 2017 1 次提交
-
-
由 Zsolt Felfoldi 提交于
-
- 05 9月, 2017 1 次提交
-
-
由 Péter Szilágyi 提交于
-
- 18 8月, 2017 1 次提交
-
-
由 Miya Chen 提交于
-
- 31 7月, 2017 1 次提交
-
-
由 Mark 提交于
-
- 15 7月, 2017 1 次提交
-
-
由 Péter Szilágyi 提交于
* core: remove redundant storage of transactions and receipts * core, eth, internal: new transaction schema usage polishes * eth: implement upgrade mechanism for db deduplication * core, eth: drop old sequential key db upgrader * eth: close last iterator on successful db upgrage * core: prefix the lookup entries to make their purpose clearer
-
- 29 6月, 2017 1 次提交
-
-
由 Martin Holst Swende 提交于
-
- 27 6月, 2017 1 次提交
-
-
由 Felix Lange 提交于
With this commit, core/state's access to the underlying key/value database is mediated through an interface. Database errors are tracked in StateDB and returned by CommitTo or the new Error method. Motivation for this change: We can remove the light client's duplicated copy of core/state. The light client now supports node iteration, so tracing and storage enumeration can work with the light client (not implemented in this commit).
-
- 25 5月, 2017 2 次提交
-
-
由 Péter Szilágyi 提交于
-
由 changhong 提交于
1. fix typos 2. methods recevier of struct should be same 3. comments improve (cherry picked from commit 1ba979539582a00b7fd1a7c8a37a6852e59eac0d)
-
- 08 5月, 2017 1 次提交
-
-
由 Péter Szilágyi 提交于
-
- 22 4月, 2017 1 次提交
-
-
由 Felix Lange 提交于
-
- 12 4月, 2017 1 次提交
-
-
由 Péter Szilágyi 提交于
* consensus, core, ethstats: use engine specific block beneficiary * core, eth, les, miner: use explicit beneficiary during mining
-
- 10 4月, 2017 1 次提交
-
-
由 Justin 提交于
-
- 06 4月, 2017 1 次提交
-
-
由 Péter Szilágyi 提交于
-
- 05 4月, 2017 1 次提交
-
-
由 Péter Szilágyi 提交于
This commit adds pluggable consensus engines to go-ethereum. In short, it introduces a generic consensus interface, and refactors the entire codebase to use this interface.
-
- 23 3月, 2017 1 次提交
-
-
由 Felföldi Zsolt 提交于
* les: implement request distributor, fix blocking issues * core: moved header validation before chain mutex lock
-
- 22 3月, 2017 1 次提交
-
-
由 Péter Szilágyi 提交于
-
- 09 3月, 2017 1 次提交
-
-
由 Péter Szilágyi 提交于
-
- 03 3月, 2017 2 次提交
-
-
由 Péter Szilágyi 提交于
-
由 Péter Szilágyi 提交于
-
- 28 2月, 2017 2 次提交
-
-
由 Péter Szilágyi 提交于
-
由 Péter Szilágyi 提交于
-
- 23 2月, 2017 2 次提交
-
-
由 Péter Szilágyi 提交于
-
由 Jeffrey Wilcke 提交于
Removed exported statedb object accessors, reducing the chance for nasty bugs to creep in. It's also ugly and unnecessary to have these methods.
-
- 18 2月, 2017 1 次提交
-
-
由 Martin Holst Swende 提交于
-
- 14 2月, 2017 1 次提交
-
-
由 Martin Holst Swende 提交于
* core,eth,internal: Added `debug_getBadBlocks()` method When bad blocks are discovered, these are stored within geth. An RPC-endpoint makes them availablewithin the `debug` namespace. This feature makes it easier to discover network forks. ``` * core, api: go format + docs * core/blockchain: Documentation, fix minor nitpick * core: fix failing blockchain test
-