Skip to content

Commit

Permalink
PrivateSend Enhancement: Up default round count to 4 and allow user t…
Browse files Browse the repository at this point in the history
…o mix up to 16 rounds (dashpay#2128)

* Allows a user to mix up to 16 rounds

All codebase appears to accept up to 16 rounds, however this form was capped at 8; restricting users to 2-8 rounds. This commit allows a user to actually use up to 16 rounds in practice. This will greatly enhance the privacy of those very worried about their privacy, as well as possibly increasing liquidity and increasing the privacy of all users.

* Up the default for PS mixing to 4 rounds.
  • Loading branch information
PastaPastaPasta authored and CryptoCentric committed Apr 25, 2019
1 parent 76c557b commit 243e7ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/privatesend-client.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ static const int MIN_PRIVATESEND_LIQUIDITY = 0;
static const int MAX_PRIVATESEND_ROUNDS = 16;
static const int MAX_PRIVATESEND_AMOUNT = MAX_MONEY / COIN;
static const int MAX_PRIVATESEND_LIQUIDITY = 100;
static const int DEFAULT_PRIVATESEND_ROUNDS = 2;
static const int DEFAULT_PRIVATESEND_ROUNDS = 4;
static const int DEFAULT_PRIVATESEND_AMOUNT = 1000;
static const int DEFAULT_PRIVATESEND_LIQUIDITY = 0;

Expand Down
2 changes: 1 addition & 1 deletion src/qt/forms/optionsdialog.ui
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@
<number>2</number>
</property>
<property name="maximum">
<number>8</number>
<number>16</number>
</property>
<property name="value">
<number>4</number>
Expand Down

0 comments on commit 243e7ca

Please sign in to comment.