mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-18 13:17:55 +02:00
Merge pull request #2478 from sipa/fullhash
Always print full hashes (tx, block, inv)
This commit is contained in:
commit
f158e363a4
6 changed files with 44 additions and 54 deletions
|
|
@ -420,7 +420,7 @@ bool CWallet::AddToWallet(const CWalletTx& wtxIn)
|
|||
}
|
||||
else
|
||||
printf("AddToWallet() : found %s in block %s not in index\n",
|
||||
wtxIn.GetHash().ToString().substr(0,10).c_str(),
|
||||
wtxIn.GetHash().ToString().c_str(),
|
||||
wtxIn.hashBlock.ToString().c_str());
|
||||
}
|
||||
}
|
||||
|
|
@ -449,7 +449,7 @@ bool CWallet::AddToWallet(const CWalletTx& wtxIn)
|
|||
}
|
||||
|
||||
//// debug print
|
||||
printf("AddToWallet %s %s%s\n", wtxIn.GetHash().ToString().substr(0,10).c_str(), (fInsertedNew ? "new" : ""), (fUpdated ? "update" : ""));
|
||||
printf("AddToWallet %s %s%s\n", wtxIn.GetHash().ToString().c_str(), (fInsertedNew ? "new" : ""), (fUpdated ? "update" : ""));
|
||||
|
||||
// Write to disk
|
||||
if (fInsertedNew || fUpdated)
|
||||
|
|
@ -845,7 +845,7 @@ void CWalletTx::RelayWalletTransaction()
|
|||
{
|
||||
if (GetDepthInMainChain() == 0) {
|
||||
uint256 hash = GetHash();
|
||||
printf("Relaying wtx %s\n", hash.ToString().substr(0,10).c_str());
|
||||
printf("Relaying wtx %s\n", hash.ToString().c_str());
|
||||
RelayTransaction((CTransaction)*this, hash);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue