kubo/exchange/bitswap
Brian Tiger Chow f94d6a37b6 refactor(bitswap/message) use map to prevent duplicate entries
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.
2014-10-27 21:58:20 -07:00
..
message refactor(bitswap/message) use map to prevent duplicate entries 2014-10-27 21:58:20 -07:00
network lots of logging 2014-10-26 00:45:40 +00:00
notifications removed error from return type of blocks.NewBlock() 2014-10-07 20:46:01 +00:00
strategy style(bitswap/message) rename AppendWanted -> AddWanted 2014-10-27 21:58:20 -07:00
testnet peer.Peer is now an interface 2014-10-20 03:26:46 -07:00
bitswap_test.go fix(blockstore, bitswap) enforce threadsafety in blockstore 2014-10-24 16:16:41 -07:00
bitswap.go style(bitswap/message) rename AppendWanted -> AddWanted 2014-10-27 21:58:20 -07:00