-
m-relay<sneedlewoods_xmr:matrix.org> will dm you the details, everything else I tested manually with monero-wallet-cli worked as expected
-
m-relay<onefuryone:matrix.org> I hate the government I hate big tech...I hate cbdcs. Oh and I hate binance. I love Monero...I hold Monero...am I in the right place?
-
Ingenope, try #monero
-
xFFFC0000paste.debian.net/1306538 we spend unbelievable amount of time in get_difficulty_for_next_block
-
moneromooooThis paste does not show evidence for that claim.
-
xFFFC0000That is output from perf for two node syncing locally (one fully sync, one started blank). Will upload all of it in few hours. Got tired went outside.
-
moneromooooYes, but you need to show what's *up* from this. Your paste could be the same if the function was fast or slow.
-
sech1Makes sense, considering that you need to poke lmdb 720 times to get all DIFFICULTY_WINDOW blocks' data
-
sech1for each new block
-
sech1get_block_cumulative_difficulty x 720, get_block_timestamp x 720 - that makes 1440 lmdb transactions
-
sech1it should reduce it to 2 lmdb transactions per block if you request them sequentially
-
sech1moneromoooo did you ever get this triggered? github.com/monero-project/monero/bl…cryptonote_core/blockchain.cpp#L993
-
sech1using std::stringstream all the time to do logging there can slow it down too
-
selstayes, this was triggered a couple times but we fixed it, since then not anymore