PRCYCoin  2.0.0.7rc1
P2P Digital Currency
Functions
tx_verify.h File Reference
#include <stdint.h>
#include <vector>
Include dependency graph for tx_verify.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

bool CheckTransaction (const CTransaction &tx, bool fRejectBadUTXO, CValidationState &state)
 Transaction validation functions. More...
 
unsigned int GetLegacySigOpCount (const CTransaction &tx)
 Count ECDSA signature operations the old-fashioned (pre-0.6) way. More...
 
bool IsFinalTx (const CTransaction &tx, int nBlockHeight=0, int64_t nBlockTime=0)
 Check if transaction is final and can be included in a block with the specified height and time. More...
 

Function Documentation

◆ CheckTransaction()

bool CheckTransaction ( const CTransaction tx,
bool  fRejectBadUTXO,
CValidationState state 
)

Transaction validation functions.

Context-independent validity checks

Definition at line 42 of file tx_verify.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetLegacySigOpCount()

unsigned int GetLegacySigOpCount ( const CTransaction tx)

Count ECDSA signature operations the old-fashioned (pre-0.6) way.

Returns
number of sigops this transaction's outputs will produce when spent
See also
CTransaction::FetchInputs

Definition at line 30 of file tx_verify.cpp.

Here is the call graph for this function:

◆ IsFinalTx()

bool IsFinalTx ( const CTransaction tx,
int  nBlockHeight = 0,
int64_t  nBlockTime = 0 
)

Check if transaction is final and can be included in a block with the specified height and time.

Consensus critical.

Definition at line 12 of file tx_verify.cpp.

Here is the call graph for this function:
Here is the caller graph for this function: