Create ticket

The set of sets sampling algorithm has been tested and implemented into the ecosystem

Published May 25, 2023 07:47
Last update May 25, 2023 07:47

This algorithm is used for, but is not limited to:

  •  block selection for a transaction from the total number of blocks that satisfy the transaction conditions
  • select a transaction hive when creating a new transaction
  • block selection for confirmation by network participants
  • in the process of block validation confirmation
  • when selecting workers

The algorithm for sampling has been developed that involves the conversion of hash codes to decimal numbers. This process allows for more efficient and accurate sampling.

The algorithm has unique properties in that the algorithm is designed in such a way that it can generate a group of random values without requiring any source data beforehand. This means that the data cannot be interpreted in advance, making it truly random.

The system utilizes a hash code to execute algorithms once the operation has commenced. In addition, a precise procedure is executed to re-hash the hash code that was received, along with the start time of the operation, with a level of accuracy that extends down to a millisecond.

At the same time, the process of acquiring a set of random numbers within a specified range does not produce endpoint IDs of elements. Instead, it generates temporary IDs of elements with in indexes, which are not constant for each element and undergo frequent changes.

In other words, network technology has allowed for the acquisition of random values to generate a sample of "sets of sets" from future data.

How it works:

  • at input, the system receives the following data: the sha512 hash code, the transaction conditions, the range of values​ for the index ID
  • a mathematical transformation of sha512 into a decimal series, obtaining a very large number
  • a mathematical formula is used to convert the obtained value into the desired range
  • the iteration is repeated the required number of times, converting the old hash code into a new one at each iteration
  • a set of obtained index ID’s is used to obtain a set of elements

The algorithm has been successfully tested and implemented into the network.

Fenomy Team reserves the right, at its discretion, to change, modify, or remove portions of the announcements at any time by posting the amended version on the website.

Related articles

Need Support? Create a Ticket. Create ticket