Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: Revolter on October 15, 2023, 03:43:35 PM



Title: Bitcoin Core, avoid_reuse
Post by: Revolter on October 15, 2023, 03:43:35 PM
I have a watch only Bitcoin Core descriptor wallet with "avoid_reuse": true. It has pubkeys from different wallets imported, and I use it to keep track of all my balances. I also use it to get new receiving addresses and also to create unsigned transactions, so I want "avoid_reuse" to stay as true.

But, I also want to see total balance of all addresses in GUI. Now I only see balance of all unused addresses beside "Available". To see balance on reused addresses I have to use "getbalances" in console.

Can I keep "avoid_reuse" true but also show total balance of "trusted" and "used" on main GUI?

Thank you.


Title: Re: Bitcoin Core, avoid_reuse
Post by: BitMaxz on October 15, 2023, 04:23:29 PM
By default, avoid_reuse is set to true so I think it should show all balances on the GUI have you checked if the Bitcoin core is fully synced?

Or I think if it does not show all balances can you import manually those addresses (reused addresses) in the GUI?
You can use this command on the console

Code:
importpubkey "mypubkey"

Alternatively, if your purpose is just to monitor your wallet addresses why not use 3rd party tool like this link below to check all balances

- https://bitcoindata.science/bitcoin-balance-check.html


Title: Re: Bitcoin Core, avoid_reuse
Post by: achow101 on October 15, 2023, 04:40:43 PM
Can I keep "avoid_reuse" true but also show total balance of "trusted" and "used" on main GUI?
Currently, no.

I've opened a feature request to add this: https://github.com/bitcoin-core/gui/issues/769


Title: Re: Bitcoin Core, avoid_reuse
Post by: Revolter on October 15, 2023, 05:30:55 PM
By default, avoid_reuse is set to true so I think it should show all balances on the GUI have you checked if the Bitcoin core is fully synced?

Or I think if it does not show all balances can you import manually those addresses (reused addresses) in the GUI?
You can use this command on the console

Code:
importpubkey "mypubkey"

Alternatively, if your purpose is just to monitor your wallet addresses why not use 3rd party tool like this link below to check all balances

- https://bitcoindata.science/bitcoin-balance-check.html

 ??? ??? ??? ??? ???
I said already that I can see balances using "getbalances" so of course it is synced. "importpubkey" does not work with descriptor wallets. And why would I lose my privacy and use online third party? ???


Can I keep "avoid_reuse" true but also show total balance of "trusted" and "used" on main GUI?
Currently, no.

I've opened a feature request to add this: https://github.com/bitcoin-core/gui/issues/769

This is great, thank you!


Title: Re: Bitcoin Core, avoid_reuse
Post by: bitmover on October 16, 2023, 05:05:39 AM
Alternatively, if your purpose is just to monitor your wallet addresses why not use 3rd party tool like this link below to check all balances

- https://bitcoindata.science/bitcoin-balance-check.html

Thanks for mentioning and glad to see this tool is useful for you.

I created this tool to monitor addresses from multiple wallets, which is very useful to me as I have many wallets (hardware,  mobile, web wallets...)

The data comes from mempool.space


Title: Re: Bitcoin Core, avoid_reuse
Post by: OcTradism on October 26, 2023, 01:49:16 AM
Alternatively, if your purpose is just to monitor your wallet addresses why not use 3rd party tool like this link below to check all balances

- https://bitcoindata.science/bitcoin-balance-check.html
Is it good for privacy by using third party tools?

Care about privacy, use third party tools with Tor connection. I would like to import my public addresses in a Watch-only wallet, use Tor connection and check it by myself. I don't want to access third-party websites and have risk of doing something harmful for my privacy.

I am not against bitcoindata.science but it's general opinion about Block explorers too.

List of Bitcoin block explorers (https://bitcointalk.org/index.php?topic=5197909.0).


Title: Re: Bitcoin Core, avoid_reuse
Post by: ABCbits on October 26, 2023, 11:34:11 AM
Alternatively, if your purpose is just to monitor your wallet addresses why not use 3rd party tool like this link below to check all balances

- https://bitcoindata.science/bitcoin-balance-check.html
Is it good for privacy by using third party tools?

Care about privacy, use third party tools with Tor connection. I would like to import my public addresses in a Watch-only wallet, use Tor connection and check it by myself. I don't want to access third-party websites and have risk of doing something harmful for my privacy.

I am not against bitcoindata.science but it's general opinion about Block explorers too.

List of Bitcoin block explorers (https://bitcointalk.org/index.php?topic=5197909.0).

The general answer is no, but it comes down to whether you can trust owner of that website and any third party they use. And depending on how much privacy you want, Bitcoin Core or lightweight wallet which use BIP 157 with Tor or VPN are your only option. If you ask details about mutiples address or master public key to single block explorer or server, they might assume those belong to same people.


Title: Re: Bitcoin Core, avoid_reuse
Post by: bitmover on October 26, 2023, 03:22:33 PM
Alternatively, if your purpose is just to monitor your wallet addresses why not use 3rd party tool like this link below to check all balances

- https://bitcoindata.science/bitcoin-balance-check.html
Is it good for privacy by using third party tools?

Care about privacy, use third party tools with Tor connection. I would like to import my public addresses in a Watch-only wallet, use Tor connection and check it by myself. I don't want to access third-party websites and have risk of doing something harmful for my privacy.

I am not against bitcoindata.science but it's general opinion about Block explorers too.

List of Bitcoin block explorers (https://bitcointalk.org/index.php?topic=5197909.0).

Nothing is better for privacy than running a full node and checking the data by yourself...

I agree with you that using third party data is not the best. This website is exactly the same as using mempool.space block explorer.

When you add, for example, 3 addresses to bitcoindata.science, the website makes a request for each address in mempool.space API.

So, you have the same privacy level of checking 3 address separately in mempool.space
https://www.talkimg.com/images/2023/10/26/TjNR1.png


Title: Re: Bitcoin Core, avoid_reuse
Post by: OcTradism on October 26, 2023, 04:08:43 PM
The general answer is no, but it comes down to whether you can trust owner of that website and any third party they use. And depending on how much privacy you want, Bitcoin Core or lightweight wallet which use BIP 157 with Tor or VPN are your only option. If you ask details about mutiples address or master public key to single block explorer or server, they might assume those belong to same people.
Using SPV wallet (lightweight wallet) like Electrum wallet, without Tor and connect it to other servers to use and check balance is not good for privacy.

It's explain why professional people are favorite to use Bitcoin Core, full node, Tor to do their Bitcoin transactions.

Use Electrum wallet with Tor (https://electrum.readthedocs.io/en/latest/tor.html).

Nothing is better for privacy than running a full node and checking the data by yourself...

I agree with you that using third party data is not the best.
Thank you to have you here and no one can disagree about risk from third-party tools but I don't imply you do something shady with your tool.

Quote
This website is exactly the same as using mempool.space block explorer.

When you add, for example, 3 addresses to bitcoindata.science, the website makes a request for each address in mempool.space API.

So, you have the same privacy level of checking 3 address separately in mempool.space
Looks a great explanation that helps me to understand the Balance checking tool from Bitcoindata.science better.