From f778c6668f11359e8390f5a89d9eaba98a20521d Mon Sep 17 00:00:00 2001 From: tecnovert Date: Wed, 16 Feb 2022 19:27:20 +0200 Subject: [PATCH] wallet: Set default ring size to 12 to match Particl Desktop. Issue #78 --- doc/release-notes-particl.md | 1 + src/anon.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/release-notes-particl.md b/doc/release-notes-particl.md index ca7951aa5798b..3bd466119928a 100644 --- a/doc/release-notes-particl.md +++ b/doc/release-notes-particl.md @@ -91,6 +91,7 @@ Next Major Version - Raised min protocol version to 90014 - Disable p2sh-p2wpkh addresses. - qt: 'Import Chain' defaults to disabled. +- wallet, qt: Default ring size set to 12 to match Particl Desktop. 0.19.2.19 diff --git a/src/anon.h b/src/anon.h index 27a5adfcf56c8..778b0e0c8cde8 100644 --- a/src/anon.h +++ b/src/anon.h @@ -30,7 +30,7 @@ const size_t MAX_ANON_INPUTS = 32; // To raise see MLSAG_MAX_ROWS also const size_t ANON_FEE_MULTIPLIER = 2; -const size_t DEFAULT_RING_SIZE = 5; +const size_t DEFAULT_RING_SIZE = 12; const size_t DEFAULT_INPUTS_PER_SIG = 1; bool CheckAnonInputMempoolConflicts(const CTxIn &txin, const uint256 txhash, CTxMemPool *pmempool, TxValidationState &state);