Page MenuHomePhabricator

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

Authored by bytesofman on Sep 13 2023, 17:58.

Details

Reviewers
PiRK
Group Reviewers
Restricted Project
Commits
rABC39547735be35: [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

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable