[#PackageValidationResult]
= PackageValidationResult
:mrdocs:

A &quot;reason&quot; why a package was invalid&period; It may be that one or more of the included transactions is invalid or the package itself violates our rules&period; We don&apos;t distinguish between consensus and policy violations right now&period;

== Synopsis

Declared in `&lt;policy&sol;packages&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
enum class PackageValidationResult : int;
----

== Members

[cols="1,4"]
|===
| Name| Description
| `PCKG&lowbar;RESULT&lowbar;UNSET` 
| Initial value&period; The package has not yet been rejected&period;
| `PCKG&lowbar;POLICY` 
| The package itself is invalid (e&period;g&period; too many transactions)&period;
| `PCKG&lowbar;TX` 
| At least one tx is invalid&period;
| `PCKG&lowbar;MEMPOOL&lowbar;ERROR` 
| Mempool logic error&period;
|===



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