ore-mine-pool

ore-mine-pool is a mining pool implemented for orev2, making it easier for miners to mine. Compared to ore-cli, it is easier to use and more efficient. Our current output of about 665 / day, about 46% of the total network capacity.

Communication

discord dune document

Worker Usage

1. git clone https://github.com/xintai6660707/ore-mine-pool.git
2. cd ore-mine-pool
3. chmod +x start.sh
4. chmod +x ore-mine-pool-linux
5. Modify the worker-wallet-address in start.sh to your wallet address and ensure the wallet has the corresponding ore AssociatedToken address. if there is no ORE to your wallet account, purchase a little.
6. We have supported simultaneous COAL mining,make sure your payment wallet with COAL accounts E3yUqBNTZxV8ELvW99oRLC7z4ddbJqqR4NphwrMug9zu (address), if there is no COAL to your wallet account, purchase a little. will automatically start receiving COAL rewards at the same time
7. The default machine name is your hostname. Add the parameter --alias your_new_name to the end of start.sh ./ore-mine-pool-linux worker to modify the machine name.
8. The default threads is your max threads of cpu supported, if you want change threads per numa, add parameter --threads YOUR_THREADS
9. nohup ./start.sh > start.log 2>&1 & // Start the worker in the background
10. tail -f worker.log // View worker logs

To pause the task:
pkill -f start.sh
pkill -f ore-mine-pool

Check the online status of the machine:
http://route.oreminepool.top:8080/wallet_stats/your_wallet_address
https://oreminepool.top/machines/your_wallet_address

Monitor all program record use:
./ore-mine-pool-linux  monitor   --rpc-ws-url  wss://xxxxxx

The address you want to monitor, by default, monitors all transactions throughout the program. You can fill in your wallet address to monitor only your wallet:
./ore-mine-pool-linux  monitor   --rpc-ws-url  wss://xxxxxx --monitor-address  your-wallet-address

save record as csv ,for excel analysis:
./ore-mine-pool-linux  monitor   --rpc-ws-url  wss://xxxxxx   --csv_mode

How to run ore-mine-pool during qubic idle time

First, go to https://github.com/xintai6660707/ore-mine-pool/tree/main to download ore-mine-pool-linux and start.sh
Change the wallet address of start.sh to your solana wallet address. If you have never used ore,
go to https://jup.ag/ to buy some, 0.001 or 1 USD is enough, otherwise you may not have opened an ore account
ore-mine-pool supports dual mining of coal at the same time. You can also go there to buy 1 USD of coal to open an account.
No other settings are required, and coal does not occupy ores computing power,
which is equivalent to additional income.If the cpu supports numa, it will automatically start the corresponding
number of processes, and multiple processes will run simultaneously

Qubic.li
1. Put qli-Client, appsettings.json, ore-mine-pool-linux, and start.sh in one directory

2. Add execution permissions
sudo chmod+x start.sh
sudo chmod+x ore-mine-pool-linux

3. Modify the appsettings.json file as follows
"idleSettings": {
"command": "./start.sh",
"arguments": ""
}

4. Run qli-Client normally

Qubic.solution(rqiner)
1. Put rqiner and ore-mine-pool-linux in one directory
2. Add execution permission
sudo chmod+x ore-mine-pool-linux
3. When running rqiner, add the parameter --idle-command "./ore-mine-pool-linux worker --alias your_machine_name --route-server-url http://route.oreminepool.top:8080/ --server-url public --worker-wallet-address your ore wallet address"
For example, ./rqiner-x86-znver4 -t 32 -i your_qubic_wallet_address --label your_machine_name --idle-command "./ore-mine-pool-linux worker --alias_your_machine_name --route-server-url http://route.oreminepool.top:8080/ --server-url public --worker-wallet-address your_ore_wallet_address"

HiveOS
First install oreminepool hiveOS version
https://github.com/xintai6660707/ore-mine-pool/raw/main/OreMinePoolWorker_hiveos-0.1.7.tar.gz

Qubic.li
"idleSettings":{"command":"/hive/miners/custom/OreMinePoolWorker_hiveos/ore-mine-pool-linux","arguments":"worker --route-server-url http://route.oreminepool.top:8080/ --server-url public --worker-wallet-address ore_wallet_address"}

Qubic.solution
--idle-command "/hive/miners/custom/OreMinePoolWorker_hiveos/ore-mine-pool-linux worker --route-server-url http://route.oreminepool.top:8080/ --server-url public --worker-wallet-address ore_wallet_address"

Working Principle

We run the pool server and use multiple wallets to get mining tasks. The Worker fetches the current task with the lowest difficulty from the server every 10 seconds, performs 10 seconds of computation, and submits the highest difficulty answer obtained. The server records the wallet of the submitter with the highest difficulty answer. When the task needs to be submitted at 55 seconds, the highest difficulty answer will be submitted to the blockchain, and the miner fee will be collected.

Why use ore-mine-pool-worker

Higher computational efficiency

When using ore-cli for computation, mining is performed for about 55 seconds, then submission takes 1 second to several minutes, and mining can only continue after submission. If each submission takes 30 seconds (which is normal under ordinary priority fees), the efficiency is only 55/55+30=64%. Using ore-mine-pool-worker, each computation takes 10 seconds, and the submission of the answer and fetching the next task takes less than 0.1 seconds, resulting in an efficiency of 10/10+0.1=99%, which is a 1.54 times efficiency improvement compared to ore-cli.

No interval penalty

When using ore-cli for computation, submission times of 20 to several minutes are common. orev2 has a unique interval penalty where if the task is computed for 55 seconds and submitted within 10 seconds, the full reward is obtained. Submissions within 10-70 seconds result in a halved reward, and each additional minute further halves the reward. Using ore-cli, submission times of 20 to several minutes often result in halved or even zero rewards. ore-mine-pool-worker only computes the result, and we use high priority fees and the best RPC to ensure full rewards, resulting in approximately double the earnings.

Better bus selection

In ore, there are 8 buses (each with 1/8 of the reward capacity). ore-cli submits rewards to a randomly selected bus, but there is an imbalance among the buses. If the randomly selected bus has zero rewards, the submission will result in zero rewards. ore-mine-pool-worker selects the best bus for submission (viewing the optimal bus on-chain), ensuring full rewards. The efficiency improvement is not quantified here.

Staking rewards

In orev2, miners with stakes receive a coefficient increase of 1-2 times for reward submissions. When using ore-cli, due to low stakes, the coefficient is close to 1. ore-mine-pool-worker collects miner fees and stakes them, resulting in increased earnings with higher stakes, approaching a 2 times efficiency improvement.

No gas fees

Submitting rewards with ore-cli incurs gas fees, which can consume over 50% of the rewards in many cases. Using ore-mine-pool-worker, the gas fees are covered by us, resulting in a 2 times earnings improvement.

Easier maintenance

We handle blockchain interactions, and the worker only needs to fetch tasks, compute, and submit answers, without dealing with complex blockchain interactions, making it easier to maintain.

Security

Only the wallet public key is required, with no risk of private key leakage.

Transparency (Anti-Fraud)

We will record the hash of each task's final computation as an event. The worker will provide an event subscription feature, allowing you to view detailed information for each transaction, including the final hash, worker wallet address, amount, difficulty, etc. This proves that the high-difficulty hash you computed is indeed rewarded to you, ensuring no fraudulent behavior. Unlike other pools, we are fully transparent.

Total earnings improvement

In total: 1.54 * 2 * 2 * 2 = 12.32 times efficiency improvement. (Currently, without staking rewards, the efficiency improvement is 6.16 times)

Fees

pool-fee: 15% (we cover gas fees and server maintenance)

Links

ore-mine-pool on-chain program address: Feei2iwqp9Adcyte1F5XnKzGTFL1VDg4VyiypvoeiJyJ

program-fee account: link

0.1.9 has been released

This update is for linux x86 only. Optimized some hoe performance, it is recommended to update as much as possible.

0.1.8 has been released

server update: 1, the number of wallets supported by a single server is no longer limited, but it is not recommended to exceed 50 2, Add dynamic gas cost support, use: start command increase --dynamic-gas. When this parameter is used, the --priority-fee and --base-jito-tip parameters are overridden

worker update: Optimized the computing power reporting mechanism, and the computing power statistics on the website will be more stable The calculation time of a single task will be considered as cutoff_time. At least 5s will be required to report it. This will reduce the challenge mismatch error in a poor network environment threads parameter support is restored Modified the default values of some parameters to simplify the public pool startup command

0.1.7 has been released

add connection stats, you can visit http://route.oreminepool.top:8080/wallet_stats/ wallet address Check your using a state machine. For example: http://route.oreminepool.top:8080/wallet_stats/Feei2iwqp9Adcyte1F5XnKzGTFL1VDg4VyiypvoeiJyJ If you are using public pools, you will need to update woker. If you are using self-hosted server, you will need to update your self-hosted route server, server, and worker. If the self-hosted route server is used, change the url to the self-hosted route server. Otherwise, change the address of the rul to that of the self-hosted server

0.1.6 has been released

The self-hosted server only needs to add mine-coal to open and mine COAL at the same time

0.1.5 has been released

Update the client and start.sh

Bind core and use numa. If you don't perform as well as the previous version, you can try version 0.1.4 first.

0.1.3 has been released

it just adds stability to the client, if you have stability issues with it, then you need to update.