[#PackageMempoolAcceptResult]
= PackageMempoolAcceptResult
:mrdocs:

Validation result for package mempool acceptance&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct PackageMempoolAcceptResult;
----

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:PackageMempoolAcceptResult/2constructor-05.adoc[`PackageMempoolAcceptResult`]         [.small]#[constructor]#
| Constructors
|===


== Data Members

[cols="1,4"]
|===
| Name| Description
| xref:PackageMempoolAcceptResult/m_state.adoc[`m&lowbar;state`] 
| Validation state for the package as a whole&period;
| xref:PackageMempoolAcceptResult/m_tx_results.adoc[`m&lowbar;tx&lowbar;results`] 
| Map from wtxid to finished MempoolAcceptResults&period; The client is responsible for keeping track of the transaction objects themselves&period; If a result is not present, it means validation was unfinished for that transaction&period; If there was a package&hyphen;wide error (see result in m&lowbar;state), m&lowbar;tx&lowbar;results will be empty&period;
|===


== Non-Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:ProcessNewPackage.adoc[`ProcessNewPackage`]
| Validate (and maybe submit) a package to the mempool&period; See doc&sol;policy&sol;packages&period;md for full details on package validation rules&period;
|===


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