Luke-Jr (OP)
Legendary
Offline
Activity: 2576
Merit: 1185
|
 |
February 28, 2015, 12:36:30 AM |
|
Hi Luke, I would like to use my multi-core/clusters and special coprocessors for mining. I would like to write my special drivers (CPU/cluster based). Where is in the source code I should make change or start from? Thanks, John
If your system supports OpenCL already, you may be able to just replace CL_DEVICE_TYPE_GPU in ocl.c If it's similar enough to the existing CPU mining, driver-cpu.c may be the place to hook into the CPU mining stuff. If it needs an entirely new driver, the HACKING document is a good reference. Started using BFGMiner with my KNCMINER Jupiter
is there anyway to temporarily disable mining within the software?
Like Pause mining ?
See README.
|
|
|
|
|
|
|
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
|
|
|
adaseb
Legendary
Offline
Activity: 3598
Merit: 1639
|
 |
February 28, 2015, 02:17:42 AM |
|
Hi Luke, I would like to use my multi-core/clusters and special coprocessors for mining. I would like to write my special drivers (CPU/cluster based). Where is in the source code I should make change or start from? Thanks, John
If your system supports OpenCL already, you may be able to just replace CL_DEVICE_TYPE_GPU in ocl.c If it's similar enough to the existing CPU mining, driver-cpu.c may be the place to hook into the CPU mining stuff. If it needs an entirely new driver, the HACKING document is a good reference. Started using BFGMiner with my KNCMINER Jupiter
is there anyway to temporarily disable mining within the software?
Like Pause mining ?
See README. I read both the README and README.ASIC and there is nothing about pausing or stopping mining.
|
|
|
|
Luke-Jr (OP)
Legendary
Offline
Activity: 2576
Merit: 1185
|
 |
February 28, 2015, 02:40:59 AM |
|
Hi Luke, I would like to use my multi-core/clusters and special coprocessors for mining. I would like to write my special drivers (CPU/cluster based). Where is in the source code I should make change or start from? Thanks, John
If your system supports OpenCL already, you may be able to just replace CL_DEVICE_TYPE_GPU in ocl.c If it's similar enough to the existing CPU mining, driver-cpu.c may be the place to hook into the CPU mining stuff. If it needs an entirely new driver, the HACKING document is a good reference. Started using BFGMiner with my KNCMINER Jupiter
is there anyway to temporarily disable mining within the software?
Like Pause mining ?
See README. I read both the README and README.ASIC and there is nothing about pausing or stopping mining. --sched-start <arg> Set a time of day in HH:MM to start mining (a once off without a stop time) --sched-stop <arg> Set a time of day in HH:MM to stop mining (will quit without a start time) You can also manually either disable all devices (individually) or disable all pools.
|
|
|
|
adaseb
Legendary
Offline
Activity: 3598
Merit: 1639
|
 |
February 28, 2015, 03:13:38 AM |
|
Hi Luke, I would like to use my multi-core/clusters and special coprocessors for mining. I would like to write my special drivers (CPU/cluster based). Where is in the source code I should make change or start from? Thanks, John
If your system supports OpenCL already, you may be able to just replace CL_DEVICE_TYPE_GPU in ocl.c If it's similar enough to the existing CPU mining, driver-cpu.c may be the place to hook into the CPU mining stuff. If it needs an entirely new driver, the HACKING document is a good reference. Started using BFGMiner with my KNCMINER Jupiter
is there anyway to temporarily disable mining within the software?
Like Pause mining ?
See README. I read both the README and README.ASIC and there is nothing about pausing or stopping mining. --sched-start <arg> Set a time of day in HH:MM to start mining (a once off without a stop time) --sched-stop <arg> Set a time of day in HH:MM to stop mining (will quit without a start time) You can also manually either disable all devices (individually) or disable all pools. I see. How do I run this from the command terminal. /etc/init.d/bfgminer --sched-stop doesn't work.
|
|
|
|
hurricandave
Legendary
Offline
Activity: 966
Merit: 1003
|
 |
February 28, 2015, 03:33:06 AM |
|
Set a time of day in HH:MM to stop mining (will quit without a start time)
|
|
|
|
movellan
|
 |
March 02, 2015, 11:43:15 PM |
|
Have been using BFGMiner 5.0 with Bitcoin Core 9.3 to do some solo mining. Just switched to the new 10.0 Core and now BFG doesn't see any pool available. Using same "bitcoin-qt.exe -server" command to run Bitcoin. What am I missing? TIA.
|
|
|
|
Luke-Jr (OP)
Legendary
Offline
Activity: 2576
Merit: 1185
|
 |
March 03, 2015, 12:48:23 AM |
|
Have been using BFGMiner 5.0 with Bitcoin Core 9.3 to do some solo mining. Just switched to the new 10.0 Core and now BFG doesn't see any pool available. Using same "bitcoin-qt.exe -server" command to run Bitcoin. What am I missing? TIA. You mean 0.10, which had release notes explaining that it included BIP66, and also that this means you need to upgrade your miner... BFGMiner 5.1's release notes also mentioned the need to upgrade.
|
|
|
|
movellan
|
 |
March 03, 2015, 10:11:43 AM |
|
Have been using BFGMiner 5.0 with Bitcoin Core 9.3 to do some solo mining. Just switched to the new 10.0 Core and now BFG doesn't see any pool available. Using same "bitcoin-qt.exe -server" command to run Bitcoin. What am I missing? TIA. You mean 0.10, which had release notes explaining that it included BIP66, and also that this means you need to upgrade your miner... BFGMiner 5.1's release notes also mentioned the need to upgrade. Thank you Luke-Jr. BFG 5.10 did the trick.
|
|
|
|
JohnS2k
Newbie
Offline
Activity: 2
Merit: 0
|
 |
March 03, 2015, 02:53:17 PM |
|
Hi Luke, Many thanks. May I ask what is the quick test to know that my system is practically useful? I mean how fast it should be as I read in the CPU README, you said it not worth it to try. As I am new to bitcoin miner, please advice what I would expect and should do/do not. Thanks, John. Hi Luke, I would like to use my multi-core/clusters and special coprocessors for mining. I would like to write my special drivers (CPU/cluster based). Where is in the source code I should make change or start from? Thanks, John
If your system supports OpenCL already, you may be able to just replace CL_DEVICE_TYPE_GPU in ocl.c If it's similar enough to the existing CPU mining, driver-cpu.c may be the place to hook into the CPU mining stuff. If it needs an entirely new driver, the HACKING document is a good reference.
|
|
|
|
Luke-Jr (OP)
Legendary
Offline
Activity: 2576
Merit: 1185
|
 |
March 03, 2015, 03:35:27 PM |
|
Many thanks. May I ask what is the quick test to know that my system is practically useful? I mean how fast it should be as I read in the CPU README, you said it not worth it to try. As I am new to bitcoin miner, please advice what I would expect and should do/do not. Thanks, John. Bitcoin mining with a CPU, no matter what kind of CPU, will never be practically useful for more than testing.
|
|
|
|
j1pvt
Newbie
Offline
Activity: 27
Merit: 0
|
 |
March 05, 2015, 01:37:25 PM |
|
5.1 update problem HTTP request failed: Protocol "stratum+tcp" not supported or disabled in libcurl easyminer running BFL machine.
|
|
|
|
Luke-Jr (OP)
Legendary
Offline
Activity: 2576
Merit: 1185
|
 |
March 05, 2015, 01:45:41 PM |
|
5.1 update problem HTTP request failed: Protocol "stratum+tcp" not supported or disabled in libcurl easyminer running BFL machine.
This message is normal (libcurl does not support stratum, so BFG uses its own). Is there an actual problem?
|
|
|
|
j1pvt
Newbie
Offline
Activity: 27
Merit: 0
|
 |
March 05, 2015, 03:14:10 PM |
|
5.1 update problem HTTP request failed: Protocol "stratum+tcp" not supported or disabled in libcurl easyminer running BFL machine.
This message is normal (libcurl does not support stratum, so BFG uses its own). Is there an actual problem? Will not connect after 5.1 update Will not connect to ghash pool Been running with no hitches on the same settings for over a year now Updated this morning and get this error code , wont connect.
|
|
|
|
Luke-Jr (OP)
Legendary
Offline
Activity: 2576
Merit: 1185
|
 |
March 05, 2015, 03:36:23 PM |
|
5.1 update problem HTTP request failed: Protocol "stratum+tcp" not supported or disabled in libcurl easyminer running BFL machine.
This message is normal (libcurl does not support stratum, so BFG uses its own). Is there an actual problem? Will not connect after 5.1 update Will not connect to ghash pool Been running with no hitches on the same settings for over a year now Updated this morning and get this error code , wont connect. Can you upload a full debug log to Google Drive and send me a link? bfgminer --debuglog --log-file debug.log
|
|
|
|
hurricandave
Legendary
Offline
Activity: 966
Merit: 1003
|
 |
March 05, 2015, 04:27:17 PM |
|
Ghash is possibly under ddos attack since yesterday.
|
|
|
|
Luke-Jr (OP)
Legendary
Offline
Activity: 2576
Merit: 1185
|
 |
March 05, 2015, 04:44:10 PM Last edit: March 05, 2015, 05:35:49 PM by Luke-Jr |
|
Ghash is possibly under ddos attack since yesterday.
Good point... Eligius received notification that we will be constantly under DDoS as well (although wizkid057 has things setup well enough that we don't even really notice).
|
|
|
|
hurricandave
Legendary
Offline
Activity: 966
Merit: 1003
|
 |
March 05, 2015, 04:48:51 PM |
|
BTC Guild just posted its under attack as well.
|
|
|
|
j1pvt
Newbie
Offline
Activity: 27
Merit: 0
|
 |
March 06, 2015, 07:44:27 AM |
|
5.1 update problem HTTP request failed: Protocol "stratum+tcp" not supported or disabled in libcurl easyminer running BFL machine.
This message is normal (libcurl does not support stratum, so BFG uses its own). Is there an actual problem? Will not connect after 5.1 update Will not connect to ghash pool Been running with no hitches on the same settings for over a year now Updated this morning and get this error code , wont connect. Can you upload a full debug log to Google Drive and send me a link? bfgminer --debuglog --log-file debug.log Thank you Luke, The problem seems to have miraculously subsided. Left the miner overnight on retry at 5 minute intervals and by morning it had reconnected and was hashing...... ?!? So all good for now and I will def do a log for you if it happens again Many thanks.
|
|
|
|
Mikestang
Legendary
Offline
Activity: 1274
Merit: 1000
|
 |
March 09, 2015, 07:50:45 PM |
|
--request-diff <arg> does not appear to function for me, where <arg> has been 1.0, 2.0, 2, 6 in my efforts to get it working. No matter what value I input the pool starts me at 1k difficulty. Would it depend on the pool I'm connecting to whether or not that command gets accepted? The difficulty auto-adjusts down after several minutes, but I would like to avoid that period of auto adjustment. Using a single nanofury usb stick. Thanks.
|
|
|
|
Luke-Jr (OP)
Legendary
Offline
Activity: 2576
Merit: 1185
|
 |
March 09, 2015, 08:22:27 PM |
|
--request-diff <arg> does not appear to function for me, where <arg> has been 1.0, 2.0, 2, 6 in my efforts to get it working. No matter what value I input the pool starts me at 1k difficulty. Would it depend on the pool I'm connecting to whether or not that command gets accepted? The difficulty auto-adjusts down after several minutes, but I would like to avoid that period of auto adjustment. Using a single nanofury usb stick. Thanks.
It's just a request. Pools can just ignore it (and most do).
|
|
|
|
|