[#wallet-CWallet-ComputeTimeSmart] = xref:wallet.adoc[wallet]::xref:wallet/CWallet.adoc[CWallet]::ComputeTimeSmart :relfileprefix: ../../ :mrdocs: Estimate a smart timestamp for a transaction from block and receive times. == Synopsis Declared in `<wallet/wallet.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- unsigned int ComputeTimeSmart( xref:wallet/CWalletTx.adoc[CWalletTx] const& wtx, bool rescanning_old_block) const; ---- == Return Value The estimated transaction time. == Parameters [cols="1,4"] |=== | Name| Description | *wtx* | The wallet transaction to timestamp. | *rescanning_old_block* | Whether the transaction was found during a rescan of old blocks. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#