diff options
author | Rene Ladan <rene@FreeBSD.org> | 2018-09-06 18:06:51 +0000 |
---|---|---|
committer | Rene Ladan <rene@FreeBSD.org> | 2018-09-06 18:06:51 +0000 |
commit | 0e9183c770a1882df2d19b3e8db2577864f1792b (patch) | |
tree | 0d97ad115a578262d742789be03206bd401d70a1 /net-p2p/namecoin/files/patch-src_miner.h | |
parent | Update 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_miner.h')
-rw-r--r-- | net-p2p/namecoin/files/patch-src_miner.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/net-p2p/namecoin/files/patch-src_miner.h b/net-p2p/namecoin/files/patch-src_miner.h deleted file mode 100644 index aa7c24b5ec17..000000000000 --- a/net-p2p/namecoin/files/patch-src_miner.h +++ /dev/null @@ -1,20 +0,0 @@ ---- src/miner.h.orig 2017-02-05 10:17:27 UTC -+++ src/miner.h -@@ -73,7 +73,7 @@ struct modifiedentry_iter { - // except operating on CTxMemPoolModifiedEntry. - // TODO: refactor to avoid duplication of this logic. - struct CompareModifiedEntry { -- bool operator()(const CTxMemPoolModifiedEntry &a, const CTxMemPoolModifiedEntry &b) -+ bool operator()(const CTxMemPoolModifiedEntry &a, const CTxMemPoolModifiedEntry &b) const - { - double f1 = (double)a.nModFeesWithAncestors * b.nSizeWithAncestors; - double f2 = (double)b.nModFeesWithAncestors * a.nSizeWithAncestors; -@@ -88,7 +88,7 @@ struct CompareModifiedEntry { - // This is sufficient to sort an ancestor package in an order that is valid - // to appear in a block. - struct CompareTxIterByAncestorCount { -- bool operator()(const CTxMemPool::txiter &a, const CTxMemPool::txiter &b) -+ bool operator()(const CTxMemPool::txiter &a, const CTxMemPool::txiter &b) const - { - if (a->GetCountWithAncestors() != b->GetCountWithAncestors()) - return a->GetCountWithAncestors() < b->GetCountWithAncestors(); |