f3555488c7
The single validation module is split in multiple (simpler) modules. In the process, we introduce one "validation worker" per peer. This worker handle all the `New_head` and `New_branch` advertised by a given peer. For so, it sends "fetching request" and "validation request" to respectively the `Distributed_db` and and the `Block_validator`. These two global workers are responsible of the 'fair' allocation of network and CPU ressources amongst the connected 'peers'. |
||
---|---|---|
.. | ||
contracts | ||
lib | ||
p2p | ||
proto_alpha | ||
shell | ||
utils | ||
jbuild | ||
sandbox.json | ||
test_basic.sh | ||
test_contracts.sh | ||
test_multinode.sh | ||
test_utils.sh |