Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/finaltx.h
// Copyright (c) 2017 The Bitcoin developers | // Copyright (c) 2017 The Bitcoin developers | ||||
// Distributed under the MIT software license, see the accompanying | // Distributed under the MIT software license, see the accompanying | ||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php. | // file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
#ifndef BITCOIN_WALLET_FINALTX_H | #ifndef BITCOIN_WALLET_FINALTX_H | ||||
#define BITCOIN_WALLET_FINALTX_H | #define BITCOIN_WALLET_FINALTX_H | ||||
class CTransaction; | class CTransaction; | ||||
/** | /** | ||||
* CheckFinalTx is deprecated. In order to provide a sane migration path away | * CheckFinalTx is deprecated. In order to provide a sane migration path away | ||||
* from it, it is still provided in this header file. Or maybe we'll just | * from it, it is still provided in this header file. Or maybe we'll just | ||||
* blackhole the wallet at some point. | * blackhole the wallet at some point. | ||||
*/ | */ | ||||
bool CheckFinalTx(const CTransaction &tx, int flags = -1); | bool CheckFinalTx(const CTransaction &tx, int flags = -1) | ||||
EXCLUSIVE_LOCKS_REQUIRED(cs_main); | |||||
#endif // BITCOIN_WALLET_FINALTX_H | #endif // BITCOIN_WALLET_FINALTX_H |