Page MenuHomePhabricator

[ecash-herald] Implement chronik-client 0.9.0 with failover proxy
ClosedPublic

Authored by bytesofman on Nov 28 2023, 23:53.

Details

Summary

Upgrade to chronik-client with automated backup servers. Remove startup bailout on failed connection, an artifact of manual deployments and no support for backup chronik.

Test Plan

npm test
node index.js and msgs are broadcast to telegram bot info in local secrets.js

Diff Detail

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

Event Timeline

apps/ecash-herald/src/main.js
23 ↗(On Diff #43298)

Note that chronik with failover proxy will throw an error if it fails to connect to all of the given servers. So, we are still bailing at startup if all servers are unavailable.

This revision is now accepted and ready to land.Nov 29 2023, 08:57