<p>The RPC cookie file is only for local authentication of <code>bitcoin-cli</code>.</p>

<p>For external applications, you should use <code>rpcauth=</code> lines in bitcoin.conf. A tool for generating these lines given a username and password is in the repository.</p>

CC BY-SA 4.0
2019-08-21T23:45:05.480Z
2019-08-21T23:45:05.480Z
Pieter Wuille
<p>I mine using username and password at the moment but as bitcoin core is changing over to rpccookiefile. My question is, if i use rpccookiefile how do i point my antminers to my local bitcoind 'pool' as the fields on the antminers require username and password ?</p>

<bitcoind><mining-theory><antminer>
using rpccookiefile instead of username and password for antminers
Mike
# using rpccookiefile instead of username and password for antminers

(Asked by: username_0 on 2019-08-21)

I mine using username and password at the moment but as bitcoin core is changing over to rpccookiefile. My question is, if i use rpccookiefile how do i point my antminers to my local bitcoind 'pool' as the fields on the antminers require username and password ?

**Tags:** bitcoind, mining-theory, antminer


---

## 1 answers

### Answer by username_1 on 2019-08-21. Score: 1

The RPC cookie file is only for local authentication of `bitcoin-cli`.

For external applications, you should use `rpcauth=` lines in bitcoin.conf. A tool for generating these lines given a username and password is in the repository.


---

