Makes the GUI transaction list more like the RPC, and IMO clearer in general.
As a side effect, this also fixes the GUI entries when a transaction is a net profit to us, but some inputs were also from us.
Makes the GUI transaction list more like the RPC, and IMO clearer in general.
As a side effect, this also fixes the GUI entries when a transaction is a net profit to us, but some inputs were also from us.
In #12578 the “Sent to” row would only have 0.1 and the fee would be in a separate row.
I cannot reproduce that.
Does this approach work for special transactions (e.g., CoinJoin, Pay-to-Endpoint etc)?
It can’t. If you have a tx from A & B to C & D, there’s no logical way to know the correct logical transaction(s) that comprise it, without some kind of metadata.
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
Reviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.
Tested 14bb8db698d406e59c173f428abbc8d1ea449fed on Linux Mint 19.3 (x86_64):
I’d prefer to keep the “Payment to yourself” type as descriptive enough.
Could a send-to-self tx has only two records: combined debit and combined credit?
I’d prefer to keep the “Payment to yourself” type as descriptive enough.
How would that even work? Why?
Could a send-to-self tx has only two records: combined debit and combined credit?
That breaks labels and defeats the point of having multiple recipients. If you want that as a user, you can just use one recipient?
I’d prefer to keep the “Payment to yourself” type as descriptive enough.
How would that even work? Why?
On master, one could easily spot send-to-self txs in the tx list, and use sorting in “Type” column. I believe it is convenient. Without “Payment to yourself” type such UX is lost.
Could a send-to-self tx has only two records: combined debit and combined credit?
That breaks labels…
Agree.
… and defeats the point of having multiple recipients. If you want that as a user, you can just use one recipient?
It is up to a user how many txouts one wants to create in a send-to-self tx, no?
On master, one could easily spot send-to-self txs in the tx list, and use sorting in “Type” column. I believe it is convenient. Without “Payment to yourself” type such UX is lost.
What is the use case?
It is up to a user how many txouts one wants to create in a send-to-self tx, no?
But you want to make anything other than 1 (in effect) require multiple transactions…
On master, one could easily spot send-to-self txs in the tx list, and use sorting in “Type” column. I believe it is convenient. Without “Payment to yourself” type such UX is lost.
What is the use case?
For example, a user want to review send-to-self txs made some time ago…
What is the use case for “send-to-self txs”?
The only time I’ve ever seen actual sends-to-self occur, are also cases in which deviations of behaviour are bad…
The only time I’ve ever seen actual sends-to-self occur, are also cases in which deviations of behaviour are bad…
… tend to agree with you.
What is the use case for “send-to-self txs”?
The scope of this PR is to how to present the existing “send-to-self” txs to a user in the GUI, as I understand it.
The discussions about “should send-to-self txs exist” or “what is the use case for send-to-self txs” deserve their own issues/pulls :)
This replaces send-to-self. As in, they cease to exist conceptually.
(And they never had any existence beyond conceptually.)
This changes behaviour (IMO for the better) in the case where some but not all inputs are from us, and the net amount is positive.
If we didn't send it, it can't possibly be change, even if that's the key's purpose