[#IsConsistentPackage] = IsConsistentPackage :mrdocs: Checks that these transactions don't conflict, i.e., spend the same prevout. This includes checking that there are no duplicate transactions. Since these checks require looking at the inputs of a transaction, returns false immediately if any transactions have empty vin. == Synopsis Declared in `<policy/packages.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool IsConsistentPackage(xref:Package.adoc[Package] const& txns); ---- == Description Does not check consistency of a transaction with oneself; does not check if a transaction spends the same prevout multiple times (see bad‐txns‐inputs‐duplicate in CheckTransaction()). == Return Value true if there are no conflicts. False if any two transactions spend the same prevout. == Parameters [cols="1,4"] |=== | Name| Description | *txns* | Transactions in the package to check for conflicts. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#