pkel / cpr

consensus protocol research
8 stars 2 forks source link

Hide DAG implementation from protocol specification #28

Closed pkel closed 1 year ago

pkel commented 1 year ago

Currently, details of the DAG implementation leak into the protocol specification. Implies that protocol specs cannot be used with different DAG. I want to play around with a persistent/immutable DAG implementation. This can may enable forkable simulations in the future.

In this PR I do the first step in this direction. I hide the DAG implementation from the protocol specification API.

The better part of the work is done. But a few todos accumulated: