File tree Expand file tree Collapse file tree 1 file changed +19
-2
lines changed Expand file tree Collapse file tree 1 file changed +19
-2
lines changed Original file line number Diff line number Diff line change @@ -528,9 +528,26 @@ class MemPoolAccept
528
528
/* m_package_submission */ true ,
529
529
};
530
530
}
531
- // No default ctor to avoid exposing details to clients and allowing the possibility of
531
+
532
+ private:
533
+ // Private ctor to avoid exposing details to clients and allowing the possibility of
532
534
// mixing up the order of the arguments. Use static functions above instead.
533
- ATMPArgs () = delete ;
535
+ ATMPArgs (const CChainParams& chainparams,
536
+ int64_t accept_time,
537
+ bool bypass_limits,
538
+ std::vector<COutPoint>& coins_to_uncache,
539
+ bool test_accept,
540
+ bool allow_bip125_replacement,
541
+ bool package_submission)
542
+ : m_chainparams{chainparams},
543
+ m_accept_time{accept_time},
544
+ m_bypass_limits{bypass_limits},
545
+ m_coins_to_uncache{coins_to_uncache},
546
+ m_test_accept{test_accept},
547
+ m_allow_bip125_replacement{allow_bip125_replacement},
548
+ m_package_submission{package_submission}
549
+ {
550
+ }
534
551
};
535
552
536
553
// Single transaction acceptance
You can’t perform that action at this time.
0 commit comments