Initial Vexta Core v0.1.0 release
This commit is contained in:
commit
25c454329d
2481 changed files with 689289 additions and 0 deletions
20
src/consensus/tx_check.h
Normal file
20
src/consensus/tx_check.h
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
// Copyright (c) 2017-2019 The DigiByte Core developers
|
||||
// Distributed under the MIT software license, see the accompanying
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#ifndef DIGIBYTE_CONSENSUS_TX_CHECK_H
|
||||
#define DIGIBYTE_CONSENSUS_TX_CHECK_H
|
||||
|
||||
/**
|
||||
* Context-independent transaction checking code that can be called outside the
|
||||
* Vexta server and doesn't depend on chain or mempool state. Transaction
|
||||
* verification code that does call server functions or depend on server state
|
||||
* belongs in tx_verify.h/cpp instead.
|
||||
*/
|
||||
|
||||
class CTransaction;
|
||||
class TxValidationState;
|
||||
|
||||
bool CheckTransaction(const CTransaction& tx, TxValidationState& state);
|
||||
|
||||
#endif // DIGIBYTE_CONSENSUS_TX_CHECK_H
|
||||
Loading…
Reference in a new issue