Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/wallet.cpp
Show First 20 Lines • Show All 1,567 Lines • ▼ Show 20 Lines | if (!memonly && !CWalletDB(*dbw).WriteHDChain(chain)) { | ||||
throw std::runtime_error(std::string(__func__) + | throw std::runtime_error(std::string(__func__) + | ||||
": writing chain failed"); | ": writing chain failed"); | ||||
} | } | ||||
hdChain = chain; | hdChain = chain; | ||||
return true; | return true; | ||||
} | } | ||||
bool CWallet::IsHDEnabled() { | bool CWallet::IsHDEnabled() const { | ||||
return !hdChain.masterKeyID.IsNull(); | return !hdChain.masterKeyID.IsNull(); | ||||
} | } | ||||
int64_t CWalletTx::GetTxTime() const { | int64_t CWalletTx::GetTxTime() const { | ||||
int64_t n = nTimeSmart; | int64_t n = nTimeSmart; | ||||
return n ? n : nTimeReceived; | return n ? n : nTimeReceived; | ||||
} | } | ||||
▲ Show 20 Lines • Show All 2,892 Lines • Show Last 20 Lines |