diff options
| author | Pieter Wuille <[email protected]> | 2016-11-11 16:30:38 -0800 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2016-12-02 18:28:22 -0800 |
| commit | a1883536b455b889f1ebfca9e50d1e0ef28a7731 (patch) | |
| tree | 8ff0fd54bcca03345bda6860fe170759516be508 /src/validation.h | |
| parent | Merge #9260: Mrs Peacock in The Library with The Candlestick (killed main.{h,... (diff) | |
| download | discoin-a1883536b455b889f1ebfca9e50d1e0ef28a7731.tar.xz discoin-a1883536b455b889f1ebfca9e50d1e0ef28a7731.zip | |
Switch GetTransaction to returning a CTransactionRef
Diffstat (limited to 'src/validation.h')
| -rw-r--r-- | src/validation.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/validation.h b/src/validation.h index a798cf370..f242c20ab 100644 --- a/src/validation.h +++ b/src/validation.h @@ -276,7 +276,7 @@ bool IsInitialBlockDownload(); */ std::string GetWarnings(const std::string& strFor); /** Retrieve a transaction (from memory pool, or from disk, if possible) */ -bool GetTransaction(const uint256 &hash, CTransaction &tx, const Consensus::Params& params, uint256 &hashBlock, bool fAllowSlow = false); +bool GetTransaction(const uint256 &hash, CTransactionRef &tx, const Consensus::Params& params, uint256 &hashBlock, bool fAllowSlow = false); /** Find the best known block, and make it the tip of the block chain */ bool ActivateBestChain(CValidationState& state, const CChainParams& chainparams, const CBlock* pblock = NULL); CAmount GetBlockSubsidy(int nHeight, const Consensus::Params& consensusParams); |