<p>Bitcoin Core doesn't directly allow for stratum miners to connect, you need a middleman proxy to translate the two mining methods used by Bitcoin Core and <code>cgminer</code> on the Antminer S3. This is simplest with <code>bfgminer</code>.</p>

<p>Run <a href="http://bfgminer.org/" rel="nofollow">BFGminer</a> on the same computer as Bitcoin Core with the following configuation, it won't need any further settings altered or configured (it gets the RPC password automatically on launch). </p>

<pre><code>bfgminer --stratum-port=3333
</code></pre>

<p>BFGminer will launch, and retrieve the information needed for solo mining. </p>

<pre><code>Now using coinbase address 1PkNBPBGEmvoMFbwRT5ky3XXVNstJnJ4c1, provided by pool 0
Network difficulty changed to 49.4G (353.6P)
Pool 0 http://localhost:8332/#getcbaddr#allblocks alive
Long-polling activated for http://localhost:8332/#getcbaddr#allblocks (getblocktemplate)
Added local bitcoin RPC server on port 8332 as pool 0
Probing for an alive pool
Pool 0 http://localhost:8332/#getcbaddr#allblocks alive  
</code></pre>

<p>                                                                        </p>

<p>You're now ready to solo mine against Bitcoin Core, you just have to point your antminer at the IP address of the computer running <code>BFGminer</code>, and the miner should show up in the top section of BFGminer with its hashrate showing as "PXY" (stratum proxy). Any blocks will be paid out to the coinbase address shown in <code>BFGminer</code>, which is a new one generated from your wallet. </p>

CC BY-SA 3.0
2017-03-02T19:12:31.697Z
This simply doesn't work -it makes sense that it would but something is missing.
user46824
CC BY-SA 3.0
2015-07-09T23:46:35.000Z
2015-07-09T23:46:35.000Z
Claris
<p>The previous method will work on Windows 10 as well but the missing thing is a stratum proxy.  You must run a proxy for the stratum to connect with the rpc.</p>

CC BY-SA 3.0
2018-01-21T07:45:31.173Z
2018-01-21T07:45:31.173Z
Mark Hartman
<p>Hy there,
i do not exactly know if i am right with my setup, so please be patient with my questions as a noob.
I have a Bitmain S3 with latest Firmware on the ASIC, and i do not exactly know how to configure the ASIC for solo mining in my LAN.</p>

<p>1.) I have a linux bitcoind server in my lan with the IP 192.168.1.1</p>

<p>2.) I have an ASIC bitmain S3 with the IP 192.168.2.2</p>

<p>3.) I have a bitcoin.conf as follows</p>

<pre><code>server=1
daemon=1
listen=1
rpcuser=USER
rpcpassword=SOMEWILDDIGITS
rpcallowip=127.0.0.1
rpcallowip=192.168.2.2
rpcport=8332
</code></pre>

<p>4.) What statements do i need in the S3 configuration field? Do i need the <strong>rpcsuser+rpcpwd+btcaaddress</strong> or do i just need the <strong>btcaddress</strong>?</p>

<p>Thanks in advance for your awnsers!!!</p>

<server><asic>
How to setup bitcoind 10.2 for solo mining on LAN with Bitmain S3
user27299
# How to setup bitcoind 10.2 for solo mining on LAN with Bitmain S3

(Asked by: username_0 on 2015-07-09)

Hy there,
i do not exactly know if i am right with my setup, so please be patient with my questions as a noob.
I have a Bitmain S3 with latest Firmware on the ASIC, and i do not exactly know how to configure the ASIC for solo mining in my LAN.

1.) I have a linux bitcoind server in my lan with the IP 192.168.1.1

2.) I have an ASIC bitmain S3 with the IP 192.168.2.2

3.) I have a bitcoin.conf as follows

```
server=1
daemon=1
listen=1
rpcuser=USER
rpcpassword=SOMEWILDDIGITS
rpcallowip=127.0.0.1
rpcallowip=192.168.2.2
rpcport=8332

```

4.) What statements do i need in the S3 configuration field? Do i need the **rpcsuser+rpcpwd+btcaaddress** or do i just need the **btcaddress**?

Thanks in advance for your awnsers!!!

**Tags:** server, asic


---

## 2 answers

### Answer by username_1 on 2015-07-09. Score: 2

Bitcoin Core doesn't directly allow for stratum miners to connect, you need a middleman proxy to translate the two mining methods used by Bitcoin Core and `cgminer` on the Antminer S3. This is simplest with `bfgminer`.

Run [BFGminer](http://bfgminer.org/) on the same computer as Bitcoin Core with the following configuation, it won't need any further settings altered or configured (it gets the RPC password automatically on launch).

```
bfgminer --stratum-port=3333

```

BFGminer will launch, and retrieve the information needed for solo mining.

```
Now using coinbase address 1PkNBPBGEmvoMFbwRT5ky3XXVNstJnJ4c1, provided by pool 0
Network difficulty changed to 49.4G (353.6P)
Pool 0 http://localhost:8332/#getcbaddr#allblocks alive
Long-polling activated for http://localhost:8332/#getcbaddr#allblocks (getblocktemplate)
Added local bitcoin RPC server on port 8332 as pool 0
Probing for an alive pool
Pool 0 http://localhost:8332/#getcbaddr#allblocks alive  

```

You're now ready to solo mine against Bitcoin Core, you just have to point your antminer at the IP address of the computer running `BFGminer`, and the miner should show up in the top section of BFGminer with its hashrate showing as "PXY" (stratum proxy). Any blocks will be paid out to the coinbase address shown in `BFGminer`, which is a new one generated from your wallet.

> **Comments:**
> **username_2**: This simply doesn't work -it makes sense that it would but something is missing.  

---

### Answer by username_3 on 2018-01-21. Score: 0

The previous method will work on Windows 10 as well but the missing thing is a stratum proxy. You must run a proxy for the stratum to connect with the rpc.


---

