HomePhabricator

refactor: Clean up CTxMemPool initializer list

Description

refactor: Clean up CTxMemPool initializer list

Summary:
Shorten the CTxMemPool initializer list using default initialization
for members that dont depend on the constuctor parameters.

This is a backport of core#20222 [3/3]
https://github.com/bitcoin/bitcoin/pull/20222/commits/f15e780b9e57554c723bc02aa41150ecf3e3a8c9

Depends on D10842

Test Plan:
ninja all check-all

eviewers:

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
Elle Mouton <elle.mouton@gmail.com>Authored on Oct 20 2020, 19:25
PiRKCommitted on Jan 19 2022, 17:21
PiRKPushed on Jan 19 2022, 17:21
Reviewer
Restricted Project
Differential Revision
D10843: refactor: Clean up CTxMemPool initializer list
Parents
rABCae6af22fb10f: refactor: Make CTxMemPool::m_check_ratio a const and a constructor argument
Branches
Unknown
Tags
Unknown