uwplse / verdi-raft

An implementation of the Raft distributed consensus protocol, verified in Coq using the Verdi framework
BSD 2-Clause "Simplified" License
183 stars 19 forks source link

Allow any decidable type for request and client ids #70

Closed palmskog closed 6 years ago

palmskog commented 6 years ago

Currently, both Raft request ids and client ids are hardcoded to nat. For some purposes, it would be more appropriate to use some other decidable type, e.g., string, for either of these ids. The most attractive solution is to parameterize the Raft transformer on any decidable types for request and client ids.