Merge pull request #1711 from JustinTArthur/remove-redifined-penalty-func-from-privacy-chooser

Remove penalty_func from CoinChooserPrivacy that is later redefined
This commit is contained in:
Neil 2016-03-10 06:52:20 +09:00
commit d56c82d5e1
1 changed files with 0 additions and 4 deletions

View File

@ -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