-
newyearday
i insert MGINFO("trace"); every 2lines but didnt work in all basic.h
-
newyearday
unfortuantely i have only output trace
-
newyearday
trace,trace
-
newyearday
nothing else
-
newyearday
maybe i insert on wrong lines
-
Maximxxx100
hello! can anyone help me with a monero-rpc-wallet problem?
-
Maximxxx100
Set up daemon node with a rpc-wallet for the woocomerse wordpress
-
Maximxxx100
everything is connected and seems to be working, but when people try to pay to the address they keep getting "address is invalid"
-
Maximxxx100
I'll try asking #monero-dev as well
-
azy
Maximxxx100, give an example of an address please
-
Maximxxx100
azy, 85FmGKEmkNwc3WyqjEynjgYrRSzAFboZ4M5ihpmQkeQ35ha9u3ZGXmvEhbQGDLFCfjW5r33xS12LU9aAJrgD4VLt2SQDnX
-
azy
-
azy
maybe it's cutting a part of the address off. could you open the wallet and `address all` to see what the address ought to read?
-
Maximxxx100
interesting, this is generated by monero-wallet-rpc
-
Maximxxx100
using the plugin
github.com/monero-integrations/monerowp it'll generate the invalid sub-address with your own wallet-rpc running. But on viewkey mode it will send out a working normal starting 4 address
-
Maximxxx100
the Monero woocomerse plugin is just completely broken
-
xmrmatterbridge
<xmr-romine> Monero + covid news ->
ymeb7fibqrahz4oh.onion/#news
-
azy
Maximxxx100, can you compare the address the plugin is giving you with the one listed in the wallet?
-
Maximxxx100
it creates a new sub-address for every transaction I believe azy
-
Maximxxx100
But currently, monero-wallet-rpc conformation method creates invalid sub addresses, and the viewkey method creates valid addresses that do go through to your wallet, but it doesn't confirm the transaction to the store so it's broken as well.
-
azy
they're deterministic, so it'll show in the wallet also
-
azy
i.e. you generate 20 via the rpc, they'll be listed 0-19 when you do `address new` in the wallet cli
-
azy
i wanted to see if theres a difference between the one the plugin is showing and the 'real'/working one stored in the wallet
-
Maximxxx100
Trying `address new` this is the only result:
-
Maximxxx100
2 8871gmmpZBWcxFn4P9men7Q85zdquUt5eBGEfT765nPBChZAecUz8GTZ7ZNioKHxQjBaeNVYoW9sk4zDfwHh5hBsSwwgR9g (Untitled address)
-
azy
there's no danger in repeating `address new`, you'll never overwrite anything. it just calculates what the deterministic address is at [account,index]
-
azy
im not sure how many addresses the plugin generated, but if you can find the one similar to `85FmGKEmkNwc3WyqjEynjgYrRSzAFboZ4M5ihpmQkeQ35ha9u3ZGXmvEhbQGDLFCfjW5r33xS12LU9aAJrgD4VLt2SQDnX` to see how it differs i imagine that would be helpful
-
Maximxxx100
here is some logs from the RPC if it helps at all,
pastebin.com/25Arx8rB
-
Maximxxx100
The only thing I could find relating to: Invalid address format
-
asymptotically
SerHack: ^
-
asymptotically
Maximxxx100: it looks like that address is 1 character too short
-
azy
maybe there should be another 8 at the start?
-
asymptotically
-
asymptotically
seems like this should be 95?
-
asymptotically
-
asymptotically
could be something else though, db shouldn't silently truncate it if the code tries to insert something too long
-
SerHack
Thanks for ping. I'm investigating
-
SerHack
asymptotically: you might be correct
-
asymptotically
i think i've hit my daily allowance of php for today, but it's weird that the db would silently accept that
-
NerdyAnarchist
another dumb question: I have the cli wallet on an old linux machine, I would like to clear that machine off and move the wallet to another machine - what's the best process for that?
-
moneromooo
Copy wallet files to a USB drive, then to the other computer. dd /dev/zero to the first machine (though with SSDs I am unsure how safe that is). Assuming you have an encrypted filesystem, nuking the LUKS headers should be enough anyway.
-
moneromooo
man cryptosetup should show ways to nuke just that safely.
-
moneromooo
man cryptsetup
-
NerdyAnarchist
moneromooo: So I can just copy the whole directory over, and there's pretty much nothing else to worry about?
-
moneromooo
If it's the directory in which all your wallet files are, then yes. You may want to copy the blockchain too, if you don't want to re-download it (~/.bitmonero/lmdb).
-
NerdyAnarchist
moneromooo: thanks
-
dEBRUYNE
NerdyAnarchist: Make sure to test whether the wallet files are working properly before wiping the old machine
-
dEBRUYNE
An alternative method is to simply write down / copy the seed and then restore the wallet on the new machine
-
duso
The RPC server is accessible from the outside, but no RPC payment was setup. RPC access will be free for all. - Is this bad?
-
asymptotically
wallet or daemon rpc?
-
asymptotically
if daemon make sure you use the restricted access flag, otherwise remote people can tell your daemon to start mining, or to shut itself down
-
duso
daemon rpc I guess, I am trying to set up a node on a vm on my lan and have my wallet on my laptop connect to it. I did rpc-bind-ip to a rfc1918 lan address so it should only be accessible on my lan right?
-
asymptotically
unless you forward the port somehow that should be the case
-
duso
ok, I have not manually forwarded anything from my firewall but when I checked my upnp status it has port 18080 being forwarded to my laptop for some reason. Does the monero-gui wallet set up upnp forwarding?
-
asymptotically
18080 is for peer2peer connections, so that other daemons can connect inbound to yours
-
duso
ok, so why it is pointing to my laptop? its running my wallet, not my node
-
duso
rebooting, bbiab