dash/src/qt
Oleg Girko c56ba56e79 net: Consistently use GetTimeMicros() for inactivity checks (#1588)
The use of mocktime in test logic means that comparisons between
GetTime() and GetTimeMicros()/1000000 are unreliable since the former
can use mocktime values while the latter always gets the system clock;
this changes the networking code's inactivity checks to consistently
use the system clock for inactivity comparisons.

Also remove some hacks from setmocktime() that are no longer needed,
now that we're using the system clock for nLastSend and nLastRecv.
2017-08-24 02:38:29 +03:00
..
forms Qt: bug fixes and enhancement to traffic graph widget (#1429) 2017-05-28 16:49:34 +03:00
locale Translations201703 (#1384) 2017-03-20 04:20:23 +03:00
res Icon Cutoff Fix (#1485) 2017-06-06 02:47:36 +03:00
test Qt: bug fixes and enhancement to traffic graph widget (#1429) 2017-05-28 16:49:34 +03:00
addressbookpage.cpp bump copyright notice to 2017 (#1207) 2016-12-20 17:26:45 +04:00
addressbookpage.h Bump copyright headers to 2015 2016-01-05 14:13:33 +01:00
addresstablemodel.cpp HD wallet (#1405) 2017-05-29 14:51:40 +03:00
addresstablemodel.h Bump copyright headers to 2015 2016-01-05 14:13:33 +01:00
askpassphrasedialog.cpp bump copyright notice to 2017 (#1207) 2016-12-20 17:26:45 +04:00
askpassphrasedialog.h Wallet passphrase lock fixes (#987) 2016-09-11 13:02:54 +04:00
bantablemodel.cpp Backport Bitcoin PR#8085: p2p: Begin encapsulation (#1537) 2017-07-21 12:35:19 +03:00
bantablemodel.h Bump copyright headers to 2015 2016-01-05 14:13:33 +01:00
bitcoinaddressvalidator.cpp bump copyright notice to 2017 (#1207) 2016-12-20 17:26:45 +04:00
bitcoinaddressvalidator.h
bitcoinamountfield.cpp Merge remote-tracking branch 'bitcoin/0.12' into HEAD 2016-02-06 16:48:04 +03:00
bitcoinamountfield.h Bump copyright headers to 2015 2016-01-05 14:13:33 +01:00
bitcoingui.cpp Backport Bitcoin PR#7917: Optimize reindex (#1515) 2017-07-10 17:41:14 +03:00
bitcoingui.h Backport Bitcoin PR#7917: Optimize reindex (#1515) 2017-07-10 17:41:14 +03:00
bitcoinunits.cpp bump copyright notice to 2017 (#1207) 2016-12-20 17:26:45 +04:00
bitcoinunits.h bump copyright notice to 2017 (#1207) 2016-12-20 17:26:45 +04:00
clientmodel.cpp Backport Bitcoin PR#9260: Mrs Peacock in The Library with The Candlestick (killed main.{h,cpp}) (#1566) 2017-08-09 03:19:06 +03:00
clientmodel.h Backport Bitcoin PR#7917: Optimize reindex (#1515) 2017-07-10 17:41:14 +03:00
coincontroldialog.cpp Backport Bitcoin PR#9260: Mrs Peacock in The Library with The Candlestick (killed main.{h,cpp}) (#1566) 2017-08-09 03:19:06 +03:00
coincontroldialog.h Trivial: more darksend -> privatesend (#980) 2016-09-01 11:03:47 +04:00
coincontroltreewidget.cpp Bump copyright headers to 2015 2016-01-05 14:13:33 +01:00
coincontroltreewidget.h
csvmodelwriter.cpp
csvmodelwriter.h
darksendconfig.cpp Refactor PS (#1437) 2017-05-05 14:26:27 +03:00
darksendconfig.h Merge remote-tracking branch 'bitcoin/0.12' into HEAD 2016-02-06 16:48:04 +03:00
dash_locale.qrc typo in translation config 2016-01-16 12:06:09 +01:00
dash.cpp Backport Bincoin PR#7348: MOVE ONLY: move rpc* to rpc/ + same for Dash-specific rpc (#1502) 2017-07-03 16:13:34 +03:00
dash.qrc HD wallet (#1405) 2017-05-29 14:51:40 +03:00
dashstrings.cpp Translations201703 (#1384) 2017-03-20 04:20:23 +03:00
editaddressdialog.cpp bump copyright notice to 2017 (#1207) 2016-12-20 17:26:45 +04:00
editaddressdialog.h Bump copyright headers to 2015 2016-01-05 14:13:33 +01:00
guiconstants.h bump copyright notice to 2017 (#1207) 2016-12-20 17:26:45 +04:00
guiutil.cpp Backport Bitcoin PR#9260: Mrs Peacock in The Library with The Candlestick (killed main.{h,cpp}) (#1566) 2017-08-09 03:19:06 +03:00
guiutil.h Backport Bitcoin PR#8085: p2p: Begin encapsulation (#1537) 2017-07-21 12:35:19 +03:00
intro.cpp Fix datadir initialization in dash-qt (#1287) 2017-01-27 18:07:13 +04:00
intro.h Bump copyright headers to 2015 2016-01-05 14:13:33 +01:00
macdockiconhandler.h Bump copyright headers to 2015 2016-01-05 14:13:33 +01:00
macdockiconhandler.mm
macnotificationhandler.h
macnotificationhandler.mm Cleanup 2016-02-15 00:01:44 +03:00
masternodelist.cpp Fix locking issues in dash-qt masternodelist (#1328) 2017-02-10 04:56:52 +04:00
masternodelist.h Fix locking issues in dash-qt masternodelist (#1328) 2017-02-10 04:56:52 +04:00
networkstyle.cpp Migration fixes (#1247) 2017-01-04 21:47:50 +04:00
networkstyle.h bump copyright notice to 2017 (#1207) 2016-12-20 17:26:45 +04:00
notificator.cpp
notificator.h Merge remote-tracking branch 'bitcoin/0.12' into HEAD 2016-02-06 16:48:04 +03:00
openuridialog.cpp bump copyright notice to 2017 (#1207) 2016-12-20 17:26:45 +04:00
openuridialog.h Bump copyright headers to 2015 2016-01-05 14:13:33 +01:00
optionsdialog.cpp Backport Bitcoin PR#9260: Mrs Peacock in The Library with The Candlestick (killed main.{h,cpp}) (#1566) 2017-08-09 03:19:06 +03:00
optionsdialog.h Bump copyright headers to 2015 2016-01-05 14:13:33 +01:00
optionsmodel.cpp Backport Bitcoin PR#9260: Mrs Peacock in The Library with The Candlestick (killed main.{h,cpp}) (#1566) 2017-08-09 03:19:06 +03:00
optionsmodel.h Trivial refactoring/cleanup (#990) 2016-09-05 20:09:25 +04:00
overviewpage.cpp Backport Bitcoin PR#8085: p2p: Begin encapsulation (#1537) 2017-07-21 12:35:19 +03:00
overviewpage.h [UI] In-wallet PrivateSend help (#1129) 2016-11-05 20:13:16 +04:00
paymentrequest.proto
paymentrequestplus.cpp Update for OpenSSL 1.1 API. (#1336) 2017-02-15 19:18:24 +04:00
paymentrequestplus.h Bump copyright headers to 2015 2016-01-05 14:13:33 +01:00
paymentserver.cpp Backport Bitcoin PR#9260: Mrs Peacock in The Library with The Candlestick (killed main.{h,cpp}) (#1566) 2017-08-09 03:19:06 +03:00
paymentserver.h Merge remote-tracking branch 'bitcoin/0.12' into HEAD 2016-02-06 16:48:04 +03:00
peertablemodel.cpp Backport Bitcoin PR#9260: Mrs Peacock in The Library with The Candlestick (killed main.{h,cpp}) (#1566) 2017-08-09 03:19:06 +03:00
peertablemodel.h Backport Bitcoin PR#9260: Mrs Peacock in The Library with The Candlestick (killed main.{h,cpp}) (#1566) 2017-08-09 03:19:06 +03:00
platformstyle.cpp [UI] Enable themed *.png icons again for Linux 2016-04-20 17:35:53 +02:00
platformstyle.h
qvalidatedlineedit.cpp Bump copyright headers to 2015 2016-01-05 14:13:33 +01:00
qvalidatedlineedit.h Bump copyright headers to 2015 2016-01-05 14:13:33 +01:00
qvaluecombobox.cpp Bump copyright headers to 2015 2016-01-05 14:13:33 +01:00
qvaluecombobox.h Bump copyright headers to 2015 2016-01-05 14:13:33 +01:00
receivecoinsdialog.cpp [UI] Add Instantsend parameter to URI/QR-code (#1042) 2016-09-27 11:48:52 +04:00
receivecoinsdialog.h Bump copyright headers to 2015 2016-01-05 14:13:33 +01:00
receiverequestdialog.cpp [UI] Add Instantsend parameter to URI/QR-code (#1042) 2016-09-27 11:48:52 +04:00
receiverequestdialog.h Bump copyright headers to 2015 2016-01-05 14:13:33 +01:00
recentrequeststablemodel.cpp Bump copyright headers to 2015 2016-01-05 14:13:33 +01:00
recentrequeststablemodel.h Merge remote-tracking branch 'bitcoin/0.12' into HEAD 2016-02-06 16:48:04 +03:00
rpcconsole.cpp net: Consistently use GetTimeMicros() for inactivity checks (#1588) 2017-08-24 02:38:29 +03:00
rpcconsole.h Backport Bitcoin PR#7917: Optimize reindex (#1515) 2017-07-10 17:41:14 +03:00
sendcoinsdialog.cpp Backport Bitcoin PR#9260: Mrs Peacock in The Library with The Candlestick (killed main.{h,cpp}) (#1566) 2017-08-09 03:19:06 +03:00
sendcoinsdialog.h More instantx->instantsend (few more ds->privatesend) (#984) 2016-09-02 16:17:32 +04:00
sendcoinsentry.cpp bump copyright notice to 2017 (#1207) 2016-12-20 17:26:45 +04:00
sendcoinsentry.h Bump copyright headers to 2015 2016-01-05 14:13:33 +01:00
signverifymessagedialog.cpp Backport Bitcoin PR#9260: Mrs Peacock in The Library with The Candlestick (killed main.{h,cpp}) (#1566) 2017-08-09 03:19:06 +03:00
signverifymessagedialog.h Bump copyright headers to 2015 2016-01-05 14:13:33 +01:00
splashscreen.cpp Splashscreen now displays correctly (Fully) (#1367) 2017-02-28 12:59:27 +04:00
splashscreen.h Bump copyright headers to 2015 2016-01-05 14:13:33 +01:00
trafficgraphdata.cpp Qt: bug fixes and enhancement to traffic graph widget (#1429) 2017-05-28 16:49:34 +03:00
trafficgraphdata.h Qt: bug fixes and enhancement to traffic graph widget (#1429) 2017-05-28 16:49:34 +03:00
trafficgraphwidget.cpp Qt: bug fixes and enhancement to traffic graph widget (#1429) 2017-05-28 16:49:34 +03:00
trafficgraphwidget.h Qt: bug fixes and enhancement to traffic graph widget (#1429) 2017-05-28 16:49:34 +03:00
transactiondesc.cpp Backport Bitcoin PR#9260: Mrs Peacock in The Library with The Candlestick (killed main.{h,cpp}) (#1566) 2017-08-09 03:19:06 +03:00
transactiondesc.h
transactiondescdialog.cpp Merge remote-tracking branch 'bitcoin/0.12' into HEAD 2016-02-06 16:48:04 +03:00
transactiondescdialog.h
transactionfilterproxy.cpp Merge remote-tracking branch 'bitcoin/0.12' into HEAD 2016-02-06 16:48:04 +03:00
transactionfilterproxy.h Merge remote-tracking branch 'bitcoin/0.12' into HEAD 2016-02-06 16:48:04 +03:00
transactionrecord.cpp Backport Bitcoin PR#9260: Mrs Peacock in The Library with The Candlestick (killed main.{h,cpp}) (#1566) 2017-08-09 03:19:06 +03:00
transactionrecord.h Trivial: more darksend -> privatesend (#980) 2016-09-01 11:03:47 +04:00
transactiontablemodel.cpp Backport Bitcoin PR#9260: Mrs Peacock in The Library with The Candlestick (killed main.{h,cpp}) (#1566) 2017-08-09 03:19:06 +03:00
transactiontablemodel.h Bump copyright headers to 2015 2016-01-05 14:13:33 +01:00
transactionview.cpp Trivial: more darksend -> privatesend (#980) 2016-09-01 11:03:47 +04:00
transactionview.h Merge remote-tracking branch 'bitcoin/0.12' into HEAD 2016-02-06 16:48:04 +03:00
utilitydialog.cpp fixing strings and docs + instantsend.md (#1354) 2017-02-19 22:02:33 +01:00
utilitydialog.h Refactor HelpMessageDialog to reuse it for PS help info, add PS info to help menu (#1144) 2016-11-20 10:54:33 +04:00
walletframe.cpp Add masternode tab in qt wallet 2016-05-11 15:50:04 +03:00
walletframe.h Add masternode tab in qt wallet 2016-05-11 15:50:04 +03:00
walletmodel.cpp Backport Bitcoin PR#9260: Mrs Peacock in The Library with The Candlestick (killed main.{h,cpp}) (#1566) 2017-08-09 03:19:06 +03:00
walletmodel.h HD wallet (#1405) 2017-05-29 14:51:40 +03:00
walletmodeltransaction.cpp Bump copyright headers to 2015 2016-01-05 14:13:33 +01:00
walletmodeltransaction.h
walletview.cpp HD wallet (#1405) 2017-05-29 14:51:40 +03:00
walletview.h HD wallet (#1405) 2017-05-29 14:51:40 +03:00
winshutdownmonitor.cpp Fix LogPrint to LogPrintf 2016-06-21 01:01:13 +07:00
winshutdownmonitor.h