- 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
-
- 26 1月, 2017 1 次提交
-
-
由 Vivek Anand 提交于
-
- 17 1月, 2017 2 次提交
-
-
由 Martin Holst Swende 提交于
* core: Made logging of reorgs more structured, also always log if reorg is > 63 blocks long * core/blockchain: go fmt * core/blockchain: Minor fixes to the reorg reporting
-
由 Nick Johnson 提交于
-
- 11 1月, 2017 1 次提交
-
-
由 Felix Lange 提交于
-
- 09 1月, 2017 1 次提交
-
-
由 Felix Lange 提交于
go get github.com/gordonklaus/ineffassign ineffassign .
-
- 07 1月, 2017 2 次提交
-
-
由 Felix Lange 提交于
-
由 Felix Lange 提交于
-
- 06 1月, 2017 2 次提交
-
-
由 Felix Lange 提交于
-
由 Felix Lange 提交于
This significantly reduces the dependency closure of ethclient, which no longer depends on core/vm as of this change. All uses of vm.Logs are replaced by []*types.Log. NewLog is gone too, the constructor simply returned a literal.
-
- 13 12月, 2016 1 次提交
-
-
由 Péter Szilágyi 提交于
-