2bc63854a8
Operations now include a block hash in their header. Such an operation could only be included in a successor of this block. Furthermore, when validating a block, the economic protocol now returns---together with the context---an integer `max_operations_ttl`. Then, when validating a successor, the shell will fail if it contains an operation whose header's block hash is not one the `max_operations_ttl` predecessors of the block. As a bonus, the shell is now able to detect and forbid replayed operations. Then, we might decide to remove some replay detection-mechanism that we previously implemented in the economic protocol. |
||
---|---|---|
.. | ||
client_mining_blocks.ml | ||
client_mining_blocks.mli | ||
client_mining_daemon.ml | ||
client_mining_daemon.mli | ||
client_mining_denunciation.ml | ||
client_mining_denunciation.mli | ||
client_mining_endorsement.ml | ||
client_mining_endorsement.mli | ||
client_mining_forge.ml | ||
client_mining_forge.mli | ||
client_mining_main.ml | ||
client_mining_main.mli | ||
client_mining_operations.ml | ||
client_mining_operations.mli | ||
client_mining_revelation.ml | ||
client_mining_revelation.mli | ||
Makefile |