Skip to content
New issue

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

Splitted subscribe blocks, headers and block digests rpc calls #1437

Conversation

UlyanaAndrukhiv
Copy link
Contributor

@UlyanaAndrukhiv UlyanaAndrukhiv commented Mar 4, 2024

Connected with onflow/flow-go#5307

Context

Splitted subscribe rpc calls into 3 separate to make the client code simpler.

SubscribeBlocks into:

  • SubscribeBlocksFromStartBlockID
  • SubscribeBlocksFromStartHeight
  • SubscribeBlocksFromLatest

SubscribeBlockHeaders into:

  • SubscribeBlockHeadersFromStartBlockID
  • SubscribeBlockHeadersFromStartHeight
  • SubscribeBlockHeadersFromLatest

SubscribeBlockDigests into:

  • SubscribeBlockDigestsFromStartBlockID
  • SubscribeBlockDigestsFromStartHeight
  • SubscribeBlockDigestsFromLatest

@durkmurder durkmurder merged commit 8efb057 into onflow:master Mar 5, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants