aboutsummaryrefslogtreecommitdiff
path: root/src/qt/transactiontablemodel.cpp
AgeCommit message (Collapse)Author
2014-06-27UI to alert of respend attempt affecting wallet.Tom Harding
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.
2014-06-25[Qt] New status bar Unit Display Control and related changes.gubatron
- 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.
2014-05-28[Qt] Fix Transaction details shows wrong To:Cozz Lovan
2014-05-17Implement SI-style (thin space) thoudands separatorRoy Badami
2014-04-25[Qt] Optionally add third party links to transaction context menuCozz Lovan
2014-04-23qt: get required locks upfront in polling functionsWladimir J. van der Laan
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.
2014-04-18Solve chainActive-related locking issuesWladimir J. van der Laan
- 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
2014-02-28qt: Modernize 'confirmed' terminology in shown tx statusWladimir J. van der Laan
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
2014-02-16Merge pull request #3646Wladimir J. van der Laan
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)
2014-02-14qt: GUI for conflicted transactionsWladimir J. van der Laan
- Exclamation mark icon for conflicted transactions - Show mouseover status for conflicted transactions as "conflicted" - Don't show inactive transactions on overview page overview
2014-02-09Copyright header updates s/2013/2014 on files whose last git commit was done ↵gubatron
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.
2014-01-06qt: Better status text for mined transactionsWladimir J. van der Laan
Fixes ancient issue #614.
2013-11-10Cleanup code using forward declarations.Brandon Dahler
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.
2013-11-04qt: add license header to source filesWladimir J. van der Laan
Closes #839
2013-10-11Refactor/encapsulate chain globals into a CChain classPieter Wuille
2013-09-06Merge pull request #2976 from laanwj/2013_09_txid_detailsWladimir J. van der Laan
qt: add vout index to transaction id in transactions details dialog
2013-09-06qt: add vout index to transaction id in transactions details dialogWladimir J. van der Laan
2013-09-06Bitcoin-Qt: Use qDebug() for printing to debug.logPhilip Kaufmann
- removes all usages of PrintDebugStringF from Qt code - ensure same format for all debug.log messages "functionname : Message"
2013-09-02Merge pull request #2951 from laanwj/2013_08_addressbook_purposeWladimir J. van der Laan
[Qt] Handle address purpose in incremental updates
2013-08-29qt: Handle address purpose in incremental updatesWladimir J. van der Laan
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.
2013-08-29Bitcoin-Qt: fixes for using display unit from optionsPhilip Kaufmann
- 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
2013-03-17Bitcoin-Qt: massive header and cpp cleanupPhilip Kaufmann
- 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
2013-01-09Display tx nLockTime correctly when set to block #Peter Todd
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.
2012-08-23Treat generation (mined) transactions less different from receive transactionsLuke Dashjr
- 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
2012-06-20GUI: ensure a changed bitcoin unit immediately updates the tx list amountsPhilip Kaufmann
2012-06-09update info string in GUI for generated blocks and change "must wait" into ↵Philip Kaufmann
"must mature" to take the new immature label into consideration
2012-05-20Fine-grained UI updatesWladimir J. van der Laan
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.
2012-04-17Remove headers.hPieter Wuille
2012-04-15fix warnings: 'XX' defined as a struct here but previously declared as a ↵Wladimir J. van der Laan
class [-Wmismatched-tags]
2012-04-09Use scoped locks instead of CRITICAL_BLOCKPieter Wuille
2012-03-27removed an ugly line break in a transaction tooltip for case ↵Philip Kaufmann
TransactionStatus::Mature
2011-12-28Fix transaction type in UI: not all tx'es with "from"/"to" field are ↵Wladimir J. van der Laan
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)
2011-09-02update to work with new lock system, add protocol.* to build systemWladimir J. van der Laan
2011-08-08QtUI code cleanup / comment improvementsWladimir J. van der Laan
2011-08-07don't include <QDebug>Wladimir J. van der Laan
2011-08-06reorganize transaction model data function, and transaction tooltipWladimir J. van der Laan
2011-08-05improve tooltip over transactionsWladimir J. van der Laan
2011-08-04Clarity: change definition of "confirmed" to "counts towards balance"Wladimir J. van der Laan
2011-08-03show last few transactions on overview pageWladimir J. van der Laan
2011-07-31show n/a for mined transactions (and send to self) instead of empty fieldWladimir J. van der Laan
2011-07-31address iconsWladimir J. van der Laan
2011-07-30Hide addresses in transaction overview by default, they can be re-shown as a ↵Wladimir J. van der Laan
configuration option
2011-07-29Full support for other units, add configuration option for default unit ↵Wladimir J. van der Laan
(used when displaying amounts)
2011-07-25preparations for multiple unit (uBTC, mBTC, BTC) support, fix amount entry issueWladimir J. van der Laan
2011-07-25put color constants in guiconstants.hWladimir J. van der Laan
2011-07-08Add context menu on transaction list: copy label, copy address, edit label, ↵Wladimir J. van der Laan
show details
2011-07-08Transaction list: less terse tooltipWladimir J. van der Laan
2011-07-07"Status" doesn't fit into narrow first column in transaction history, make ↵Wladimir J. van der Laan
the header empty
2011-07-07Qt handles the "..." for too long table rows. Remove this functionality from ↵Wladimir J. van der Laan
TransactionTableModel...
2011-07-07Export functionality for transaction listWladimir J. van der Laan