Felix Lange
ceaf1c080b
core: add GenerateChain, GenesisBlockForTesting
9 years ago
Felix Lange
1d42888d30
core/types: make blocks immutable
9 years ago
obscuren
15e169e5b6
core: ValidatedHeader (method => function)
...
Changed header validation method to function in preparation of
@karalabe's PR.
9 years ago
obscuren
6244b10a8f
core: settable genesis nonce
...
You can set the nonce of the block with `--genesisnonce`. When the
genesis nonce changes and it doesn't match with the first block in your
database it will fail. A new `datadir` must be given if the nonce of the
genesis block changes.
9 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.
9 years ago
obscuren
e3253b5d5e
core: fixed an issue with storing receipts
9 years ago
obscuren
40717465bc
core: fixed tests
9 years ago
obscuren
e1ed8c33bd
Improved chain manager, improved block processor, fixed tests
...
* ChainManager allows cached future blocks for later processing
* BlockProcessor allows a 4 second window on future blocks
* Fixed tests
10 years ago
Felix Lange
a59dd393e7
core: fix tests
10 years ago
obscuren
ef6706696c
Add additional extra database for non-protocol related data
...
* Add transaction to extra database after a successful block process
10 years ago
obscuren
22b493a6ff
Fixed tests
10 years ago
obscuren
655e942597
Added GetBlock GetUncle with OOB guard
10 years ago