• Jeromy's avatar
    bitswap: protocol extension to handle cids · 52e7a8b6
    Jeromy authored
    This change adds the /ipfs/bitswap/1.1.0 protocol. The new protocol
    adds a 'payload' field to the protobuf message and deprecates the
    existing 'blocks' field. The 'payload' field is an array of pairs of cid
    prefixes and block data. The cid prefixes are used to ensure the correct
    codecs and hash functions are used to handle the block on the receiving
    end.
    
    License: MIT
    Signed-off-by: default avatarJeromy <why@ipfs.io>
    52e7a8b6
arc_cache_test.go 4.2 KB