-
m-relay
<xfedex:matrix.org> If I do a time-expensive RPC call to daemon, does it get executed in a different thread or it blocks all the RPC calls to monerod?
-
moneromooo
Mostly the latter.
-
m-relay
<xfedex:matrix.org> This includes the calc pow RPC method?
-
moneromooo
After looking, I think this one does not need the main lock.
-
moneromooo
Easy to see though. sleep(100) in the RPC endpoint, try to call another.
-
fvok4
Hi there, I have a question about Monero. Can someone tell me if after introduction of CLSAG in Oxygen Orion, it was mandatory for transactions to use CLSAG over MLSAG, or is MLSAG still in use?
-
m-relay
<xfedex:matrix.org> No, MLSAG is not in use anymore, except for transactions prior to the fork
-
sech1
MLSAG was allowed for 720 blocks after the CLSAG fork (it happened in October 2020), then they were forbidden
-
m-relay
<dgoon21:matrix.org> Hi. I have questions around the current checkpoint system for Monero nodes. I have been playing around with a radxa zero 1gb sbc. I have synced pruned nodes on it consistently in under a week, but this sync speed relies on monero dns checkpoints to do most of the heavy lifting. Is there currently any discussion or desire from the core devs to end the dns checkpoint system? Also if<clipped message>
-
m-relay
<dgoon21:matrix.org> this system was ended, would there be any major downsides to adding my own checkpoints, such as 2 month old block hashes, to still get reasonable sync speeds on under powered devices? I don't believe there would be but I wanted to checkin to be sure. Thanks.
-
selsta
monero does not use DNS checkpoints
-
selsta
there is a system in place but as far as I know it has never been used
-
selsta
what you are talking about is likely the `--fast-block-sync` flag, but that one does not use any kind of DNS system
-
selsta
You can always custom compile and add your own fast sync hashes, but since they are reproducible you can also just confirm that the ones in the repository are correct.
-
m-relay
<dgoon21:matrix.org> Thank you so much for the response. Does --fast-block-sync only use the hardcoded checkpoints in
github.com/monero-project/monero/bl…rc/checkpoints/checkpoints.cpp#L210 ?
-
selsta
There are two different systems. One is for fast sync system and one is the checkpoint system you linked.
-
selsta
-
selsta
the file src/blocks/checkpoints.dat contains the fast sync hashes
-
selsta
you can generate it with this command: ./monero-blockchain-export --output-file checkpoints.dat --block-stop 2851000 --blocksdat
-
m-relay
<dgoon21:matrix.org> If my understanding is correct, nodes use this checkpoint list up to block 2661600 and then they are left to fully verify the chain from there? This would leave the node to complete 10% of the sync with no fast-block-sync help?
-
m-relay
<dgoon21:matrix.org> *roughly
-
selsta
No, the checkpoint list are just checkpoints. They don't have any verification benefits.
-
selsta
The fast sync system allows the daemon to skip known hashes, but that's separate from the checkpoint system you linked.
-
selsta
Unfortunately they have the same name in the source code so it's complicated to explain.
-
selsta
I set checkpoints and the fast sync hash usually to the same block height so yes the daemon would have to do 10% without any fast sync.
-
m-relay
<dgoon21:matrix.org> That makes sense. Is there a reason the fast-sync hash list is only updated on major releases?
-
selsta
It's always updated in the release branch. It's rarely updated in the master branch.
-
selsta
but no specific reason otherwise apart from not having to do 2 PRs per release
-
m-relay
<dgoon21:matrix.org> Thanks a lot for answering all my questions.
-
selsta
if someone uses master branch they can update it themselves :P