neobytes/src/rpc
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
..
blockchain.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
client.cpp fix instantsendtoaddress param convertion (#1585) 2017-08-23 17:21:33 +03:00
client.h Backport Bincoin PR#7348: MOVE ONLY: move rpc* to rpc/ + same for Dash-specific rpc (#1502) 2017-07-03 16:13:34 +03:00
governance.cpp Fix MasternodeRateCheck (#1490) 2017-08-23 17:22:23 +03:00
masternode.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
mining.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
misc.cpp net: Consistently use GetTimeMicros() for inactivity checks (#1588) 2017-08-24 02:38:29 +03:00
net.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
protocol.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
protocol.h Backport Bitcoin PR#8085: p2p: Begin encapsulation (#1537) 2017-07-21 12:35:19 +03:00
rawtransaction.cpp Relay tx in sendrawtransaction according to its inv.type (#1584) 2017-08-23 17:26:57 +03:00
server.cpp Replace watchdogs with ping (#1491) 2017-07-04 20:31:57 +03:00
server.h Replace watchdogs with ping (#1491) 2017-07-04 20:31:57 +03:00