Author

Topic: 64: too-long-mempool-chain (Read 251 times)

newbie
Activity: 15
Merit: 4
May 15, 2018, 12:17:54 AM
#7
Correct. Just restart without -reindex

Than you for your replay!

I will restart bitcoind without -reindex, and then try to sendrawtransaction agan.


staff
Activity: 3458
Merit: 6793
Just writing some code
May 15, 2018, 12:09:18 AM
#6
No need to do that. This has nothing to do with the databases.
Does this  means that there is no need for adding reindex options ?
  2. Restart bitcoind (← without adding -reindex options)
Correct. Just restart without -reindex
newbie
Activity: 15
Merit: 4
May 15, 2018, 12:02:50 AM
#5
Sure, you can do that, but that does not mean that your transactions will actually be relayed across the network. Just because you have this in your config does not mean that your peers will so they likely won't accept any transactions once you reach the default limit. Your local config only applies to your node. Changing this just means the transactions will sit in your node's mempool (and not be relayed across the network). They won't even be rebroadcast by your node because nodes don't do that.
Tank you for the explanation. I understand.
If I override the default limit , this applies only to my node.

Instead of trying to get long unconfirmed transaction chains to be relayed, you should be rethinking why you are generating long unconfirmed transaction chains and thinking of ways that you can avoid making long unconfirmed transaction chains instead.
Thank you for your advice. I will try to improve it.

No need to do that. This has nothing to do with the databases.
Does this  means that there is no need for adding reindex options ?
  2. Restart bitcoind (← without adding -reindex options)
staff
Activity: 3458
Merit: 6793
Just writing some code
May 14, 2018, 11:20:08 PM
#4
Can I override the default limit of 25 unconfirmed transactions by adding to cofiguration file as below.

  1.  Additionally write to configuration file.
  bitcoin.conf-----------------------
  limitancestorcount=1000 ← e.g. 1000
  limitdescedantcount=1000 ← e.g. 1000
  ----------------------------------
Sure, you can do that, but that does not mean that your transactions will actually be relayed across the network. Just because you have this in your config does not mean that your peers will so they likely won't accept any transactions once you reach the default limit. Your local config only applies to your node. Changing this just means the transactions will sit in your node's mempool (and not be relayed across the network). They won't even be rebroadcast by your node because nodes don't do that.

Instead of trying to get long unconfirmed transaction chains to be relayed, you should be rethinking why you are generating long unconfirmed transaction chains and thinking of ways that you can avoid making long unconfirmed transaction chains instead.

 2. Restart bitcoind with -reindex options.
No need to do that. This has nothing to do with the databases.
newbie
Activity: 15
Merit: 4
May 14, 2018, 09:44:23 PM
#3
I believe that means there are too many "unconfirmed" parent transactions... You can try using the suggestion here: https://bitcoin.stackexchange.com/questions/59178/64-too-long-mempool-chain

By using the -limitancestorcount and/or -limitdescedantcount commandline arguments, you can override the default limit of 25 unconfirmed transactions.
Thank you for your answer.

Surely you are right.
There are too many "unconfirmed" parent transactions.

Can I override the default limit of 25 unconfirmed transactions by adding to cofiguration file as below.

  1.  Additionally write to configuration file.
  bitcoin.conf-----------------------
  limitancestorcount=1000 ← e.g. 1000
  limitdescedantcount=1000 ← e.g. 1000
  ----------------------------------
  2. Restart bitcoind with -reindex options.

Then try to sendrawtransaction again.

How about this ?
HCP
legendary
Activity: 2086
Merit: 4361
May 14, 2018, 06:03:32 AM
#2
I believe that means there are too many "unconfirmed" parent transactions... You can try using the suggestion here: https://bitcoin.stackexchange.com/questions/59178/64-too-long-mempool-chain

By using the -limitancestorcount and/or -limitdescedantcount commandline arguments, you can override the default limit of 25 unconfirmed transactions.
newbie
Activity: 15
Merit: 4
May 14, 2018, 01:30:34 AM
#1
I'm running full node bitcoin server and use bitcoin-core RPC library.

I sent transaction by using rpc command 'sendrawtransaction'
but the result returned err as below.

64: too-long-mempool-chain

So I checked memopool by using rpc command 'getmempoolinfo', then returned as follows.
{
  "size": 0,
  "bytes": 0,
  "usage": 96,
  "maxmempool": 300000000,
  "mempoolminfee": 0.00000000
}

What should I do for sending transaction successfully ?

Additinal information.
I use Bitcoin Core : version 0.13
Jump to: