CTransaction::CheckTransaction

From Peercoin Wiki
Jump to: navigation, search

Source

The CTransaction::CheckTransaction method code can be found in the main.cpp file (v0.4.0ppc).

// ppcoin: enforce minimum output amount
if ((!txout.IsEmpty()) && txout.nValue < MIN_TXOUT_AMOUNT)
    return DoS(100, error("CTransaction::CheckTransaction() : txout.nValue below minimum"));

Description

Check transaction validity and specifically that each TxOut value is not lower than MIN_TXOUT_AMOUNT pMHABKw.png.

Signature

Return value

Type Description
bool true if transaction is valid, false otherwise

FAQ

<TODO>
<TODO>


Feel free to add your own questions in this FAQ

Links