<p>You will not be able create unconfirmed chain for 300 transactions. Bitcoin core default limit is 25 transactions. In case you modify this parameter on your local node, network will not accept tx chain longer then 25 tx.  You have to rebroadcast transactions again after your first batch (25) confirmed.</p>

CC BY-SA 4.0
2018-07-10T16:45:49.220Z
2018-07-10T16:45:49.220Z
bitaps.com
<pre><code>-limitancestorcount
</code></pre>

<blockquote>
  <p>Do not accept transactions if number of in-mempool ancestors is n or more</p>
</blockquote>

<p>and</p>

<pre><code>-limitdescendantcount
</code></pre>

<blockquote>
  <p>Do not accept transactions if any ancestor would have n or more in-mempool descendants</p>
</blockquote>

<p>This has fixed my problem. Thanks Nate Eldredge</p>

CC BY-SA 4.0
2017-09-06T08:32:36.337Z
2018-07-06T16:25:10.617Z
2018-07-06T16:25:10.617Z
Adrian
<p>I am using bitcoind json rpc api to send bitcoin to multiple bitcoin addresses. I am using sendrawtransaction. When i have 24 unconfirmed payments sent from my account, i can't send anymore because i get this error :</p>

<blockquote>
  <p>64: too-long-mempool-chain</p>
</blockquote>

<p>I have increased the maxmempool to 1500 but it still doesn't fix it.</p>

<pre><code>root@B2:~# bitcoin-cli getmempoolinfo

    {
      "size": 3946,
      "bytes": 1789073,
      "usage": 6043088,
      "maxmempool": 1500000000,
      "mempoolminfee": 0.00000000
    }
</code></pre>

<p>I use Ubuntu on a 32GB RAM , 4TB HDD server.</p>

<p>Any ideas on how to fix it ? I want to be able to create for example 300 unconfirmed transactions and not to receive that error.</p>

CC BY-SA 3.0
2017-09-05T16:53:59.637Z
Have you tried `-limitancestorcount` and/or `-limitdescedantcount`?
Nate Eldredge
CC BY-SA 3.0
2017-09-05T17:17:23.707Z
No. Do i have to put that into the bitcoin.conf ? Thanks
Adrian
CC BY-SA 3.0
2017-09-05T18:02:11.803Z
Either in bitcoin.conf or on the command line.  These are debug/testing type options so if you want to know more you probably have to read the source code.
Nate Eldredge
<bitcoin-core><bitcoind><json-rpc><bitcoin-cli>
64: too-long-mempool-chain
Adrian
# 64: too-long-mempool-chain

(Asked by: username_0 on 2017-09-05)

I am using bitcoind json rpc api to send bitcoin to multiple bitcoin addresses. I am using sendrawtransaction. When i have 24 unconfirmed payments sent from my account, i can't send anymore because i get this error :

64: too-long-mempool-chain

I have increased the maxmempool to 1500 but it still doesn't fix it.
root@B2:~# bitcoin-cli getmempoolinfo

    {
      "size": 3946,
      "bytes": 1789073,
      "usage": 6043088,
      "maxmempool": 1500000000,
      "mempoolminfee": 0.00000000
    }

I use Ubuntu on a 32GB RAM , 4TB HDD server.
Any ideas on how to fix it ? I want to be able to create for example 300 unconfirmed transactions and not to receive that error.

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

> **Comments:**
> **username_1**: Have you tried `-limitancestorcount` and/or `-limitdescedantcount`?  
> **username_0**: No. Do i have to put that into the bitcoin.conf ? Thanks  
> **username_1**: Either in bitcoin.conf or on the command line.  These are debug/testing type options so if you want to know more you probably have to read the source code.  

---

## 2 answers

### Answer by username_2 on 2018-07-10. Score: 5

You will not be able create unconfirmed chain for 300 transactions. Bitcoin core default limit is 25 transactions. In case you modify this parameter on your local node, network will not accept tx chain longer then 25 tx. You have to rebroadcast transactions again after your first batch (25) confirmed.


---

### Answer by username_0 on 2017-09-06. Score: -1

-limitancestorcount


Do not accept transactions if number of in-mempool ancestors is n or more

and
-limitdescendantcount


Do not accept transactions if any ancestor would have n or more in-mempool descendants

This has fixed my problem. Thanks username_1


---

