Skip to content

Commit 03574b9

Browse files
committed
tree-wide: clang-format CTxMemPool references
[META] Do this so that we can more easily grep for all actual instances of CTxMemPool construction.
1 parent 7008087 commit 03574b9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/net_processing.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -4628,7 +4628,7 @@ void PeerManagerImpl::MaybeSendFeefilter(CNode& pto, Peer& peer, std::chrono::mi
46284628
namespace {
46294629
class CompareInvMempoolOrder
46304630
{
4631-
CTxMemPool *mp;
4631+
CTxMemPool* mp;
46324632
bool m_wtxid_relay;
46334633
public:
46344634
explicit CompareInvMempoolOrder(CTxMemPool *_mempool, bool use_wtxid)

src/test/mempool_tests.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -108,12 +108,12 @@ BOOST_AUTO_TEST_CASE(MempoolRemoveTest)
108108
BOOST_CHECK_EQUAL(testPool.size(), 0U);
109109
}
110110

111-
template<typename name>
112-
static void CheckSort(CTxMemPool &pool, std::vector<std::string> &sortedOrder) EXCLUSIVE_LOCKS_REQUIRED(pool.cs)
111+
template <typename name>
112+
static void CheckSort(CTxMemPool& pool, std::vector<std::string>& sortedOrder) EXCLUSIVE_LOCKS_REQUIRED(pool.cs)
113113
{
114114
BOOST_CHECK_EQUAL(pool.size(), sortedOrder.size());
115115
typename CTxMemPool::indexed_transaction_set::index<name>::type::iterator it = pool.mapTx.get<name>().begin();
116-
int count=0;
116+
int count = 0;
117117
for (; it != pool.mapTx.get<name>().end(); ++it, ++count) {
118118
BOOST_CHECK_EQUAL(it->GetTx().GetHash().ToString(), sortedOrder[count]);
119119
}

0 commit comments

Comments
 (0)