Add a chain_tip_change()
RPC method for listening to chain tip changes
#8619
Open
Labels
S-blocked
Status: Blocked on other tasks
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 theChainTipChange
struct and sends messages about those changes to listeners. See thescan()
gRPC method inzebra-grpc
for defining methods with streaming responses.The text was updated successfully, but these errors were encountered: