• Jeffrey Wilcke's avatar
    core, eth, rpc: split out block validator and state processor · a1d9ef48
    Jeffrey Wilcke authored
    This removes the burden on a single object to take care of all
    validation and state processing. Now instead the validation is done by
    the `core.BlockValidator` (`types.Validator`) that takes care of both
    header and uncle validation through the `ValidateBlock` method and state
    validation through the `ValidateState` method. The state processing is
    done by a new object `core.StateProcessor` (`types.Processor`) and
    accepts a new state as input and uses that to process the given block's
    transactions (and uncles for rewords) to calculate the state root for
    the next block (P_n + 1).
    a1d9ef48
Name
Last commit
Last update
Godeps Loading commit data...
_data Loading commit data...
accounts Loading commit data...
build Loading commit data...
cmd Loading commit data...
common Loading commit data...
compression/rle Loading commit data...
core Loading commit data...
crypto Loading commit data...
docker Loading commit data...
errs Loading commit data...
eth Loading commit data...
ethdb Loading commit data...
event Loading commit data...
generators Loading commit data...
jsre Loading commit data...
logger Loading commit data...
metrics Loading commit data...
miner Loading commit data...
p2p Loading commit data...
params Loading commit data...
pow Loading commit data...
rlp Loading commit data...
rpc Loading commit data...
tests Loading commit data...
trie Loading commit data...
whisper Loading commit data...
xeth Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
COPYING Loading commit data...
COPYING.LESSER Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
VERSION Loading commit data...