Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | cmd, eth, miner: make recommit configurable (#17444) | gary rong | 2018-08-22 | 1 | -2/+8 |
| | | | | | | | | | | | | * cmd, eth, miner: make recommit configurable * cmd, eth, les, miner: polish a bit * miner: filter duplicate sealing work * cmd: remove uncessary conversion * miner: avoid microptimization in favor of cleaner code | ||||
* | miner: move agent logic to worker (#17351) | gary rong | 2018-08-14 | 1 | -32/+32 |
| | | | | | | | | * miner: move agent logic to worker * miner: polish * core: persist block before reorg | ||||
* | consensus/ethash: move remote agent logic to ethash internal (#15853) | gary rong | 2018-08-03 | 1 | -25/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | * consensus/ethash: start remote ggoroutine to handle remote mining * consensus/ethash: expose remote miner api * consensus/ethash: expose submitHashrate api * miner, ethash: push empty block to sealer without waiting execution * consensus, internal: add getHashrate API for ethash * consensus: add three method for consensus interface * miner: expose consensus engine running status to miner * eth, miner: specify etherbase when miner created * miner: commit new work when consensus engine is started * consensus, miner: fix some logics * all: delete useless interfaces * consensus: polish a bit | ||||
* | miner: remove duplicated code (#15968) | stompesi | 2018-03-16 | 1 | -2/+1 |
| | |||||
* | cmd, core, eth, miner: remove txpool gas price limits (#14442) | Péter Szilágyi | 2017-05-17 | 1 | -13/+0 |
| | |||||
* | core, consensus: pluggable consensus engines (#3817) | Péter Szilágyi | 2017-04-05 | 1 | -17/+14 |
| | | | | | 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. | ||||
* | all: finish integrating Go ethash, delete C++ vendor | Péter Szilágyi | 2017-03-09 | 1 | -1/+3 |
| | |||||
* | all: swap out the C++ ethash to the pure Go one (mining todo) | Péter Szilágyi | 2017-03-09 | 1 | -1/+1 |
| | |||||
* | all: blidly swap out glog to our log15, logs need rework | Péter Szilágyi | 2017-02-23 | 1 | -5/+4 |
| | |||||
* | 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 | ||||
* | miner: fix data race on setting etherbase/extradata | Péter Szilágyi | 2016-12-13 | 1 | -10/+6 |
| | |||||
* | eth, miner: removed unnecessary state.Copy() | Martin Holst Swende | 2016-11-30 | 1 | -0/+9 |
| | | | | | | | | * miner: removed unnecessary state.Copy() * eth: made use of new miner method without state copying * miner: More documentation about new method | ||||
* | miner: remove dead code, add gas price getter | Péter Szilágyi | 2016-11-24 | 1 | -3/+4 |
| | |||||
* | 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> | ||||
* | core, miner: move Backend to miner | Felix Lange | 2016-08-17 | 1 | -3/+20 |
| | | | | | This ensures that package core doesn't depend on package accounts and resolves an age-old TODO. | ||||
* | core: added basic chain configuration | Jeffrey Wilcke | 2016-04-01 | 1 | -2/+2 |
| | | | | | | | | | Added chain configuration options and write out during genesis database insertion. If no "config" was found, nothing is written to the database. Configurations are written on a per genesis base. This means that any chain (which is identified by it's genesis hash) can have their own chain settings. | ||||
* | eth, miner: fetch pending block/state in on go (data race) | Péter Szilágyi | 2016-03-16 | 1 | -6/+3 |
| | |||||
* | cmd/utils, rpc/comms: stop XEth when IPC connection ends | Felix Lange | 2015-10-30 | 1 | -2/+5 |
| | | | | | | | | | | | There are a bunch of changes required to make this work: - in miner: allow unregistering agents, fix RemoteAgent.Stop - in eth/filters: make FilterSystem.Stop not crash - in rpc/comms: move listen loop to platform-independent code Fixes #1930. I ran the shell loop there for a few minutes and didn't see any changes in the memory profile. | ||||
* | core, eth, event, miner, xeth: fix event post / subscription race | Péter Szilágyi | 2015-10-12 | 1 | -1/+1 |
| | |||||
* | Merge pull request #1595 from obscuren/extra-data | Jeffrey Wilcke | 2015-08-07 | 1 | -1/+8 |
|\ | | | | | cmd/geth, eth: added canonical extra data | ||||
| * | miner, rpc: added length check for extra data | Jeffrey Wilcke | 2015-08-07 | 1 | -1/+8 |
| | | |||||
* | | miner, rpc: added submit hashrate for remote agents | Jeffrey Wilcke | 2015-08-06 | 1 | -2/+9 |
|/ | |||||
* | all: fix license headers one more time | Felix Lange | 2015-07-24 | 1 | -1/+1 |
| | | | | 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 | 1 | -4/+4 |
| | | | | | All code outside of cmd/ is licensed as LGPL. The headers now reflect this by calling the whole work "the go-ethereum library". | ||||
* | all: add some godoc synopsis comments | Felix Lange | 2015-07-07 | 1 | -0/+1 |
| | |||||
* | all: update license information | Felix Lange | 2015-07-07 | 1 | -0/+16 |
| | |||||
* | eth,miner,rpc: set coinbase | Jeffrey Wilcke | 2015-07-07 | 1 | -0/+5 |
| | |||||
* | core, miner: tx pool drops txs below ask price | obscuren | 2015-06-15 | 1 | -1/+1 |
| | |||||
* | miner: moved break INSIDE the switch ... | obscuren | 2015-05-22 | 1 | -4/+5 |
| | |||||
* | miner: on downloader.Done/Fail stop immediately. Ignore pending evs | obscuren | 2015-05-22 | 1 | -0/+2 |
| | |||||
* | miner: one-shot update loop | obscuren | 2015-05-21 | 1 | -0/+6 |
| | |||||
* | Adjust miner coinbase and not just miner worker coinbase | Vitalik Buterin | 2015-05-16 | 1 | -0/+1 |
| | |||||
* | miner: properly check for mining operation on Register | obscuren | 2015-05-16 | 1 | -1/+1 |
| | |||||
* | core, miner: fork resolving and restart miner after sync op | obscuren | 2015-05-16 | 1 | -0/+1 |
| | | | | Fork resolving fixes #940 | ||||
* | eth, eth/downloader, miner: use download events to check miner start | obscuren | 2015-05-15 | 1 | -13/+55 |
| | |||||
* | Make read of ethash hashrate atomic and update ethash godep | Gustav Simonsson | 2015-05-14 | 1 | -1/+1 |
| | |||||
* | cmd/geth, miner, backend, xeth: Fixed miner threads to be settable | obscuren | 2015-05-11 | 1 | -17/+16 |
| | | | | | Miner threads are now settable through the admin interface (closes #897) and specify 0 CPU worker threads when eth_getWork is called (closes #916) | ||||
* | miner: added log message for mining operation. #912 | obscuren | 2015-05-11 | 1 | -0/+4 |
| | |||||
* | miner, tests: fixed block test | obscuren | 2015-05-09 | 1 | -0/+5 |
| | |||||
* | miner, cmd/geth: settable gas price from flags and console | obscuren | 2015-05-09 | 1 | -0/+4 |
| | | | | | * --gasprice "<num>" flag * admin.miner.setGasPrice( <num> ) | ||||
* | Integrate new ethash API and change geth makedag cmd | Gustav Simonsson | 2015-05-05 | 1 | -7/+0 |
| | |||||
* | miner: removed default timer & update dag when threads > 0 | obscuren | 2015-04-20 | 1 | -4/+8 |
| | |||||
* | miner: start a newly registered agent if the miner is running. Closes #681 | obscuren | 2015-04-15 | 1 | -2/+4 |
| | |||||
* | Fixed pending states | obscuren | 2015-04-07 | 1 | -0/+12 |
| | |||||
* | Block header changed & console miner control | obscuren | 2015-04-06 | 1 | -1/+4 |
| | | | | | | * miner control moved to `admin.miner` * miner option to set extra data * block extra now bytes | ||||
* | Updated logging | obscuren | 2015-04-05 | 1 | -3/+0 |
| | |||||
* | Changed miner | obscuren | 2015-03-24 | 1 | -2/+5 |
| | | | | | * Instead of delivering `Work` to the `Worker`, push a complete Block to the `Worker` so that each agent can work on their own block. | ||||
* | Get work / submit work partially implemented. | obscuren | 2015-03-22 | 1 | -2/+6 |
| | | | | | * WIP missing arguments for submitting new work * GetWork **done** | ||||
* | conversions. -compilable- | obscuren | 2015-03-18 | 1 | -1/+2 |
| | |||||
* | miner: provide coinbase when starting the miner | Felix Lange | 2015-03-12 | 1 | -20/+10 |
| | | | | | | | | | | This avoids having to query the coinbase when creating the miner, which in turn eliminates the dreaded startup error when no accounts are set up. Later, this will also allow us to simply restart the miner when the user picks a different coinbase. This causes a lot of changes in other packages. These are included in this commit because they're impossible to separate. | ||||
* | Queued approach to delivering chain events | obscuren | 2015-03-06 | 1 | -0/+1 |
| | |||||
* | debug comments & pow handling | obscuren | 2015-03-06 | 1 | -1/+5 |
| | |||||
* | Fixes and debug added | obscuren | 2015-03-04 | 1 | -0/+1 |
| | |||||
* | merge | obscuren | 2015-03-04 | 1 | -6/+1 |
|\ | |||||
| * | Report debug hash rate | obscuren | 2015-03-01 | 1 | -6/+1 |
| | | |||||
* | | fixed pow stuff | obscuren | 2015-03-04 | 1 | -3/+6 |
|/ | |||||
* | Implement command line argument to set the amount of agents created by the miner | Maran | 2015-02-19 | 1 | -2/+2 |
| | | | | Defaults to the amount of cores available on the CPU | ||||
* | "centralised" mining to backend. Closes #323 | obscuren | 2015-02-17 | 1 | -4/+4 |
| | |||||
* | Fixed a few issues in the miner and updated hash rate title | obscuren | 2015-02-14 | 1 | -10/+4 |
| | | | | | * Sometimes old nonces were set by "old" agents * Added the hash rate to the miner | ||||
* | Basic structure miner | obscuren | 2015-02-10 | 1 | -254/+30 |
| | |||||
* | merged | obscuren | 2015-02-09 | 1 | -1/+1 |
|\ | |||||
| * | Merge pull request #290 from ↵ | Jeffrey Wilcke | 2015-02-06 | 1 | -1/+1 |
| |\ | | | | | | | | | | | | | Gustav-Simonsson/correct_block_parent_timestamp_check Correct block parent timestamp check and typos | ||||
| | * | Correct block parent timestamp check and typos | Gustav Simonsson | 2015-02-04 | 1 | -1/+1 |
| | | | |||||
* | | | Merge branch 'develop' into miner | obscuren | 2015-02-06 | 1 | -6/+4 |
|\| | | |||||
| * | | set uncles regardless of empty uncle list. Fixes invalid blocks being mined | obscuren | 2015-02-05 | 1 | -3/+1 |
| |/ | |||||
* / | wip | obscuren | 2015-02-06 | 1 | -7/+35 |
|/ | |||||
* | Refactored ethutil.Config.Db out | obscuren | 2015-01-07 | 1 | -3/+3 |
| | |||||
* | Allow extra to be set for mined blocks | obscuren | 2015-01-06 | 1 | -0/+2 |
| | |||||
* | BlockManager => BlockProcessor | obscuren | 2015-01-05 | 1 | -5/+5 |
| | |||||
* | Updated miner to new block api | obscuren | 2014-12-30 | 1 | -3/+6 |
| | |||||
* | Refactored block & Transaction | obscuren | 2014-12-23 | 1 | -5/+5 |
| | | | | * Includes new rlp decoder | ||||
* | merge | obscuren | 2014-12-19 | 1 | -3/+3 |
|\ | |||||
| * | Created generic message (easy for testing) | obscuren | 2014-12-18 | 1 | -3/+3 |
| | | |||||
* | | adapt miner to new backend. use events to broadcast new mined blocks | zelig | 2014-12-15 | 1 | -4/+3 |
|/ | |||||
* | states moved to chain | obscuren | 2014-12-11 | 1 | -1/+1 |
| | |||||
* | Moved pow | obscuren | 2014-12-10 | 1 | -3/+5 |
| | |||||
* | upped proto version and modified block pool | obscuren | 2014-12-05 | 1 | -1/+0 |
| | |||||
* | Skip mining on transactions that don't meet the min accepted gas price | obscuren | 2014-12-05 | 1 | -6/+16 |
| | |||||
* | Improved and simplified wallet functions and behaviour | obscuren | 2014-12-04 | 1 | -1/+1 |
| | |||||
* | Renamed `chain` => `core` | obscuren | 2014-12-04 | 1 | -8/+8 |
| | |||||
* | merge errors fixed | obscuren | 2014-12-02 | 1 | -8/+2 |
|\ | |||||
| * | Changed the way transactions are being added to the transaction pool | obscuren | 2014-12-02 | 1 | -4/+5 |
| | | |||||
* | | Fixed merge | obscuren | 2014-11-29 | 1 | -2/+1 |
|\| | |||||
| * | Changed refund | obscuren | 2014-11-29 | 1 | -1/+1 |
| | | |||||
| * | GasData changes & removed min gas price | obscuren | 2014-11-29 | 1 | -1/+0 |
| | | |||||
* | | Added a callback mechanism to chain adding. | obscuren | 2014-11-19 | 1 | -2/+5 |
| | | | | | | | | | | | | Not sure if this is the right approach. Why? BlockChain shouldn't need the "Ethereum" object. BlockChain shouldn't need to worry about notifying listeners or message propagation. | ||||
* | | Begin of moving objects to types package | obscuren | 2014-11-18 | 1 | -7/+8 |
|/ | | | | | * Block(s) * Transaction(s) | ||||
* | Fixed bloom, updated mining & block processing | obscuren | 2014-11-10 | 1 | -3/+26 |
| | | | | | | * Reverted back to process blocks in batches method * Bloom generation and lookup fix * Minor UI changed (mainly debug) | ||||
* | Implemented new miner w/ ui interface for merged mining. Closes #177 | obscuren | 2014-11-07 | 1 | -144/+154 |
| | | | | | | | | * Miner has been rewritten * Added new miner pane * Added option for local txs * Added option to read from MergeMining contract and list them for merged mining | ||||
* | Reworked chain handling process | obscuren | 2014-11-04 | 1 | -2/+5 |
| | | | | | | | * Forks * Rename * Moved inserting of blocks & processing * Added chain testing method for validating pieces of a **a** chain. | ||||
* | StateManager => BlockManager | obscuren | 2014-11-04 | 1 | -5/+5 |
| | |||||
* | ethminer => miner | obscuren | 2014-10-31 | 1 | -0/+217 |