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
Branch
herald-better-chronik
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 25763
Build 51106: Build Diffecash-herald-tests
Build 51105: arc lint + arc unit

Event Timeline

apps/ecash-herald/src/main.js
23

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