aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet.h
diff options
context:
space:
mode:
authorRussell Yanofsky <russ@yanofsky.org>2016-12-16 10:00:26 -0500
committerRussell Yanofsky <russ@yanofsky.org>2017-03-03 11:22:44 -0500
commit1f98abe47b585217f6290fadfe30a5da240d30a4 (patch)
treeb1f7f3884820f320b0fbb8b0e19343bb105332cd /src/wallet/wallet.h
parentc6b82d1db54e21cd7fb1b961e16b4bd547ba5766 (diff)
Factor out CWallet::nTimeSmart computation into a method.
No change in behavior, this change just pulls some code out of CWallet::AddToWallet that was making it very long into a separate method.
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r--src/wallet/wallet.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h
index 176063c27f..110dedcad8 100644
--- a/src/wallet/wallet.h
+++ b/src/wallet/wallet.h
@@ -776,6 +776,7 @@ public:
bool EncryptWallet(const SecureString& strWalletPassphrase);
void GetKeyBirthTimes(std::map<CTxDestination, int64_t> &mapKeyBirth) const;
+ unsigned int ComputeTimeSmart(const CWalletTx& wtx) const;
/**
* Increment the next transaction order id