Bitcoin Forum
October 16, 2025, 08:25:22 AM *
News: Latest Bitcoin Core release: 30.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin Core - showing the coins (UTXOs) in a separate tab  (Read 210 times)
apogio (OP)
Legendary
*
Online Online

Activity: 938
Merit: 2136



View Profile WWW
October 05, 2025, 04:33:35 PM
Last edit: October 06, 2025, 04:07:42 PM by apogio
Merited by Pmalek (4), ABCbits (3), hugeblack (2), vapourminer (1), Satofan44 (1)
 #1

Disclaimer: I know there are Core devs and maintainers in here. Please be kind, it's the first time I'm messing with Bitcoin's source code.

The Pull Request: https://github.com/bitcoin-core/gui/pull/898



I've always liked to be able to see my coins (UTXOs), even if I didn't have to spend bitcoins.

So, I thought about adding it at the top bar, like so:




Clicking this tab would open the existing UTXO page (coincontroldialog.cpp), but I didn't like the whole top section, because it only makes sense if you select UTXOs.




Therefore, I added a view-only mode for the dialog and I removed the checkboxes and the entire section at the top and this is what I'm left with:



Question
Does anyone like my idea? I'm thinking about submitting a Pull Request.
I know it's not super significant, but I like it this way.
If it's only me who likes it though, it doesn't matter, I'll use it only for myself.




Alvin_talk
Jr. Member
*
Offline Offline

Activity: 42
Merit: 11


View Profile
October 05, 2025, 04:57:02 PM
Merited by apogio (1)
 #2


Does anyone like my idea?


Just as you have said it is not so significant but it looks pretty cool.

It is something I will love to try out when I am bored Grin.
Forsyth Jones
Legendary
*
Offline Offline

Activity: 1680
Merit: 1670


I love Bitcoin!


View Profile WWW
October 05, 2025, 04:57:37 PM
Merited by hugeblack (1), apogio (1)
 #3

I loved the idea and fully support the Pull Request!!

Currently, the Coin Control interface in Bitcoin Core is very ugly. When activated, it takes up a lot of space in the sending tab, which could easily be triggered with a button (like you did), but a button in the sending tab (just like there's a button to customize the sending fee).

But your proposal is very good!  Cheesy

Mia Chloe
Legendary
*
Offline Offline

Activity: 868
Merit: 1432


Contact me for your designs...


View Profile
October 05, 2025, 04:58:05 PM
Merited by apogio (1)
 #4

~snip
It's a nice modification you did thanks to the freedom open source softwares grant us. Anyways just like you mentioned it's not a very pressing fix but I think it's still a fine one. Could interact with pre opened dialogue boxes after you opened this particular dialogue box in your fix?

I'm asking this because sometimes some dialogue boxes must be closed for you to be able to access pre opened ones. Anyways the biggest mods I'll like is for Electrum to improve the mobile version because it way behind from the desktop version.

apogio (OP)
Legendary
*
Online Online

Activity: 938
Merit: 2136



View Profile WWW
October 05, 2025, 05:18:24 PM
 #5

Pull Request sent
Obviously I'd like to hear your thoughts, but in the worst-case scenario, it will simply not get merged. All good!

Satofan44
Full Member
***
Offline Offline

Activity: 182
Merit: 429


Don't blame me for your own shortcomings.


View Profile
October 05, 2025, 05:27:08 PM
Merited by ABCbits (1), apogio (1)
 #6

Pull Request sent
Obviously I'd like to hear your thoughts, but in the worst-case scenario, it will simply not get merged. All good!
Seems like a good idea, only you opened the PR in the wrong place. First time contributor blunder?  Tongue The PR in case anyone is looking. https://github.com/bitcoin/bitcoin/pull/33542

Should be here as hebasto wrote. https://github.com/bitcoin-core/gui

apogio (OP)
Legendary
*
Online Online

Activity: 938
Merit: 2136



View Profile WWW
October 05, 2025, 05:30:08 PM
Last edit: October 05, 2025, 06:04:22 PM by apogio
 #7

Seems like a good idea, only you opened the PR in the wrong place. First time contributor blunder?  Tongue The PR in case anyone is looking. https://github.com/bitcoin/bitcoin/pull/33542

Should be here as hebasto wrote. https://github.com/bitcoin-core/gui

Yeah I'm in the middle of opening it now in the correct place.

Here it is: https://github.com/bitcoin-core/gui/pull/898

coinlary
Member
**
Offline Offline

Activity: 121
Merit: 38


View Profile
October 05, 2025, 09:46:42 PM
Merited by apogio (1)
 #8

The feature looks good.
You can try making it optional though through a checkbox   from the  setting >Options> Display.  
When enabled the coin tab you added  will be visible then  instead of having it   visible by default.
Does anyone like my idea? I'm thinking about submitting a Pull Request.
ABCbits
Legendary
*
Offline Offline

Activity: 3388
Merit: 9256



View Profile
October 06, 2025, 08:42:13 AM
Merited by apogio (1)
 #9

I really appreciate your attempt. But have you fully read contributor guide? IMO this part is especially important.

When adding a new feature, thought must be given to the long term technical debt and maintenance that feature may require after inclusion. Before proposing a new feature that will require maintenance, please consider if you are willing to maintain it (including bug fixing). If features get orphaned with no maintainer in the future, they may be removed by the Repository Maintainer.



Does anyone like my idea? I'm thinking about submitting a Pull Request.

For wallet with many address/UTXO, IMO preserving "Quantity" text and choice between "Tree mode" or "List mode" may come in handy.

apogio (OP)
Legendary
*
Online Online

Activity: 938
Merit: 2136



View Profile WWW
October 06, 2025, 12:35:08 PM
 #10

I really appreciate your attempt. But have you fully read contributor guide? IMO this part is especially important.

When adding a new feature, thought must be given to the long term technical debt and maintenance that feature may require after inclusion. Before proposing a new feature that will require maintenance, please consider if you are willing to maintain it (including bug fixing). If features get orphaned with no maintainer in the future, they may be removed by the Repository Maintainer.

Unless there is a secret meaning, then I consider it an obligation anyways. An obligation which is both "technical debt", but also ethical requirement.

For wallet with many address/UTXO, IMO preserving "Quantity" text and choice between "Tree mode" or "List mode" may come in handy.

That's a good idea. Let's see how it goes, I'm sure people will jump in and post ideas and objections, either here or on Github.


Satofan44
Full Member
***
Offline Offline

Activity: 182
Merit: 429


Don't blame me for your own shortcomings.


View Profile
October 06, 2025, 03:30:48 PM
 #11

I really appreciate your attempt. But have you fully read contributor guide? IMO this part is especially important.

When adding a new feature, thought must be given to the long term technical debt and maintenance that feature may require after inclusion. Before proposing a new feature that will require maintenance, please consider if you are willing to maintain it (including bug fixing). If features get orphaned with no maintainer in the future, they may be removed by the Repository Maintainer.
Unless there is a secret meaning, then I consider it an obligation anyways. An obligation which is both "technical debt", but also ethical requirement.
There isn't one, it means literally what it says. Many people want Core to do all sorts of things but they don't contribute anything to it at all. Core really does not like technical debt. However, since this is not really a major feature given the number of lines changed and you are willing to maintain it then there are no issues.

Do you now plan to contribute more to Core or is this more a one time thing?

apogio (OP)
Legendary
*
Online Online

Activity: 938
Merit: 2136



View Profile WWW
October 06, 2025, 03:57:55 PM
Last edit: October 06, 2025, 06:02:22 PM by apogio
Merited by ABCbits (1), Satofan44 (1)
 #12

Do you now plan to contribute more to Core or is this more a one time thing?

Definitely! I'm planning to contribute more, but I'm not making any actual plans.

I will be looking the github repositories, check the issues, check the new PRs, implement new stuff (if I consider them important).
I will not contribute just to say that I contribute. I won't be making changes, just to change something.

I hope it makes sense Tongue

For wallet with many address/UTXO, IMO preserving "Quantity" text and choice between "Tree mode" or "List mode" may come in handy.

I have tried it. Would you like it this way? I'm posting the list view and the tree view pictures below:




Perhaps it would make more sense if I also left the checkboxes on the left, so that you can click and expand the UTXOs.

ABCbits
Legendary
*
Offline Offline

Activity: 3388
Merit: 9256



View Profile
October 07, 2025, 07:30:34 AM
 #13

For wallet with many address/UTXO, IMO preserving "Quantity" text and choice between "Tree mode" or "List mode" may come in handy.

I have tried it. Would you like it this way? I'm posting the list view and the tree view pictures below:




Perhaps it would make more sense if I also left the checkboxes on the left, so that you can click and expand the UTXOs.

At a glance, it looks great. I also think it's good to idea to be able to expand UTXO of an address. Although i believe you'll need opinion from various person.

apogio (OP)
Legendary
*
Online Online

Activity: 938
Merit: 2136



View Profile WWW
October 11, 2025, 05:01:33 PM
Merited by Satofan44 (1)
 #14

UPDATE (for those who don't follow Github):

After receiving a comment from Luke Dashjr, I've made some modifications which I think are reasonable.

So, now, the way it works is:

When coin control features are disabled, then the "Coins" tab will be hidden, like in this picture:




Once the user enables coin control features, then the "Coins" tab will appear, like so:




If the user has coin control features enabled and then disables it, the "Coins" tab will hide again and the user will be transferred to the "Overview" tab.

And lastly, here is the way that the coins tab will look like:


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!