PRCYCoin  2.0.0.7rc1
P2P Digital Currency
Functions
tx_verify.cpp File Reference
#include "tx_verify.h"
#include "consensus/consensus.h"
#include "main.h"
#include "script/interpreter.h"
#include "timedata.h"
Include dependency graph for tx_verify.cpp:

Go to the source code of this file.

Functions

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