Bitcoin Forum
April 19, 2024, 01:14:47 PM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: 64: too-long-mempool-chain  (Read 232 times)
tsubasa1380 (OP)
Newbie
*
Offline Offline

Activity: 15
Merit: 4


View Profile
May 14, 2018, 06:30:34 AM
Last edit: May 14, 2018, 06:49:47 AM by tsubasa1380
 #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
1713532487
Hero Member
*
Offline Offline

Posts: 1713532487

View Profile Personal Message (Offline)

Ignore
1713532487
Reply with quote  #2

1713532487
Report to moderator
The grue lurks in the darkest places of the earth. Its favorite diet is adventurers, but its insatiable appetite is tempered by its fear of light. No grue has ever been seen by the light of day, and few have survived its fearsome jaws to tell the tale.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713532487
Hero Member
*
Offline Offline

Posts: 1713532487

View Profile Personal Message (Offline)

Ignore
1713532487
Reply with quote  #2

1713532487
Report to moderator
1713532487
Hero Member
*
Offline Offline

Posts: 1713532487

View Profile Personal Message (Offline)

Ignore
1713532487
Reply with quote  #2

1713532487
Report to moderator
1713532487
Hero Member
*
Offline Offline

Posts: 1713532487

View Profile Personal Message (Offline)

Ignore
1713532487
Reply with quote  #2

1713532487
Report to moderator
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
May 14, 2018, 11:03:32 AM
Merited by achow101 (2), ABCbits (2)
 #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.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
tsubasa1380 (OP)
Newbie
*
Offline Offline

Activity: 15
Merit: 4


View Profile
May 15, 2018, 02:44:23 AM
 #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 ?
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3374
Merit: 6511


Just writing some code


View Profile WWW
May 15, 2018, 04:20:08 AM
Merited by ABCbits (1)
 #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.

tsubasa1380 (OP)
Newbie
*
Offline Offline

Activity: 15
Merit: 4


View Profile
May 15, 2018, 05: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)
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3374
Merit: 6511


Just writing some code


View Profile WWW
May 15, 2018, 05: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

tsubasa1380 (OP)
Newbie
*
Offline Offline

Activity: 15
Merit: 4


View Profile
May 15, 2018, 05: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.


Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!