Module randomx_rust_wrapper::bindings::dataset
source · Structs§
Functions§
- Creates a randomx_dataset structure and allocates memory for RandomX Dataset.
- Gets the number of items contained in the dataset.
- Returns a pointer to the internal memory buffer of the dataset structure. The size of the internal memory buffer is randomx_dataset_item_count() * RANDOMX_DATASET_ITEM_SIZE.
- Initializes dataset items.
- Releases all memory occupied by the randomx_dataset structure.@param dataset is a pointer to a previously allocated randomx_dataset structure.