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
- Added Unfinished bool to jobResult to indicate successful jobs that
still need to send another request to the peer to be considered
complete.
- Made ErrChan a query option in that way it is optional for different
queries.
- Refactored HandleResp, peer is now passed as query.Peer instead of
using its address, jobErr is also passed as an argument in the
HandleResp function. This refactor is useful to enable the query package
to be used for fetching block headers. We passed the peer as the peer
is needed for validation and jobErr, so as to quickly exit the feedback
loop when fetched headers do not pass preliminary verification.
Signed-off-by: Maureen Ononiwu <[email protected]>
0 commit comments