So I'm doing this little experiment. What's the easiest way to get an online node's mempool over to an offline node? Is there any built-in feature in Bitcoin Core that lets you export and import the mempool without hassle? Or am I stuck going through each transaction in the mempool from the online node, saving them, and then importing them one by one on the offline node?
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/