rieMiner/Mining for a Record

From Riecoin

Here are the instructions to look for large prime constellations and attempt new records while mining and earning coins. We assume that you already configured rieMiner for pooled or solo mining.


You should first read how to attempt records using the Search Mode as many things also apply here.

There will be new occasions to attempt new records while mining after the second fork. These instructions will not apply before.

Before the second fork, the constellation pattern was 0, 4, 6, 10, 12, 16. Unfortunately, a 6-tuple cannot be part of any larger constellation until (see the pattern list), whose search is out of the question as rieMiner is not at all suited for such long constellations and the difficulty would be way too high. The only way to beat records was to attract many more Riecoin miners to raise the difficulty over about 3445, which was not going to happen before long.

Starting from the second fork, both patterns 0, 2, 6, 8, 12, 18, 20 and 0, 2, 8, 12, 14, 18, 20 are accepted and rieMiner chooses to mine one of them at random if no choice was made. Such constellations could be part of a longer one in both cases, from to [1]. However, rieMiner is not yet written to support the second case yet if you want to beat a record. So for now, you can only choose patterns that start with 0, 2, 6, 8, 12, 18, 20 for this.

To know whether a record is possible, you must look at the current difficulty, and see starting from which length it beats the record. For example, if the current difficulty is 750, it will be lower for 8-tuples, but finding a 9-tuple at such difficulty would beat the record. Then, you must choose the correct pattern (note that in the configuration file, the offsets are offset differences and not just offsets from start).

Once done, rieMiner will look for these tuples. This will reduce a bit the mining efficiency, however you will have a chance to get a record! If you don't configure rieMiner for a longer tuple, it is still possible that it eventually finds a 8-tuple or longer, but the probability of this happening would be very low.

rieMiner configuration

Just use your pooled or solo mining configuration file and append the chosen constellation pattern, like

ConstellationPattern = 0, 2, 4, 2, 4, 6, 2, 6, 4

It is strongly recommended to tune rieMiner, read the tuning guide to get the best performance. Also read the README.md to see more options for the configuration file.

Good luck!


  1. It is not obvious for the second case, for example 0, 2, 8, 12, 14, 18, 20 could be part of 0, 6, 8, 14, 18, 20, 24, 26 (add 6 to the offsets of the 7-tuple; if is also prime then the 7-tuple is a part of a 8-tuple).