Neither the explorer page nor the stats page show me the current or historical hashrate relative to Bitcoin’s. So I had to do this myself, and for simplicity I used 256 random samples per difficulty period.
I needed this to reason about merge mining observed from Bitcoin’s coinbase transactions, as a part of my work on Rske, a Rootstock edge client.
Sharing here for anyone who might be interested.
Bad news; the 84% was transitory situation (anyone knows what happened there?).
Good news; the 60% is still the median, and the current.
Hey Nuh,
I like your rske project, nice work!
Regarding the increase from 60 to 80 was because of Foundry joining merge mining in rootstock. I don’t know why it dropped, nice catch.
How did you compare hashrates? Whats the math behind your plot?
You’re right, Nuh. Rootstock’s hashrate share dropped to around 60% due to a pause in Foundry’s merged mining operations, which affected not only Rootstock but also the other chains they were merged mining. Hopefully, we’ll see them back soon.
You’ll also find the detailed numbers in our upcoming quarterly Merged Mining report.
This exercise is also interesting in a sense: it confirms what we might know intuitively; we don’t need to check 100% of
I download bitcoin coinbase transactions, and count all the ones with RSKBLOCK tags in them vs the ones that don’t. But because all apis to get this data are rate limited, and I am not interested in downloading full blocks, I decided to sample blocks from each 2016 blocks (difficulty period), I started with 16, 32, 64, 128, 256, and finally reached 512 samples. The only difference the number of samples made is tighter confidence, but the conclusions remained consistent. But as you may expect 16 samples gets done much faster, so if you just want a rough idea, I think 16 is enough.
Thanks for the explanation. I will be looking forward for the next report, but I wonder if this might be a good addition to the explorer as well.
I am just as happy with 60% as I would be with 80%, since Armadillo seems to suggest ~100% agreement and no forks, so that is >50% of bitcoin miners endorsing Rootstock checkpoints (in my Rske design), but I also thought about this more, and I think I would be ok at any hash rate, because I just need a large enough voting window that an dissenting miners have enough time to express their vote. For example if the hashrate is 30%, as long as 100% of that 30% has been endorsing a checkpoint for 14 days, well then I know that there is no forks.
Of course the problem of requiring 100% or 99% of the participating hashrate, is that anyone with 1% of the participating rate can degrade my Rske performance, but the worst case scenario is the same as the “ephemeral blockchain” that SDL suggested, so that is ok.
Of course, I want rootstock to have as much hashrate as possible to have as much confidence as possible in the confirmations after that checkpoint, but that is another topic.
And indeed we should help that by making Rootstock as profitable as possible for miners, but as I said multiple times, I think the main leverage is keeping Rootstock as cheap to merge mine as possible, and of course to that end understanding Foundry’s motivation for dropping is important to learn from.