From a8eed9c6b85d77e7765819e941444c4760977cdb Mon Sep 17 00:00:00 2001 From: moneroexamples Date: Sat, 13 Oct 2018 11:54:26 +0800 Subject: [PATCH] Minimum ring size pumped to 11 --- config/config.json | 2 +- html/js/config.js | 2 +- html/partials/send-coins.html | 4 ++-- tests/mysql_tests.cpp | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/config/config.json b/config/config.json index 6abf956..457bb05 100755 --- a/config/config.json +++ b/config/config.json @@ -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", diff --git a/html/js/config.js b/html/js/config.js index 9166104..386fc02 100755 --- a/html/js/config.js +++ b/html/js/config.js @@ -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, diff --git a/html/partials/send-coins.html b/html/partials/send-coins.html index a62a889..a43175a 100755 --- a/html/partials/send-coins.html +++ b/html/partials/send-coins.html @@ -55,8 +55,8 @@ diff --git a/tests/mysql_tests.cpp b/tests/mysql_tests.cpp index 1987926..995e866 100755 --- a/tests/mysql_tests.cpp +++ b/tests/mysql_tests.cpp @@ -132,7 +132,7 @@ TEST(MYSQL_CONNECTION, CanConnect) auto xmr_accounts = std::make_shared(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)