-
FenderQ
I have successfully able to run
getmonero.org/resources/developer-g…c.html#restore_deterministic_wallet yet the wallet is not saved (creating the file) even after a successful store and close
-
FenderQ
I am able to create wallets though
-
FenderQ
I call returns success, and I am even able to call query_key and produce the correct results
-
FenderQ
I'm just stuck on the creation of the restored wallet for some reason
-
FenderQ
can't figure it out
-
FenderQ
like the wallet file is not created
-
FenderQ
I have a wallet-dir defined for monero-wallet-rpc
-
FenderQ
create_wallet creates a file ok
-
FenderQ
oh! I am using stagenet at this point too
-
FenderQ
not sure if that matters
-
FenderQ
any ideas?
-
» FenderQ is using v0.17.3.0
-
selsta
did you make sure it's not some permission issue?
-
FenderQ
yes, the create_wallet functions correctly
-
FenderQ
thus creating the file
-
FenderQ
restore_deterministic_wallet does not create the file
-
FenderQ
same running monero-wallet-rpc process
-
FenderQ
and I'm not trying to overwrite an existing file
-
selsta
is there an error message when running with --log-level 2?
-
FenderQ
ah, great idea, let me double check that
-
FenderQ
by default I saw no errors, and the output was showing the refresh loading the correct info
-
FenderQ
I get only 2 ERROR entries:
-
FenderQ
net.ssl contrib/epee/src/net_ssl.cpp:550 SSL handshake failed, connection dropped: stream truncated
-
FenderQ
net contrib/epee/include/net/net_helper.h:229 SSL handshake failed on an autodetect connection, reconnecting without SSL
-
FenderQ
yet the occurs each time due to the autodetect default
-
selsta
don't seem relevant
-
FenderQ
-
FenderQ
the Bad file descriptor looks interesting
-
selsta
does using `monero-wallet-cli --restore-deterministic-wallet` work?
-
FenderQ
no, the monero-wallet-cli seems unstable for me
-
FenderQ
I am running on OpenBSD
-
selsta
self compiled monero?
-
FenderQ
ya
-
FenderQ
OpenBSD 7.0
-
FenderQ
from Oct 14 2021
-
selsta
ndorf: ^ does monero-wallet-cli work for you on openbsd?
-
FenderQ
when I try to use the monero-wallet-cli I usually get corrupted text output, and a segfault
-
FenderQ
in X with xterm
-
FenderQ
default ksh shell
-
FenderQ
I also run sysctl vm.malloc_conf=S
-
FenderQ
which does extra heap checking
man.openbsd.org/malloc
-
selsta
FenderQ: do you have a non openbsd device to test?
-
FenderQ
unfortunately no
-
FenderQ
this is my rpc config if it helps too
pastebin.com/raw/59WT8VmU
-
FenderQ
I have done everything so far using the RPC
-
FenderQ
also not running my own local monerod
-
FenderQ
creating wallets, addresses, making payments etc. have worked
-
FenderQ
on stagenet
-
FenderQ
using tor with the proxy
-
FenderQ
I have been generating my test coins here
melo.tools/faucet/stagenet
-
willyijinin[m]
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?
-
selsta
FenderQ: not seeing anything interesting in your config
-
FenderQ
ok
-
FenderQ
thanks for taking a look
-
selsta
you can try --log-level 4 too but that will get quite spammy
-
selsta
but errors like this should print at an earlier level
-
FenderQ
I"m giving it a run now at level 4, will grep for any ERROR entries
-
FenderQ
the RPC does return "Wallet has been restored successfully." as well from restore_deterministic_wallet
-
FenderQ
I even did a shell find, to see if by chance it created the file elsewhere
-
merope
Perhaps there should be a trailing slash in wallet-dir?
-
FenderQ
the C++ code has std::string wallet_file = req.filename.empty() ? "" : (m_wallet_dir + "/" + req.filename)
-
FenderQ
and if that was the case, my create_wallet would fail
-
FenderQ
nice idea tho
-
merope
Worth a shot
-
FenderQ
yep
-
FenderQ
thx
-
merope
I suppose you've already tried calling close_wallet yourself before calling restore_deterministic_wallet?
-
merope
(Instead of letting restore_deterministic_wallet do everything automatically)
-
FenderQ
yes
-
FenderQ
I tried doing a create first and a close
-
FenderQ
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
-
selsta
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
-
FenderQ
yes I hear ya, then it would rule out the OS
-
FenderQ
and my build
-
FenderQ
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
-
FenderQ
which has the packages fairly in sync with want it current
-
FenderQ
what is*
-
FenderQ
if I get the chance to give it a try on another OS I will let you know
-
FenderQ
I did build from the tag commit ab18fea3500841fc312630d49ed6840b3aedb34d (tag: v0.17.3.0, origin/release-v0.17, release-v0.17)
-
FenderQ
and made sure to remove my build directory prior to
-
FenderQ
with git submodule updated
-
FenderQ
selsta: I figured it out :D
-
FenderQ
-
FenderQ
the docs
-
FenderQ
Inputs name - string; Name of the wallet.
-
FenderQ
Example {"filename":"My Wallet","password":"mypassword123","seed":"awkward ...
-
FenderQ
name vs filename
-
FenderQ
it was not getting a filename
-
FenderQ
might want to name -> filename in the docs :)
-
FenderQ
my code matched the docs
-
selsta
nice, will open a PR for it
-
FenderQ
thanks
-
FenderQ
selsta: thanks for mentioning the log-level, finding it way more helpful developing with that cranked a bit
-
Halver[m]
<spantheslayer[m]> "can anyone please provide me..." <- Resource page about contributing to Monero ->
moneroar4fiojlkzkvwgt25rp6vifswcpwa…ad.onion/monero-dev/monero-jobs.php
-
spantheslayer[m]
Thanks Halver
-
ndorf
bind ^W