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
Need to implement a loop for calling confirmation api every certain interval and process the pending blocks and synchronise with blockchain flow.
Responsibilities
It will call a method of client package and get the response of confirmation for certain block hashes and slots.
After getting response, If it gets unknown response for certain slot then it will discard the block from pending queue and send request to its peer for these discarded blocks again.
If it gets verified response for certain slot, then it will pass this block to blockchain's existing flow for persisting the block into its blockchain
This feature must make sure that it will pass the verified blocks sequentially like if slot n is verified but slot n-1 is not verified yet then it will must re-download the block of slot n-1 and then it will process slot n.
These step-1, 2, 3 and 4 happens repeatedly every certain period of interval
Implementation Notes
Please provide implementation notes here
The text was updated successfully, but these errors were encountered:
Overview
Need to implement a loop for calling confirmation api every certain interval and process the pending blocks and synchronise with blockchain flow.
Responsibilities
unknown
response for certain slot then it will discard the block from pending queue and send request to its peer for these discarded blocks again.verified
response for certain slot, then it will pass this block to blockchain's existing flow for persisting the block into its blockchainslot n
is verified butslot n-1
is not verified yet then it will must re-download the block ofslot n-1
and then it will processslot n
.Implementation Notes
Please provide implementation notes here
The text was updated successfully, but these errors were encountered: