aboutsummaryrefslogtreecommitdiff
path: root/src/qt/transactiontablemodel.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [Qt] Add column Watch-only to transactions listCozz Lovan2014-08-111-8/+24
|
* qt: Remove an obscure option no-one cares aboutWladimir J. van der Laan2014-07-311-1/+1
| | | | | | | Remove the "Display addresses" setting checkbox. It doesn't do what the tooltip says, and seems kind of pointless in any case. Fixes #4580.
* [Qt] small Qt-only include cleanupPhilip Kaufmann2014-07-251-1/+1
|
* Revert "UI to alert of respend attempt affecting wallet."Wladimir J. van der Laan2014-07-211-13/+5
| | | | | | | | This reverts commit ada5a067c75f19a724cc054286ecf2254e5dbe8f. Conflicts: src/qt/guiconstants.h src/wallet.h
* Revert "Formatting, spelling, comment fixes."Wladimir J. van der Laan2014-07-211-2/+2
| | | | This reverts commit 7a19efe04069d9a1e251cdc94b25184f76d9d901.
* Remove unused fAlign argument from BitcoinUnits::format and friendsRoy Badami2014-07-071-3/+3
|
* Merge remote-tracking branch 'upstream/master'Roy Badami2014-07-071-15/+33
|\ | | | | | | | | | | Conflicts: src/qt/overviewpage.cpp src/qt/transactiondesc.cpp
| * Merge pull request #4045Wladimir J. van der Laan2014-07-071-4/+7
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a3e192a replaced MINE_ with ISMINE_ (JaSK) 53a2148 fixed bug where validateaddress doesn't display information (JaSK) f28707a fixed bug in ListReceived() (JaSK) 519dd1c Added MINE_ALL = (spendable|watchonly) (JaSK) 23b0506 Fixed some stuff in TransactionDesc (JaSK) 80dda36 removed default argument values for ismine filter (JaSK) d5087d1 Use script matching rather than destination matching for watch-only. (Pieter Wuille) 0fa2f88 added includedWatchonly argument to listreceivedbyaddress/...account (JaSK) f87ba3d added includeWatchonly argument to 'gettransaction' because it affects balance calculation (JaSK) a5c6c5d fixed tiny glitch and improved readability like laanwj suggested (JaSK) d7d5d23 Added argument to listtransactions and listsinceblock to include watchonly addresses (JaSK) 952877e Showing 'involvesWatchonly' property for transactions returned by 'listtransactions' and 'listsinceblock'. It is only appended when the transaction involves a watchonly address. (JaSK) 83f3543 Added argument to listaccounts to include watchonly addresses (JaSK) d4640d7 Added argument to getbalance to include watchonly addresses and fixed errors in balance calculation. (JaSK) d2692f6 Watchonly transactions are marked in transaction history (JaSK) ffd40da Watchonly balances are shown separately in gui. (JaSK) 2935b21 qt: Hide unspendable outputs in coin control (Wladimir J. van der Laan) c898846 Add support for watch-only addresses (Pieter Wuille)
| | * Watchonly transactions are marked in transaction historyJaSK2014-07-021-4/+7
| | |
| * | Merge pull request #4302Wladimir J. van der Laan2014-07-031-2/+9
| |\ \ | | |/ | |/| | | | 8969828 [Qt] New status bar Unit Display Control and related changes. (gubatron)
| | * [Qt] New status bar Unit Display Control and related changes.gubatron2014-06-251-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - New status bar control shows the current Unit of Display. When clicked (left,or right button) it shows a context menu that allows the user to switch the current Unit of Display (BTC, mBTC, uBTC) - Recent Requests and Transaction Table headers are now updated when unit of display is changed, because their "Amount" column now displays the current unit of display. - Takes care of issue #3970 Units in transaction export csv file. - Small refactors for reusability. - Demo Video https://www.youtube.com/watch?v=wwcr0Yh68go&list=UUG3jF2hgofmLWP0tRPisQAQ - changes after Diapolo's feedback. Have not been able to build after last pool, issues with boost on MacOSX, will test on Ubuntu these changes. - removed return statement on switch - renamed onDisplayUnitsChanged(int) to updateDisplayUnit(int) - now getAmountColumnTitle(int unit) takes a simple unit parameter. moved to BitcoinUnits.
| * | qt: Change serious messages from qDebug to qWarningWladimir J. van der Laan2014-07-011-3/+3
| | | | | | | | | | | | | | | By changing the logging stream for warnings from qDebug to qWarning, these will always be logged to debug.log.
| * | Formatting, spelling, comment fixes.Tom Harding2014-06-271-2/+2
| | |
| * | UI to alert of respend attempt affecting wallet.Tom Harding2014-06-271-5/+13
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Respend transactions that conflict with transactions already in the wallet are added to it. They are not displayed unless they also involve the wallet, or get into a block. If they do not involve the wallet, they continue not to affect balance. Transactions that involve the wallet, and have conflicting non-equivalent transactions, are highlighted in red. When the conflict first occurs, a modal dialog is thrown. CWallet::SyncMetaData is changed to sync only to equivalent transactions. When a conflict is added to the wallet, counter nConflictsReceived is incremented. This acts like a change in active block height for the purpose of triggering UI updates.
| * [Qt] Fix Transaction details shows wrong To:Cozz Lovan2014-05-281-1/+1
| |
* | Implement SI-style (thin space) thoudands separatorRoy Badami2014-05-171-5/+5
|/
* [Qt] Optionally add third party links to transaction context menuCozz Lovan2014-04-251-0/+2
|
* qt: get required locks upfront in polling functionsWladimir J. van der Laan2014-04-231-7/+14
| | | | | | This avoids the GUI from getting stuck on periodical polls if the core is holding the locks for a longer time - for example, during a wallet rescan.
* Solve chainActive-related locking issuesWladimir J. van der Laan2014-04-181-26/+15
| | | | | | | | | | | - In wallet and GUI code LOCK cs_main as well as cs_wallet when necessary - In main.cpp SendMessages move the TRY_LOCK(cs_main) up, to encompass the call to IsInitialBlockDownload. - Make ActivateBestChain, AddToBlockIndex, IsInitialBlockDownload, InitBlockIndex acquire the cs_main lock Fixes #3997
* qt: Modernize 'confirmed' terminology in shown tx statusWladimir J. van der Laan2014-02-281-81/+62
| | | | | | | | | | | | These days we regard transactions with one confirmation to be 'Confirmed'. Waiting for 6 confirmations is a recommendation but should not keep the transaction shown as unconfirmed. Misc code sanity: - Merge maturity/status enums, they had become completely disjunct - 'confirmed' flag is now called 'countsForBalance' for clarity
* Merge pull request #3646Wladimir J. van der Laan2014-02-161-1/+1
|\ | | | | | | 5770254 Copyright header updates s/2013/2014 on files whose last git commit was done in 2014. contrib/devtools/fix-copyright-headers.py script to be able to perform this maintenance task with ease during the rest of the year, every year. Modifications to contrib/devtools/README.md to document what fix-copyright-headers.py does. (gubatron)
| * Copyright header updates s/2013/2014 on files whose last git commit was done ↵gubatron2014-02-091-1/+1
| | | | | | | | | | | | in 2014. contrib/devtools/fix-copyright-headers.py script to be able to perform this maintenance task with ease during the rest of the year, every year. Modifications to contrib/devtools/README.md to document what fix-copyright-headers.py does.
* | qt: GUI for conflicted transactionsWladimir J. van der Laan2014-02-141-2/+8
|/ | | | | | - Exclamation mark icon for conflicted transactions - Show mouseover status for conflicted transactions as "conflicted" - Don't show inactive transactions on overview page overview
* qt: Better status text for mined transactionsWladimir J. van der Laan2014-01-061-21/+23
| | | | Fixes ancient issue #614.
* Cleanup code using forward declarations.Brandon Dahler2013-11-101-9/+12
| | | | | | | | | Use misc methods of avoiding unnecesary header includes. Replace int typedefs with int##_t from stdint.h. Replace PRI64[xdu] with PRI[xdu]64 from inttypes.h. Normalize QT_VERSION ifs where possible. Resolve some indirect dependencies as direct ones. Remove extern declarations from .cpp files.
* qt: add license header to source filesWladimir J. van der Laan2013-11-041-0/+4
| | | | Closes #839
* Refactor/encapsulate chain globals into a CChain classPieter Wuille2013-10-111-2/+2
|
* Merge pull request #2976 from laanwj/2013_09_txid_detailsWladimir J. van der Laan2013-09-061-2/+2
|\ | | | | qt: add vout index to transaction id in transactions details dialog
| * qt: add vout index to transaction id in transactions details dialogWladimir J. van der Laan2013-09-061-2/+2
| |
* | Bitcoin-Qt: Use qDebug() for printing to debug.logPhilip Kaufmann2013-09-061-7/+9
|/ | | | | - removes all usages of PrintDebugStringF from Qt code - ensure same format for all debug.log messages "functionname : Message"
* Merge pull request #2951 from laanwj/2013_08_addressbook_purposeWladimir J. van der Laan2013-09-021-5/+5
|\ | | | | [Qt] Handle address purpose in incremental updates
| * qt: Handle address purpose in incremental updatesWladimir J. van der Laan2013-08-291-5/+5
| | | | | | | | | | | | Correctly use the purpose of addresses that are added after the start of the client. Addresses with purpose "refund" and "change" should not be visible in the GUI. This is now handled correctly.
* | Bitcoin-Qt: fixes for using display unit from optionsPhilip Kaufmann2013-08-291-7/+7
|/ | | | | | | - extend PaymentServer with setOptionsModel() and rework initNetManager() to make use of that - fix all other places in the code to use display unit from options and no hard-coded unit
* Bitcoin-Qt: massive header and cpp cleanupPhilip Kaufmann2013-03-171-2/+1
| | | | | | | - try to enforce the same style to all Qt related files - remove unneeded includes from the files - add missing Q_OBJECT, QT_BEGIN_NAMESPACE / QT_END_NAMESPACE - prepares for a pull-req to include Qt5 compatibility
* Display tx nLockTime correctly when set to block #Peter Todd2013-01-091-1/+1
| | | | | | | | | | | | Previously when a transaction was set to lock at a specific block the calculation was reversed, returning a negative number. This broke the UI and caused it to display %n in place of the actual number. In addition the previous calculation would display "Open for 0 blocks" when the block height was such that the next block created would finalize the transaction. Inserted the word "more" and changed the calculation so that the last message would be "Open for 1 more block" to better match user expectations.
* Treat generation (mined) transactions less different from receive transactionsLuke Dashjr2012-08-231-2/+2
| | | | | - Show address receiving the generation, and include it in the correct "account" - Multiple entries in listtransactions output if the coinbase has multiple outputs to us
* GUI: ensure a changed bitcoin unit immediately updates the tx list amountsPhilip Kaufmann2012-06-201-0/+7
|
* update info string in GUI for generated blocks and change "must wait" into ↵Philip Kaufmann2012-06-091-2/+1
| | | | "must mature" to take the new immature label into consideration
* Fine-grained UI updatesWladimir J. van der Laan2012-05-201-70/+76
| | | | | | | | | | | | | | | | | | | Gets rid of `MainFrameRepaint` in favor of specific update functions that tell the UI exactly what changed. This improves the efficiency of various handlers. Also fixes problems with mined transactions not showing up until restart. The following notifications were added: - `NotifyBlocksChanged`: Block chain changed - `NotifyKeyStoreStatusChanged`: Wallet status (encrypted, locked) changed. - `NotifyAddressBookChanged`: Address book entry changed. - `NotifyTransactionChanged`: Wallet transaction added, removed or updated. - `NotifyNumConnectionsChanged`: Number of connections changed. - `NotifyAlertChanged`: New, updated or cancelled alert. As this finally makes it possible for the UI to know when a new alert arrived, it can be shown as OS notification. These notifications could also be useful for RPC clients. However, currently, they are ignored in bitcoind (in noui.cpp). Also brings back polling with timer for numBlocks in ClientModel. This value updates so frequently during initial download that the number of signals clogs the UI thread and causes heavy CPU usage. And after initial block download, the value changes so rarely that a delay of half a second until the UI updates is unnoticable.
* Remove headers.hPieter Wuille2012-04-171-1/+1
|
* fix warnings: 'XX' defined as a struct here but previously declared as a ↵Wladimir J. van der Laan2012-04-151-1/+2
| | | | class [-Wmismatched-tags]
* Use scoped locks instead of CRITICAL_BLOCKPieter Wuille2012-04-091-6/+6
|
* removed an ugly line break in a transaction tooltip for case ↵Philip Kaufmann2012-03-271-4/+3
| | | | TransactionStatus::Mature
* Fix transaction type in UI: not all tx'es with "from"/"to" field are ↵Wladimir J. van der Laan2011-12-281-9/+8
| | | | | | | necessarily IP tx'es - Also, prepare for OP_EVAL by calling all transactions without bitcoin address "SendToOther"/"RecvFromOther", (IP tx'es are so rare they can be put together with funky EV_EVAL scripts)
* update to work with new lock system, add protocol.* to build systemWladimir J. van der Laan2011-09-021-5/+5
|
* QtUI code cleanup / comment improvementsWladimir J. van der Laan2011-08-081-11/+6
|
* don't include <QDebug>Wladimir J. van der Laan2011-08-071-1/+0
|
* reorganize transaction model data function, and transaction tooltipWladimir J. van der Laan2011-08-061-56/+25
|
* improve tooltip over transactionsWladimir J. van der Laan2011-08-051-16/+24
|
* Clarity: change definition of "confirmed" to "counts towards balance"Wladimir J. van der Laan2011-08-041-1/+3
|