• Jakub Sztandera's avatar
    cid-sec: fix bitswap strom caused by insecure CIDs · fab4b5ed
    Jakub Sztandera authored
    When we introduced CID security we didn't take into account that bitswap
    might repeatly try getting the objects from the network if it fails
    putting them into the blockstore.
    
    Solution from this is not requesting those objects from bitswap.
    The proper solution of failing at CID creation will make in much more
    cleaner in future.
    
    License: MIT
    Signed-off-by: default avatarJakub Sztandera <kubuxu@protonmail.ch>
    fab4b5ed
blockservice.go 8.88 KB