aboutsummaryrefslogtreecommitdiff
path: root/src/validation.h
diff options
context:
space:
mode:
authorAmiti Uttarwar <amiti@uttarwar.org>2019-01-26 14:34:00 -0800
committerAmiti Uttarwar <amiti@uttarwar.org>2019-01-26 18:36:53 -0800
commit04da9f4834e1651da65ceb6379950cef9450591c (patch)
treec09a61a7b7223b0aff17834f5cf3094aa46b1e75 /src/validation.h
parenta9b71a09a0bbbdebc4c0b10d287bf2d53f628cf4 (diff)
downloadbitcoin-04da9f4834e1651da65ceb6379950cef9450591c.tar.xz
[RPC] Update getrawtransaction interface
Diffstat (limited to 'src/validation.h')
-rw-r--r--src/validation.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/validation.h b/src/validation.h
index b5548a9293..1d00124ab7 100644
--- a/src/validation.h
+++ b/src/validation.h
@@ -269,7 +269,7 @@ void ThreadScriptCheck();
/** Check whether we are doing an initial block download (synchronizing from disk or network) */
bool IsInitialBlockDownload();
/** Retrieve a transaction (from memory pool, or from disk, if possible) */
-bool GetTransaction(const uint256& hash, CTransactionRef& tx, const Consensus::Params& params, uint256& hashBlock, bool fAllowSlow = false, CBlockIndex* blockIndex = nullptr);
+bool GetTransaction(const uint256& hash, CTransactionRef& tx, const Consensus::Params& params, uint256& hashBlock, const CBlockIndex* const blockIndex = nullptr);
/**
* Find the best known block, and make it the tip of the block chain
*