aboutsummaryrefslogtreecommitdiff
path: root/src/chain.h
diff options
context:
space:
mode:
authorshaolinfry <[email protected]>2017-02-18 11:13:07 +0000
committerRoss Nicoll <[email protected]>2021-05-30 22:54:48 +0100
commit202871da44b51902d5bc22c50e930b2117f097b0 (patch)
treefbf71c25599a55811332e58fe6323b23f9f17f9b /src/chain.h
parentMerge pull request #2210 from rnicoll/1.21-block-subsidy (diff)
downloaddiscoin-202871da44b51902d5bc22c50e930b2117f097b0.tar.xz
discoin-202871da44b51902d5bc22c50e930b2117f097b0.zip
Litecoin: Add scrypt N=1024 PoW
Diffstat (limited to 'src/chain.h')
-rw-r--r--src/chain.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/chain.h b/src/chain.h
index 43e8a39f3..1f4eaae7e 100644
--- a/src/chain.h
+++ b/src/chain.h
@@ -243,6 +243,11 @@ public:
* Does not imply the transactions are still stored on disk. (IsBlockPruned might return true)
*/
bool HaveTxsDownloaded() const { return nChainTx != 0; }
+
+ uint256 GetBlockPoWHash() const
+ {
+ return GetBlockHeader().GetPoWHash();
+ }
int64_t GetBlockTime() const
{