-
Notifications
You must be signed in to change notification settings - Fork 109
configurable thresholds for utxo merge policies #414
base: develop
Are you sure you want to change the base?
Conversation
190347c to
5d5cc57
Compare
|
rebased + removed unicode |
ce9346e to
ac009e7
Compare
|
Untested but I agree with it. Aside: The comments in the default joinmarket.cfg file seem to be getting quite large and wordy, I wonder if it's worth documenting the options on the wiki instead, with only a link in .cfg Bikeshed: the default threshold should be higher for privacy IMO. Use bitcoin.select() up to about 30 UTXOs, switch to gradual around 40, greedy at 50 and greediest at 60+. My yield generator wallet has about 65 UTXOs if anyone is wondering. Having lots of UTXOs is great for privacy, its like owning a total of 20,000 CHF in a mixture of banknote sizes from 5 CHF all the way up to 1000 CHF notes. Spending them leaks a lower bound of your balance. |
ac009e7 to
48d41ac
Compare
|
Re: bikeshed, bumped the numbers up and amended the comment. |
48d41ac to
dcbd1fd
Compare
|
Has anyone tried this yet? It could be used on someone's yield generator. |
|
I'd say lets merge this into develop and just fix it if it crashes when being used, develop is allowed to be slightly unstable. |
I sort of agree, but I just wrote #496 and I think it applies here. If we want to make a new release, is it needed to add this? If it is, please provide test coverage of some sort. |
|
Yes fair enough, write a test This is still worth merging as a default because JoinMarket takers dont really have a way to handle very large amounts of UTXOs yet so this would be good to help prevent them happening in the first place. |
97d2603 to
47479d5
Compare
joinmarket/support.py
Outdated
| return selectors[i](unspent, value) | ||
| except IndexError: # luser configured more levels than algos | ||
| log.debug("I'm sorry, Dave, but I can't let you merge that!") | ||
| return selectors[-1](unspent, value) # just use the greediest one |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/1/0/?
24dc385 to
139fd73
Compare
|
rebased onto current develop. travis failure is mysteriously inscrutable, to me at least. test pending. |
|
That test failure is confusing to me as well. Got no idea. |
|
@adlai Looks like a circular dependency because you imported bitcoin into support.py |
75eac86 to
35d0cf2
Compare
ea31242 to
76567cd
Compare
84c9b7a to
3b3bca9
Compare
31a260e to
099973b
Compare
see #91 and #173, specifically this comment
utACK 😅