HomePhabricator

[ecash-herald] Restrict length of unknown op-return msgs

Description

[ecash-herald] Restrict length of unknown op-return msgs

Summary:
Intended impact of printing hex for non-ascii OP_RETURN msgs without a known parsing schema was to improve aesthetics of msgs. This isn't done when the unknown msgs are also very large.

In such cases, abbreviate the msgs.

Test Plan: npm test

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

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

Details

Provenance
bytesofmanAuthored on Sep 13 2023, 17:56
bytesofmanPushed on Sep 14 2023, 17:05
Reviewer
Restricted Project
Differential Revision
D14479: [ecash-herald] Restrict length of unknown op-return msgs
Parents
rABC867d414a5cd1: [avalanche] Fix wrong init of the chain work in tests
Branches
Unknown
Tags
Unknown