Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Change import go github.com/dexon-foundation/dexon | Wei-Ning Huang | 2019-03-12 | 3 | -13/+13 |
| | |||||
* | core, eth, trie: use common/prque (#17508) | Wenbiao Zheng | 2018-09-03 | 1 | -4/+4 |
| | |||||
* | all: remove the duplicate 'the' in annotations (#17509) | Wenbiao Zheng | 2018-08-27 | 1 | -1/+1 |
| | |||||
* | eth/fetcher: fix annotation (#16969) | Wenbiao Zheng | 2018-06-13 | 1 | -1/+1 |
| | |||||
* | eth/fetcher: reuse variables for hash and number (#16819) | Smilenator | 2018-05-29 | 1 | -4/+4 |
| | |||||
* | all: get rid of error when creating memory database (#16716) | gary rong | 2018-05-09 | 1 | -1/+1 |
| | | | | | | | | * all: get rid of error when create mdb * core: clean up variables definition * all: inline mdb definition | ||||
* | all: fix various typos (#16533) | Wuxiang | 2018-04-19 | 1 | -1/+1 |
| | | | | | | | | * fix typo * fix typo * fix typo | ||||
* | eth: fix typos (#16414) | Yusup | 2018-04-04 | 1 | -1/+1 |
| | |||||
* | eth: fixed typo (#16274) | Kyuntae Ethan Kim | 2018-03-07 | 1 | -1/+1 |
| | |||||
* | metrics: pull library and introduce ResettingTimer and InfluxDB reporter ↵ | Anton Evangelatov | 2018-02-23 | 1 | -14/+14 |
| | | | | | | | | | | | | | | | | | | | | (#15910) * 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 | ||||
* | all: switch gas limits from big.Int to uint64 | Péter Szilágyi | 2018-01-03 | 1 | -1/+1 |
| | |||||
* | accounts, consensus, core, eth: make chain maker consensus agnostic (#15497) | gary rong | 2017-12-22 | 1 | -1/+2 |
| | | | | | | | | | | * accounts, consensus, core, eth: make chain maker consensus agnostic * consensus, core: move CalcDifficulty to Engine interface * consensus: add docs for calcDifficulty function * consensus, core: minor comment fixups | ||||
* | eth/fetcher: check the origin of filter tasks (#14975) | Miya Chen | 2017-10-10 | 2 | -43/+54 |
| | | | | | | * eth/fetcher: check the origin of filter task * eth/fetcher: add some details to fetcher logs | ||||
* | consensus, core: drop all the legacy custom core error types | Péter Szilágyi | 2017-04-06 | 1 | -2/+2 |
| | |||||
* | core, consensus: pluggable consensus engines (#3817) | Péter Szilágyi | 2017-04-05 | 2 | -9/+9 |
| | | | | | 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. | ||||
* | Logger updates 3 (#3730) | Péter Szilágyi | 2017-03-02 | 1 | -39/+19 |
| | | | | | | | | * accounts, cmd, eth, ethdb: port logs over to new system * ethdb: drop concept of cache distribution between dbs * eth: fix some log nitpicks to make them nicer | ||||
* | all: blidly swap out glog to our log15, logs need rework | Péter Szilágyi | 2017-02-23 | 1 | -32/+35 |
| | |||||
* | params: core, core/vm, miner: 64bit gas instructions | Jeffrey Wilcke | 2017-02-14 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | Reworked the EVM gas instructions to use 64bit integers rather than arbitrary size big ints. All gas operations, be it additions, multiplications or divisions, are checked and guarded against 64 bit integer overflows. In additon, most of the protocol paramaters in the params package have been converted to uint64 and are now constants rather than variables. * common/math: added overflow check ops * core: vmenv, env renamed to evm * eth, internal/ethapi, les: unmetered eth_call and cancel methods * core/vm: implemented big.Int pool for evm instructions * core/vm: unexported intPool methods & verification methods * core/vm: added memoryGasCost overflow check and test | ||||
* | Revert "params: core, core/vm, miner: 64bit gas instructions (#3514)" | Jeffrey Wilcke | 2017-02-13 | 1 | -1/+1 |
| | | | | This reverts commit 8b57c494908637a5c0e74f8f7a13b3218e026757. | ||||
* | params: core, core/vm, miner: 64bit gas instructions (#3514) | Jeffrey Wilcke | 2017-02-02 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | Reworked the EVM gas instructions to use 64bit integers rather than arbitrary size big ints. All gas operations, be it additions, multiplications or divisions, are checked and guarded against 64 bit integer overflows. In additon, most of the protocol paramaters in the params package have been converted to uint64 and are now constants rather than variables. * common/math: added overflow check ops * core: vmenv, env renamed to evm * eth, internal/ethapi, les: unmetered eth_call and cancel methods * core/vm: implemented big.Int pool for evm instructions * core/vm: unexported intPool methods & verification methods * core/vm: added memoryGasCost overflow check and test | ||||
* | core/types: remove redundant SignECDSA wrappers, rename to SignTx | Felix Lange | 2017-01-05 | 1 | -1/+1 |
| | |||||
* | core/types, params: EIP#155 | Jeffrey Wilcke | 2016-11-13 | 1 | -1/+2 |
| | |||||
* | core, core/state, trie: EIP158, reprice & skip empty account write | Jeffrey Wilcke | 2016-11-13 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | This commit implements EIP158 part 1, 2, 3 & 4 1. If an account is empty it's no longer written to the trie. An empty account is defined as (balance=0, nonce=0, storage=0, code=0). 2. Delete an empty account if it's touched 3. An empty account is redefined as either non-existent or empty. 4. Zero value calls and zero value suicides no longer consume the 25k reation costs. params: moved core/config to params Signed-off-by: Jeffrey Wilcke <jeffrey@ethereum.org> | ||||
* | eth/fetcher: small typo fix (#2932) | Stein Dekker | 2016-08-23 | 1 | -1/+1 |
| | |||||
* | eth/fetcher: fix a log message formatting issue | Péter Szilágyi | 2016-08-19 | 1 | -1/+1 |
| | |||||
* | eth, eth/downloader, eth/fetcher: delete eth/61 code | Felix Lange | 2016-07-22 | 3 | -212/+24 |
| | | | | | The eth/61 protocol was disabled in #2776, this commit removes its message handlers and hash-chain sync logic. | ||||
* | accounts, core, eth: pass chain config for chain maker to test DAO | Péter Szilágyi | 2016-07-15 | 1 | -1/+1 |
| | |||||
* | eth: various typos | Leif Jurvetson | 2016-03-16 | 1 | -3/+3 |
| | |||||
* | core, eth, trie: fix data races and merge/review issues | Péter Szilágyi | 2015-10-21 | 2 | -16/+59 |
| | |||||
* | core, eth: receipt chain reconstruction | Péter Szilágyi | 2015-10-19 | 1 | -1/+1 |
| | |||||
* | eth: update metrics collection to handle eth/62 algos | Péter Szilágyi | 2015-08-25 | 2 | -15/+46 |
| | |||||
* | eth: port the synchronisation algo to eth/62 | Péter Szilágyi | 2015-08-25 | 2 | -105/+767 |
| | |||||
* | eth, eth/downloader: handle header requests, table driven proto tests | Péter Szilágyi | 2015-08-24 | 2 | -16/+18 |
| | |||||
* | miner: gas limit strategy, target 3141592 & def gas price 50 Shannon | Gustav Simonsson | 2015-08-04 | 1 | -1/+2 |
| | |||||
* | all: fix license headers one more time | Felix Lange | 2015-07-24 | 3 | -3/+3 |
| | | | | I forgot to update one instance of "go-ethereum" in commit 3f047be5a. | ||||
* | all: update license headers to distiguish GPL/LGPL | Felix Lange | 2015-07-23 | 3 | -12/+12 |
| | | | | | All code outside of cmd/ is licensed as LGPL. The headers now reflect this by calling the whole work "the go-ethereum library". | ||||
* | all: update license information | Felix Lange | 2015-07-07 | 3 | -0/+48 |
| | |||||
* | cmd, core, eth, metrics, p2p: require enabling metrics | Péter Szilágyi | 2015-06-30 | 2 | -23/+23 |
| | |||||
* | eth/downloader, eth/fetcher: use core.GenerateChain in tests | Felix Lange | 2015-06-30 | 1 | -80/+43 |
| | | | | | | TestMadeupParentBlockChainAttack has been deleted because it was too hard to port and the attack that it checks the prevention of is being averted in a different way (through a protocol change). | ||||
* | eth/fetcher: don't drop on future blocks, just not propagate | Péter Szilágyi | 2015-06-29 | 1 | -4/+16 |
| | |||||
* | eth/fetcher: don't double filter/fetch the same block | Péter Szilágyi | 2015-06-29 | 1 | -1/+1 |
| | |||||
* | core, eth, eth/fetcher, ethdb: polish metrics gathering a bit | Péter Szilágyi | 2015-06-24 | 1 | -5/+5 |
| | |||||
* | eth/fetcher: fix failed merge | Péter Szilágyi | 2015-06-24 | 1 | -1/+1 |
| | |||||
* | cmd/geth, eth/fetcher: polish metrics reporting, add some more | Péter Szilágyi | 2015-06-24 | 1 | -10/+15 |
| | |||||
* | cmd/geth, eth/fetcher: initial metrics support | Péter Szilágyi | 2015-06-24 | 1 | -0/+14 |
| | | | | | Conflicts: cmd/geth/admin.go | ||||
* | eth/fetcher: fix a closure data race | Péter Szilágyi | 2015-06-23 | 1 | -2/+3 |
| | |||||
* | eth/fetcher: clean up test assertions | Péter Szilágyi | 2015-06-22 | 1 | -111/+49 |
| | |||||
* | eth/fetcher: remove test sleeps (15s -> 2.8s) | Péter Szilágyi | 2015-06-22 | 2 | -59/+167 |
| | |||||
* | eth/fetcher: handle and (crude) test block memory DOS | Péter Szilágyi | 2015-06-22 | 2 | -23/+105 |
| | |||||
* | eth/fetcher: handle and test block announce DOS attacks | Péter Szilágyi | 2015-06-22 | 2 | -7/+82 |
| | |||||
* | eth/fetcher: lower max cache size, add timeout slack | Péter Szilágyi | 2015-06-19 | 1 | -4/+15 |
| | |||||
* | eth/fetcher: since uncles are allowed, drop phase test | Péter Szilágyi | 2015-06-19 | 1 | -51/+0 |
| | |||||
* | eth/fetcher: allow backward uncle imports too | Péter Szilágyi | 2015-06-19 | 1 | -2/+3 |
| | |||||
* | eth, eth/fetcher: propagate after header verify, announce only on insert | Péter Szilágyi | 2015-06-18 | 2 | -22/+39 |
| | |||||
* | eth, eth/fetcher: move propagated block import into fetcher | Péter Szilágyi | 2015-06-18 | 2 | -45/+72 |
| | |||||
* | eth/fetcher: make tests thread safe | Péter Szilágyi | 2015-06-18 | 1 | -22/+34 |
| | |||||
* | eth/fetcher: build longest chain until proven otherwise | Péter Szilágyi | 2015-06-18 | 2 | -30/+94 |
| | |||||
* | eth/fetcher: fix premature queue cleanup, general polishes | Péter Szilágyi | 2015-06-18 | 1 | -35/+47 |
| | |||||
* | eth, eth/fetcher: define and enforce propagation boundaries | Péter Szilágyi | 2015-06-18 | 2 | -23/+60 |
| | |||||
* | eth/fetcher: deduplicate future blocks | Péter Szilágyi | 2015-06-18 | 2 | -25/+71 |
| | |||||
* | eth, eth/fetcher: cache future propagated blocks too | Péter Szilágyi | 2015-06-18 | 2 | -0/+49 |
| | |||||
* | eth, eth/fetcher: use an import queue to store out of order blocks | Péter Szilágyi | 2015-06-18 | 2 | -31/+82 |
| | |||||
* | eth/fetcher: add test to check for duplicate downloads | Péter Szilágyi | 2015-06-18 | 1 | -0/+38 |
| | |||||
* | eth/fetcher: fix timer reset bug, add initial tests | Péter Szilágyi | 2015-06-18 | 2 | -3/+207 |
| | |||||
* | eth, eth/fetcher: separate notification sync mechanism | Péter Szilágyi | 2015-06-18 | 1 | -0/+258 |