- B1151747313461AAA55B9B7B3A0BF0E560F3D9200B646859DE29B07543D3CB746F109004610AC55433C6A803D59C5CD3C092C4D187999997CADFB85A762BDA74
+ EC7774805C2999F289F26C3DC0AA669977EA36B9112C4040D4470760583854821262B5073C74F51DFD6C9B3725660F706C1E7990CE43B94B91D7CFF61F047012
bitcoin/src/wallet.cpp
(270 . 7)(270 . 7)
383 }
384
385 //// debug print
386 printf("AddToWallet %s %s%s\n", wtxIn.GetHash().ToString().substr(0,10).c_str(), (fInsertedNew ? "new" : ""), (fUpdated ? "update" : ""));
387 printf("AddToWallet %s %s%s\n", wtxIn.GetHash().ToString().c_str(), (fInsertedNew ? "new" : ""), (fUpdated ? "update" : ""));
388
389 // Write to disk
390 if (fInsertedNew || fUpdated)
(467 . 7)(467 . 7)
392
393 }
394
395 void CWalletTx::GetAccountAmounts(const string& strAccount, int64& nGenerated, int64& nReceived,
396 void CWalletTx::GetAccountAmounts(const string& strAccount, int64& nGenerated, int64& nReceived,
397 int64& nSent, int64& nFee) const
398 {
399 nGenerated = nReceived = nSent = nFee = 0;
(667 . 7)(667 . 7)
401 uint256 hash = GetHash();
402 if (!txdb.ContainsTx(hash))
403 {
404 printf("Relaying wtx %s\n", hash.ToString().substr(0,10).c_str());
405 printf("Relaying wtx %s\n", hash.ToString().c_str());
406 RelayMessage(CInv(MSG_TX, hash), (CTransaction)*this);
407 }
408 }