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

Add a chain_tip_change() RPC method for listening to chain tip changes #8619

Open
Tracked by #8610 ...
arya2 opened this issue Jun 17, 2024 · 0 comments
Open
Tracked by #8610 ...

Add a chain_tip_change() RPC method for listening to chain tip changes #8619

arya2 opened this issue Jun 17, 2024 · 0 comments
Labels
S-blocked Status: Blocked on other tasks

Comments

@arya2
Copy link
Contributor

arya2 commented Jun 17, 2024

Motivation

We want to notify RPC clients when there has been a change to the chain tip with information about which transactions were added or removed from Zebra's best chain.

Blocked-On: #7927.

Design

Add a chain_tip() RPC method to the tonic server that waits for a chain tip change with the ChainTipChange struct and sends messages about those changes to listeners. See the scan() gRPC method in zebra-grpc for defining methods with streaming responses.

@arya2 arya2 added the S-blocked Status: Blocked on other tasks label Jun 17, 2024
@arya2 arya2 changed the title Add a chain_tip() RPC method for listening to chain tip changes Add a chain_tip_change() RPC method for listening to chain tip changes Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-blocked Status: Blocked on other tasks
Projects
Status: New
Development

No branches or pull requests

1 participant