Bitcoin Forum
May 11, 2024, 06:16:56 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Send transaction from Bitcoin Core wallet when config file has walletbroadcast=0  (Read 114 times)
curious droid (OP)
Jr. Member
*
Offline Offline

Activity: 45
Merit: 17


View Profile
May 17, 2021, 11:02:51 PM
 #1

Hi ! I use Bitcoin full node running trough Tor + Electrum with EPS
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 googled and found out that if i set 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.
My Questions are:
1. If even with walletbroadcast=1 i manage to connect to onion nodes, then what was the point of setting it to walletbroadcast=0 in the first place?
2. Do i compromise privacy when walletbroadcast is set to 0?
3. Is there a way sending transaction from Bitcoin core wallet with walletbroadcast=0 or i need to change it back and forth every time i want to send a transaction from bitcoin wallet.
Can someone please help me to understand how all this works?
1715451416
Hero Member
*
Offline Offline

Posts: 1715451416

View Profile Personal Message (Offline)

Ignore
1715451416
Reply with quote  #2

1715451416
Report to moderator
1715451416
Hero Member
*
Offline Offline

Posts: 1715451416

View Profile Personal Message (Offline)

Ignore
1715451416
Reply with quote  #2

1715451416
Report to moderator
1715451416
Hero Member
*
Offline Offline

Posts: 1715451416

View Profile Personal Message (Offline)

Ignore
1715451416
Reply with quote  #2

1715451416
Report to moderator
If you see garbage posts (off-topic, trolling, spam, no point, etc.), use the "report to moderator" links. All reports are investigated, though you will rarely be contacted about your reports.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715451416
Hero Member
*
Offline Offline

Posts: 1715451416

View Profile Personal Message (Offline)

Ignore
1715451416
Reply with quote  #2

1715451416
Report to moderator
1715451416
Hero Member
*
Offline Offline

Posts: 1715451416

View Profile Personal Message (Offline)

Ignore
1715451416
Reply with quote  #2

1715451416
Report to moderator
1715451416
Hero Member
*
Offline Offline

Posts: 1715451416

View Profile Personal Message (Offline)

Ignore
1715451416
Reply with quote  #2

1715451416
Report to moderator
nc50lc
Legendary
*
Offline Offline

Activity: 2408
Merit: 5595


Self-proclaimed Genius


View Profile
May 18, 2021, 04:29:01 AM
Last edit: May 18, 2021, 08:06:37 AM by nc50lc
 #2

I saw your post to the other thread and this thread has additional info explaining the situation better,
it seem like you have an active wallet in Bitcoin Core used by your Electrum Personal Server.

You need to disable that option as suggested by the tutorial since you're using Tor.
(if you'll still set it to '0') As a workaround when using sending transactions through Bitcoin Core, just copy the raw transaction of the non-broadcast transaction,
then send it using the command:
Code:
sendrawtransaction "RAW_TXN"
RAW_TXN = the copied raw transaction (a long string of characters in HEX)

If you're using the GUI: Go to "Transactions" tab, right-click the transaction, select "Copy raw transaction".
Go to Console (menu, "Window->Console") and type the command there.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
ranochigo
Legendary
*
Offline Offline

Activity: 2968
Merit: 4179



View Profile
May 18, 2021, 06:40:11 AM
Merited by nc50lc (1)
 #3

You need to disable that option as suggested by the tutorial since you're using Tor.
I think the rationale behind that is to improve on the privacy of the node. The initial consideration appears to be preventing the wallet from automatically rebroadcast transactions. Since the privacy and the rebroadcast logic has been worked on and improved in the recent versions, would this still be necessary?

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
nc50lc
Legendary
*
Offline Offline

Activity: 2408
Merit: 5595


Self-proclaimed Genius


View Profile
May 18, 2021, 08:00:34 AM
 #4

You need to disable that option as suggested by the tutorial since you're using Tor.
I think the rationale behind that is to improve on the privacy of the node. The initial consideration appears to be preventing the wallet from automatically rebroadcast transactions. Since the privacy and the rebroadcast logic has been worked on and improved in the recent versions, would this still be necessary?
When I think about it, I think it's unnecessary in his case since he's running Bitcoin Core through Tor (another info not included in his other post).
Even if he's using the wallet, if I understand the new PRs correctly, rebroadcast is now handled in his node's mempool in a manner that his wallet transactions aren't the only txns that'll be rebroadcast.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
ranochigo
Legendary
*
Offline Offline

Activity: 2968
Merit: 4179



View Profile
May 18, 2021, 01:28:54 PM
 #5

When I think about it, I think it's unnecessary in his case since he's running Bitcoin Core through Tor (another info not included in his other post).
Even if he's using the wallet, if I understand the new PRs correctly, rebroadcast is now handled in his node's mempool in a manner that his wallet transactions aren't the only txns that'll be rebroadcast.
Yeah. 0.21.0

EPS was modified to broadcast the transaction directly to the peers within Tor and I remember that this was implemented quite a long time ago. I'm not sure what are the justifications, if any that would still hold water. If the user is running Core on Tor, then using the EPS would achieve the same privacy with running Core on Tor alone. Since its dependent on Core anyways.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
curious droid (OP)
Jr. Member
*
Offline Offline

Activity: 45
Merit: 17


View Profile
May 18, 2021, 04:41:06 PM
 #6

The reason of using Core (+ Tor) and Electrum with EPS is to be able to use Trezor.
Trezor just alone doesnt worj with Core, but it can be used with Electrum, hence i have this setup
Core+Tor+Electrum+EPS+Trezor
curious droid (OP)
Jr. Member
*
Offline Offline

Activity: 45
Merit: 17


View Profile
May 18, 2021, 08:13:59 PM
 #7

Thank you all for helping, it all works for me now.
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
May 18, 2021, 08:44:30 PM
 #8

Trezor just alone doesnt worj with Core, but it can be used with Electrum, hence i have this setup
Thank you all for helping, it all works for me now.
I know you now have a setup that is working for you, but just for the record... you can actually use Hardware Wallets directly with Bitcoin Core... you need to use the HWI python module: https://github.com/bitcoin-core/HWI

Supported devices here: https://hwi.readthedocs.io/en/latest/devices/index.html#support-matrix

And a step by step showing Bitcoin Core + Trezor usage here: https://hwi.readthedocs.io/en/latest/examples/walkthrough/walkthrough.html

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
curious droid (OP)
Jr. Member
*
Offline Offline

Activity: 45
Merit: 17


View Profile
May 19, 2021, 07:09:48 AM
 #9

Wow, you just opened up a whole new world for me
Nowhere online i have seen alternative option to use Treazor with Core.
Even on Trezor’s wiki page it talks only about running trezor local instance or Electrup+EPS in case if one whants to be independent from satoshi labs, bypassing their servers.
It took me a lot of time to figure out my current setup with Electrum and EPS, but option to directly use Trezor with core sounds exciting, and i think less complicated, less components in the way thus it will be kind of more
Robust on privacy.
I will now try too figure out this setup.

Tha k you a lot for revealing this to me.
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!