-
fictionless[m]
Hello! Can anyone explain what is Monero-wallet-cli doing on launch after I enter the wallet's password and until command input is available? It is so incredibly slow on raspberry pi 3. In the `top` I see its consuming 100% CPU during that time and it takes around 1.5 minutes to finish :(
-
moneromooo
Probably scanning new blocks.
-
moneromooo
sudo perf top should tell you. If mostly in ge_*, it's that.
-
moneromooo
Actually, maybe slightly different names in the wallet as it's using a different faster lib now.
-
-
fictionless[m]
<moneromooo> "sudo perf top should tell you..." <- that's how it looks like
-
fictionless[m]
I think it can't be scanning new blocks cause it happens even if it's not connected to the daemon
-
moneromooo
It looks like ge_* and it's not connected to the daemon ? You're sure ?
-
moneromooo
Paste the perf screen after letting it settle for a dozen seconds or so.
-
moneromooo
(to a paste site, not here)
-
fictionless[m]
I've figured that the longest step is generating SSL certificate:
-
fictionless[m]
```2022-01-25 11:46:14.476 76f09040 INFO net.ssl contrib/epee/src/net_ssl.cpp:131 Generating SSL certificate```
-
fictionless[m]
if I run without any flags it does the generation 2 times, each taking around 25-30 seconds. If I specify previously generated certificate or set --daemon-ssl disabled, for some reason there's still one Generating SSL certificate left
-
fictionless[m]
now I need to understand why is it always generating at least one certificate and how to turn it off 🤔
-
moneromooo
Ah, rings a bell. I think I have some patch for that...
-
moneromooo
-
moneromooo
Guess it might also be useful for monero.
-
fictionless[m]
seems so! ok, do you think I can just copy that piece over or codebases diverged significantly? I'm just not Cpp developer so might be tricky for me :)
-
fictionless[m]
and another question, that certificate is used only for bitmessage(multisig stuff) or is essential for wallet to function? And why can't previously generated one be used?
-
moneromooo
That one should apply without issues I think.
-
moneromooo
IIRC the cert will get generated if bitmessage needs it.
-
moneromooo
You can use a previous one if you want, just need to write it and reload it.
-
moneromooo
I wanted to do this, I don't recall why I did not now.
-
moneromooo
Maybe your problem is running out of OS entropy. 25 seconds is very long for generating a cert.
-
fictionless[m]
I don't know tbh, need to read more on that. if I use openssl cli directly, it's done much faster on average than via monero-gen-ssl-cert. I just want to run the wallet on pi zero 2 and resources are pretty constrained there. Though once wallet is started it works great. So certificates is the main bottleneck there so far
-
binarybaron[m]
How does the discovery mechanism for remote nodes work in the GUI?
-
localmonero05
Probably a good question for #monero-gui. ;-P
-
fictionless[m]
moneromooo: I've applied those changes from the townforge and even on my Mac it became instant without any certificate generation step(before each one would take around 1-2 seconds) thanks! But can you please explain what functionality that patch affect exactly? I mean when can I expect message_transporter to be activated during the wallet usage?
-
fictionless[m]
Now the worst part is that I need to run the compilation on the PI 😭
-
rbrunner
"No Wallet Left Behind" - Make Sure Our Wallets Survive the Fork to Monero 2.0:
monero-project/monero #8157
-
lookaside[m]
Does anyone know whether the min_height argument in this rpc function is inclusive
monerodocs.org/interacting/monero-w…allet-rpc-reference/#get_transfers? I thought it was but it doesn't seem to be:... (full message at
libera.ems.host/_matrix/media/r0/do…7d32c273247704502b49f32ce771d1f9a65)
-
lookaside[m]
* Does anyone know whether the min_height argument in this rpc function is inclusive
monerodocs.org/interacting/monero-w…allet-rpc-reference/#get_transfers? I thought it was but it doesn't seem to be:... (full message at
libera.ems.host/_matrix/media/r0/do…68f24fa7dfaf0898c3fbd67c0a02fc95491)
-
hyc
we're still at Monero 0.x. calling anything Monero 2.0 is pretty confusing, at least.
-
Rucknium[m]1
ETH just dropped its "2.0" branding since it stoked confusion.
-
rbrunner
You can probably relax, "Monero 2.0", that's just a harmless metaphor. And a bait to get people to read. I don't plan to really call it like that :)
-
monerobull[m]1
It kinda goes like "what happens to my 1.0 moneros when 2.0 goes live, where can I swap them"
-
rbrunner
Soon I will be ROFL on the floor that I write about impending doom for nearly all Monero wallets and people latch on my "Monero 2.0" metaphor ...
-
rbrunner
How would you call it to evoke appropiate emotions if we have to rewrite, oh, only about half of the whole Monero core software?
-
scoobybejesus
Monero 1.0 :)
-
moneromooo
It only generates the cert if bitmessage needs it (instead of upfront).
-
fictionless[m]
my question is more of what is the use case of bitmessage, when would anyone use it? :)
-
rbrunner
It's used together with the MMS (multisig messaging system) for transporting data packets between wallets. You can probably forget it :)
-
hyc
hmm. I submitted a txn and it's only showing up in txpool of my local monerod
-
hyc
doesn't appear to have shown up on any other daemons. 5 minutes ago
-
hyc
and print_pool_stats says 0 not relayed, no backlog
-
moneromooo
Sent via monero-wallet-cli/monero-wallet-rpc ?
-
hyc
-cli yes
-
moneromooo
With the transfer command ?
-
hyc
yes. transfer <addr> <amt>
-
hyc
plain jane\
-
moneromooo
Do you have --do-not-relay on the monerod command line ?
-
hyc
no
-
hyc
last txn I sent was thru the same daemon, but a couple months ago. went thru immediately, back then
-
moneromooo
Very odd. wallet2 sets do_not_relay to false, and if it were a temporary network outage, the pool would stil show true for relayed...
-
moneromooo
So if it shows false, it must have been asked not to.
-
moneromooo
Do you have logs with "on_send_raw_tx" in monerod for that tx ?
-
moneromooo
It logs those at 0.
-
hyc
lemme check
-
hyc
on_send_raw not in my .log file
-
hyc
gonna flush the tx and try again
-
moneromooo
Any exception log at the right time ?
-
hyc
not that I can see. everything looks normal
-
hyc
unable to send to i2p, no avialble outbound conn
-
hyc
that shouldn't have stopped it from using plain IP should it?
-
moneromooo
I'm not sure, due to dandelion. vtnerd would know for sure.
-
hyc
if it can't get sent right away, due to no outbound tor/i2p, when will it retry?
-
hyc
hm. I just tried manual relay_tx <txid> now and it says successful
-
moneromooo
IIRC every 4 hours.
-
selsta
hyc: if you have i2p and there is no i2p connection it won't send over the plain ip
-
selsta
i2p with --tx-proxy
-
hyc
ah thanks selsta that explains it
-
hyc
there were no outbound tor or i2p conns at the time
-
selsta
we have way more tor nodes than i2p nodes
-
hyc
i run relays for both, but they seemed to both be offline at the time
-
hyc
issues in /etc/init startup scripts ...
-
selsta
a flag to fallback to clearnet if no connections exist would be nice
-
selsta
I only run Tor and I2P to support the network, not really to hide my IP
-
hyc
same
-
abberant[m]
would there have been any benefits to kovri over i2dp? was it intended to be native to monerod?
-
selsta
kovri is dead
-
hyc
it was just a fork of i2pd
-
woodser[m]
@localmonero05
-
woodser[m]
> Can you or woodser make the new PR ahead of next week's meeting?
-
woodser[m]
I opened a pr so the balance includes unconfirmed transfers to self:
monero-project/monero #8158/files (needs reviewed)
-
localmonero05
Yay. Appreciate it woodser[m].
-
woodser[m]
the balance should be correct with unconfirmed transfers and change with that pr and #6986
-
woodser[m]
* @localmonero05
-
woodser[m]
> Can you or woodser make the new PR ahead of next week's meeting?
-
woodser[m]
I opened a pr so the balance includes unconfirmed transfers to self:
monero-project/monero #8158/files (needs reviewed)
-
merope
Doesn't that defeat the whole point of having an "unconfirmed balance" though?
-
moneromooo
I think the point is that you still get the money minus the fee whether the tx gets mined or not. So while it complexifies the whole thing, it makes sense in user terms.
-
moneromooo
Actually, I'm just thinking it would mess with sending money, since you see X available, but less is actually available...
-
moneromooo
A third balance type might solve this. Uncomplexified too.
-
jberman[m]
I'm a fan of including unconfirmed amounts in the sum of total balance, and having a 3rd "unconfirmed" balance too, like "locked"
-
jberman[m]
sorry, like "unlocked"*
-
jberman[m]
anyone looking at their balance wants to know the total right away, it's more intuitive for a user to have to subtract from total if they want to know what their confirmed balance is in the chain, than for the user to mentally add imo
-
jberman[m]
I think the PR is sufficient as is though and is an improvement over current. Users should know how much is available to spend from the "unlocked" balance, and can check tx history for a tx's status. I think that's in line with UX expectations of traditional banking too, where transactions that are still processing/in pending states affect balances displayed to users
-
jberman[m]
at least in my banking apps that's what I've seen
-
geonic
isn't that just a UX thing for the different wallets to figure out?
-
jberman[m]
geonic: the core repo includes a reference wallet implementation, so this is for the UX of the reference wallet impl/anyone reusing that code. different wallets can do whatever still
-
jberman[m]
Like e.g. the CLI wallet uses this code
-
geonic
tx. yeah if the CLI/GUI do this, others will likely follow