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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.