-
puchka
Hello, I try to use *generate_from_keys* but I get null as a result even when using the example from the doc:
getmonero.org/resources/developer-g…/wallet-rpc.html#generate_from_keys
-
puchka
After doing the same thing using cURL, I got: "Failed to parse public address" as an error message.
-
Halver[m]
Did you launch the monero-wallet-rpc program before trying your RPCs ?
-
puchka
Halver[m]: Yes, I run `monero-wallet-rpc` before making RPC calls
-
Halver[m]
How did you launch ./monerod ?
-
Halver[m]
It needs proper parameters to allow monero-wallet-rpc to connect
-
Halver[m]
I use ./monerod --rpc-bind-ip 0.0.0.0 --confirm-external-bind
-
Halver[m]
and there is also the .conf files which must have right ports
-
puchka
Halver[m]: I think that it is properly configured as I get a response.
-
puchka
Halver[m]: I got null when using a RPC client library. Sorry for that confusion.
-
Halver[m]
Did you try some simpler RPCs ? eg node get_version or wallet get_version ?
-
Halver[m]
Just to be sure that those simple things are working well.
-
puchka
Halver[m]: I launch monerod like that `monerod --config-file ${_CONF_PATH}/monero}.conf --detach`
-
puchka
Halver[m]: Yes, `get_version` is working
-
puchka
Halver[m]: This is the request that is failing:
pastebin.com/1BTVj5cx with error message 'Failed to parse public address'
-
Halver[m]
puchka: imo this cannot work. You have to use your own wallet parameters instead of those in the example.
-
Halver[m]
s/imo this cannot work. You have to use your own wallet parameters instead of those in the example./imo this cannot work. I guess you have to use your **own** wallet parameters instead of those in the example./
-
puchka
Halver[m]: I want to create a wallet from keys. It is possible to do so from seed though even using the example from the doc.
-
Halver[m]
I'm a bit dubious. This would mean that, knowing eg the donation address from somebody, I could restore his wallet on my computer ?
-
Halver[m]
Seems me a bit strange. But I may understand bad.
-
Halver[m]
s/bad/wrongly/
-
moneromooo
Did you start the wallet server with --testnet or --stagemet ?
-
puchka
moneromooo: testnet
-
moneromooo
And you're passing a mainnet address and expecting it'll parse it ?
-
puchka
moneromooo: Sorry, just realized that. Thank you for your help :pray:
-
hxr404
-
hxr404
-
hxr404
-
hxr404
-
hxr404
-
hxr404
I tried starting monerod using the --db-salvage option, it didn't help though.
-
hxr404
Also there was no power-outage or sudden stop of the daemon and the SSD is pretty new and works fine.
-
hxr404
* I tried starting monerod using the --db-salvage option, it didn't help though.
-
hxr404
Also there was no power-outage or sudden stop of the daemon and the SSD is pretty new and works fine.
-
hxr404
I really don't know how this could've happened. Is this a know issue?
-
selsta
hxr404: it's not a widespread issue, every couple months someone reports someone similar but it's difficult to find out the root cause
-
selsta
you'll have to resync
-
hxr404
Alright. Thanks for the help!
-
hxr404
If I somehow can help finding the cause let me know.
-
hxr404
(This issue probably doesn't really matter though, you guys probably have more important stuff to do)