01:35:47 I have successfully able to run https://www.getmonero.org/resources/developer-guides/wallet-rpc.html#restore_deterministic_wallet yet the wallet is not saved (creating the file) even after a successful store and close 01:36:42 I am able to create wallets though 01:37:08 I call returns success, and I am even able to call query_key and produce the correct results 01:37:18 I'm just stuck on the creation of the restored wallet for some reason 01:37:21 can't figure it out 01:38:36 like the wallet file is not created 01:39:30 I have a wallet-dir defined for monero-wallet-rpc 01:40:12 create_wallet creates a file ok 01:41:22 oh! I am using stagenet at this point too 01:41:40 not sure if that matters 01:43:47 any ideas? 01:45:33 * FenderQ is using v0.17.3.0 01:47:57 did you make sure it's not some permission issue? 01:51:13 yes, the create_wallet functions correctly 01:51:19 thus creating the file 01:51:29 restore_deterministic_wallet does not create the file 01:51:48 same running monero-wallet-rpc process 01:52:08 and I'm not trying to overwrite an existing file 01:53:33 is there an error message when running with --log-level 2? 01:54:02 ah, great idea, let me double check that 01:54:18 by default I saw no errors, and the output was showing the refresh loading the correct info 02:14:10 I get only 2 ERROR entries: 02:14:12 net.ssl contrib/epee/src/net_ssl.cpp:550 SSL handshake failed, connection dropped: stream truncated 02:14:19 net contrib/epee/include/net/net_helper.h:229 SSL handshake failed on an autodetect connection, reconnecting without SSL 02:14:53 yet the occurs each time due to the autodetect default 02:16:25 don't seem relevant 02:17:12 tailing log info https://pastebin.com/raw/HnHS0Auq 02:17:22 the Bad file descriptor looks interesting 02:17:53 does using `monero-wallet-cli --restore-deterministic-wallet` work? 02:18:24 no, the monero-wallet-cli seems unstable for me 02:18:30 I am running on OpenBSD 02:20:12 self compiled monero? 02:20:15 ya 02:21:10 OpenBSD 7.0 02:21:29 from Oct 14 2021 02:21:31 ndorf: ^ does monero-wallet-cli work for you on openbsd? 02:22:12 when I try to use the monero-wallet-cli I usually get corrupted text output, and a segfault 02:23:14 in X with xterm 02:23:36 default ksh shell 02:26:17 I also run sysctl vm.malloc_conf=S 02:26:34 which does extra heap checking https://man.openbsd.org/malloc 02:59:19 FenderQ: do you have a non openbsd device to test? 02:59:34 unfortunately no 03:01:06 this is my rpc config if it helps too https://pastebin.com/raw/59WT8VmU 03:02:13 I have done everything so far using the RPC 03:02:21 also not running my own local monerod 03:02:43 creating wallets, addresses, making payments etc. have worked 03:02:50 on stagenet 03:03:02 using tor with the proxy 03:04:16 I have been generating my test coins here https://melo.tools/faucet/stagenet/ 03:05:18 Does Monero have java sdk or js sdk to decode the transaction with privateViewKey - get the address and amount from the vout.key from the transaction, what the view wallet is doing? 04:25:00 FenderQ: not seeing anything interesting in your config 04:25:06 ok 04:25:11 thanks for taking a look 04:25:48 you can try --log-level 4 too but that will get quite spammy 04:26:01 but errors like this should print at an earlier level 04:28:21 I"m giving it a run now at level 4, will grep for any ERROR entries 04:30:17 the RPC does return "Wallet has been restored successfully." as well from restore_deterministic_wallet 04:30:54 I even did a shell find, to see if by chance it created the file elsewhere 04:31:50 Perhaps there should be a trailing slash in wallet-dir? 04:32:38 the C++ code has std::string wallet_file = req.filename.empty() ? "" : (m_wallet_dir + "/" + req.filename) 04:33:12 and if that was the case, my create_wallet would fail 04:33:20 nice idea tho 04:33:28 Worth a shot 04:33:30 yep 04:33:32 thx 04:43:28 I suppose you've already tried calling close_wallet yourself before calling restore_deterministic_wallet? 04:43:51 (Instead of letting restore_deterministic_wallet do everything automatically) 04:44:52 yes 04:45:13 I tried doing a create first and a close 04:45:28 when I read this in the docs "close the currently open wallet" I wasn't sure if it expected a wallet to be already open 04:47:15 I meant it would be best to try on a non openbsd device so that we can make sure if it's a bug related to the setup or if it's some usage error 04:48:28 yes I hear ya, then it would rule out the OS 04:48:39 and my build 04:49:43 at one point I wondered if some of the libs I was using were supported or not, yet using OpenBSD 7.0 from Oct 14 is pretty standard, and their latest release 04:50:00 which has the packages fairly in sync with want it current 04:50:07 what is* 04:50:22 if I get the chance to give it a try on another OS I will let you know 04:52:21 I did build from the tag commit ab18fea3500841fc312630d49ed6840b3aedb34d (tag: v0.17.3.0, origin/release-v0.17, release-v0.17) 04:52:42 and made sure to remove my build directory prior to 04:53:04 with git submodule updated 05:23:59 selsta: I figured it out :D 05:24:05 https://www.getmonero.org/resources/developer-guides/wallet-rpc.html#restore_deterministic_wallet 05:24:08 the docs 05:24:14 Inputs name - string; Name of the wallet. 05:24:26 Example {"filename":"My Wallet","password":"mypassword123","seed":"awkward ... 05:24:33 name vs filename 05:24:40 it was not getting a filename 05:25:12 might want to name -> filename in the docs :) 05:25:19 my code matched the docs 05:25:39 nice, will open a PR for it 05:25:43 thanks 07:05:38 selsta: thanks for mentioning the log-level, finding it way more helpful developing with that cranked a bit 08:28:04 "can anyone please provide me..." <- Resource page about contributing to Monero -> http://moneroar4fiojlkzkvwgt25rp6vifswcpwaxbzlhfkdenczbhc4luqad.onion/monero-dev/monero-jobs.php 09:03:38 Thanks Halver 23:53:22 bind ^W