Jeffrey Wilcke
f0cbebb19f
core: added basic chain configuration
...
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.
9 years ago
Péter Szilágyi
0228fb57cd
eth, miner: fetch pending block/state in on go (data race)
9 years ago
Felix Lange
fbdb44dcc1
cmd/utils, rpc/comms: stop XEth when IPC connection ends
...
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.
9 years ago
Péter Szilágyi
402fd6e8c6
core, eth, event, miner, xeth: fix event post / subscription race
9 years ago
Jeffrey Wilcke
132df860d9
miner, rpc: added length check for extra data
9 years ago
Jeffrey Wilcke
c32073b11f
miner, rpc: added submit hashrate for remote agents
9 years ago
Felix Lange
bfbcfbe4a9
all: fix license headers one more time
...
I forgot to update one instance of "go-ethereum" in commit 3f047be5a
.
9 years ago
Felix Lange
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".
9 years ago
Felix Lange
bdae4fd573
all: add some godoc synopsis comments
10 years ago
Felix Lange
ea54283b30
all: update license information
10 years ago
Jeffrey Wilcke
37c1a8f69d
eth,miner,rpc: set coinbase
10 years ago
obscuren
6d817e16c1
core, miner: tx pool drops txs below ask price
10 years ago
obscuren
054abe20b8
miner: moved break INSIDE the switch ...
10 years ago
obscuren
3ea9868b65
miner: on downloader.Done/Fail stop immediately. Ignore pending evs
10 years ago
obscuren
907848997b
miner: one-shot update loop
10 years ago
Vitalik Buterin
fe64a13cea
Adjust miner coinbase and not just miner worker coinbase
10 years ago
Vitalik Buterin
61e8296bd8
Adjust miner coinbase and not just miner worker coinbase
10 years ago
obscuren
d3e84cc8b4
miner: properly check for mining operation on Register
10 years ago
obscuren
5cec1aad15
core, miner: fork resolving and restart miner after sync op
...
Fork resolving fixes #940
10 years ago
obscuren
b71091e337
eth, eth/downloader, miner: use download events to check miner start
10 years ago
Gustav Simonsson
b24f16fa53
Make read of ethash hashrate atomic and update ethash godep
10 years ago
obscuren
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 )
10 years ago
obscuren
6ecba12650
miner: added log message for mining operation. #912
10 years ago
obscuren
7eed47fad5
miner, tests: fixed block test
10 years ago
obscuren
13ddf20bd2
miner, cmd/geth: settable gas price from flags and console
...
* --gasprice "<num>" flag
* admin.miner.setGasPrice( <num> )
10 years ago
Gustav Simonsson
b1cc9cdc74
Integrate new ethash API and change geth makedag cmd
10 years ago
obscuren
2c1a6a349b
miner: removed default timer & update dag when threads > 0
10 years ago
obscuren
ec6cbb914b
miner: start a newly registered agent if the miner is running. Closes #681
10 years ago
obscuren
7b6a8cc9ae
Fixed pending states
10 years ago
obscuren
9c55576c7b
Block header changed & console miner control
...
* miner control moved to `admin.miner`
* miner option to set extra data
* block extra now bytes
10 years ago
obscuren
053d5552ab
Updated logging
10 years ago
obscuren
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.
10 years ago
obscuren
82956df523
Get work / submit work partially implemented.
...
* WIP missing arguments for submitting new work
* GetWork **done**
10 years ago
obscuren
0a1eeca41e
conversions. -compilable-
10 years ago
Felix Lange
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.
10 years ago
obscuren
8d9be18b29
Queued approach to delivering chain events
10 years ago
obscuren
23ad2f02c0
debug comments & pow handling
10 years ago
obscuren
8e995b97cc
Fixes and debug added
10 years ago
obscuren
313fe3861b
fixed pow stuff
10 years ago
obscuren
65cad14f9b
Report debug hash rate
10 years ago
Maran
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
10 years ago
obscuren
8135752a32
"centralised" mining to backend. Closes #323
10 years ago
obscuren
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
10 years ago
obscuren
da2fae0e43
Basic structure miner
10 years ago
obscuren
9d2166a964
wip
10 years ago
obscuren
a1b4547a53
set uncles regardless of empty uncle list. Fixes invalid blocks being mined
10 years ago
Gustav Simonsson
697c2b5dc1
Correct block parent timestamp check and typos
10 years ago
obscuren
fed3e6a808
Refactored ethutil.Config.Db out
10 years ago
obscuren
47e6b2cef8
Allow extra to be set for mined blocks
10 years ago
obscuren
c1dee15144
BlockManager => BlockProcessor
10 years ago