From be3ff151a1f9665720cdf70d072b098a2f9726a9 Mon Sep 17 00:00:00 2001 From: glozow Date: Tue, 20 Jul 2021 11:07:25 +0100 Subject: [validation] full package accept + mempool submission --- src/validation.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/validation.h') diff --git a/src/validation.h b/src/validation.h index 2621d3e7f1..4578a5e02e 100644 --- a/src/validation.h +++ b/src/validation.h @@ -218,8 +218,10 @@ MempoolAcceptResult AcceptToMemoryPool(CChainState& active_chainstate, CTxMemPoo /** * Validate (and maybe submit) a package to the mempool. See doc/policy/packages.md for full details * on package validation rules. +* @param[in] test_accept When true, run validation checks but don't submit to mempool. * @returns a PackageMempoolAcceptResult which includes a MempoolAcceptResult for each transaction. -* If a transaction fails, validation will exit early and some results may be missing. +* If a transaction fails, validation will exit early and some results may be missing. It is also +* possible for the package to be partially submitted. */ PackageMempoolAcceptResult ProcessNewPackage(CChainState& active_chainstate, CTxMemPool& pool, const Package& txns, bool test_accept) -- cgit v1.2.3