Skip to content

Conversation

@NicolasDorier
Copy link
Contributor

@NicolasDorier NicolasDorier commented Mar 13, 2017

This show a more descriptive label for Pay To Yourself transaction entries in bitcoin QT. Showing the label of the first Output.

Before:
before

After:
after

Pay to yourself is common when using Bitcoin Core for tracking coins going from and to Watch-Only addresses. For example, in the case of TumblerBit, it will make it easier to see when a coins is transitioning throught different states: Wallet =>Alice Escrow => Alice Offer => Alice Offer Redeem.

@laanwj
Copy link
Member

laanwj commented Mar 14, 2017

Concept ACK

parts.append(TransactionRecord(hash, nTime, TransactionRecord::SendToSelf, "",
std::string address;
CTxDestination destAddress;
if (wtx.tx->vout.size() >= 1 && ExtractDestination(wtx.tx->vout[0].scriptPubKey, destAddress))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This list only the first to-yourself-output. But I think this is okay.

@da2ce7
Copy link

da2ce7 commented Mar 15, 2017

For 'send to yourself' transactions, maybe the row-background shading should be tinted a different colour. So it is more visually apparent what transactions leave the wallet?

@luke-jr
Copy link
Member

luke-jr commented Mar 15, 2017

I think it may be a good idea to just remove send-to-self as a thing. In some cases (eg, CoinJoins), it is indistinguishable from send-to-someone-else + receive-from-someone-else in the same transaction...

@NicolasDorier
Copy link
Contributor Author

@da2ce7 there is the left column that already have a logo to distinguish.
@luke-jr I think this is a good idea, will try that

@NicolasDorier
Copy link
Contributor Author

@luke-jr an alternative would be to not consider watch-only as "self".

@luke-jr
Copy link
Member

luke-jr commented Mar 15, 2017

CoinJoins aren't necessarily watch-only.

@NicolasDorier
Copy link
Contributor Author

I think #10007 is superior alternative.
Keeping open this one until it is clear we will not use it.

@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants