src/wallet/scriptpubkeyman.cpp
void LegacyScriptPubKeyMan::UpdateTimeFirstKey(int64_t nCreateTime)
{
    AssertLockHeld(cs_KeyStore);
    if (nCreateTime <= 1) {
        // Cannot determine birthday information, so set the wallet birthday to
        // the beginning of time.
        nTimeFirstKey = 1;
    } else if (!nTimeFirstKey || nCreateTime < nTimeFirstKey) {
        nTimeFirstKey = nCreateTime;
    }
}
/**
 * Update wallet first key creation time. This should be called whenever keys
 * are added to the wallet, with the oldest key creation time.
 */
Update wallet first key creation time. This should be called whenever keys
are added to the wallet, with the oldest key creation time.
Update wallet first key creation time . This should be called whenever keys are added to the wallet with the oldest key creation time .
void LegacyScriptPubKeyMan::UpdateTimeFirstKey(int64_t nCreateTime)
{
    AssertLockHeld(cs_KeyStore);
    if (nCreateTime <= 1) {
        nTimeFirstKey = 1;
    } else if (!nTimeFirstKey || nCreateTime < nTimeFirstKey) {
        nTimeFirstKey = nCreateTime;
    }
}
void LegacyScriptPubKeyMan :: UpdateTimeFirstKey ( int64_t nCreateTime ) { AssertLockHeld ( cs_KeyStore ) ; if ( nCreateTime <= 1 ) { nTimeFirstKey = 1 ; } else if ( ! nTimeFirstKey || nCreateTime < nTimeFirstKey ) { nTimeFirstKey = nCreateTime ; } }
Update wallet first key creation time.
Update wallet first key creation time .
// Cannot determine birthday information, so set the wallet birthday to // the beginning of time.