mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 15:09:59 +01:00
Merge bitcoin-core/gui#119: Replace send-to-self with dual send+receive entries
099dbe4224GUI: TransactionRecord: When time/index/etc match, sort send before receive (Luke Dashjr)2d182f77cdBugfix: Ignore ischange flag when we're not the sender (Luke Dashjr)71fbdb7f40GUI: Remove SendToSelf TransactionRecord type (Luke Dashjr)f3fbe99fcfGUI: TransactionRecord: Refactor to turn send-to-self into send+receive pairs (Luke Dashjr)b9765ba1d6GUI: TransactionRecord: Use "any from me" as the criteria for deciding whether a transaction is a send or receive (Luke Dashjr) Pull request description: 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. Originally https://github.com/bitcoin/bitcoin/pull/15115 Has Concept ACKs from @*Empact @*jonasschnelli ACKs for top commit: hebasto: ACK099dbe4224. Tree-SHA512: 7d581add2f59431aa019126d54232a1f15723def5147d7a1b672e9b6d525b6e5a944cc437701aa1bd5bd0fbe557a3d1f4b239337f42bdba4fe1d3960442d0e3b
This commit is contained in:
@@ -393,6 +393,7 @@ struct WalletTx
|
||||
CTransactionRef tx;
|
||||
std::vector<wallet::isminetype> txin_is_mine;
|
||||
std::vector<wallet::isminetype> txout_is_mine;
|
||||
std::vector<bool> txout_is_change;
|
||||
std::vector<CTxDestination> txout_address;
|
||||
std::vector<wallet::isminetype> txout_address_is_mine;
|
||||
CAmount credit;
|
||||
|
||||
Reference in New Issue
Block a user