summaryrefslogtreecommitdiff
path: root/net-p2p/namecoin/files/patch-src_txmempool.h
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2018-09-06 18:06:51 +0000
committerRene Ladan <rene@FreeBSD.org>2018-09-06 18:06:51 +0000
commit0e9183c770a1882df2d19b3e8db2577864f1792b (patch)
tree0d97ad115a578262d742789be03206bd401d70a1 /net-p2p/namecoin/files/patch-src_txmempool.h
parentUpdate lang/erlang-runtime21 to version 21.0.8. (diff)
Update net-p2p/namecoin* ports to version 0.16.2
PR: 231167 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=479111
Diffstat (limited to 'net-p2p/namecoin/files/patch-src_txmempool.h')
-rw-r--r--net-p2p/namecoin/files/patch-src_txmempool.h47
1 files changed, 0 insertions, 47 deletions
diff --git a/net-p2p/namecoin/files/patch-src_txmempool.h b/net-p2p/namecoin/files/patch-src_txmempool.h
deleted file mode 100644
index ffa1e51d5c47..000000000000
--- a/net-p2p/namecoin/files/patch-src_txmempool.h
+++ /dev/null
@@ -1,47 +0,0 @@
---- src/txmempool.h.orig 2017-02-05 10:17:27 UTC
-+++ src/txmempool.h
-@@ -255,7 +255,7 @@ struct mempoolentry_txid
- class CompareTxMemPoolEntryByDescendantScore
- {
- public:
-- bool operator()(const CTxMemPoolEntry& a, const CTxMemPoolEntry& b)
-+ bool operator()(const CTxMemPoolEntry& a, const CTxMemPoolEntry& b) const
- {
- bool fUseADescendants = UseDescendantScore(a);
- bool fUseBDescendants = UseDescendantScore(b);
-@@ -277,7 +277,7 @@ public:
- }
-
- // Calculate which score to use for an entry (avoiding division).
-- bool UseDescendantScore(const CTxMemPoolEntry &a)
-+ bool UseDescendantScore(const CTxMemPoolEntry &a) const
- {
- double f1 = (double)a.GetModifiedFee() * a.GetSizeWithDescendants();
- double f2 = (double)a.GetModFeesWithDescendants() * a.GetTxSize();
-@@ -292,7 +292,7 @@ public:
- class CompareTxMemPoolEntryByScore
- {
- public:
-- bool operator()(const CTxMemPoolEntry& a, const CTxMemPoolEntry& b)
-+ bool operator()(const CTxMemPoolEntry& a, const CTxMemPoolEntry& b) const
- {
- double f1 = (double)a.GetModifiedFee() * b.GetTxSize();
- double f2 = (double)b.GetModifiedFee() * a.GetTxSize();
-@@ -306,7 +306,7 @@ public:
- class CompareTxMemPoolEntryByEntryTime
- {
- public:
-- bool operator()(const CTxMemPoolEntry& a, const CTxMemPoolEntry& b)
-+ bool operator()(const CTxMemPoolEntry& a, const CTxMemPoolEntry& b) const
- {
- return a.GetTime() < b.GetTime();
- }
-@@ -315,7 +315,7 @@ public:
- class CompareTxMemPoolEntryByAncestorFee
- {
- public:
-- bool operator()(const CTxMemPoolEntry& a, const CTxMemPoolEntry& b)
-+ bool operator()(const CTxMemPoolEntry& a, const CTxMemPoolEntry& b) const
- {
- double aFees = a.GetModFeesWithAncestors();
- double aSize = a.GetSizeWithAncestors();