Page MenuHomePhabricator

scripted-diff: Update txorphanage naming convention
ClosedPublic

Authored by PiRK on May 18 2022, 15:13.

Details

Reviewers
sdulfari
Group Reviewers
Restricted Project
Commits
rABC66572c1f0da6: 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

Diff Detail

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