<p>It's an old thread but it might be helpful to someone else.</p>
<p>If you are using a bech32 address (staring with bc1) it does not work, try generating a base58 segwit address (starts with 3).</p>

CC BY-SA 4.0
2024-04-24T00:18:29.803Z
2024-04-24T00:18:29.803Z
mehdixe
<p>I am trying to mine solo.</p>
<p>I have installed <code>BitCoin Core</code> on my Windows box, set up incoming connections</p>
<p><a href="https://i.sstatic.net/c4K0l.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/c4K0l.png" alt="enter image description here" /></a></p>
<p>and wrote in config file <code>&lt;BitCoinStore&gt;/bitcoin.conf</code></p>
<pre><code>server=1
rpcuser=myusername
rpcpassword=mypassword
</code></pre>
<p>Then on Linux box I ran</p>
<pre><code>bfgminer -o http://mywindowsaddress:8333 -u myusername -p mypassword --generate-to myincomingaddress
</code></pre>
<p>and got</p>
<pre><code>[2020-11-13 12:23:23] bfgminer: --generate-to: Invalid address
</code></pre>
<p>Why? What is invalid?</p>
<p>Should I run <code>bitcoind</code> instead of thus GUI on Windows?</p>

CC BY-SA 4.0
2020-11-13T09:44:48.663Z
Did you replace "myincomingaddress" with your actual address?
Pieter Wuille
CC BY-SA 4.0
2020-11-13T11:04:55.680Z
Yes, I took this address from BitcoinCore in section "receive". But I noticed, that it looks different than in examples: all characters are lowercase in mine, while in examples uppercase and lowercase mixed.
Dims
<bitcoin-core><bfgminer>
"Invalid address" when trying solo mine with bfgminer
Dims
# "Invalid address" when trying solo mine with bfgminer

(Asked by: username_0 on 2020-11-13)

I am trying to mine solo.

I have installed `BitCoin Core` on my Windows box, set up incoming connections

[![enter image description here](https://i.sstatic.net/c4K0l.png)](https://i.sstatic.net/c4K0l.png)

and wrote in config file `<BitCoinStore>/bitcoin.conf`

```
server=1
rpcuser=myusername
rpcpassword=mypassword

```

Then on Linux box I ran

```
bfgminer -o http://mywindowsaddress:8333 -u myusername -p mypassword --generate-to myincomingaddress

```

and got

```
[2020-11-13 12:23:23] bfgminer: --generate-to: Invalid address

```

Why? What is invalid?

Should I run `bitcoind` instead of thus GUI on Windows?

**Tags:** bitcoin-core, bfgminer

> **Comments:**
> **username_1**: Did you replace "myincomingaddress" with your actual address?  
> **username_0**: Yes, I took this address from BitcoinCore in section "receive". But I noticed, that it looks different than in examples: all characters are lowercase in mine, while in examples uppercase and lowercase mixed.  

---

## 1 answers

### Answer by username_2 on 2024-04-24. Score: 0

It's an old thread but it might be helpful to someone else.

If you are using a bech32 address (staring with bc1) it does not work, try generating a base58 segwit address (starts with 3).


---

