mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-04-29 23:09:44 -04:00
Add package hash to package-rbf log message
This commit is contained in:
parent
36f5effa17
commit
15d982f91e
1 changed files with 3 additions and 2 deletions
|
@ -1205,9 +1205,10 @@ bool MemPoolAccept::PackageMempoolChecks(const std::vector<CTransactionRef>& txn
|
||||||
"package RBF failed: " + err_tup.value().second, "");
|
"package RBF failed: " + err_tup.value().second, "");
|
||||||
}
|
}
|
||||||
|
|
||||||
LogDebug(BCLog::TXPACKAGES, "package RBF checks passed: parent %s (wtxid=%s), child %s (wtxid=%s)\n",
|
LogDebug(BCLog::TXPACKAGES, "package RBF checks passed: parent %s (wtxid=%s), child %s (wtxid=%s), package hash (%s)\n",
|
||||||
txns.front()->GetHash().ToString(), txns.front()->GetWitnessHash().ToString(),
|
txns.front()->GetHash().ToString(), txns.front()->GetWitnessHash().ToString(),
|
||||||
txns.back()->GetHash().ToString(), txns.back()->GetWitnessHash().ToString());
|
txns.back()->GetHash().ToString(), txns.back()->GetWitnessHash().ToString(),
|
||||||
|
GetPackageHash(txns).ToString());
|
||||||
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Add table
Reference in a new issue