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
Currently we have a realtime system which responds to realtime events from the EVM as they are broadcast but we need to be able to collect historical events in an actor from both the eth_getFilterLogs as well as eth_subscribe for future / live events. Which should be committed to disk.
We can change the stream_from_evm function to become an actor that is sent requests to forward to the bus and utilize hydration as referenced within the persistence issue however we will need to store an offset at which events are streamed as part of this actor.
Also we need to event source the event bus and ensure we have processed past events correctly and are up to date.
The node will ask the contract for all historical ciphernode events in order to be able to determine it's place within CN sortition
The node has not been part of the network and as a consequence need not take part in any decryptions
Scenario: Node restart / network disruption
Node that has been online has a temporary disruption that lasts a few minutes
Node needs to ask network for all recent events from the period of time they have missed for this they broadcast an event request with an event_id of the last event they received.
The text was updated successfully, but these errors were encountered:
ryardley
changed the title
Create an EVM historical event actor.
Create an EVM historical event aware actor.
Oct 11, 2024
Currently we have a realtime system which responds to realtime events from the EVM as they are broadcast but we need to be able to collect historical events in an actor from both the
eth_getFilterLogs
as well aseth_subscribe
for future / live events. Which should be committed to disk.We can change the
stream_from_evm
function to become an actor that is sent requests to forward to the bus and utilize hydration as referenced within the persistence issue however we will need to store an offset at which events are streamed as part of this actor.Also we need to event source the event bus and ensure we have processed past events correctly and are up to date.
WIP Sync scenarios
Scenario: New node comes online
Scenario: Node restart / network disruption
The text was updated successfully, but these errors were encountered: