We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor some events and related methods of blockchain_service to remove redundancy and make more sense.
PullBlocksFromPeer
HandlePullBlocks
PullBlocksFromPeer { peer_id: PeerId, sender: oneshot::Sender<Result<Ordinal, BlockchainError>>, },
QueryBlockOrdinalLocal
QueryBlockOrdinalLocal { sender: oneshot::Sender<anyhow::Result<Ordinal>>, },
Rename PullBlocksLocal event to FetchBlocksLocal
PullBlocksLocal
FetchBlocksLocal
Add a new field: peer_id to HandlePullBlocks event and change the type of the fieldsender to oneshot::Sender<anyhow::Result<Vec<Block>>>
peer_id
sender
oneshot::Sender<anyhow::Result<Vec<Block>>>
HandlePullBlocks { start: Ordinal, end: Ordinal, peer_id: PeerId, sender: oneshot::Sender<anyhow::Result<Vec<Block>>>, },
HandleQueryBlockOrdinal
HandleQueryBlockOrdinal { peer_id: PeerId, sender: oneshot::Sender<anyhow::Result<Ordinal>>, },
All of the above are currently under development and may change during implementation. Please feel free to add comments. thank you very much.
The text was updated successfully, but these errors were encountered:
fishseabowl
No branches or pull requests
Refactor some events and related methods of blockchain_service to remove redundancy and make more sense.
PullBlocksFromPeer
event, it was confused withHandlePullBlocks
eventQueryBlockOrdinalLocal
event to check the last ordinal of the local blockchainRename
PullBlocksLocal
event toFetchBlocksLocal
Add a new field:
peer_id
toHandlePullBlocks
event and change the type of the fieldsender
tooneshot::Sender<anyhow::Result<Vec<Block>>>
peer_id
toHandleQueryBlockOrdinal
eventAll of the above are currently under development and may change during implementation. Please feel free to add comments. thank you very much.
The text was updated successfully, but these errors were encountered: