obscuren
310ca62285
Removed some of that gas pre pay magic
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
7add66c8bb
Use the state to up the balance of the coinbase
10 years ago
obscuren
cd856cb213
Separated block db from state db. Partial fix for #416
10 years ago
obscuren
8d9be18b29
Queued approach to delivering chain events
10 years ago
obscuren
23ad2f02c0
debug comments & pow handling
10 years ago
obscuren
c47866d251
Miner fixes and updates (including miner)
10 years ago
obscuren
d4d505c868
Fixed genesis
10 years ago
obscuren
26de12d9bf
Changed nonce to a uint64
10 years ago
obscuren
8e995b97cc
Fixes and debug added
10 years ago
obscuren
313fe3861b
fixed pow stuff
10 years ago
Matthew Wampler-Doty
de9f79133f
Introducing ethash
10 years ago
Taylor Gerring
60a2704b04
Implement eth.miner.new_block event
10 years ago
obscuren
65cad14f9b
Report debug hash rate
10 years ago
obscuren
e235b57234
Fixed consensus issue for refunding
...
* Refund should _always_ go to the origin
10 years ago
obscuren
37e6870f64
wip
10 years ago
obscuren
cc43ab9a81
Minor updates for release
10 years ago
obscuren
fa4cbad315
Optimisations and fixed a couple of DDOS issues in the miner
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
2c3a014f03
Resolved some bugs in the miner
...
* TODO nonce error sometimes persists
* Fixed mining on wrong blocks
* Fixed state error & receipt fail
10 years ago
obscuren
32c7ebc51d
Fixed mining & limited hash power
10 years ago
obscuren
ce239333d5
Update balance label when mining
10 years ago
obscuren
0f3c25b265
Propagate blocks
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
obscuren
65158d39b0
Filtering
10 years ago
obscuren
b1870631a4
WIP miner
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
obscuren
ce68ac6959
Updated miner to new block api
10 years ago
obscuren
4cd79d8ddd
Refactored block & Transaction
...
* Includes new rlp decoder
10 years ago
obscuren
db494170dc
Created generic message (easy for testing)
10 years ago
zelig
118862f1ba
adapt miner to new backend. use events to broadcast new mined blocks
10 years ago
obscuren
5553e5aaed
states moved to chain
10 years ago
obscuren
1b98cbbfa4
Moved pow
10 years ago
obscuren
9925916851
upped proto version and modified block pool
10 years ago
obscuren
8dbca75d85
Skip mining on transactions that don't meet the min accepted gas price
10 years ago
obscuren
a5b27bbc10
Improved and simplified wallet functions and behaviour
10 years ago
obscuren
9008b155d3
Renamed `chain` => `core`
10 years ago
obscuren
6dc46d3341
Changed the way transactions are being added to the transaction pool
10 years ago
obscuren
c8d0f8adc5
Changed refund
10 years ago
obscuren
61556ef01d
GasData changes & removed min gas price
10 years ago
obscuren
f8d0cd9906
Added a callback mechanism to chain adding.
...
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.
10 years ago
obscuren
a1b6a9ac29
Begin of moving objects to types package
...
* Block(s)
* Transaction(s)
10 years ago
obscuren
cbeebcd47d
Fixed bloom, updated mining & block processing
...
* Reverted back to process blocks in batches method
* Bloom generation and lookup fix
* Minor UI changed (mainly debug)
10 years ago