Minimum ring size pumped to 11

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

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

@ -24,7 +24,7 @@ var config = {
feePerKB: new JSBigInt('2000000000'),//20^10 - not used anymore, as fee is dynamic. 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 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, 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: '', txChargeAddress: '',
idleTimeout: 30, idleTimeout: 30,
idleWarningDuration: 20, idleWarningDuration: 20,

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

@ -132,7 +132,7 @@ TEST(MYSQL_CONNECTION, CanConnect)
auto xmr_accounts = std::make_shared<xmreg::MySqlAccounts>(nullptr); auto xmr_accounts = std::make_shared<xmreg::MySqlAccounts>(nullptr);
// try to connect again // 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()); EXPECT_TRUE(xmr_accounts->get_connection()->connect());
} }
catch(std::exception const& e) catch(std::exception const& e)

Loading…
Cancel
Save