HomePhabricator

[ecash-tg-bot] Show blockheight and tx count in block update msgs

Description

[ecash-tg-bot] Show blockheight and tx count in block update msgs

Summary:
T2972

Add a call to chronik.block(blockHash) to get more information about the block, instead of the blockhash.

Test Plan: Add your bot and channel info to secrets.js, then node.js. Confirm msg format when a block is found.

Reviewers: #bitcoin_abc, emack

Reviewed By: #bitcoin_abc, emack

Subscribers: emack

Differential Revision: https://reviews.bitcoinabc.org/D13237

Details

Provenance
bytesofmanAuthored on Mar 4 2023, 19:01
bytesofmanPushed on Mar 5 2023, 02:04
Reviewer
Restricted Project
Differential Revision
D13237: [ecash-tg-bot] Show blockheight and tx count in block update msgs
Parents
rABC6892fa36bc5c: [ecash-telegram-bot] MVP example telegram bot using chronik to announce blocks…
Branches
Unknown
Tags
Unknown