<blockquote>
<p><strong>when I use a curl command to send json-rpc requst. I get prompted for a username and password but afterwards I get no response.</strong></p>
</blockquote>
<p>Perhaps your node is busy with Initial Block Download (IBD) and <a href="https://unix.stackexchange.com/questions/94604/does-curl-have-a-timeout">curl has a time-out</a> whose default is shorter than <a href="https://bitcoin.stackexchange.com/a/121733/13866">needed for Bitcoin core under load</a></p>
<blockquote>
<p><strong>Do I need to run a full node in order to do Bitcoin mining?</strong></p>
</blockquote>
<p>You mainly need to spend several thousand dollars (or local equivalent) on the latest bleeding-edge ASICs and support infrastructure. I can't think of any reason why a pruning node wouldn't be adequate for use in conjunction with mining. A pruning node also needs to download the entire blockchain so this probably  doesn't help with response timeouts, just disk space.</p>

CC BY-SA 4.0
2024-08-04T08:41:28.883Z
2024-08-04T09:24:46.223Z
2024-08-04T09:24:46.223Z
RedGrittyBrick
<p>when I use a curl command to send json-rpc requst. I get prompted for a username and password  but afterwards I get no response.</p>
<p>Do I need to run a full node in order to do Bitcoin mining?</p>

<bitcoin-core><json-rpc>
using curl to access the API
romeo80249
# using curl to access the API

(Asked by: username_0 on 2024-08-03)

when I use a curl command to send json-rpc requst. I get prompted for a username and password but afterwards I get no response.

Do I need to run a full node in order to do Bitcoin mining?

**Tags:** bitcoin-core, json-rpc


---

## 1 answers

### Answer by username_1 on 2024-08-04. Score: 0

> **when I use a curl command to send json-rpc requst. I get prompted for a username and password but afterwards I get no response.**

Perhaps your node is busy with Initial Block Download (IBD) and [curl has a time-out](https://unix.stackexchange.com/questions/94604/does-curl-have-a-timeout) whose default is shorter than [needed for Bitcoin core under load](https://bitcoin.stackexchange.com/a/121733/13866)

> **Do I need to run a full node in order to do Bitcoin mining?**

You mainly need to spend several thousand dollars (or local equivalent) on the latest bleeding-edge ASICs and support infrastructure. I can't think of any reason why a pruning node wouldn't be adequate for use in conjunction with mining. A pruning node also needs to download the entire blockchain so this probably doesn't help with response timeouts, just disk space.


---

