HomePhabricator

refactor: Extract ParseOpCode from ParseScript

Description

refactor: Extract ParseOpCode from ParseScript

Summary:
Seems more natural to have mapOpNames "hidden" in ParseOpCode than in ParseScript.

A second lookup in mapOpNames is also removed.

This is a backport of core#19851

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
Joo Barbosa <joao.paulo.barbosa@gmail.com>Authored on Aug 31 2020, 18:29
PiRKCommitted on Jan 11 2022, 16:40
PiRKPushed on Jan 11 2022, 16:40
Reviewer
Restricted Project
Differential Revision
D10812: refactor: Extract ParseOpCode from ParseScript
Parents
rABC71149ac5022a: net: Use Span in ReceiveMsgBytes
Branches
Unknown
Tags
Unknown