bfbcfbe4a9
all: fix license headers one more time
...
I forgot to update one instance of "go-ethereum" in commit 3f047be5a
.
2015-07-23 18:35:11 +02:00
3f047be5aa
all: update license headers to distiguish GPL/LGPL
...
All code outside of cmd/ is licensed as LGPL. The headers
now reflect this by calling the whole work "the go-ethereum library".
2015-07-22 18:51:45 +02:00
bdae4fd573
all: add some godoc synopsis comments
2015-07-07 14:12:45 +02:00
ea54283b30
all: update license information
2015-07-07 14:12:44 +02:00
37c1a8f69d
eth,miner,rpc: set coinbase
2015-07-07 10:58:47 +02:00
6d817e16c1
core, miner: tx pool drops txs below ask price
2015-06-15 11:33:08 +02:00
054abe20b8
miner: moved break INSIDE the switch ...
2015-05-21 19:53:27 +02:00
3ea9868b65
miner: on downloader.Done/Fail stop immediately. Ignore pending evs
2015-05-21 18:14:32 +02:00
907848997b
miner: one-shot update loop
2015-05-21 11:57:00 +02:00
61e8296bd8
Adjust miner coinbase and not just miner worker coinbase
2015-05-15 21:23:09 -04:00
d3e84cc8b4
miner: properly check for mining operation on Register
2015-05-15 20:26:15 +02:00
5cec1aad15
core, miner: fork resolving and restart miner after sync op
...
Fork resolving fixes #940
2015-05-15 20:26:15 +02:00
b71091e337
eth, eth/downloader, miner: use download events to check miner start
2015-05-15 00:43:10 +02:00
b24f16fa53
Make read of ethash hashrate atomic and update ethash godep
2015-05-14 04:05:49 +02:00
21e52efdfe
cmd/geth, miner, backend, xeth: Fixed miner threads to be settable
...
Miner threads are now settable through the admin interface (closes #897 )
and specify 0 CPU worker threads when eth_getWork is called (closes #916 )
2015-05-11 17:21:22 +02:00
6ecba12650
miner: added log message for mining operation. #912
2015-05-11 11:39:33 +02:00
7eed47fad5
miner, tests: fixed block test
2015-05-09 12:51:40 +02:00
13ddf20bd2
miner, cmd/geth: settable gas price from flags and console
...
* --gasprice "<num>" flag
* admin.miner.setGasPrice( <num> )
2015-05-09 12:04:00 +02:00
b1cc9cdc74
Integrate new ethash API and change geth makedag cmd
2015-05-05 08:24:15 +02:00
2c1a6a349b
miner: removed default timer & update dag when threads > 0
2015-04-19 21:45:40 +02:00
ec6cbb914b
miner: start a newly registered agent if the miner is running. Closes #681
2015-04-15 17:04:22 +02:00
7b6a8cc9ae
Fixed pending states
2015-04-07 12:32:55 +02:00
9c55576c7b
Block header changed & console miner control
...
* miner control moved to `admin.miner`
* miner option to set extra data
* block extra now bytes
2015-04-05 18:59:18 +02:00
053d5552ab
Updated logging
2015-04-04 23:04:19 +02:00
a59ea7ce29
Changed miner
...
* Instead of delivering `Work` to the `Worker`, push a complete Block to
the `Worker` so that each agent can work on their own block.
2015-03-24 10:34:06 +01:00
82956df523
Get work / submit work partially implemented.
...
* WIP missing arguments for submitting new work
* GetWork **done**
2015-03-22 15:38:01 +01:00
0a1eeca41e
conversions. -compilable-
2015-03-18 13:00:01 +01:00
d7b5a87b3b
miner: provide coinbase when starting the miner
...
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.
2015-03-11 23:43:27 +01:00
8d9be18b29
Queued approach to delivering chain events
2015-03-06 15:50:44 +01:00
23ad2f02c0
debug comments & pow handling
2015-03-06 10:22:40 +01:00
8e995b97cc
Fixes and debug added
2015-03-03 20:13:11 +01:00
40ff3cac39
merge
2015-03-03 17:56:36 +01:00
313fe3861b
fixed pow stuff
2015-03-03 17:55:23 +01:00
65cad14f9b
Report debug hash rate
2015-02-28 23:09:49 +01:00
5aff8bfb59
Implement command line argument to set the amount of agents created by the miner
...
Defaults to the amount of cores available on the CPU
2015-02-19 10:38:36 +01:00
8135752a32
"centralised" mining to backend. Closes #323
2015-02-17 12:24:58 +01:00
8a0f23915e
Fixed a few issues in the miner and updated hash rate title
...
* Sometimes old nonces were set by "old" agents
* Added the hash rate to the miner
2015-02-13 17:23:09 +01:00
da2fae0e43
Basic structure miner
2015-02-10 13:04:38 +01:00
b22f0f2ef5
merged
2015-02-09 00:06:24 +01:00
47129428fe
Merge pull request #290 from Gustav-Simonsson/correct_block_parent_timestamp_check
...
Correct block parent timestamp check and typos
2015-02-05 12:23:56 -08:00
ac69538707
Merge branch 'develop' into miner
2015-02-05 10:58:43 -08:00
9d2166a964
wip
2015-02-05 09:13:02 -08:00
a1b4547a53
set uncles regardless of empty uncle list. Fixes invalid blocks being mined
2015-02-04 18:26:23 -08:00
697c2b5dc1
Correct block parent timestamp check and typos
2015-02-03 23:09:39 +01:00
fed3e6a808
Refactored ethutil.Config.Db out
2015-01-07 13:17:48 +01:00
47e6b2cef8
Allow extra to be set for mined blocks
2015-01-06 00:19:07 +01:00
c1dee15144
BlockManager => BlockProcessor
2015-01-05 00:18:44 +01:00
ce68ac6959
Updated miner to new block api
2014-12-30 13:18:19 +01:00
4cd79d8ddd
Refactored block & Transaction
...
* Includes new rlp decoder
2014-12-23 13:48:44 +01:00
22d29a6d52
merge
2014-12-19 00:02:55 +01:00