net: handle message accounting in ReceiveMsgBytes
commit60befa3997b98d3f913010f2621bec734f643526
authorCory Fields <cory-nospam-@coryfields.com>
Sat, 31 Dec 2016 07:05:17 +0000 (31 02:05 -0500)
committerCory Fields <cory-nospam-@coryfields.com>
Fri, 13 Jan 2017 04:05:09 +0000 (12 23:05 -0500)
tree0fc70214f870118c3363ce5c27dd0ff679664ee7
parent56212e20acf1534d443cb910c9bf3a30f84d0f02
net: handle message accounting in ReceiveMsgBytes

This allows locking to be pushed down to only where it's needed

Also reuse the current time rather than checking multiple times.
src/net.cpp