persistmempool=0
but it starts with an empty mempool on startup.
How can I get the full list of unconfirmed transactions on a restart?
-
mbh86 commented at 5:45 pm on April 28, 2022: noneLet’s say I shutdown my bitcoin node for one hour, the default behaviour at the startup is to load the file mempool.dat but all transactions that were broadcasted during this outage will not appear. I tried to disable the saving and loading with
-
sipa commented at 5:50 pm on April 28, 2022: memberThere is no way to do that with the protocol currently implemented by Bitcoin Core. There is the BIP35 “mempool” message, but it is currently only available when explicitly enabling peer filtering (BIP111), because of its enormous DoS risk.
-
MarcoFalke commented at 6:00 pm on April 28, 2022: memberMaybe this is best solved outside of the P2P protocol. It shouldn’t be too hard to write a script to dump the mempool on one of your other nodes (or a centralized service, if you don’t have other nodes) and then import the dump?
-
MarcoFalke added the label Mempool on Apr 28, 2022
-
MarcoFalke added the label Questions and Help on Apr 28, 2022
-
sipa commented at 6:01 pm on April 28, 2022: member@MarcoFalke Well, or copy the mempool.dat file.
-
MarcoFalke closed this on Apr 29, 2022
-
mbh86 commented at 8:10 am on April 29, 2022: noneThanks a lot @sipa @MarcoFalke.
-
DrahtBot locked this on Apr 29, 2023
Labels
Mempool
Questions and Help
github-metadata-mirror
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-11-22 03:12 UTC
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-11-22 03:12 UTC
This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me
More mirrored repositories can be found on mirror.b10c.me