diff options
author | luigi1111 <luigi1111w@gmail.com> | 2022-04-25 10:18:26 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2022-04-25 10:18:26 -0500 |
commit | e13244ea9c315031cc385c6e785b79f1c341029f (patch) | |
tree | 5eaa9672d1aa508872aa0cdca28e3445103cd9d9 /src/wallet | |
parent | Merge pull request #8254 (diff) | |
parent | Bump ring size to 16 for v15 & remove set default in wallet cli (diff) | |
download | monero-e13244ea9c315031cc385c6e785b79f1c341029f.tar.xz |
Merge pull request #8178
5d388eb Bump ring size to 16 for v15 & remove set default in wallet cli (j-berman)
Diffstat (limited to 'src/wallet')
-rw-r--r-- | src/wallet/wallet2.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index 71559c456..f0b29b9a2 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -7406,6 +7406,8 @@ int wallet2::get_fee_algorithm() //------------------------------------------------------------------------------------------------------------------------------ uint64_t wallet2::get_min_ring_size() { + if (use_fork_rules(HF_VERSION_MIN_MIXIN_15, 0)) + return 16; if (use_fork_rules(8, 10)) return 11; if (use_fork_rules(7, 10)) @@ -7419,6 +7421,8 @@ uint64_t wallet2::get_min_ring_size() //------------------------------------------------------------------------------------------------------------------------------ uint64_t wallet2::get_max_ring_size() { + if (use_fork_rules(HF_VERSION_MIN_MIXIN_15, 0)) + return 16; if (use_fork_rules(8, 10)) return 11; return 0; |