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
{{ message }}
This repository has been archived by the owner on Feb 19, 2020. It is now read-only.
The ultimate goal of the library is to automatically handle the syncing case when reconnecting in the near future.
Right now, this needs to be implemented at the consumer level. A full example showing this would be required so we can quickly point users to it so they can handle it correctly in there own code.
This means:
Having an initial undefined start_block on initial connection
Having a with_progress flag and record the last seen block
On reconnection, re-listen automatically setting start_block to last block seen.
Caveats/To deal with:
Most API tokens have access to only -3600 block in the past, we should probably handle that correctly.
Explain that in production, last block seen would need to be persisted somehow so that a full crash of the process can recover gracefully to a correct start_block
The text was updated successfully, but these errors were encountered:
The ultimate goal of the library is to automatically handle the syncing case when reconnecting in the near future.
Right now, this needs to be implemented at the consumer level. A full example showing this would be required so we can quickly point users to it so they can handle it correctly in there own code.
This means:
start_block
on initial connectionwith_progress
flag and record the last seen blockstart_block
to last block seen.Caveats/To deal with:
start_block
The text was updated successfully, but these errors were encountered: