Hi !
I run Bitcoin Full Node trough Tor + Electrum with EPS + TrezorWhile setting up Bitcoin core config file i have set walletbroadcast= to 0 as it says in this tutorial
https://github.com/chris-belcher/electrum-personal-server/blob/master/README.md"run tor on the same machine as Electrum Personal Server. Then by default transactions will be broadcast through tor. If running tor, also set walletbroadcast=0 in your bitcoin.conf. This prevents the node from rebroadcasting transactions without tor."
All works well, i receive transactions, but when i want to send a transaction from my Bitcoin core wallet (not electrum) my transaction doesn't go trough, i get a message " unconfirmed, not in memory pool".
I found out that if i change walletbroadcast to 1 my transactions will go trough. I did so, transaction went thought, and even bitcoin core was still connected to only onion nodes.
In forums i was suggested to use these two methods described below, but im very new to this and dont know exactly how to do it, especially #2 method is very confusing to me.
#1 use the RPC functionality to broadcast the transaction with command: sendrawtransaction
#2 use a script like this: https://github.com/laanwj/bitcoin-submittx which seems to have been purposely designed for working with "walletbroadcast=0" configs. Can someone please give me a step by step instruction on how to broadcast transactions trough those methods above when walletbroadcast= is set to 0, or what is the best practice in this case, maybe its just easier to change walletbroadcast= to 1 every time i want to send transaction, then to change back to 0? since changing it to 1 i still somehow connect to onion nodes.