mirror of
https://github.com/dashpay/dash.git
synced 2024-12-28 05:23:01 +01:00
20 lines
670 B
C
20 lines
670 B
C
|
// Copyright (c) 2017 The Dash Core developers
|
||
|
// Distributed under the MIT software license, see the accompanying
|
||
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||
|
|
||
|
#ifndef DASH_SPECIALTX_H
|
||
|
#define DASH_SPECIALTX_H
|
||
|
|
||
|
class CTransaction;
|
||
|
class CBlock;
|
||
|
class CBlockIndex;
|
||
|
class CValidationState;
|
||
|
|
||
|
bool CheckSpecialTx(const CTransaction& tx, const CBlockIndex* pindex, CValidationState& state);
|
||
|
bool ProcessSpecialTxsInBlock(const CBlock& block, const CBlockIndex* pindex, CValidationState& state);
|
||
|
bool UndoSpecialTxsInBlock(const CBlock& block, const CBlockIndex* pindex);
|
||
|
|
||
|
uint256 CalcTxInputsHash(const CTransaction& tx);
|
||
|
|
||
|
#endif//DASH_SPECIALTX_H
|