• taylor's avatar
    bitswap: Bitswap now sends multiple blocks per message · eb0d1ffc
    taylor authored
    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: default avatarJeromy <why@ipfs.io>
    eb0d1ffc
wantlist.go 4.23 KB