Page MenuHomePhabricator

[Chronik] Require subscribing to WebSocket block updates
ClosedPublic

Authored by tobias_ruck on Apr 26 2023, 11:19.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC0908f22bd441: [Chronik] Require subscribing to WebSocket block updates
Summary

Require sending WsSub protobuf message to the server to subscribe to blocks, before sending out block updates.

NNG Chronik sent these unconditionally, but since we now have a more flexible subscription API, we can give users different subscription options.

Test Plan

ninja && ./test/functional/test_runner.py chronik_ws

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

tobias_ruck created this revision.
The build failed due to an unexpected infrastructure outage. The administrators have been notified to investigate. Sorry for the inconvenience.
This revision is now accepted and ready to land.Apr 26 2023, 13:32