bitcoin/bitcoin — pull request #3153 by gavinandresen (2013-10-26 04:17:19+00:00)
Title: Send multiple inv messages if mempool.size > MAX_INV_SZ

Bug-fix cherry-picked from the 'smart fee' work:

Changes the response to the 'mempool' command so that if
the memory pool has more than MAX_INV_SZ transactions (50,000)
it will respond with multiple 'inv' messages.