Minimum ring size pumped to 11

pull/85/head
moneroexamples 6 years ago
parent f1b9c3e51f
commit a8eed9c6b8

@ -25,7 +25,7 @@
"database_test":
{
"_comment" : "how should the backend connect to the test mysql database",
"url" : "127.0.0.1",
"url" : "172.17.0.2",
"port" : 3306,
"dbname" : "openmonero_test",
"user" : "root",

@ -24,7 +24,7 @@ var config = {
feePerKB: new JSBigInt('2000000000'),//20^10 - not used anymore, as fee is dynamic.
dustThreshold: new JSBigInt('1000000000'),//10^10 used for choosing outputs/change - we decompose all the way down if the receiver wants now regardless of threshold
txChargeRatio: 0.5,
defaultMixin: 6, // minimum mixin for hardfork v7 is 6 (ring size 7)
defaultMixin: 10, // minimum mixin for hardfork v8 is 10 (ring size 11)
txChargeAddress: '',
idleTimeout: 30,
idleWarningDuration: 20,

@ -55,8 +55,8 @@
<label class="send-label" for="field4">Privacy Level</label>
<select class="w-input" id="field4" name="Select-a-number" data-name="Select a number"
required="required" ng-model="mixins">
<option value="6">Default (ring size 7)</option>
<option value="10">Higher (ring size 11)</option>
<option value="10">Default (ring size 11)</option>
<option value="14">Higher (ring size 15)</option>
<option value="20">Even higher (ring size 21)</option>
<option value="40">Paranoid (ring size 41)</option>
</select>

@ -132,7 +132,7 @@ TEST(MYSQL_CONNECTION, CanConnect)
auto xmr_accounts = std::make_shared<xmreg::MySqlAccounts>(nullptr);
// try to connect again
// it should not perform the connection again, bust just return true;
// it should not perform the connection again, but just return true;
EXPECT_TRUE(xmr_accounts->get_connection()->connect());
}
catch(std::exception const& e)

Loading…
Cancel
Save