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
Branch
chronik-ws-require-sub
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 23471
Build 46561: Build Diffbuild-chronik · build-without-wallet · build-debug · build-diff · build-clang · build-clang-tidy
Build 46560: arc lint + arc unit

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