-
anon82347574
-
moneromooo
IIRC, if you access it from the unrestricted port, it gives you "false" information since there are two RPC servers. I *think* you can't do it atm, it'd need some code change.
-
moneromooo
Ideally by not starting two RPC servers, but just having one listen on two ports.
-
azy
running multiple walletrpcs is fine, right? is there a limit to how many you can run?
-
moneromooo
Yes. Only system limits.
-
azy
great, ty
-
selsta
moneromooo: #6556 no required for branch?
-
selsta
ok looks like this is only fixes bad usage
-
selsta
so probably not
-
moneromooo
No, it's only a test thing, and it looks like memory layout makes it do the "right thing" in practice.
-
moneromooo
Any other opinion on 6554 ? Looks like a typical "perfect is the enemy of good" thing, but I may be biased.
-
moneromooo
woodser_: the "failed to die" errors you posted a while back are fine, I had them and understand why (and why it's fine).
-
woodser_
ok cool
-
hyc
-
hyc
one release "oh we didn't build with trezor support"
-
hyc
another "oh we didn't build with networking"
-
hyc
come on
-
selsta
because snipa did them and it was the first time he compiled then
-
selsta
we asked for testers on Reddit and they didn’t find these things
-
selsta
I can’t test everything :)
-
moneromooo
...networking ?
-
selsta
qt networking is only used for fiat price conversion
-
selsta
anyone who cares about it and can’t wait for the next release can compile themselves
-
sarang
Windows CI currently failing?
-
selsta
maybe, can you post logs?
-
selsta
they update the Windows image every 2 weeks and things randomly break
-
sarang
-
sarang
^ current master
-
selsta
can you rerun?
-
selsta
if it still fails it is some msys2 issue that will probably solve itself after some time
-
sarang
Re-running now
-
sarang
Nope, still fails
-
selsta
-
sarang
delightful :D
-
selsta
#6543 #6545 #6551 #6554 need reviews / approvals
-
selsta
else we can’t tag
-
rbrunner
How will the order be between rebasing my #6548 after moneromooo's PR it refers is merged, and that tag? Or, can you set the tag before everything is properly merged?
-
luigi1111w
tag needs everything merged
-
selsta
ty rbrunner two remaining
-
rbrunner
Yeah, with stuff way over my head :)
-
selsta
xiphon: would you be ok with 6554 for now and it can get improved later?
-
selsta
moneromooo: can 6550 be merged now that rbunner approved it?
-
selsta
(asking so that luigi can merge early so that rbunner can rebase)
-
xiphon
selsta: commented on Github (i'm okay with 2/3 commits)
-
selsta
ty
-
moneromooo
I'll just make a little change to 6550, gimme a couple minutes.
-
moneromooo
6550 pushed (s/tolower/towlower/) but it'll be a bit before it's built it.
-
rbrunner
What do you think, after it's ready, maybe best for me to delete the version of that commit I have in branch first before rebasing?
-
rbrunner
*in my branch
-
moneromooo
Yes, since the commit is now slightly different, so you'd have to resolve a conflict.
-
rbrunner
Alright, thanks.
-
xmrpow
: Hello, im the op of xmrpow.de. I found out that other pools like supportxmr etc are having some small advantage concerning getting new blocks. For example: supportxmr is able to send jobs to its miners 2 sec earlier than xmrpow.de does. Although im closer to my own server when i tested that. I have seen worse but it's still improvable. Therefore I asked what supportxmr admin does to achieve that. He told me that he is operat
-
xmrpow
of nodes and these nodes do have a special messaging queue which they use to communicate with each other. Because we are a small pool we can not afford to host monerod in all regions of the world. Do you have some idea how I could solve the problem? Are there some special monerod optimizations?
-
moneromooo
It might be they cheat by delaying blocks a bit when sending to others. Some pools do that.
-
moneromooo
Well, it's not really cheating, just being a bit of an asshole.
-
xmrpow
Might be possible ...
-
moneromooo
Might be monerod's relay is being inefficient too, improvements welcome.
-
moneromooo
2 seconds seems a bit much for just inefficient.
-
rbrunner
From all I heard and read about supportxmr it would be something of a surprise to me that they should play unfair.
-
moneromooo
Could also be your link to that pool just goes through many network hops.
-
xmrpow
So you mean wrong config?
-
moneromooo
Or maybe you're wrong about the 2 second delay.
-
xmrpow
Nope tested it multiple times..
-
xmrpow
What do you think would be a normal delay?
-
xmrpow
50 ms?
-
moneromooo
Sounds fast. The noncesense people probably have that data. Or ways to get at it.
-
xmrpow
So no special monerod config....
-
asymptotically
would it be bad/rude/dumb to make a new node that just relayed blocks and transactions and didn't store a chain? so that xmrpow could have nodes all over the world but without paying for nice enough machines to run a full monerod
-
moneromooo
Yes.
-
moneromooo
There's an option in moenerod which does this now, which kinda sucks but there was a reason for it IIRC.
-
moneromooo
The chain fits in ~25 GB though.
-
selsta
you can run monerod on like $5 VPS
-
xmrpow
Ok but if you need 30 of them per month
-
xmrpow
not in our budget
-
xmrpow
we are quite small
-
moneromooo
You don't need, you want.
-
moneromooo
As usual, pay more and get more performance.
-
rbrunner
Well, if your daemon does not hear early about a block, that's it already, seems to me: It is blissfully unaware until the floodfill algorithm reaches it. How could you possibly improve on that?
-
moneromooo
Block propagatoin might be worth going over, might be easy wins.
-
asymptotically
ah found it. --no-sync was added so that wallets can join to find public rpc nodes
-
moneromooo
Ah, yes. It makes sense for this use.
-
moneromooo
Though I guess it also means public rpc nodes make everything suck.
-
rbrunner
Sounds like wifi repeaters to me, daemons running with that option :)
-
asymptotically
rbrunner: that's what i was thinking with the dumb nodes :D - although if there's more than a handful of them they'd probably just get in the way and slow things down
-
sech1
each node has to verify PoW and transactions on the block, so block propagation is slowed down considerably compared to blind repeaters
-
moneromooo
Txes are usually verified already.
-
sech1
but PoW on a cheap VPS is easily 20+ ms delay
-
xmrpow
@moneromoo We need it because otherwise we can not compete that well....
-
rbrunner
Who knows, maybe the main Monero hashrate is somewhat geographically clustered, and with 2 or 3 nodes placed strategically in the centers of the clusters you are already a little faster
-
rbrunner
See what I mean? If you place your nodes at the places where, on average, the most new blocks will pop up first?
-
rbrunner
But then of course you need a mechanism for them to "phone home" the news fast enough
-
xmrpow
@rbrunner understood but it s costly....
-
rbrunner
2, 3 nodes?
-
moneromooo
And I need the latest ryzen monster because otherwise I can't compile that well...
-
iDunk
True
-
xmrpow
@rbrunner now?
-
moneromooo
lol
-
moneromooo
Anyway, I'll add "check block propagation for easy wins" in my list. But that'll be lowush priority.
-
rbrunner
What do you mean with "now"? Maybe there are only 2 or 3 such Monero mining clusters worldwide where you would lurk for new blocks
-
asymptotically
xmrpow: maybe you could ask m5m for the address of one of his nodes and then --add-priority-node it?
-
xmrpow
@monermoo Miners currently dont care about network decentralization, so we have to get every plus point we can...
-
xmrpow
@asymp maybe an idea
-
moneromooo
Seriously, anyone else with an opinion on 6554 ? xiphon doesn't like one of the commits, I like it, so we need a tie breaker :P
-
sech1
I would just collect as many node IPs as possible and then watch which one of them propagate blocks first. But that requires skill and a few modifications to monerod code
-
Inge-
Knife Scissor Paper Lizard Spock?
-
Isthmus
Hmm, I think I shared some updated block propagation histograms in a #monero-research-lab, lemme see if I dropped the plots on the GitHub agenda
-
moneromooo
monerod logs received blocks, if that's what you're hinting at (net.p2p.msg).
-
selsta
rbrunner: can you reapprove 6551? :)
-
selsta
seems to compile
-
xmrpow
@sech1 im not into c and c++. So no option for me
-
rbrunner
@selsta, regarding 6551: Well, trying it again interactively in its updated version would be some work which I could not do today still.
-
selsta
ok np
-
selsta
ok maybe we can find a solution for #6554 until tomorrow :P
-
moneromooo
Guess I could go and find the max bytes that can be requested before and after.
-
moneromooo
xiphon: is your objection more about "it doesn't help that much" or "it breaks hypothetical spammy third party p2p code" ?
-
moneromooo
Or both.
-
xiphon
moneromooo: the main objection is that we break the p2p protocol
-
xiphon
what was allowed yesterday becomes forbidden tomorrow
-
moneromooo
OK, that's the thing I don't care about then ^_^
-
xiphon
and we do this fo no good reason, but just beause it is" easir to implement the check the this way"
-
xiphon
and it is not obivous that the check is necessary
-
xiphon
do we have a PoC?
-
moneromooo
Oh it's not necessary. It just allows mitigating.
-
moneromooo
xnbya: do you have a PoC ?
-
moneromooo
I mean, mitigating DoS is pretty much always going to be about preventing something that was allowed before, save for efficiency improvements on the server.
-
xiphon
basically - is allowing 100 pre-v4 blocks per request a problem?
-
moneromooo
Depends on your definition of problem I guess.
-
xiphon
and if it is, the next question - does limiting it to 20 pre-v4 blocks per request solves the problem?
-
» moneromooo gives up
-
xiphon
yep, that's it
-
rbrunner
It's hard to say, but at least I think I understand xiphon's argument: You look from the outside, treat the daemon as a blackbox, you see a call that looks like you could pick block #0 and block #100 in one go, and then it balks. You are baffled.
-
moneromooo
Yes, I understand the argument, I just don't care about it.
-
moneromooo
There's probably no code that does it (except maybe spamming code).
-
rbrunner
Hmmm, yes, but such "probably's" tend to make me slightly uneasy. It's a complex system overall.
-
moneromooo
That makes me completely easy. I really do not give a shit about breaking third party code that's asking too much at once.
-
moneromooo
Just because a sanity check was high before should not be a reason to never make it stricter it it causes trouble.
-
rbrunner
I don't see the connection, my example is a call that gets exactly 2 blocks
-
rbrunner
Or maybe I misunderstand
-
moneromooo
No, you don't misunderstnad I think.
-
moneromooo
So you care about such a use being newly restricted then ?
-
moneromooo
Even though we never do it, and there's no evidence given anyone does ?
-
rbrunner
A little bit :) Just a hunch after 30 years in IT where more than once I had my "Nobody uses this, out of the window" followed by "ooops" moments :)
-
moneromooo
Alright. Then since I said we needed a tie breaker, I'll remove it then.
-
moneromooo
(still sucks :P)
-
selsta
lol, the last two commits before the tag
-
selsta
had more discussions than all other in the last months
-
moneromooo
done
-
rbrunner
Alright, people, have to go, will be able to rebase my PR tomorrow morning UTC at the earliest
-
rbrunner
Just saw vtnerd's review comments about it. Not sure what to do with them all ...
-
moneromooo
All the ones about "utf8canonnical could change" you can ignore IMHO. It's not new code, if he wants it changed, he can patch it (or someone else can) later. No sense in putting that in those PRs.
-
vtnerd_
it is new code, your modifying it, and the changes I requested of rbrunner are so damned easy
-
vtnerd_
as-in, it was just modified to accept a `Transform` parameter, etc., already
-
moneromooo
I'm just annoyed at some of the pedantry. I just move code around, I don't want to really get into modifying it beyond what's necessary.
-
moneromooo
This really is its own PR. Don't mix it with the current one.
-
vtnerd_
the code wasn't being processed by every log call though, it was tucked away in the wallet
-
vtnerd_
which the rbrunner patch? my primary issue is understanding its purpose
-
moneromooo
Sure. I'll check the profile to see if it shows up.
-
moneromooo
I meant your comments on utf8canonical.
-
vtnerd_
its not going to show up, we have death by 1000 cuts in this stuff
-
vtnerd_
theres arbitrary copies all the time
-
moneromooo
Then make a patch to remove some if it makes any difference. Piggy backing this on a PR that moves the code is just annoying.
-
vtnerd_
I don't care too much, it will mostly be mitigated by the other check to skip the lock altogether at least
-
moneromooo
Copies, here, not move, granted.
-
moneromooo
I'll go and remove the copy later (which should be the vast majority of the time).
-
» moneromooo just has had enough yak shaving for now