sparrow icon indicating copy to clipboard operation
sparrow copied to clipboard

[UI] Display frozen state of utxos more prominently

Open RequestPrivacy opened this issue 3 years ago • 3 comments

Currently, if you freeze an utxo this state is directly obvious by looking at the UTXOs tab by the means of changing the text colour of said utxo to gray. In all other tabs it isn't so easy to identify a frozen utxo though.

To enable an easy oversight of the state of an utxo it could be valuable to add a little icon (e.g. a snowflake) at all tabs where utxos are displayed. At the beginning of the "value" field could be a possibly good place.

A screenshot from the docs for clarification.

sparrow_frozen

As a side note I also wonder if a frozen utxo should still be counted to the total balance (both BTC and fiat amount wise)? What are the typical use cases and the implications for them? What is the sentiment regarding this point?

It could become confusing for the user though if he thinks the balance is zero and he deletes the wallet (and possibly seed) but there are still frozen utxos.

RequestPrivacy avatar Dec 08 '21 12:12 RequestPrivacy

To enable an easy oversight of the state of an utxo it could be valuable to add a little icon (e.g. a snowflake) at all tabs where utxos are displayed. At the beginning of the "value" field could be a possibly good place.

The only place UTXOs are displayed is in the UTXOs tab - in the screenshot above, transactions are listed (and their inputs and outputs relevant to the wallet when expanded). So it wouldn't be correct to indicate that these are frozen.

As a side note I also wonder if a frozen utxo should still be counted to the total balance (both BTC and fiat amount wise)? What are the typical use cases and the implications for them? What is the sentiment regarding this point?

I believe freezing a UTXO should not deduct it from the balance. There are multiple use cases for freezing a UTXO, including avoiding spending dust attack outputs, but also preventing a UTXO from mixing (say to increase the mix count on other UTXOs). The point on deleting a zero balance wallet accidentally is valid too.

craigraw avatar Feb 07 '22 08:02 craigraw

You're right, I wasn't precise. Although one could argue that at least a receive transaction is from a user standpoint almost identical to an utxo. But what about displaying the frozen state in the UTXO tab?

Regarding the balance I tend to agree - the frozen utxos shouldn't be deducted from the balance. Or at least a little caution sign needs to be present to warn people that the balance just represents the unfrozen state of the wallets utxo set.

RequestPrivacy avatar Feb 09 '22 17:02 RequestPrivacy

You're right, I wasn't precise. Although one could argue that at least a receive transaction is from a user standpoint almost identical to an utxo. But what about displaying the frozen state in the UTXO tab?

In the specific case of all the outputs in the transaction being frozen, it is somewhat analogous, but it still feels uncomfortable to me to mark a transaction as "frozen". In the UTXOs tab, frozen UTXOs are indicated through the grey/disabled text in the frozen row of the table.

Or at least a little caution sign needs to be present to warn people that the balance just represents the unfrozen state of the wallets utxo set.

Difficult to get this right - in the case of frozen dust UTXOs, one wouldn't want a caution symbol on the Transactions tab drawing the users attention, IMO - it's too much UI distraction for something relatively minor. They would have little effect on the balance in any case.

craigraw avatar Feb 10 '22 09:02 craigraw