Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/wallet.cpp
Show First 20 Lines • Show All 3,476 Lines • ▼ Show 20 Lines | if (fBroadcastTransactions) { | ||||
} else { | } else { | ||||
wtx.RelayWalletTransaction(*locked_chain, connman); | wtx.RelayWalletTransaction(*locked_chain, connman); | ||||
} | } | ||||
} | } | ||||
return true; | return true; | ||||
} | } | ||||
void CWallet::ListAccountCreditDebit(const std::string &strAccount, | |||||
std::list<CAccountingEntry> &entries) { | |||||
WalletBatch batch(*database); | |||||
return batch.ListAccountCreditDebit(strAccount, entries); | |||||
} | |||||
bool CWallet::AddAccountingEntry(const CAccountingEntry &acentry) { | bool CWallet::AddAccountingEntry(const CAccountingEntry &acentry) { | ||||
WalletBatch batch(*database); | WalletBatch batch(*database); | ||||
return AddAccountingEntry(acentry, &batch); | return AddAccountingEntry(acentry, &batch); | ||||
} | } | ||||
bool CWallet::AddAccountingEntry(const CAccountingEntry &acentry, | bool CWallet::AddAccountingEntry(const CAccountingEntry &acentry, | ||||
WalletBatch *batch) { | WalletBatch *batch) { | ||||
▲ Show 20 Lines • Show All 1,531 Lines • Show Last 20 Lines |