wallet::CWallet::ComputeTimeSmart

Estimate a smart timestamp for a transaction from block and receive times.

Synopsis

Declared in <wallet/wallet.h>

unsigned int
ComputeTimeSmart(
    CWalletTx const& wtx,
    bool rescanning_old_block) const;

Return Value

The estimated transaction time.

Parameters

NameDescription
wtxThe wallet transaction to timestamp.
rescanning_old_blockWhether the transaction was found during a rescan of old blocks.