Author | SHA1 | Message | Date |
---|---|---|---|
M. J. Fromberger |
ab32f5a9b6
|
rpc/client: add eventstream helper (#7987)
This allows the caller to stream events. It handles the bookkeeping for cursors and pagination, and delivers items to a callback. Handle missed items by reporting a structured error. The caller can use the Reset method to "catch up" to head after this happens. Add a manual test CLI to probe a running node. Requires the node to be configured with the event log settings. Add a unit test that scripts input to the stream to exercise it. |
3 years ago |