Closed Metric closed 6 years ago
dear Metric,
I have been playing around with the java version and noticed that it never really finds a solution on pretty much most things at 50% edge easiness. I usually have to bump it up to about 56% to find a solution. Which, seems odd, considering that it should be able to find a solution at 50%. I only ever see the cycle print out when it reaches about 75% or more the way through the nonces.
vs what I get at 50%:
with 50% edges and 1 threads 14-cycle found at 0:95% 18-cycle found at 0:97% 26-cycle found at 0:99%
with no solution found at all.
You're not expected to find a solution on most instances. Instead, each graph has an expected small number of cycles, with the probability of a particular cycle length being roughly inversely proportional to the length. So a 42 cycle appears only in roughly 2% of all graphs.
Am I missing something here on how it is suppose to work?
It's supposed to take some luck to stumble on a graph with a 42 cycle. Try running a few hundred instances and you'll see them.
regards, -John
I see, so basically the block itself will still require a secondary nonce or wait until a transaction is added that changes the hash that provides a solution. Is this assumption correct? Otherwise, if the block hash never changes, then it would never find a solution.
dear Metric,
I see, so basically the block itself will still require a secondary nonce or wait until a transaction is added that changes the hash that provides a solution. Is this assumption correct? Otherwise, if the block hash never changes, then it would never find a solution.
Yes; you still use a regular nonce to mine this. Each header and nonce determines a graph in which you look for a 42-cycle. Which is then witnessed by 42 edge indices (which I used to call micro-nonces).
regards, -John
I have been playing around with the java version and noticed that it never really finds a solution on pretty much most things at 50% edge easiness. I usually have to bump it up to about 56% to find a solution. Which, seems odd, considering that it should be able to find a solution at 50%. I only ever see the cycle print out when it reaches about 75% or more the way through the nonces.
example of one at 56%
vs what I get at 50%:
with no solution found at all.
Am I missing something here on how it is suppose to work?