PackageValidationResult

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

Synopsis

Declared in <policy/packages.h>

enum class PackageValidationResult : int;

Members

NameDescription
PCKG_RESULT_UNSET Initial value. The package has not yet been rejected.
PCKG_POLICY The package itself is invalid (e.g. too many transactions).
PCKG_TX At least one tx is invalid.
PCKG_MEMPOOL_ERROR Mempool logic error.