obscuren
145e02fc54
core, miner: added value check on tx validation
...
* Changed CalcGasLimit to no longer need current block
* Added a gas * price + value on tx validation
* Transactions in the pool are now re-validated once every X
10 years ago
obscuren
48135657c4
miner: show error message for gas limit per account
10 years ago
obscuren
4feb5f6f9c
xeth, miner: updated some logging
10 years ago
Felix Lange
96e2b6bc07
miner: use 32bit atomic operations
...
64bit atomic operations are not available on all 32bit platforms.
10 years ago
obscuren
1d6d42919e
miner: ignore a tx's transactor after a gas limit has been returned
...
When worker encounters a gas limit error, subsequent txs should be
ignored from that particular account. This will prevent:
1. Nonce errors been thrown all around
2. The "Known tx" error. Closes #719
3. Repeated contract address. Closes #731
10 years ago
obscuren
2c1a6a349b
miner: removed default timer & update dag when threads > 0
10 years ago
obscuren
c8cc523d4d
miner: reverted back to old event
10 years ago
obscuren
c6c22301fa
miner: changed listener
10 years ago
Fabian Vogelsteller
576393550d
add extra space to miner icon
10 years ago
obscuren
ec6cbb914b
miner: start a newly registered agent if the miner is running. Closes #681
10 years ago
obscuren
eaf73b55bc
miner: moved bad uncle logging to ridiculous log level. Closes #720
10 years ago
obscuren
4f3c169b4e
miner: don't break loop when encountering gas limit reach err
...
Processing transactions should continue when a transaction throws a gas
limit reached error. Other transactions may actually succeed.
10 years ago
obscuren
6184781b49
Improved transaction pool
...
The transaction pool will now some easily be able to pre determine the
validity of a transaction by checking the following:
* Account existst
* gas limit higher than the instrinsic gas
* enough funds to pay upfront costs
* nonce check
10 years ago
obscuren
1c872ddf4b
Changed how logs are being recorded
...
Logs are now recorded per transactions instead of tossing them out after
each transaction. This should also fix an issue with
`eth_getFilterLogs` (#629 ) Also now implemented are the `transactionHash,
blockHash, transactionIndex, logIndex` on logs. Closes #654 .
10 years ago
obscuren
d09d2b96fc
fixed stop of miner
10 years ago
obscuren
688d118c7e
Updated logging
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
50edd4243e
removed hash rate from info log. Added hashrate js func
10 years ago
obscuren
053d5552ab
Updated logging
10 years ago
obscuren
2683aac9b0
Make sure we're not mining on an invalid TS
10 years ago
obscuren
60da9a1289
Put the old hammer back in <3
10 years ago
obscuren
3f4c1aaf01
info => debug
10 years ago
obscuren
b8124ec791
Removed old (unused) argument
10 years ago
obscuren
344b3556eb
Fixed uncle rewards in miner
...
The uncle rewards were changed in the block processor. This change will
reflect those changes in the miner as well.
10 years ago
obscuren
d36501a6e5
Fixed miner
...
* Miners could stall because the worker wasn't aware the miner was done
10 years ago
obscuren
950b4a68c8
Improved miner recovery
...
* In case of uncle mining (e.g. same TS) the miner would stop if all
threads happened to mine a potential uncle
10 years ago
obscuren
eab8f7355d
Event fixes for miner
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
c8e9ca0483
fixed bad uncles
10 years ago
obscuren
0330077d76
moved state and vm to core
10 years ago
obscuren
9be7853e34
Fixed issues with stalled remote miner
10 years ago
obscuren
dc3a9379f5
logging for possible uncles
10 years ago
obscuren
0be6d34048
finally merged *the missing*
10 years ago
obscuren
ce862ee758
Removed some comments
10 years ago
obscuren
54dac59285
wip
10 years ago
obscuren
0a1eeca41e
conversions. -compilable-
10 years ago
obscuren
b523441361
Moved ethutil => common
10 years ago
obscuren
387f6bba3e
POW fixes
10 years ago
obscuren
532a74f50e
Improved errors. Closes #475
10 years ago
obscuren
03403399fc
Return proper error
10 years ago
obscuren
310ca62285
Removed some of that gas pre pay magic
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
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