The code checking for 'online' IP transactions can be removed.
~ laanwj #8530 (comment)
I attempted to remove it and when I tested it, it compiled succesfully.
<!--- My first Pull Request -->
The code checking for 'online' IP transactions can be removed.
~ laanwj #8530 (comment)
I attempted to remove it and when I tested it, it compiled succesfully.
<!--- My first Pull Request -->
160 | @@ -180,22 +161,21 @@ QString TransactionDesc::toHTML(CWallet *wallet, CWalletTx &wtx, TransactionReco 161 | if ((toSelf == ISMINE_SPENDABLE) && (fAllFromMe == ISMINE_SPENDABLE)) 162 | continue; 163 | 164 | - if (!wtx.mapValue.count("to") || wtx.mapValue["to"].empty()) 165 | + 166 | + // Offline transaction
Can we remove the term "offline transaction"? I think it's confusion.
Please get rid of the merge commit according to https://github.com/bitcoin/bitcoin/blob/master/CONTRIBUTING.md#squashing-commits
You can try
git reset 67df90a~
git commit src/qt
or
git rebase bitcoin/master
where bitcoin refers to the remote pointing to this repo.
Concept ACK!
concept ACK, looks good to me, although I have not verified that this doesn't affect payment request functionality (does anything else set transaction metadata 'from' and 'to'?)
How does this affect a wallet that has received IP payments in the past?
Yes, that should be tested, if anyone still has such a wallet around. Crashing would be unacceptable, showing it differently would be.
Please also get rid of the other tr("From").
BTW: do we do anything special in the transaction overview for these kind of transactions? if so, that code should go at the same time
git reset 67df90a~
git commit src/qt
I tried this but they conflicted. Now this has 16 files changed.
Update: I give up. 172 files changed.
@mcccs Sry, I forgot to mention you also need to rebase on master after that. You can join the developer chat and we are happy to help, btw.
git rebase f4e777819c54fe0e386de517a201053698556236