mirror of
https://github.com/monero-project/monero.git
synced 2025-08-13 23:25:35 -04:00
Bump min ring size from 5 to 7 from v7
This commit is contained in:
parent
c102c49da5
commit
38657fd0e9
4 changed files with 9 additions and 4 deletions
|
@ -2531,7 +2531,7 @@ bool Blockchain::check_tx_inputs(transaction& tx, tx_verification_context &tvc,
|
|||
{
|
||||
size_t n_unmixable = 0, n_mixable = 0;
|
||||
size_t mixin = std::numeric_limits<size_t>::max();
|
||||
const size_t min_mixin = hf_version >= HF_VERSION_MIN_MIXIN_4 ? 4 : 2;
|
||||
const size_t min_mixin = hf_version >= HF_VERSION_MIN_MIXIN_6 ? 6 : hf_version >= HF_VERSION_MIN_MIXIN_4 ? 4 : 2;
|
||||
for (const auto& txin : tx.vin)
|
||||
{
|
||||
// non txin_to_key inputs will be rejected below
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue