Branch: refs/heads/master Home: https://github.com/btcsuite/btcd Commit: bb8333a73927145535cb58143913fd1f97fb6e07 https://github.com/btcsuite/btcd/commit/bb8333a73927145535cb58143913fd1f97fb6e07 Author: David Hill <[email protected]> Date: 2015-06-27 (Sat, 27 Jun 2015)
Changed paths:
M peer.go
Log Message:
-----------
Use NewMsgInvSizeHint when we know the size.
When trickling inv's to peers, allocate for the number of inv's
in the queue instead of the default 1000. This should save on
memory.
