Bitcoin Forum
April 26, 2024, 06:12:25 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: What happens if mempool grows huge?  (Read 513 times)
boogersguy (OP)
Newbie
*
Offline Offline

Activity: 21
Merit: 2


View Profile
December 08, 2017, 10:54:16 AM
 #1

Noticing the mempool is around 175MB right now and wondering how bitcoin core nodes handle the case if it grows too large (500mb - 1gb).  Is there a hard limit at which point all new transactions are basically rejected? Or does the software flush older transactions in order to accept new.  What is the MB limit?

"With e-currency based on cryptographic proof, without the need to trust a third party middleman, money can be secure and transactions effortless." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
DooMAD
Legendary
*
Offline Offline

Activity: 3766
Merit: 3100


Leave no FUD unchallenged


View Profile
December 08, 2017, 02:29:29 PM
Last edit: December 08, 2017, 03:03:17 PM by DooMAD
Merited by ABCbits (1)
 #2

Technically, there's no "limit" in the same way as there's no single, unified "mempool".  Each node maintains its own individual mempool, so all depends on what each individual node can cope with.  Users with full nodes can change their preferences in that regard via customised configurations.  However, the default setting for most nodes is 300MB, so we should be a little concerned if we approach that size on average across the network.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
pebwindkraft
Sr. Member
****
Offline Offline

Activity: 257
Merit: 343


View Profile
December 08, 2017, 06:42:21 PM
 #3

Pieter Wuille explained in a stack exchange task, that since version 12 the bitcoin core software can expire transactions, which are longer than 72 hours in the mempool. This would keep the mempool fresh.
PVminer
Jr. Member
*
Offline Offline

Activity: 43
Merit: 1


View Profile
December 08, 2017, 08:31:18 PM
 #4

However, the default setting for most nodes is 300MB, so we should be a little concerned if we approach that size on average across the network.

There is no danger except a "danger" of large fees. Bitcoin Core will remove the low-paying transaction from the mempool so there is no way the memory gets exhausted. And actually, we crossed the 300 MB mark. My node (configured up to 600 MB) is currently at 490 MB usage.
mda
Member
**
Offline Offline

Activity: 144
Merit: 13


View Profile
December 08, 2017, 10:55:21 PM
 #5

If bitcoin network becomes congested again then another chain is split from the last one (or some kind of lottery is employed) and so on.
jnano
Member
**
Offline Offline

Activity: 301
Merit: 74


View Profile
December 09, 2017, 06:19:51 AM
 #6

And actually, we crossed the 300 MB mark. My node (configured up to 600 MB) is currently at 490 MB usage.
Do different nodes use different memory formats? The stat sites I've checked, like Johoe's or BTC.com, peaked at just approximately 180MB.
PVminer
Jr. Member
*
Offline Offline

Activity: 43
Merit: 1


View Profile
December 09, 2017, 08:16:14 AM
 #7

And actually, we crossed the 300 MB mark. My node (configured up to 600 MB) is currently at 490 MB usage.
Do different nodes use different memory formats? The stat sites I've checked, like Johoe's or BTC.com, peaked at just approximately 180MB.


The node memory usage is larger than the raw transactions size  due to some bookkeeping overhead. The sites report raw size while nodes have real usage limits. 300 MB standard limit is the real one, including the overhead and it has been crossed already, though it is slowly trending down (445 MB right now for my node).
btctousd81
Sr. Member
****
Offline Offline

Activity: 434
Merit: 270


View Profile WWW
December 10, 2017, 03:49:25 AM
 #8

more memory gets alloted for mempool.,
i read in source , there is limit of ~400 mb., but it does not stops bitcoin-core to use more memory in case of 400 mb gets full.

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!