Page MenuHomePhabricator

[ecash-herald] Log success msgs by blockheight
ClosedPublic

Authored by bytesofman on Jun 30 2023, 20:10.

Details

Reviewers
PiRK
Group Reviewers
Restricted Project
Commits
rABCd2c98db02c97: [ecash-herald] Log success msgs by blockheight
Summary

T2972

Depends on D14175

Log blockheight success msg if msg(s) successfully sent for a given blockheight

Useful for reviewing logs and seeing if any blocks were missed

Test Plan

Confirm change only adds a log that only happens if an optional param is passed, npm test still good

Diff Detail

Repository
rABC Bitcoin ABC
Branch
herald-cleanup-logs
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 24276
Build 48162: Build Diffecash-herald-tests
Build 48161: arc lint + arc unit

Event Timeline

Access blockheight same way as function

Fabien added inline comments.
apps/ecash-herald/src/telegram.js
132 ↗(On Diff #41140)

you can't send the genesis then ?

bytesofman added inline comments.
apps/ecash-herald/src/telegram.js
132 ↗(On Diff #41140)

did send, but did not print desired log statement

resolved by update

image.png (105×413 px, 10 KB)

This revision is now accepted and ready to land.Jul 2 2023, 06:11
This revision was automatically updated to reflect the committed changes.
bytesofman marked an inline comment as done.