Gustav Simonsson
5d6d40f329
Use uint64 on ts in chain_manager, block_processor
10 years ago
Felix Lange
ea54283b30
all: update license information
10 years ago
Jeffrey Wilcke
666a7dda36
core, eth, rpc: proper gas used. Closes #1417
...
Added some additional backward compatibility code for old receipts
10 years ago
Jeffrey Wilcke
e6bb9c1cad
core, miner: removed vm errors from consensus err checking
...
Removed VM errors from the consensus errors. They now used for output
only.
10 years ago
Gustav Simonsson
0f04af5916
Fix core error forwarding, unify OOG VM err
10 years ago
Jeffrey Wilcke
ab16ce70fc
core, miner, tests: renamed state methods
...
* Update => SyncIntermediate
* Added SyncObjects
SyncIntermediate only updates whatever has changed, but, as a side
effect, requires much more disk space.
SyncObjects will only sync whatever is required for a block and will not
save intermediate state to disk. As drawback this requires more time
when more txs come in.
10 years ago
Jeffrey Wilcke
08caeedd84
core, core/state: only write necessary state. Skip intermediate
10 years ago
Jeffrey Wilcke
2feb23c1da
core, eth, miner, xeth: receipt storage fix
...
* Added GetReceiptsFromBlock, GetReceipt, PutReceipts
* Added ContractAddress to receipt. See #1042
10 years ago
Jeffrey Wilcke
29e2fb38f8
core, miner: miner header validation, transaction & receipt writing
...
* Miners do now verify their own header, not their state.
* Changed old putTx and putReceipts to be exported
* Moved writing of transactions and receipts out of the block processer
in to the chain manager. Closes #1386
* Miner post ChainHeadEvent & ChainEvent. Closes #1388
10 years ago
Gustav Simonsson
4c490db6af
Use uint64 for block header timestamp
10 years ago
Felix Lange
76821d167a
core, eth, rpc: avoid unnecessary block header copying
10 years ago
Felix Lange
fccc7d71eb
core: remove superfluous big.Int allocations
...
With blocks now being immutable, use big.Int values from
accessor functions instead of copying their results.
10 years ago
Felix Lange
1d42888d30
core/types: make blocks immutable
10 years ago
obscuren
07c3de3f75
core, miner, xeth: renamed gas methods
...
* BuyGas => SubGas
* RefundGas => AddGas
* SetGasPool => SetGasLimit
10 years ago
obscuren
15e169e5b6
core: ValidatedHeader (method => function)
...
Changed header validation method to function in preparation of
@karalabe's PR.
10 years ago
obscuren
f5abc9f188
core, core/vm: state improvements and tx pool speed up
...
Removed full tx validation during state transitions
10 years ago
obscuren
753d62a4dd
core: TMP testing code
10 years ago
zsfelfoldi
3c7b64ce20
removed duplicate function after rebase
10 years ago
zsfelfoldi
3f94d09c1f
fixed saving receipts
10 years ago
obscuren
02d629af8f
core/vm: fixed printable characters using unicode instead
10 years ago
obscuren
37111aa4bd
core: retry block now also parellise nonce checks
10 years ago
Felix Lange
ec7a2c3442
core: don't remove transactions after block processing
...
The transaction pool drops processed transactions on its own
during pool maintenance.
10 years ago
obscuren
770a0e7839
wip
10 years ago
Gustav Simonsson
55bf5051ad
Unsupport bruncles
10 years ago
obscuren
e3253b5d5e
core: fixed an issue with storing receipts
10 years ago
obscuren
12650e16d3
core, miner: fixed miner time issue and removed future blocks
...
* Miner should no longer generate blocks with a time stamp less or equal
than it's parent.
* Future blocks are no longer processed and queued directly.
Closes #1118
10 years ago
Gustav Simonsson
bf5f0b1d0c
Update ValidateHeader comments
10 years ago
Gustav Simonsson
14955bd454
Revert "core: block.gasLimit - parent.gasLimit <= parent.gasLimit / GasLimitBoundDivisor"
...
This reverts commit be2b0501b5
.
10 years ago
obscuren
be2b0501b5
core: block.gasLimit - parent.gasLimit <= parent.gasLimit / GasLimitBoundDivisor
10 years ago
obscuren
b2f2806055
cmd/geth, core: Updated DB version & seedhash debug method
10 years ago
obscuren
ef8744d9fc
core: switched back to `set.Set` for uncle verification
10 years ago
zsfelfoldi
00ec4132f8
Storing tx receipts in extraDb
10 years ago
obscuren
c67424ecc8
core: parallelise nonce checking when processing blocks
...
ChainManager now uses a parallel approach to block processing where all
nonces are checked seperatly from the block processing process. This
speeds up the process by about 3 times on my i7
10 years ago
obscuren
67d44519ce
core: bugfix test 2. set => hash map
10 years ago
obscuren
54f0f82dd1
ret
10 years ago
obscuren
e323f0e831
core: tmp diagnostic logs
10 years ago
obscuren
d98a6f85fc
core: further improved uncle error messages
10 years ago
obscuren
7ea76fcf99
core, cmd/geth, cmd/mist: cleanup. bump version 0.9.21
10 years ago
obscuren
580bae0a86
core: improved uncle messages
10 years ago
Vitalik Buterin
bc83761996
Fixed max uncle count error message
10 years ago
obscuren
7ac24d551b
core: seperated proccing mutex and getting mutex
10 years ago
obscuren
9f32117457
core: bump database version
10 years ago
obscuren
498b24270a
core: implemented a queued approach processing transactions
...
Implemented a new transaction queue. Transactions with a holes in their
nonce sequence are also not propagated over the network.
N: 0,1,2,5,6,7 = propagate 0..2 -- 5..N is kept in the tx pool
10 years ago
Gustav Simonsson
4e0a2c8e8c
Validate block header UncleHash against calculated hash
10 years ago
obscuren
093d6d5074
core: removed nonce resetting from the block processor.
...
All nonce error handling has been moved to the worker
10 years ago
obscuren
f28b2bb6ed
core: upgraded block chain version
10 years ago
obscuren
72d065d491
core: force block process & fixed chain manager test
10 years ago
obscuren
97b0c4b697
core: moved TD calculation from proc to chain
10 years ago
obscuren
1bc2d83b6f
core: improved uncle validation error message
10 years ago
Bas van Kervel
49a513bdeb
Added blockchain DB versioning support, closes #650
10 years ago