diff --git a/src/rpc/rawtransaction.cpp b/src/rpc/rawtransaction.cpp --- a/src/rpc/rawtransaction.cpp +++ b/src/rpc/rawtransaction.cpp @@ -1092,8 +1092,8 @@ "transaction in the input array.\n" "Returns results for each transaction in the same order they were " "passed in.\n" - "It is possible for transactions to not be fully validated " - "('allowed' unset) if another transaction failed.\n", + "Transactions that cannot be fully validated due to failures in " + "other transactions will not contain an 'allowed' result.\n", { {RPCResult::Type::OBJ, "", diff --git a/src/validation.h b/src/validation.h --- a/src/validation.h +++ b/src/validation.h @@ -311,7 +311,8 @@ * Map from txid to finished MempoolAcceptResults. The client is * responsible for keeping track of the transaction objects themselves. * If a result is not present, it means validation was unfinished for that - * transaction. + * transaction. If there was a package-wide error (see result in m_state), + * m_tx_results will be empty. */ std::map m_tx_results; @@ -349,7 +350,7 @@ * @param[in] txns Group of transactions which may be independent or contain * parent-child dependencies. The transactions must not conflict, with each * other, i.e. must not spend the same inputs. If any dependencies exist, - * parents must appear before children. + * parents must appear anywhere in the list before their children. * @returns a PackageMempoolAcceptResult which includes a MempoolAcceptResult * for each transaction. If a transaction fails, validation will exit early * and some results may be missing.