Page MenuHomePhabricator

[Cashtab] [chronik] Implement chronik websocket connection
AbandonedPublic

Authored by bytesofman on May 16 2022, 22:13.

Details

Reviewers
None
Group Reviewers
Restricted Project
Summary

Implement chronik websockets in Cashtab

This diff is a stub proof of concept.

Test Plan

Pending, changes planned.

Diff Detail

Repository
rABC Bitcoin ABC
Branch
chronik-websockets
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 19160
Build 38068: Build Diffcashtab-tests
Build 38067: arc lint + arc unit

Event Timeline

Working websocket connection + notifications for incoming XEC tx. Unit tests for websocket tx parsing

To do

  • remove debug logs
  • configure etoken receive notifications
  • remove websocket logs
  • disable conventional notifications if websocket is connected

Patching for chronik 0.6.0 using string instead of long

This is working, but still proof of concept.

More helper functions and tests, fall back on API notifications if websocket is disconnected

Rendered obsolete by its actual implementation elsewhere