Péter Szilágyi
b97e34a8e4
eth/downloader: concurrent receipt and state processing
9 years ago
Felix Lange
de8d5aaa92
core, core/state: move gas tracking out of core/state
...
The amount of gas available for tx execution was tracked in the
StateObject representing the coinbase account. This commit makes the gas
counter a separate type in package core, which avoids unintended
consequences of intertwining the counter with state logic.
9 years ago
Péter Szilágyi
b8b996be74
core: fix a formatting loop in BadHashError
9 years ago
Gustav Simonsson
bfde1a4305
core: Add BadHashErr and test for BadHashes handling
9 years ago
Gustav Simonsson
7324176f70
Add tests for uncle timestamps and refactor timestamp type
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
ea54283b30
all: update license information
9 years ago
Gustav Simonsson
0f04af5916
Fix core error forwarding, unify OOG VM err
9 years ago
Felix Lange
0b493910d3
core: fix the nonce check one more time
...
The block nonce verification was effectively disabled by a typo.
This time, there is an actual test for it.
10 years ago
obscuren
b71091e337
eth, eth/downloader, miner: use download events to check miner start
10 years ago
obscuren
1506e00a23
core: improved error message for invalid nonce txs
10 years ago
obscuren
dc3a9379f5
logging for possible uncles
10 years ago
obscuren
8ce6a36478
converted chain manager
10 years ago
obscuren
03403399fc
Return proper error
10 years ago
obscuren
88ff13c241
Spec changes.
...
* All errors during state transition result in an invalid tx
10 years ago
Gustav Simonsson
871dfd399b
Add initial implementation of block tests
...
* Add blocktest cmd and support for block tests files in
tests/BlockTests , the launched node does not connect to
network, resets state with a genesis block from the test file
and starts the RPC API
10 years ago
obscuren
c74c07eed1
Fixed error for invalid transaction
10 years ago
obscuren
fa4cbad315
Optimisations and fixed a couple of DDOS issues in the miner
10 years ago
obscuren
ee9df32dba
Added errors
10 years ago
obscuren
9008b155d3
Renamed `chain` => `core`
10 years ago
obscuren
5ebae82eeb
Additional logging and removed temp merged mining options.
10 years ago
obscuren
99481a245a
Check for known block err and ignore
10 years ago
obscuren
1b1fa049fa
Fixed VM and added static analysis for EVM jumps
10 years ago
obscuren
a9db1ee8d4
Replaced to return the td and throw a specific error on TD
10 years ago
obscuren
3ee0461cb5
Moved ethchain to chain
10 years ago
obscuren
2f614900e8
Updated GHOST
10 years ago
obscuren
d078e9b8c9
Refactoring state transitioning
11 years ago
Maran
bdc206885a
Don't mine transactions if they would go over the GasLimit implements ethereum/go-ethereum#77 further.
11 years ago
obscuren
c3293641e7
Removed debug logging
11 years ago
obscuren
f6d1bfe45b
The great merge
11 years ago