aboutsummaryrefslogtreecommitdiff
path: root/src/miner.h
diff options
context:
space:
mode:
authorpracticalswift <[email protected]>2017-03-09 13:34:54 +0100
committerpracticalswift <[email protected]>2017-07-25 13:46:52 +0200
commit6e8c48dc593d8b6e5cebd15a980074715223b572 (patch)
tree7977c539a2e3a2d344d156fc53fde9848dc84ca1 /src/miner.h
parentMerge #10865: Move CloseSocket out of SetSocketNonBlocking and pass socket as... (diff)
downloaddiscoin-6e8c48dc593d8b6e5cebd15a980074715223b572.tar.xz
discoin-6e8c48dc593d8b6e5cebd15a980074715223b572.zip
Add const to methods that do not modify the object for which it is called
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 5c9cfd78f..685b4e0cc 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