commit d56c82d5e142dccc32d3ff2b35b5e4dc58eb0dec
parent 80b1b2716c0780a42a2c982c0d2f626ae82476cc
Author: Neil <kyuupichan@gmail.com>
Date: Thu, 10 Mar 2016 06:52:20 +0900
Merge pull request #1711 from JustinTArthur/remove-redifined-penalty-func-from-privacy-chooser
Remove penalty_func from CoinChooserPrivacy that is later redefined
Diffstat:
1 file changed, 0 insertions(+), 4 deletions(-)
diff --git a/lib/coinchooser.py b/lib/coinchooser.py
@@ -285,10 +285,6 @@ class CoinChooserPrivacy(CoinChooserRandom):
def keys(self, coins):
return [coin['address'] for coin in coins]
- def penalty_func(self, buckets, tx):
- '''Returns a penalty for a candidate set of buckets.'''
- raise NotImplementedError
-
def penalty_func(self, tx):
min_change = min(o[2] for o in tx.outputs()) * 0.75
max_change = max(o[2] for o in tx.outputs()) * 1.33