From a619ec5bffa0121df7408fb41d396b0109542078 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 b7403ae440af0..1f258265e7d4b 100644 --- a/doc/release-notes-particl.md +++ b/doc/release-notes-particl.md @@ -80,6 +80,7 @@ - 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 4f6eb2b7e6aaa..7b643854af33e 100644 --- a/src/anon.h +++ b/src/anon.h @@ -28,7 +28,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);