src/qt/transactionrecord.cpp
/* Return positive answer if transaction should be shown in list.
 */
Return positive answer if transaction should be shown in list.
Return positive answer if transaction should be shown in list .
bool TransactionRecord::showTransaction(const interfaces::WalletTx& wtx)
{
    if((wtx.is_coinbase || wtx.is_coinstake) && !wtx.is_in_main_chain)
    {
        return false;
    }
    return true;
}
bool TransactionRecord :: showTransaction ( const interfaces :: WalletTx & wtx ) { if ( ( wtx . is_coinbase || wtx . is_coinstake ) && ! wtx . is_in_main_chain ) { return false ; } return true ; }
Return positive answer if transaction should be shown in list.
Return positive answer if transaction should be shown in list .
// Ensures we show generated coins / mined transactions at depth 1