Bitcoin ABC  0.29.2
P2P Digital Currency
tx_check.h
Go to the documentation of this file.
1 // Copyright (c) 2017-2018 The Bitcoin Core developers
2 // Distributed under the MIT software license, see the accompanying
3 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
4 
5 #ifndef BITCOIN_CONSENSUS_TX_CHECK_H
6 #define BITCOIN_CONSENSUS_TX_CHECK_H
7 
15 class CTransaction;
16 class TxValidationState;
17 
24 bool CheckCoinbase(const CTransaction &tx, TxValidationState &state);
25 
26 #endif // BITCOIN_CONSENSUS_TX_CHECK_H
The basic transaction that is broadcasted on the network and contained in blocks.
Definition: transaction.h:192
bool CheckRegularTransaction(const CTransaction &tx, TxValidationState &state)
Context-independent validity checks for coinbase and non-coinbase transactions.
Definition: tx_check.cpp:75
bool CheckCoinbase(const CTransaction &tx, TxValidationState &state)
Definition: tx_check.cpp:56