Bitcoin Forum
May 10, 2024, 08:58:14 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Increase Bitcoin Core Mempool size?  (Read 180 times)
ragnar dannesk gold (OP)
Jr. Member
*
Offline Offline

Activity: 32
Merit: 37


View Profile
November 26, 2019, 12:38:47 AM
 #1

With Bitcoin Core, I am looking at the mempool in my node and it is sitting at 3mb (1,809 transactions).

I am aware of transactions that are unconfirmed (visibile on explorers) but not on my node. Further to this mempool.space has a mempool size currently of 23mb 28,781 (unconfirmed transactions).


I am aware that every mempool is different, but is my core mempool artificially limited to be 1/8 the size of other mempools? Can I change this to have a fuller picture of the network/mempool/unconfirmed transactions?

DBCache is set to 8,000.
1715331494
Hero Member
*
Offline Offline

Posts: 1715331494

View Profile Personal Message (Offline)

Ignore
1715331494
Reply with quote  #2

1715331494
Report to moderator
"This isn't the kind of software where we can leave so many unresolved bugs that we need a tracker for them." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3388
Merit: 6635


Just writing some code


View Profile WWW
November 26, 2019, 12:58:49 AM
Merited by ABCbits (2), bitmover (2), fillippone (2), hugeblack (1)
 #2

Your node's mempool is not being artificially limited. The  mempool size limit is 300 MB.

The discrepancy is likely due to blockchain explorers having long running nodes, well connected nodes, multiple nodes, and less restrictive mempool acceptance rules.

If your node has not been running for a long time, then you will have  fewer transactions in your mempool as you will be missing transactions broadcast while you were offline. If your node isn't as well connected as the services' nodes (them having multiple nodes also helps with that as they can be distributed but record to the same database), then you may be missing some transactions.

And lastly, the most important thing is that those services will run nodes that use a less restrictive mempool acceptance policy. Bitcoin Core by default has a minimum relay fee of 1 sat/vbyte. Then there are also all of the transactions that are considered non-standard. Services will  often reduce or remove these restrictions so that they can show the most transactions as possible. However Bitcoin Core has these restrictions in order to prevent Denial of Service and other attacks.

Even if you were to disable those on your own node, you still need to be very well connected in order to see as many unconfirmed transactions. Your peers will likely still be running with those rules so unless you aren't connected to the people broadcasting those transactions, you won't see them as they get filtered out by all of the other nodes.

ragnar dannesk gold (OP)
Jr. Member
*
Offline Offline

Activity: 32
Merit: 37


View Profile
November 26, 2019, 02:40:11 AM
 #3

Thanks for the reply.

I assumed the mempool was gossiped by nodes on an ongoing basis; I assume I was incorrect and it is only transactions that are recently broadcast that are gossiped between nodes.

I take it then that a node cannot 'request' transactions in the mempool over the network to cross check against? I guess this could be used to drain resources/ddos.

ranochigo
Legendary
*
Online Online

Activity: 2968
Merit: 4177



View Profile
November 26, 2019, 04:57:12 AM
 #4

I take it then that a node cannot 'request' transactions in the mempool over the network to cross check against? I guess this could be used to drain resources/ddos.
If I'm not wrong, as per BIP35, nodes can send a mempool message to each other for updates to their own mempool.

A node could send a mempool message to the other nodes for information of their mempool. The response will be an inv message which gives a full list of the TXID in the mempool.

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

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

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

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

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

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











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











▄▄▄▄█
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!