aboutsummaryrefslogtreecommitdiff
path: root/src/qt/transactiontablemodel.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright headers to 2018DrahtBot2018-07-271-1/+1
|
* Remove useless mapRequest tracking that just effects Qt display.Matt Corallo2018-07-091-9/+0
| | | | | | | I thought we had removed this a long time ago, TBH, its really confusing feedback to users that we display whether a tx was broadcast to immediate neighbor nodes, given that has little indication of whether the tx propagated very far.
* scripted-diff: Avoid `interface` keyword to fix windows gitian buildRussell Yanofsky2018-04-071-9/+9
| | | | | | | | | | | | | | | | | | Rename `interface` to `interfaces` Build failure reported by Chun Kuan Lee <[email protected]> https://github.com/bitcoin/bitcoin/pull/10244#issuecomment-379434756 -BEGIN VERIFY SCRIPT- git mv src/interface src/interfaces ren() { git grep -l "$1" | xargs sed -i "s,$1,$2,g"; } ren interface/ interfaces/ ren interface:: interfaces:: ren BITCOIN_INTERFACE_ BITCOIN_INTERFACES_ ren "namespace interface" "namespace interfaces" -END VERIFY SCRIPT-
* Remove direct bitcoin calls from qt transaction table filesRussell Yanofsky2018-04-041-62/+38
|
* qt: Remove TransactionTableModel::TxIDRoleJoão Barbosa2018-03-071-3/+1
|
* Increment MIT Licence copyright header year on files modified in 2017Akira Takizawa2018-01-031-1/+1
|
* Merge #10493: Use range-based for loops (C++11) when looping over map elementsMarcoFalke2017-11-301-3/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 680bc2cbb Use range-based for loops (C++11) when looping over map elements (practicalswift) Pull request description: Before this commit: ```c++ for (std::map<T1, T2>::iterator x = y.begin(); x != y.end(); ++x) { T1 z = (*x).first; … } ``` After this commit: ```c++ for (auto& x : y) { T1 z = x.first; … } ``` Tree-SHA512: 954b136b7f5e6df09f39248a6b530fd9baa9ab59d7c2c7eb369fd4afbb591b7a52c92ee25f87f1745f47b41d6828b7abfd395b43daf84a55b4e6a3d45015e3a0
| * Use range-based for loops (C++11) when looping over map elementspracticalswift2017-10-091-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | Before this commit: for (std::map<T1, T2>::iterator x = y.begin(); x != y.end(); ++x) { } After this commit: for (auto& x : y) { }
* | scripted-diff: Replace #include "" with #include <> (ryanofsky)MeshCollider2017-11-161-17/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -BEGIN VERIFY SCRIPT- for f in \ src/*.cpp \ src/*.h \ src/bench/*.cpp \ src/bench/*.h \ src/compat/*.cpp \ src/compat/*.h \ src/consensus/*.cpp \ src/consensus/*.h \ src/crypto/*.cpp \ src/crypto/*.h \ src/crypto/ctaes/*.h \ src/policy/*.cpp \ src/policy/*.h \ src/primitives/*.cpp \ src/primitives/*.h \ src/qt/*.cpp \ src/qt/*.h \ src/qt/test/*.cpp \ src/qt/test/*.h \ src/rpc/*.cpp \ src/rpc/*.h \ src/script/*.cpp \ src/script/*.h \ src/support/*.cpp \ src/support/*.h \ src/support/allocators/*.h \ src/test/*.cpp \ src/test/*.h \ src/wallet/*.cpp \ src/wallet/*.h \ src/wallet/test/*.cpp \ src/wallet/test/*.h \ src/zmq/*.cpp \ src/zmq/*.h do base=${f%/*}/ relbase=${base#src/} sed -i "s:#include \"\(.*\)\"\(.*\):if test -e \$base'\\1'; then echo \"#include <\"\$relbase\"\\1>\\2\"; else echo \"#include <\\1>\\2\"; fi:e" $f done -END VERIFY SCRIPT-
* | Merge #10368: [wallet] Remove helper conversion operator from walletWladimir J. van der Laan2017-11-091-1/+1
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | 5a5e4e9 [wallet] Remove CTransaction&() helper conversion operator from wallet implementation. (Karl-Johan Alm) Pull request description: The `CTransaction&()` operator in `CMerkleTx` makes conversion into `CTransaction`s transparent, but was marked as to-be-removed in favor of explicitly getting the `tx` ivar, presumably as the operator can lead to ambiguous behavior and makes the code harder to follow. This PR removes the operator and adapts callers. This includes some cases of `static_cast<CTransaction>(wtx)` → `*wtx.tx`, which is definitely an improvement. Tree-SHA512: 95856fec7194d6a79615ea1c322abfcd6bcedf6ffd0cfa89bbdd332ce13035fa52dd4b828d20df673072dde1be64b79c513529a6f422dd5f0961ce722a32d56a
| * [wallet] Remove CTransaction&() helper conversion operator from wallet ↵Karl-Johan Alm2017-05-091-1/+1
| | | | | | | | implementation.
* | Merge #10502: scripted-diff: Remove BOOST_FOREACH, Q_FOREACH and PAIRTYPEPieter Wuille2017-06-131-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 1238f13cf scripted-diff: Remove PAIRTYPE (Jorge Timón) 18dc3c396 scripted-diff: Remove Q_FOREACH (Jorge Timón) 7c00c2672 scripted-diff: Fully remove BOOST_FOREACH (Jorge Timón) a5410ac5e Small preparations for Q_FOREACH, PAIRTYPE and #include <boost/foreach.hpp> removal (Jorge Timón) Tree-SHA512: d3ab4a173366402e7dcef31608977b757d4aa07abbbad2ee1bcbcfa311e994a4552f24e5a55272cb22c2dcf89a4b0495e02e9d9aceae4b08c0bab668f20e324c
| * | scripted-diff: Remove Q_FOREACHJorge Timón2017-06-051-1/+1
| | | | | | | | | | | | | | | | | | -BEGIN VERIFY SCRIPT- sed -i 's/Q_FOREACH *(\(.*\),/for (\1 :/' ./src/*.h ./src/*.cpp ./src/*/*.h ./src/*/*.cpp ./src/*/*/*.h ./src/*/*/*.cpp ; -END VERIFY SCRIPT-
* | | Remove unused Boost includespracticalswift2017-06-091-2/+0
|/ /
* / [Qt] make sure transaction table entry gets updated after bumpJonas Schnelli2017-05-241-0/+4
|/
* Increment MIT Licence copyright header year on files modified in 2016isle29832016-12-311-1/+1
| | | | | | Edited via: $ contrib/devtools/copyright_header.py update .
* Rename the remaining main.{h,cpp} to validation.{h,cpp}Matt Corallo2016-12-021-1/+1
|
* Do not shadow in src/qtPavel Janík2016-09-231-9/+9
|
* [Qt] Support for abandoned/abandoning transactionsJonas Schnelli2016-04-041-0/+10
|
* QT: Add 'copy full transaction details' optionEric Shaw2016-03-071-0/+28
| | | | | | | | Adds feature from issue #7484 modifies the ctrl-c binding to copy full transaction details in transaction view. Added translation
* Bump copyright headers to 2015MarcoFalke2015-12-131-1/+1
|
* ui: Add "Copy raw transaction data" to transaction list context menuWladimir J. van der Laan2015-11-191-0/+15
| | | | | | | Add a way to quickly copy transaction hex. Primarily useful when manually submitting transactions, e.g. `-walletbroadcast=0` is set.
* qt: Introduce PlatformStyleWladimir J. van der Laan2015-07-311-4/+5
| | | | | | | | | | | | | | Introduce a PlatformStyle to handle platform-specific customization of the UI. This replaces 'scicon', as well as #ifdefs to determine whether to place icons on buttons. The selected PlatformStyle defaults to the platform that the application was compiled on, but can be overridden from the command line with `-uiplatform=<x>`. Also fixes the warning from #6328.
* TRIVIAL: Missing includesJorge Timón2015-07-231-0/+2
|
* qt: define QT_NO_KEYWORDSWladimir J. van der Laan2015-07-151-5/+5
| | | | | | | | QT_NO_KEYWORDS prevents Qt from defining the `foreach`, `signals`, `slots` and `emit` macros. Avoid overlap between Qt macros and boost - for example #undef hackiness in #6421.
* Merge pull request #5833Wladimir J. van der Laan2015-04-011-2/+2
|\ | | | | | | | | 721cb55 GUI: Display label rather than address on popups (Luke Dashjr) e96028c GUI: Clarify terminology; use "Label" heading for labels row, and "Node/Service" rather than [IP] "Address" (Luke Dashjr)
| * GUI: Clarify terminology; use "Label" heading for labels row, and ↵Luke Dashjr2015-02-261-2/+2
| | | | | | | | "Node/Service" rather than [IP] "Address"
* | [Move Only] Move wallet related things to src/wallet/Jonas Schnelli2015-03-121-1/+1
|/ | | | could once be renamed from /src/wallet to /src/legacywallet.
* Remove whitespaces before double colon in errors and logsPavel Janík2015-01-311-5/+5
|
* Adopt style colour for button iconsLuke Dashjr2014-12-271-1/+7
|
* Added "Core" to copyright headerssandakersmann2014-12-191-1/+1
| | | | | Github-Pull: #5494 Rebased-From: 15de949bb9277e442302bdd8dee299a8d6deee60
* Remove references to X11 licenceMichael Ford2014-12-161-1/+1
|
* qt: Move transaction notification to transaction table modelWladimir J. van der Laan2014-10-281-65/+141
| | | | | | | | | | Move transaction new/update notification to TransactionTableModel. This moves the concerns to where they're actually handled. No need to bounce this through wallet model. - Do wallet transaction preprocessing on signal handler side; avoids locking cs_main/cs_wallet on notification in GUI thread (except for new transactions)
* Use a typedef for monetary valuesMark Friedenbach2014-09-261-2/+2
|
* Merge pull request #4667Wladimir J. van der Laan2014-09-181-19/+10
|\ | | | | | | | | bbad683 [Qt] simplify return code and return values in txtablemodel (Philip Kaufmann) 21f1516 [Qt] add all used colors in txtablemodel to guiconstants (Philip Kaufmann)
| * [Qt] simplify return code and return values in txtablemodelPhilip Kaufmann2014-08-281-16/+6
| | | | | | | | - also move an added space in a string where it belongs
| * [Qt] add all used colors in txtablemodel to guiconstantsPhilip Kaufmann2014-08-281-3/+4
| | | | | | | | - add colors used in TX status decoration
* | [Qt] minor watch-only changesPhilip Kaufmann2014-08-281-4/+10
|/ | | | | | - use watch-only, not watchonly - add back a tooltip hint when hovering addresses and attach "(watch-only)" at the end
* [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.