mirror of
https://github.com/ipfs/kubo.git
synced 2026-03-01 06:17:56 +08:00
A nice invariant for bitswap sessions:
Senders and receivers can trust that messages do not contain
duplicate blocks or duplicate keys. Backing the message with a
map enforces this invariant.
This comes at the cost of O(n) getters.
|
||
|---|---|---|
| .. | ||
| bitswap | ||
| offline | ||
| interface.go | ||