-
minth
narf: monero is the best, which means it's fairly good but not great
-
narf
right
-
jmjl
I'd like to know how much time it'll take for the monero daemon to sync the blockchain, (from start), with a Internet connection of about 24.07 Mbit (download) and 65.80 Mbit (upload)
-
jmjl
^ note: in theory the monerod says I am using a hdd when I am in theory using a ssd
-
moneromooo
You could get an Internet connection of about 24.07 Mbit (download) and 65.80 Mbit (upload), and measure it.
-
moneromooo
That said, usually internet speeds aren't the bottleneck.
-
moneromooo
Disk random access typically is. Spinning disks are atrocious, and syncing will take days with one of these.
-
duso
Am I still able to send a transaction if my node is still 3 months behind and syncing?
-
moneromooo
Yes, in theory but (1) the daemon might reject it and (2) the fake outs will be old, which will leak out the fact the tx is either old or made with a partway synced daemon. Not a big problem I guess.
-
moneromooo
As a side effect, it'll leak that the real spend is at least 3 months old.
-
duso
None of those a really a massive deal breaker, but on balance I could wait another 3 days for the node to finish syncing before making the transaction.
-
duso
I really should look at setting up a graphana dashboard to monitor my node, does anyone have any templates?
-
duso
-
moneromooo
3 days for 3 months ? Wheee.
-
duso
yeah, its basically taking a day to sync a month. Good ol rust drives
-
jmjl
moneromooo: I am having a larger problem, the issue is that when I order my init system to kill the daemon that runs monero, the daemon is killed but the monero process is kept at uninterruptible process type, (which makes me not be able to run other monerod instances)
-
moneromooo
AFAIK, that means stuck in kernel space, so a kernel bug or stuck waiting on I/O on bad HW.
-
moneromooo
If you can get a stack trace, it might shed some light.
-
jmjl
^ I'd have to get one of the processes, and I have 4 to pick, in which should I attach gdb?
-
jmjl
^ what, they just disappeared
-
jmjl
^ well, better for me (ig)
-
jmjl
moneromooo: also, (completly unrelated), but if I started mining monero on some pool let's say pool x, I can use a subaddress for pool x and another address for pool y right?, except that apparently P2Pool doesn't allow me to run the daemon without specifing a main addr...
-
rbrunner
You can't mine to subaddresses. It's not supported.
-
jmjl
oh, so I lost those coins completly?
-
jmjl
well, they wheren't much so idc..
-
rbrunner
You mean you gave a pool a subaddress, and it did not complain, but just accept?
-
jmjl
rbrunner: yeah, if you want I can say the pool name
-
rbrunner
Hmm, yes, of course a pool can pay you out to a subbaddress. I was talking about solo-mining.
-
moneromooo
Yes.
-
rbrunner
And p2pool is technically something like solo mining.
-
jmjl
what's the difference between solo-mining and pool mining? (I asume pool mining uses the normal way of transfering money in monero?)
-
rbrunner
With pool mining you only submit "shares". With solo mining you submit a block - if you can find one, of course.
-
jmjl
so if p2pool is like solo mining even if I mine normally I'd only get paid less? how can that be then?
-
moneromooo
Solo mining is, you solve a template your daemon made to your address. Pool mining is, you solve a template the pool's daemon made to its own address.
-
moneromooo
And you trust hte pool to send you some monero back to thank you.
-
jmjl
so, a there will be a different challenge even for the same block?
-
jmjl
^ because the template will be different because the daemon will make it different as the template needs to contain the address that the money will go to, (if valid obsly)
-
merope
The template changes, but the target diff is the same
-
jmjl
what does that mean?
-
merope
The network difficulty determines how much work (on average) is required to find a block
-
merope
And it's the same for everyone
-
merope
The difference between solo and pool is that solo is all-or-nothing, while pool pays small amounts more regularly
-
jmjl
diff by difficulty not diff by difference
-
merope
And you submit "shares" to the pool to prove that you are doing work
-
merope
Yes sorry, in the context of mining "diff" means mining difficulty
-
jmjl
^ no problem, I should have alredy knew that :P
-
merope
(And those shares are what get you paid)
-
merope
P2pool is a little special, because there is no trusted middleman - but at the end of the day it's still pool mining
-
jmjl
so everyone needs to "review" your blocks if they made a proper block?, wouldn't that take soo much time that the block would get invalid by then?
-
jmjl
^ (like a valid block but outside of the time window)
-
hyc
just one p2pool node checks the block validity. then it submits it to mainnet if it's good
-
jmjl
and the idea of sending the money to the other users, or is it sent to a special address?
-
merope
P2pool blocks are constructed in such a way that every p2pool user gets their share of the block reward (according to their contributions)
-
jmjl
so blocks need to be constructing a transtation with the block reward inside of it?
-
hyc
all blocks do that
-
jmjl
^ but then how come that subaddrs aren't allowed?
-
hyc
just because. subaddrs were invented later, the encoding isn't supported for coinbase txns
-
merope
Because the mining protocol dictates that rewards can only be sent to the primary address
-
jmjl
thanks for the info
-
sech1
technically subaddresses are possible in coinbase txs
-
sech1
but they'll double the size of coinbase outputs
-
sech1
and there's no code written yet that can do it (neither in monerod nor in p2pool)
-
rbrunner
-
rbrunner
From the long and dark history of unmerged Monero PRs :)
-
sech1
right
-
hyc
looks like the changes weren't worth the bother
-
sech1
each subaddress requires a separate tx pubkey, this is why I didn't add support to p2pool - it add 32+1 bytes per output, almost double the size
-
sech1
also the wallet2 scanning is written in such a way that it will be O(N^2) if everyone in p2pool mines to subaddress
-
sech1
each of N outputs will scan all N pubkeys until it finds the right one
-
sech1
actually no, it's sorted by output index. But still, 2x transaction size is not worth it
-
selsta
sech1: there's a zmq related PR open, could you take a look?
-
sech1
ah, we discussed it with jberman before. I'll take a look
-
jmjl
^ didn't even knew that by making a questionary about how pool mining works i'd indirectly make a PR be seen again back :P
-
lagoon93
hello