rhminer rhminer是pasc硬分叉后,支持pasc挖矿的一款软件,支持CPU和GPU(NVIDIA)挖矿,同时支持Linux系统和Windows系统
支持算法:PascalCoin 抽水:1% 配置参数: - General options:
- -maxsubmiterrors Stop the miner when a number of consecutive submit errors occured.
- Default is 10 consecutive errors.
- This is usefull when mining into local wallet.
- -extrapayload An extra payload to be added when submiting solution to local wallet.
- -apiport Tcp port of the remote api.
- Default port is 7111.
- Set to 0 to disable server
- -worktimeout No new work timeout. Default is 60 seconds
- -displayspeedtimeout Display mining speeds every x seconds.
- Default is 10
- -logfilename Set the name of the log's filename.
- Note: the log file will be overwritten every time you start rhminer
- -configfile Xml config file containing all config options.
- All other command line options are ignored if config file given.
- -processpriority On windows only. Set miner's process priority.
- 0=Background Process, 1=Low Priority, 2=Normal Priority, 3=High Priority.
- Default is 3.
- WARNING: Changing this value will affect GPU mining.
- -v Log verbosity. From 0 to 3.
- 0 no log, 1 normal log, 2 include warnings. 3 network and silent logs.
- Default is 1
- -list List all gpu in the system
- -completelist Exhaustive list of all devices in the system
- -diff Set local difficulyu. ex: -diff 999
- -processorsaffinity On windows only. Force miner to only run on selected logical core processors.
- ex: -processorsaffinity 0,3 will make the miner run only on logical core #0 and #3.
- WARNING: Changing this value will affect GPU mining.
- -h Display Help
- -help Display Help
- -? Display Help
- Optimizations options:
- -memoryboost This option will enable some memory optimizations that could make the miner slower on some cpu.
- Test it with -testperformance before using it.
- 1 to enable boost. 0 to disable boost.
- Enabled, by default, on cpu with hyperthreading.
- -sseboost This option will enable some sse4 optimizations.
- It could make the miner slower on some cpu.
- Test it with -testperformance before using it.
- 1 to enable SSe4.1 optimizations. 0 to disable.
- Disabled by default.
- Gpu options:
- -cpu Enable the use of CPU to mine.
- ex '-cpu -cputhreads 4' will enable mining on cpu while gpu mining.
- -cputhreads Number of CPU miner threads when mining with CPU. ex: -cpu -cputhreads 4.
- NOTE: adding + before thread count will disable the maximum thread count safety of one thread per core/hyperthread.
- Use this at your own risk.
- Network options:
- -dar Disable auto-reconnect on connection lost.
- Note : The miner will exit uppon loosing connection.
- -s Stratum/wallet server address:port.
- NOTE: You can also use http://address to connect to local wallet.
- -su Stratum user
- -pw Stratum password
- -fo Failover address:port for stratum or local wallet
- -fou Failover user for stratum of a local wallet
- -fop Failover password for stratum or local wallet
- -r Retries connection count for stratum or local wallet
- Debug options:
- -forcesequentialnonce (For debugging purpose) Force search nonce to be sequential, starting at 0.
- WARNING: This will gerate alot of uncle and refused solutions.
- -disablecachednoncereuse (For debugging purpose) Disable RandomHash cached nonce reuse.
- This will lower hashrate substantially.
- -testperformance Run performance test for an amount of seconds.
- -testperformancethreads Amount of threads to use for performance test.
复制代码
CPU矿机的设置方法:
下载rhminer解压,如下图:
选择“stratum……”文件,右键点击“编辑”,挖矿参数设置如下:
- rhminer.exe -v 2 -r 20 -s stratum+tcp://pasc.f2pool.com:15555 -su wallet_address.payload.worker_name -cpu -cputhreads 1
复制代码
上述参数中,重点注意三个参数:
-s 为矿池地址,这里填写F2Pool鱼池的PASC矿池地址:stratum+tcp://pasc.f2pool.com:15555
-su 为您的PASC钱包地址和矿工号信息,如果您的钱包地址中包涵payload信息,使用英文句号“.”隔开,放在钱包地址和矿工号之间,示例:93417-85.616E73656E6C6565.001
-cputhreads 为您设置的挖矿线程数,这个参数根据CPU的实际情况而定,如果您的电脑配置较高,比如为4核8线程的CPU,这里的线程数可以设置为 6,提高CPU的利用率。
挖矿参数设置完毕后,如下图所示:
保存并关闭文件,然后双击,运行这个文件,即开始挖矿,下图是成功开始挖矿的情况。
cpu挖掘的理想最大线程数 - Solo mining examples:
- For Test net solo mining : rhminer.exe -v 2 -r 20 -s http://127.0.0.1:4109 -cpu -cputhreads 1 -gpu 0 -gputhreads 100 -extrapayload HelloWorld
- For Main net solo mining : rhminer.exe -v 2 -r 20 -s http://127.0.0.1:4009 -cpu -cputhreads 1 -gpu 0 -gputhreads 100 -extrapayload HelloWorld
- 注意:如果你没有gpu,请删除-gpu 0 -gputhreads 100
复制代码
GPU矿机设置方法:
通过上述下载链接,下载rhminer,如下图:
选择“stratum……”文件,右键点击“编辑”,挖矿参数设置如下: - hminer.exe -v 2 -r 20 -s stratum+tcp://pasc.f2pool.com:15555 -su 293417-85.616E73656E6C6565.001 -gpu 0,1,2,3,4,5 -gputhreads 400,512,512,512,210,512
复制代码
上述参数中,重点注意四个参数:
-s 为矿池地址,这里填写F2Pool鱼池的PASC矿池地址:stratum+tcp://pasc.f2pool.com:15555
-su 为您的PASC钱包地址和矿工号信息,如果您的钱包地址中包涵payload信息,使用英文句号“.”隔开,放在钱包地址和矿工号之间,示例:93417-85.616E73656E6C6565.001
-gpu 为您指定的需要挖矿的显卡,如果您有多张显卡,可以通过这个参数,指定特定显卡进行挖矿。比如,矿机有6张显卡,全部挖矿,则参数设置为:-gpu 0,1,2,3,4,5 ;如果想要第二张显卡不挖矿,则参数设置为:-gpu 0,2,3,4,5。
-gputhreads 为您的显卡线程数,这个参数需要依据显卡性能来进行配置。可通过显卡的内存,先预先计算一个大概的数值,有个公式可参考:-gputhreads参数=内存值*0.75/8.8。举个例子:如果您在使用1070 8G的显卡,显卡显存为8000,这个数值应为:8000×0.75÷8.8=681,那这张显卡对应的线程数可以先填写681。依次类推,给矿机的每张显卡配置适当的线程数。如果运行挖矿后,程序稳定运行,可以适当在原来的线程数上下进行调整,保证程序不崩溃的前提下,获取最大的挖矿算力。
挖矿参数设置完毕后,如下图所示:
保存并关闭文件,然后双击,运行这个文件,即开始挖矿,下图是成功开始挖矿的情况。
![](https://tzimg.wk588.com/forum/201901/28/150031i9za7za27vvbdob8.jpg)
|