mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 21:12:48 +01:00
da2f503a48
* [Qt] make sure transaction table entry gets updated after bump * Remove unnecessary tracking of IS lock count * Track lockedByChainLocks in TransactionRecord * Only update record when the TX was not ChainLocked before * Emit dataChanged for CT_UPDATED transactions * Use plain seconds since epoch comparison in TransactionFilterProxy::filterAcceptsRow The QDateTime::operator< calls inside TransactionFilterProxy::filterAcceptsRow turned out to be the slowest part in the UI when many TXs are inside the wallet. DateRoleInt allows us to request the plain seconds since epoch which we then use to compare against dateFrom/dateTo, which are also both stored as seconds since epoch now. * Don't invoke updateConfirmations directly and let pollBalanceChanged handle it * Implement AddressTableModel::labelForDestination This one avoids converting from string to CBitcoinAddress and calling .Get() on the result. * Also store CBitcoinAddress object and CTxDestination in TransactionRecord This avoids frequent and slow conversion * Use labelForDestination when possible This avoids unnecessary conversions * Don't set fForceCheckBalanceChanged to true when IS lock is received We already do this through updateTransaction(), which is also called when an IS lock is received for one of our own TXs. * Only update lockedByChainLocks and lockedByInstantSend when a change is possible lockedByChainLocks can never get back to false, so no need to re-check it. Same with lockedByInstantSend, except when a ChainLock overrides it. * Hold and update label in TransactionRecord Instead of looking it up in data() * Review suggestions * Use proper columns in dataChanged call in updateAddressBook |
||
---|---|---|
.. | ||
forms | ||
locale | ||
res | ||
test | ||
addressbookpage.cpp | ||
addressbookpage.h | ||
addresstablemodel.cpp | ||
addresstablemodel.h | ||
askpassphrasedialog.cpp | ||
askpassphrasedialog.h | ||
bantablemodel.cpp | ||
bantablemodel.h | ||
bitcoinaddressvalidator.cpp | ||
bitcoinaddressvalidator.h | ||
bitcoinamountfield.cpp | ||
bitcoinamountfield.h | ||
bitcoingui.cpp | ||
bitcoingui.h | ||
bitcoinunits.cpp | ||
bitcoinunits.h | ||
callback.h | ||
clientmodel.cpp | ||
clientmodel.h | ||
coincontroldialog.cpp | ||
coincontroldialog.h | ||
coincontroltreewidget.cpp | ||
coincontroltreewidget.h | ||
csvmodelwriter.cpp | ||
csvmodelwriter.h | ||
dash_locale.qrc | ||
dash.cpp | ||
dash.qrc | ||
dashstrings.cpp | ||
editaddressdialog.cpp | ||
editaddressdialog.h | ||
guiconstants.h | ||
guiutil.cpp | ||
guiutil.h | ||
intro.cpp | ||
intro.h | ||
macdockiconhandler.h | ||
macdockiconhandler.mm | ||
macnotificationhandler.h | ||
macnotificationhandler.mm | ||
macos_appnap.h | ||
macos_appnap.mm | ||
masternodelist.cpp | ||
masternodelist.h | ||
modaloverlay.cpp | ||
modaloverlay.h | ||
networkstyle.cpp | ||
networkstyle.h | ||
notificator.cpp | ||
notificator.h | ||
openuridialog.cpp | ||
openuridialog.h | ||
optionsdialog.cpp | ||
optionsdialog.h | ||
optionsmodel.cpp | ||
optionsmodel.h | ||
overviewpage.cpp | ||
overviewpage.h | ||
paymentrequest.proto | ||
paymentrequestplus.cpp | ||
paymentrequestplus.h | ||
paymentserver.cpp | ||
paymentserver.h | ||
peertablemodel.cpp | ||
peertablemodel.h | ||
platformstyle.cpp | ||
platformstyle.h | ||
qrdialog.cpp | ||
qrdialog.h | ||
qvalidatedlineedit.cpp | ||
qvalidatedlineedit.h | ||
qvaluecombobox.cpp | ||
qvaluecombobox.h | ||
receivecoinsdialog.cpp | ||
receivecoinsdialog.h | ||
receiverequestdialog.cpp | ||
receiverequestdialog.h | ||
recentrequeststablemodel.cpp | ||
recentrequeststablemodel.h | ||
rpcconsole.cpp | ||
rpcconsole.h | ||
sendcoinsdialog.cpp | ||
sendcoinsdialog.h | ||
sendcoinsentry.cpp | ||
sendcoinsentry.h | ||
signverifymessagedialog.cpp | ||
signverifymessagedialog.h | ||
splashscreen.cpp | ||
splashscreen.h | ||
trafficgraphdata.cpp | ||
trafficgraphdata.h | ||
trafficgraphwidget.cpp | ||
trafficgraphwidget.h | ||
transactiondesc.cpp | ||
transactiondesc.h | ||
transactiondescdialog.cpp | ||
transactiondescdialog.h | ||
transactionfilterproxy.cpp | ||
transactionfilterproxy.h | ||
transactionrecord.cpp | ||
transactionrecord.h | ||
transactiontablemodel.cpp | ||
transactiontablemodel.h | ||
transactionview.cpp | ||
transactionview.h | ||
utilitydialog.cpp | ||
utilitydialog.h | ||
walletframe.cpp | ||
walletframe.h | ||
walletmodel.cpp | ||
walletmodel.h | ||
walletmodeltransaction.cpp | ||
walletmodeltransaction.h | ||
walletview.cpp | ||
walletview.h | ||
winshutdownmonitor.cpp | ||
winshutdownmonitor.h |