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>
bool
IsConsistentPackage(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
Name |
Description |
txns |
Transactions in the package to check for conflicts. |
Created with MrDocs