• Steven Allen's avatar
    use CIDs directly as map keys · 77ea854e
    Steven Allen authored
    1. Use a `taskEntryKey` *type* instead of a string (now that both peer IDs and
    CIDs are hashable).
    2. Get rid of all uses of `cid.KeyString` (mostly just for type safety). This
    also means we don't need to parse the CID and allocate to convert it *back* from
    a string.
    77ea854e
session.go 7.82 KB