Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Base dsq/dstx thresholold on total number of up to date masternodes (#…
…2465) Mixing on a newer version with small number of upgraded masternodes causes mixing txes to "stuck" - old nodes refuse to relay dstxes from new ones because they come from the same masternodes too often. Basing threshold on the total number of up to date masternodes and not only on a newer (enabled) ones should solve this. This however will cause mixing to fail if there are not enough masternodes on the needed protocol version (i.e. at least GetMinMasternodePaymentsProto()) but it's better to stop mixing than having funds kind of spent yet not confirmed for a long time.
- Loading branch information