Common interface to consensus algorithms