HomePhabricator

scripted-diff: Update txorphanage naming convention

Description

scripted-diff: Update txorphanage naming convention

Summary:

-BEGIN VERIFY SCRIPT-
sed -i 's/mapOrphanTransactionsByPrev/m_outpoint_to_orphan_it/g' src/txorphanage.h src/txorphanage.cpp
sed -i 's/mapOrphanTransactions/m_orphans/g' src/txorphanage.h src/txorphanage.cpp src/net_processing.cpp src/test/denialofservice_tests.cpp
sed -i 's/g_orphan_list/m_orphan_list/g' src/txorphanage.h src/txorphanage.cpp
sed -i 's/nMaxOrphans/max_orphans/g' src/txorphanage.h src/txorphanage.cpp
sed -i 's/COrphanTx/OrphanTx/g' src/txorphanage.h src/txorphanage.cpp src/test/denialofservice_tests.cpp
arc lint
-END VERIFY SCRIPT-

This is a backport of core#21148 [12/14]
https://github.com/bitcoin/bitcoin/pull/21148/commits/f8c0688b9490c8d4902530ba3c3b6fbd8b48e0de

Depends on D11489

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, sdulfari

Reviewed By: #bitcoin_abc, sdulfari

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

Details

Provenance
PiRKAuthored on May 18 2022, 15:08
PiRKPushed on May 19 2022, 16:07
Reviewer
Restricted Project
Differential Revision
D11491: scripted-diff: Update txorphanage naming convention
Parents
rABC48a4a4c73040: txorphanage: Move functions and data into class
Branches
Unknown
Tags
Unknown