Bitcoin Forum
September 01, 2024, 06:24:16 AM *
News: Latest Bitcoin Core release: 27.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: after EPS setup cant send transactions from Bitcoin Core wallet  (Read 38 times)
curious droid (OP)
Jr. Member
*
Offline Offline

Activity: 45
Merit: 17


View Profile
May 18, 2021, 01:00:30 PM
Merited by hugeblack (2)
 #1

Hi !
I run Bitcoin Full Node trough Tor + Electrum with EPS + Trezor
While 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
Quote
"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.
ranochigo
Legendary
*
Offline Offline

Activity: 3038
Merit: 4418


Crypto Swap Exchange


View Profile
May 18, 2021, 03:02:03 PM
Merited by hugeblack (2)
 #2

#1 use the RPC functionality to broadcast the transaction with command: sendrawtransaction
In your terminal, type in this:
Code:
bitcoin-cli getrawtransaction TXID

After that, copy the string and type in this:
Code:
bitcoin-cli sendrawtransaction PASTEHERE

Replacing each of them accordingly of course.
#2 use a script like this: https://github.com/laanwj/bitcoin-submittx which seems to have been purposely designed for working with [/b]"walletbroadcast=0" configs. [/b]
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.
The tool basically just pushes the TX to the peers that it sees, usage is included in the readme. Just using walletbroadcast=1 should be fine. I don't think there is any privacy repercussions.

Please avoid creating so many threads for the same issue. You can just continue from your first.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
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!