aboutsummaryrefslogtreecommitdiff
path: root/src/miner.h
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2017-08-16 02:09:10 +0200
committerMarcoFalke <falke.marco@gmail.com>2017-08-16 02:09:49 +0200
commitb6a48914c50631914192aa11b19205436a9c664d (patch)
tree748ac6a80402b05e58f249bca71de2cb6a626ee8 /src/miner.h
parent7db65c363a0cc6ca7cdb04de9a973ab70013baad (diff)
parent6e8c48dc593d8b6e5cebd15a980074715223b572 (diff)
downloadbitcoin-b6a48914c50631914192aa11b19205436a9c664d.tar.xz
Merge #9964: Add const to methods that do not modify the object for which it is called
6e8c48dc5 Add const to methods that do not modify the object for which it is called (practicalswift) Pull request description: Tree-SHA512: a6888111ba16fb796e320e60806e1a77d36f545989b5405dc7319992291800109eab0b8e8c286b784778f41f1ff5289e7cb6b4afd7aec77f385fbcafc02cffc1
Diffstat (limited to 'src/miner.h')
-rw-r--r--src/miner.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/miner.h b/src/miner.h
index 5c9cfd78f0..685b4e0cc8 100644
--- a/src/miner.h
+++ b/src/miner.h
@@ -187,7 +187,7 @@ private:
/** Remove confirmed (inBlock) entries from given set */
void onlyUnconfirmed(CTxMemPool::setEntries& testSet);
/** Test if a new package would "fit" in the block */
- bool TestPackage(uint64_t packageSize, int64_t packageSigOpsCost);
+ bool TestPackage(uint64_t packageSize, int64_t packageSigOpsCost) const;
/** Perform checks on each transaction in a package:
* locktime, premature-witness, serialized size (if necessary)
* These checks should always succeed, and they're here