Qiner is a high-performance application written in Rust that leverages CPU-specific instructions and optimizations for computational tasks. While this guide focuses on deploying Qiner using CPUs, it's worth noting that there are other approaches that utilize CUDA GPUs, FPGAs, and heterogeneous computing for enhanced performance.
sudo apt update
sudo apt install build-essential -y
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
- Open the terminal in the folder containing Qiner (the folder where the
Cargo.toml
file is located) - Run
cargo build --release
The built Qiner executable will be located at ./target/release/
The options to run Qiner are specified in the .env
file.
- Create a
.env
file next to the built Qiner executable. - Fill in the following options:
RUST_LOG
,NUMBER_OF_THREADS
,ID
,SERVER_IP
,SERVER_PORT
,VERSION
,RANDOM_SEED
,SOLUTION_THRESHOLD
Set to INFO
to see the output in the console. Read more at the env_logger documentation.
Specifies the number of threads to be used for mining.
Qiner ID consisting of 60 characters.
The IP and port to which Qiner will connect.
The version of Qubic.
RUST_LOG=INFO
NUMBER_OF_THREADS=8
ID=UBAZRCVPOZTDKGCBNPGYFUPLZXDDNHSEGJRTAJKWJBHJDKHMAKVVFAKCZGRI
SERVER_IP=8.8.8.8
SERVER_PORT=21841
VERSION=1.142.1
RANDOM_SEED=1,0,233,9,136,69,43,139
SOLUTION_THRESHOLD=22
While this guide covers deploying Qiner with a focus on using CPUs, there are other approaches that can be utilized for enhanced performance:
- CUDA GPUs: Leveraging NVIDIA's CUDA framework for parallel computing on GPUs.
- FPGAs: Using Field-Programmable Gate Arrays for highly efficient and customizable hardware acceleration.
- Heterogeneous Computing: Combining different types of processors (e.g., CPUs, GPUs, and FPGAs) to optimize performance for specific tasks.