jbenet/go-ipfs — pull request #41 by perfmode (2014-09-11 10:26:44+00:00)
Title: refactor(bitswap:message) add wrapper for proto

This PR adds a wrapper for the Proto.

Design Goals:
* allow bitswap subsystem to deal with keys and blocks rather than strings and bytes
* centralize message packaging logic
* reduce conceptual overhead in large bitswap methods