[#PackageMempoolAcceptResult-2constructor-08]
= xref:PackageMempoolAcceptResult.adoc[PackageMempoolAcceptResult]::PackageMempoolAcceptResult
:relfileprefix: ../
:mrdocs:

Construct a package result from a package&hyphen;wide state and per&hyphen;transaction results&period;

== Synopsis

Declared in `&lt;validation&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
PackageMempoolAcceptResult(
    xref:PackageValidationState.adoc[PackageValidationState] state,
    std::map&lt;Wtxid, MempoolAcceptResult&gt;&& results);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *state*
| Validation state for the package as a whole&period;
| *results*
| Map from wtxid to the finished result for each transaction&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
