aboutsummaryrefslogtreecommitdiffstats
path: root/miner/miner.go
Commit message (Collapse)AuthorAgeFilesLines
* core, miner: tx pool drops txs below ask priceobscuren2015-06-151-1/+1
|
* miner: moved break INSIDE the switch ...obscuren2015-05-221-4/+5
|
* miner: on downloader.Done/Fail stop immediately. Ignore pending evsobscuren2015-05-221-0/+2
|
* miner: one-shot update loopobscuren2015-05-211-0/+6
|
* Adjust miner coinbase and not just miner worker coinbaseVitalik Buterin2015-05-161-0/+1
|
* miner: properly check for mining operation on Registerobscuren2015-05-161-1/+1
|
* core, miner: fork resolving and restart miner after sync opobscuren2015-05-161-0/+1
| | | | Fork resolving fixes #940
* eth, eth/downloader, miner: use download events to check miner startobscuren2015-05-151-13/+55
|
* Make read of ethash hashrate atomic and update ethash godepGustav Simonsson2015-05-141-1/+1
|
* cmd/geth, miner, backend, xeth: Fixed miner threads to be settableobscuren2015-05-111-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. #912obscuren2015-05-111-0/+4
|
* miner, tests: fixed block testobscuren2015-05-091-0/+5
|
* miner, cmd/geth: settable gas price from flags and consoleobscuren2015-05-091-0/+4
| | | | | * --gasprice "<num>" flag * admin.miner.setGasPrice( <num> )
* Integrate new ethash API and change geth makedag cmdGustav Simonsson2015-05-051-7/+0
|
* miner: removed default timer & update dag when threads > 0obscuren2015-04-201-4/+8
|
* miner: start a newly registered agent if the miner is running. Closes #681obscuren2015-04-151-2/+4
|
* Fixed pending statesobscuren2015-04-071-0/+12
|
* Block header changed & console miner controlobscuren2015-04-061-1/+4
| | | | | | * miner control moved to `admin.miner` * miner option to set extra data * block extra now bytes
* Updated loggingobscuren2015-04-051-3/+0
|
* Changed minerobscuren2015-03-241-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.obscuren2015-03-221-2/+6
| | | | | * WIP missing arguments for submitting new work * GetWork **done**
* conversions. -compilable-obscuren2015-03-181-1/+2
|
* miner: provide coinbase when starting the minerFelix Lange2015-03-121-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 eventsobscuren2015-03-061-0/+1
|
* debug comments & pow handlingobscuren2015-03-061-1/+5
|
* Fixes and debug addedobscuren2015-03-041-0/+1
|
* mergeobscuren2015-03-041-6/+1
|\
| * Report debug hash rateobscuren2015-03-011-6/+1
| |
* | fixed pow stuffobscuren2015-03-041-3/+6
|/
* Implement command line argument to set the amount of agents created by the minerMaran2015-02-191-2/+2
| | | | Defaults to the amount of cores available on the CPU
* "centralised" mining to backend. Closes #323obscuren2015-02-171-4/+4
|
* Fixed a few issues in the miner and updated hash rate titleobscuren2015-02-141-10/+4
| | | | | * Sometimes old nonces were set by "old" agents * Added the hash rate to the miner
* Basic structure minerobscuren2015-02-101-254/+30
|
* mergedobscuren2015-02-091-1/+1
|\
| * Merge pull request #290 from ↵Jeffrey Wilcke2015-02-061-1/+1
| |\ | | | | | | | | | | | | Gustav-Simonsson/correct_block_parent_timestamp_check Correct block parent timestamp check and typos
| | * Correct block parent timestamp check and typosGustav Simonsson2015-02-041-1/+1
| | |
* | | Merge branch 'develop' into minerobscuren2015-02-061-6/+4
|\| |
| * | set uncles regardless of empty uncle list. Fixes invalid blocks being minedobscuren2015-02-051-3/+1
| |/
* / wipobscuren2015-02-061-7/+35
|/
* Refactored ethutil.Config.Db outobscuren2015-01-071-3/+3
|
* Allow extra to be set for mined blocksobscuren2015-01-061-0/+2
|
* BlockManager => BlockProcessorobscuren2015-01-051-5/+5
|
* Updated miner to new block apiobscuren2014-12-301-3/+6
|
* Refactored block & Transactionobscuren2014-12-231-5/+5
| | | | * Includes new rlp decoder
* mergeobscuren2014-12-191-3/+3
|\
| * Created generic message (easy for testing)obscuren2014-12-181-3/+3
| |
* | adapt miner to new backend. use events to broadcast new mined blockszelig2014-12-151-4/+3
|/
* states moved to chainobscuren2014-12-111-1/+1
|
* Moved powobscuren2014-12-101-3/+5
|
* upped proto version and modified block poolobscuren2014-12-051-1/+0
|
* Skip mining on transactions that don't meet the min accepted gas priceobscuren2014-12-051-6/+16
|
* Improved and simplified wallet functions and behaviourobscuren2014-12-041-1/+1
|
* Renamed `chain` => `core`obscuren2014-12-041-8/+8
|
* merge errors fixedobscuren2014-12-021-8/+2
|\
| * Changed the way transactions are being added to the transaction poolobscuren2014-12-021-4/+5
| |
* | Fixed mergeobscuren2014-11-291-2/+1
|\|
| * Changed refundobscuren2014-11-291-1/+1
| |
| * GasData changes & removed min gas priceobscuren2014-11-291-1/+0
| |
* | Added a callback mechanism to chain adding.obscuren2014-11-191-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 packageobscuren2014-11-181-7/+8
|/ | | | | * Block(s) * Transaction(s)
* Fixed bloom, updated mining & block processingobscuren2014-11-101-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 #177obscuren2014-11-071-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 processobscuren2014-11-041-2/+5
| | | | | | | * Forks * Rename * Moved inserting of blocks & processing * Added chain testing method for validating pieces of a **a** chain.
* StateManager => BlockManagerobscuren2014-11-041-5/+5
|
* ethminer => minerobscuren2014-10-311-0/+217
the last coredev call and this morning I got an OK from @arkpar. * Merge pull request #267 from ethereum/some-vm-test-failuresYoichi Hirai2017-08-2419-1468/+3457 |\ | | | | Replace logs with hashes in VM tests | * Replace logs with hashesYoichi Hirai2017-08-238-17/+9 | | | * Fix some VMTest filling failuresYoichi Hirai2017-08-2311-1451/+3448 |/ * Merge pull request #269 from ethereum/eip649Yoichi Hirai2017-08-23224-36522/+36848 |\ | | | | EIP649: difficulty and reward changes | * Fix uncleHeaderAt2ByzantiumFiller with a correct state root hashYoichi Hirai2017-08-232-3/+705 | | | | | | | | See https://github.com/ethereum/tests/pull/269#discussion_r134723534 | * Fix uncleBloomNot0_2 with the expected state root hashYoichi Hirai2017-08-232-97/+148 | | | | | | | | See https://github.com/ethereum/tests/pull/269#discussion_r134723381 | * Fix futureUncleTimestampDifficultyDrop2Yoichi Hirai2017-08-232-98/+149 | | | | | | | | See https://github.com/ethereum/tests/pull/269#discussion_r134722457 | * Fill more testsYoichi Hirai2017-08-2247-1338/+1551 | | | * Fill more testsYoichi Hirai2017-08-2247-1695/+1482 | | | * Fill more tests on eip649 branchYoichi Hirai2017-08-2221-788/+762 | | | * Fill in more testsYoichi Hirai2017-08-2216-1369/+917 | | | * Refill more straightforward BlockchainTestsYoichi Hirai2017-08-2278-6787/+6787 | | | * Refill straightforward casesYoichi Hirai2017-08-2272-26077/+26077 | | * | Merge pull request #266 from ethereum/0x-fieldswinsvega2017-08-234-1563/+1563 |\ \ | | | | | | Refilled tests again so that 0x is in front of byte sequences | * | Refilled tests again so that 0x is in front of byte sequencesYoichi Hirai2017-08-224-1563/+1563 | | | * | | Merge pull request #213 from jwasinger/issue-204Yoichi Hirai2017-08-234-1/+688 |\ \ \ | | | | | | | | JSON schema for state tests | * | | add storage and code restrictions to json schemacdetrio2017-08-082-3/+25 | | | | | * | | replace Metropolis with Byzantium and Constantinople in state test schemacdetrio2017-08-081-1/+4 | | | | | * | | add schema for state test fillerscdetrio2017-08-082-0/+258 | | | | | * | | use more type definitions in schemacdetrio2017-08-081-116/+214 | | | | | * | | validate.js takes schema file as argumentcdetrio2017-08-082-2/+4 | | | | | * | | improve type checking.Jared Wasinger2017-08-081-148/+190 | | | | | * | | remove es6 syntax from validation script.Jared Wasinger2017-08-081-1/+1 | | | | | * | | make travis use node8Jared Wasinger2017-08-081-1/+1 | | | | | * | | make log ordering consistentJared Wasinger2017-08-081-0/+11 | | | | | * | | add ECDSA parameters r, s, v. Make sure certain fields are marked as ↵Jared Wasinger2017-08-081-8/+25 | | | | | | | | | | | | | | | | required. Add regex for GasAmount. | * | | make error output more informative. Make schema more comprehensive. Add ↵Jared Wasinger2017-08-083-38/+81 | | | | | | | | | | | | | | | | exit code of -1 upon failure | * | | fix process errorJared Wasinger2017-08-081-1/+0 | | | | | * | | format code. Remove unused python codeJared Wasinger2017-08-083-132/+105 | | | | | * | | use JS for json schema validation because the Node 'jsonschema' library is ↵Jared Wasinger2017-08-083-8/+15 | | | | | | | | | | | | | | | | the only one (that I have found) to correctly handle 'additionalProperties' as a boolean (https://spacetelescope.github.io/understanding-json-schema/reference/object.html) | * | | add schema validation with Travis integration.Jared Wasinger2017-08-084-20/+42 | | | | | * | | add "explanation" field. Reduce number of schema errorsJared Wasinger2017-08-084-2/+7 | | | | | * | | modify validation script to run against all test cases under GeneralStateTestsJared Wasinger2017-08-082-27/+9 | | | | | * | | add working schema outlineJared Wasinger2017-08-083-62/+194 | | | | | * | | add JSON schema skeleton for #204Jared Wasinger2017-08-081-0/+71 | | | | * | | | Merge pull request #253 from cdetrio/fix-data-0xYoichi Hirai2017-08-2334-138/+138 |\ \ \ \ | |_|/ / |/| | | add 0x prefix to state test transaction data | * | | add 0x prefix to state test transaction datacdetrio2017-08-0834-138/+138 | |/ / * | | Merge pull request #265 from ethereum/refill-wallet-testswinsvega2017-08-224-1727/+1727 |\ \ \ | |_|/ |/| | Refill bcWalletTest | * | Refill bcWalletTestYoichi Hirai2017-08-224-1727/+1727 |/ / | | | | | | Last time I filled these tests, I used a broken version of testeth, and "0x" prefix was missing everywhere * | refill opcodes test with logsDimitry2017-08-221-469/+235 | | * | Merge pull request #264 from ethereum/refill-empty-accountwinsvega2017-08-224-2315/+2287 |\ \ | | | | | | Refill some tests whose postState contained empty accounts | * | Refill wallet testsYoichi Hirai2017-08-224-1984/+1963 | | | | | | | | | | | | Before this commit, some empty accounts appeared in the postState | * | Refill the test wallet2outOf3txsRevoke.jsonYoichi Hirai2017-08-221-595/+588 | | | | | | | | | | | | Fixes #4362 * | | Merge pull request #263 from ethereum/logswinsvega2017-08-212726-89623/+23638 |\ \ \ | | | | | | | | remove old log fields from randomTestFillers | * | | make all logs hexDimitry2017-08-212193-81494/+17073 | | | | | * | | remove old fields from random testsDimitry2017-08-211081-8677/+7113 |/ / / | | | | | | | | | make logs hash * | | Merge pull request #261 from jwasinger/masterwinsvega2017-08-213-1/+2523 |\ \ \ | | | | | | | | Add State Tests for Unused Opcodes | * | | check for all possible invalid opcodes.Jared Wasinger2017-08-178-640/+2477 | | | | | * | | fix tests to conform to schemaJared Wasinger2017-08-175-7/+7 | | | | | * | | add SLOADBYTESJared Wasinger2017-08-173-1/+189 | | | | | * | | add badOpcode tests for SLOADBYTES and SSIZEJared Wasinger2017-08-175-3/+313 | | | | | * | | add badOpcode state test for SSIZEJared Wasinger2017-08-172-0/+187 | | | | * | | | Merge pull request #254 from cdetrio/fix-filler-storagewinsvega2017-08-2118-26/+26 |\ \ \ \ | |_|/ / |/| | | use hex for storage keys and values in state test fillers | * | | use hex for storage keys and values in state test fillerscdetrio2017-08-0818-26/+26 | | |/ | |/| * | | Merge pull request #262 from ethereum/eip96-to-constantinopleYoichi Hirai2017-08-17221-36812/+35337 |\ \ \ | |_|/ |/| | Move EIP96 to Constantinople | * | Fix more BlockchainTestsYoichi Hirai2017-08-1719-2908/+2826 | | | | * | fill BlockchainTests after delaying EIP96 to ConstantinopleYoichi Hirai2017-08-16206-34380/+32987 |/ / * | update comments in dao transition testsDimitry2017-08-157-472/+472 | | * | Merge pull request #260 from ethereum/bigger-memory-allocwinsvega2017-08-154-133/+133 |\ \ | | | | | | Fix the modexpFiller about large base length and large exp length | * | Fix the modexpFiller about large base length and large exp lengthYoichi Hirai2017-08-144-133/+133 |/ / * | fix test name zeroSigTransactionCreateDimitry2017-08-144-5/+787 | | * | Merge pull request #258 from cdetrio/returndata-caseswinsvega2017-08-1110-0/+891 |\ \ | | | | | | more returndata test cases | * | more returndata test casescdetrio2017-08-1110-0/+891 | | | * | | Update and rename zeroSigTransacrionCreate.json to zeroSigTransactionCreate.jsonwinsvega2017-08-111-2/+2 |/ / * | Merge pull request #255 from ethereum/revert-returndatacopywinsvega2017-08-093-0/+953 |\ \ | |/ |/| Add a test case that RETURNDATACOPYs REVERTed data | * Add a test case that RETURNDATACOPYs REVERTed dataYoichi Hirai2017-08-083-0/+953 |/ * Merge pull request #250 from cdetrio/filler-valid-jsonYoichi Hirai2017-08-0721-554/+554 |\ | | | | fix invalid json state test fillers | * fix invalid json fillerscdetrio2017-08-0621-554/+554 | | * | Merge pull request #248 from ethereum/odd-length-hex-in-vm-fillerwinsvega2017-08-064-89/+439 |\ \ | | | | | | Fix some formatting issues in VMTest fillers | * | Fix some formatting issues in VMTest fillersYoichi Hirai2017-08-054-89/+439 | |/ * | Merge pull request #246 from ethereum/filled-vm-test-no-expectwinsvega2017-08-063-68/+0 |\ \ | | | | | | Remove "expect" sections from VM tests | * | Remove "expect" sections from VM testsYoichi Hirai2017-08-053-68/+0 | |/ * | Merge pull request #251 from ethereum/hivetestswinsvega2017-08-062851-164758/+619483 |\ \ | |/ |/| Hive tests with Byzantine | * Hive tests with ByzantineDimitry2017-08-062851-164758/+619483 |/ * Merge pull request #245 from ethereum/blockhashtestYoichi Hirai2017-08-042-102/+155 |\ | | | | blockhash test on Byzantine transition | * blockhash test on Byzantine transitionDimitry2017-08-042-102/+155 | | * | Merge pull request #244 from ethereum/clear-storage-after-initwinsvega2017-08-043-80/+226 |\ \ | |/ |/| Change tests so that the storage is cleared before, not after contract initialization | * Fix the filler as wellYoichi Hirai2017-08-041-1/+5 | | | * Change tests so that the storage is cleared before, not after contract ↵Yoichi Hirai2017-08-042-79/+221 |/ | | | initialization * Merge pull request #241 from ethereum/metrosplitwinsvega2017-08-043205-75436/+304768 |\ | | | | Metrosplit | * Transition tests with ByzantiumDimitry2017-08-0315-3448/+865 | | | * split metropolisDimitry2017-08-033191-71988/+303903 |/ * Merge pull request #214 from ethereum/add-commentwinsvega2017-08-011-0/+1 |\ | | | | Add an explanation | * Add an explanationYoichi Hirai2017-07-061-0/+1 | | * | Merge pull request #238 from ethereum/updateHivewinsvega2017-08-01