- 5215203AB6BF6D76003D6E82B3C54145FB5F59B41AF5B88D72D315E0723FEA8E1313894707EC159D2303A22109B1D8961AA822AE2DD45416BD00E440832F6EE3
+ 9403DDF950C2E6FA556812F6A3925A0B78326A5580AA7BFBC563133414705A93EBCB3EEEA360449C579278161ECD58B52B5E1DD3EDCD719FD18639F9D7E67E89
bitcoin/src/wallet.cpp
(270 . 7)(270 . 7)
346 }
347
348 //// debug print
349 printf("AddToWallet %s %s%s\n", wtxIn.GetHash().ToString().substr(0,10).c_str(), (fInsertedNew ? "new" : ""), (fUpdated ? "update" : ""));
350 printf("AddToWallet %s %s%s\n", wtxIn.GetHash().ToString().c_str(), (fInsertedNew ? "new" : ""), (fUpdated ? "update" : ""));
351
352 // Write to disk
353 if (fInsertedNew || fUpdated)
(467 . 7)(467 . 7)
355
356 }
357
358 void CWalletTx::GetAccountAmounts(const string& strAccount, int64& nGenerated, int64& nReceived,
359 void CWalletTx::GetAccountAmounts(const string& strAccount, int64& nGenerated, int64& nReceived,
360 int64& nSent, int64& nFee) const
361 {
362 nGenerated = nReceived = nSent = nFee = 0;
(667 . 7)(667 . 7)
364 uint256 hash = GetHash();
365 if (!txdb.ContainsTx(hash))
366 {
367 printf("Relaying wtx %s\n", hash.ToString().substr(0,10).c_str());
368 printf("Relaying wtx %s\n", hash.ToString().c_str());
369 RelayMessage(CInv(MSG_TX, hash), (CTransaction)*this);
370 }
371 }