ligo/src/node/shell
Grégoire Henry 2bc63854a8 Shell: Liveness of operations
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.
2017-06-12 11:07:37 +02:00
..
chain_traversal.ml Shell: implements Chain.live_blocks 2017-06-12 11:07:37 +02:00
chain_traversal.mli Shell: implements Chain.live_blocks 2017-06-12 11:07:37 +02:00
chain.ml Shell: remove the on-disk index of operations 2017-06-12 11:04:43 +02:00
chain.mli Shell: remove the on-disk index of operations 2017-06-12 11:04:43 +02:00
distributed_db_functors.ml Shell: export Distributed_db.*.clear 2017-06-12 11:07:37 +02:00
distributed_db_functors.mli Shell: export Distributed_db.*.clear 2017-06-12 11:07:37 +02:00
distributed_db_message.ml Shell: remove the on-disk index of operations 2017-06-12 11:04:43 +02:00
distributed_db_message.mli Shell: remove the on-disk index of operations 2017-06-12 11:04:43 +02:00
distributed_db_metadata.ml Shell: refactor the distributed DB. 2017-02-25 18:14:05 +01:00
distributed_db_metadata.mli Shell: refactor the distributed DB. 2017-02-25 18:14:05 +01:00
distributed_db.ml Shell: export Distributed_db.*.clear 2017-06-12 11:07:37 +02:00
distributed_db.mli Shell: export Distributed_db.*.clear 2017-06-12 11:07:37 +02:00
node_rpc_services.ml Shell: rework the preapply RPC 2017-06-12 11:07:35 +02:00
node_rpc_services.mli Shell: rework the preapply RPC 2017-06-12 11:07:35 +02:00
node_rpc.ml Shell: rework the preapply RPC 2017-06-12 11:07:35 +02:00
node_rpc.mli First public release 2016-09-08 19:29:33 -07:00
node.ml Shell: Liveness of operations 2017-06-12 11:07:37 +02:00
node.mli Shell: rework the preapply RPC 2017-06-12 11:07:35 +02:00
prevalidation.ml Shell: rework the preapply RPC 2017-06-12 11:07:35 +02:00
prevalidation.mli Shell: rework the preapply RPC 2017-06-12 11:07:35 +02:00
prevalidator.ml Shell: Liveness of operations 2017-06-12 11:07:37 +02:00
prevalidator.mli Shell: remove the on-disk index of operations 2017-06-12 11:04:43 +02:00
state.ml Shell: Liveness of operations 2017-06-12 11:07:37 +02:00
state.mli Shell: Liveness of operations 2017-06-12 11:07:37 +02:00
validator.ml Shell: Liveness of operations 2017-06-12 11:07:37 +02:00
validator.mli Shell: remove the on-disk index of operations 2017-06-12 11:04:43 +02:00