bitswap: Bitswap now sends multiple blocks per message
Updated PeerRequestTask to hold multiple wantlist.Entry(s). This allows Bitswap to send multiple blocks in bulk per a Peer's request. Also, added a metric for how many blocks to put in a given message. Currently: 512 * 1024 bytes.
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
Showing
Please register or sign in to comment