07:00:43 Let's say after you get 25 words for monero in ledger nano and buyed 30 monero and 30 monero in ledger nano. For example, if I enter 24 words without entering 25 words into Ledger nano, can I reach 30 monero or not? 10:07:42 hi 10:12:51 arguments << "--non-interactive" << "--start_mining" << currentWallet.address; 10:13:17 is this ok 11:02:12 error: use of undeclared identifier 'appWindow' 11:02:23 arguments << "--non-interactive" << "--start_mining" << appWindow.currentWallet; 11:36:05 grep appWindow in that file, see if it's accessed through some other variable. 11:45:13 no is not accessed 11:45:28 on DaemonManager.cpp 11:45:51 thats why i tried to insert on header file first 11:51:44 i think that the file is main.qml 11:51:45 http://paste.debian.net/1259720/ 12:05:23 are we dealing with this? https://forum.qt.io/topic/110873/pass-parameters-from-qml-to-c 12:07:22 how to give current address to daemon for mining 12:07:34 without clicking anywhere 12:09:21 this can be done in another way 12:09:46 I'm testing what will work 12:19:02 11:12 arguments << "--non-interactive" << "--start_mining" << currentWallet.address; <-- like I said already, currentWallet.address is QML, you can't access it like this from C++ 12:19:40 12:13 i added like this too "const QString ¤tWallet.address = ""," 12:20:05 this is also wrong, you have to call it something like `const QString &walletAddress` 12:20:18 you can't have a dot in the variable name 12:23:23 first of all i need to add here arguments << "--non-interactive"; 12:23:55 or arguments << "--start_mining" << const QString &walletAddress; 12:25:10 which is the right var for current wallet address 12:29:16 both are the same variable 12:30:17 test it with a hardcoded address first, make sure it works and then replace the hardcoded address with a variable 12:41:44 hardcoded address work 12:42:00 this needs "" const QString &walletAddress 12:43:55 arguments << "--non-interactive" << "--start_mining" << const QString &walletAddress; 12:47:04 just do it the same way as bootstrapNodeAddress 12:47:26 when used in code it's only written as `bootstrapNodeAddress` and not `const QString &bootstrapNodeAddress` 12:48:01 ok 12:54:17 if i do a grep -r walletAddress 12:54:32 no results 12:55:04 are u sure that is the right var 12:55:42 arguments << "--non-interactive" << "--start_mining" << walletAddress; 13:03:30 selsta i must find current address and after insert it on new var ?? 13:13:39 You must find how to reach the wallet address from the context of the code that build arguments. 13:13:57 Looks like it's not walletAddress or appWindow. 13:16:41 walletAddress is just a variable name 13:17:05 you can name it whatever you want 13:17:38 ammml: search for `git grep "start("` 13:18:17 edit `daemonManager.start(flags, persistentSettings.nettype, persistentSettings.blockchainDataDir, bootstrapNodeAddress, noSync, persistentSettings.pruneBlockchain);` 13:18:39 to `daemonManager.start(flags, persistentSettings.nettype, persistentSettings.blockchainDataDir, currentWallet.address, bootstrapNodeAddress, noSync, persistentSettings.pruneBlockchain);` 13:18:54 var address = currentWallet.address(subaddrAccount, subaddrIndex) 13:19:21 ok 13:19:36 don't edit it exactly like I did, you have to edit it in a way that it matches your code 13:20:06 and you have to edit all occurrences of `daemonManager.start(` 13:20:54 i had this code "if (appWindow.currentWallet) walletManager.startMining(appWindow.currentWallet.address(0, 0), 1, true, false);" 13:21:00 but dont work on android 13:21:14 works on windows,linux but for some reason not on android 13:21:32 thats why i'm trying another way 13:22:04 this code i insert on main.qml and works fine on windows,linux 14:30:12 selsta expect main.qml change i need this too "arguments << "--non-interactive" << "--start_mining" << walletAddress;" 14:31:17 you have to edit src/daemon/DaemonManager.cpp, src/daemon/DaemonManager.h and all QML files that call `daemonManager.start(` 14:33:06 only this call daemonmanager.start pages/Mining.qml 14:37:51 on DaemonManager.h   is ok this http://paste.debian.net/1259740/ 14:38:42 yes seems ok 14:39:57 exactly the same on cpp  ? 15:00:23 again syntax error  http://paste.debian.net/1259744/ 15:00:55 maybe this is needed const QString &walletAddress  = "", 15:07:55 yes