You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue #395 explains necessity of separation of the consensus and pacemaker modules. We can identify two categories on how to do it:
Synchronously: Via calling functions of the consensus module from the pacemaker module. Since we shouldn't use reflect in the production code (except for testing), we need to expose necessary functions of the consensus module. PR [Consensus] Decoupling the Pacemaker and Consensus modules (Synchronous method) #427 follows this methodology.
Asynchronously: Using an event bus to define and send events from pacemaker module to consensus module. This methodology will be more idiomatic than what is implemented in PR [Consensus] Decoupling the Pacemaker and Consensus modules (Synchronous method) #427, since it exposes functions that are internal to the consensus module in shared module. We must seek a way to avoid doing this, and build asynchronous interaction.
Origin Document
I tried to implement asynchronous version first and faced the following problem:
Objective
Issue #395 explains necessity of separation of the
consensus
andpacemaker
modules. We can identify two categories on how to do it:Origin Document
I tried to implement asynchronous version first and faced the following problem:
The WIP I made on asynchronous implementation can be found in this branch: https://github.com/pokt-network/pocket/tree/issue/395-WIP-async-decouple-consensus-and-pacemaker-modules
Goals
Deliverable
Non-goals / Non-deliverables
General issue deliverables
Testing Methodology
make test_all
LocalNet
is still functioning correctly by following the instructions at docs/development/README.mdCreator: @gokutheengineer
Co-owner: @Olshansk
The text was updated successfully, but these errors were encountered: