Bitcoin Forum
November 27, 2026, 03:34:28 PM *
News: Latest Bitcoin Core release: 32.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Send transactions from an online node to an offline node  (Read 109 times)
BlackHatCoiner (OP)
Legendary
*
Offline

Activity: 2198
Merit: 10290


View Profile
January 26, 2025, 09:59:03 AM
Merited by NeuroticFish (2)
 #1

I'm trying a little experiment. What is the best way to share an online node's mempool with an offline node? Is there an internal functionality of Bitcoin Core that allows to easily export and import mempool? Or do I have to iterate through every mempool transaction from the online node, store it somewhere, and then import each one on the offline node?
ABCbits
Legendary
*
Offline

Activity: 3808
Merit: 10529



View Profile
January 26, 2025, 10:04:55 AM
Merited by BlackHatCoiner (8), LoyceV (4), hosemary (4), NeuroticFish (2), Synchronice (2), DdmrDdmr (1), DireWolfM14 (1), Coin-1 (1)
 #2

Is there an internal functionality of Bitcoin Core that allows to easily export and import mempool?

You may want to see these RPC call,
https://bitcoincore.org/en/doc/28.0.0/rpc/blockchain/savemempool/
https://bitcoincore.org/en/doc/28.0.0/rpc/blockchain/importmempool/

BlackHatCoiner (OP)
Legendary
*
Offline

Activity: 2198
Merit: 10290


View Profile
January 26, 2025, 10:35:52 AM
 #3

Exactly what I was looking for!
LoyceV
Legendary
*
Offline

Activity: 4242
Merit: 23251


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
January 26, 2025, 10:38:00 AM
 #4

Exactly what I was looking for!
How do you plan to use this on an offline node? I assume it's meant to create a new transaction: how do you do that?

¡uʍop ǝpᴉsdn pɐǝɥ ɹnoʎ ɥʇᴉʍ ʎuunɟ ʞool no⅄
[MUSIC] The Ballad of LoyceV
BlackHatCoiner (OP)
Legendary
*
Offline

Activity: 2198
Merit: 10290


View Profile
January 26, 2025, 10:48:22 AM
Merited by LoyceV (1)
 #5

How do you plan to use this on an offline node? I assume it's meant to create a new transaction: how do you do that?
It is not meant to create a new transaction, but to mine current ones.  Smiley
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!