Post
Topic
Board Mining software (miners)
Re: BFGMiner 5.5.0: CPU/GPU/FPGA/ASIC mining software, GBT+Stratum, RPC, Linux/Win64
by
Danthepermanentman
on 10/01/2018, 20:51:06 UTC
Hi,
I'm trying to solo mine on 2 Bitmain S9's, using BFGMiner.
Do we have to compile BFGMiner, or can we just use the exe provided ?
Cheers,

Dan
S9 isn't supported yet. Ask them to send me docs & sample.

In the meantime, you could run BFGMiner as a stratum proxy on another PC.


Hi Luke,

Thanks for the reply.


Forgive me, I don't fully understand the line, i.e. running BFGMiner as a stratum proxy on another PC.

My goal is to setup a miner with a full node; i.e. I want to be able to add my own transaction to the candidate block being worked on by the S9.   (I also understand that the probability of finding a block that would include our added transaction is slim-to-none; I just want to do it - see it work..)  
If it also means alottery ticket, on the side, then woohoo.

Is the S9 a pool-only device ?

Thanks,

Cheers!

Dan


P.S.  It did work at one point :  https://i.imgur.com/JxYUEyt.png
Any idea?
PXY = Proxy

Same setup should work... What's your issue?


Encouraging...

S9 is offsite so I pointed the URL to
http://mynetwork.net:3333
   and the backup to
   stratum+tcp://mynetwork.net:3333


I opened port 3333 on mynetwork.net to allow 3333 traffic from the off-site's ip


On my pc, I run bitcoind with
Code:
txindex=1
server=1
rpcuser=username
rpcpassword=USerpass1
rpcport=8332
rpcconnect=127.0.0.1
gen=0

then run:

Code:
C:\bfgminer-5.4.2-win64\bfgminer-5.4.2-win64>bfgminer -o http://127.0.0.1:8332 -u username -p USerpass1 --stratum-port=3333 -S bitmain:auto --set btm:model=S9 --no-longpoll


and I get:

Code:
bfgminer version 5.4.2 - Started: [2018-01-10 15:09:11] - [  0 days 00:00:16]
 [M]anage devices [P]ool management [S]ettings [D]isplay options                                         [H]elp [Q]uit
 Pool 0: 127.0.0.1           Diff:1.93T  - GBT   LU:[15:09:11]  User:username
 Block: ...0ecf5579a7b6f1d6  Diff:1.93T (13.82Eh)  Started: [15:09:11]  I:?
 ST:4  F:0  NB:1  AS:0  BW:[199/  0kB/s]  E:0.00  BS:0

-----------------------------------------------------------------------------------------------------------------------
 PXY 0:       |   0.0/  0.0/  0.0 h/s | A:0 R:0+0(none) HW:0/none
 PXY 1:       |   0.0/  0.0/  0.0 h/s | A:0 R:0+0(none) HW:0/none
-----------------------------------------------------------------------------------------------------------------------
 [2018-01-10 15:09:03] Waiting for devices; press 'M+' to add, or 'Q' to quit
 [2018-01-10 15:09:03] Added local bitcoin RPC server on 127.0.0.1:8332 as pool 1
 [2018-01-10 15:09:03] Probing for an alive pool
 [2018-01-10 15:09:11] Now using coinbase address 1KYKLWeBzzqSuaKMnhrXFCsCgQaHXU4sU8, provided by pool 1
 [2018-01-10 15:09:11] Network difficulty changed to 1.93T (13.82Eh)
 [2018-01-10 15:09:11] Pool 0 http://127.0.0.1:8332 alive
 [2018-01-10 15:09:11] Pool 1 http://127.0.0.1:8332/#getcbaddr#allblocks alive

Then they get sick.   During this time the 3rd backup (slushpool) shows degrading hashrates until zero - shows my pc does indeed take control of the miners...just no hashing..