use a third-party pubsub library for internal communications Insights: * Within bitswap, the actors don't need anything more than simple pubsub behavior. Wrapping and unwrapping messages proves unneccessary. Changes: * Simplifies the interface for both actors calling GetBlock and actors receiving blocks on the network * Leverages a well-tested third-party pubsub library Design Goals: * reduce complexity * extract implementation details (wrapping and unwrapping data, etc) from bitswap and let bitswap focus on composition of core algorithms operations
| 名称 |
最后提交
|
最后更新 |
|---|---|---|
| Godeps | 正在载入提交数据... | |
| bitswap | 正在载入提交数据... | |
| blocks | 正在载入提交数据... | |
| blockservice | 正在载入提交数据... | |
| blockstore | 正在载入提交数据... | |
| cmd/ipfs | 正在载入提交数据... | |
| config | 正在载入提交数据... | |
| core | 正在载入提交数据... | |
| crypto | 正在载入提交数据... | |
| daemon | 正在载入提交数据... | |
| fuse/readonly | 正在载入提交数据... | |
| importer | 正在载入提交数据... | |
| merkledag | 正在载入提交数据... | |
| msgproto | 正在载入提交数据... | |
| net | 正在载入提交数据... | |
| path | 正在载入提交数据... | |
| peer | 正在载入提交数据... | |
| routing | 正在载入提交数据... | |
| util | 正在载入提交数据... | |
| .gitignore | 正在载入提交数据... | |
| .travis.yml | 正在载入提交数据... | |
| Dockerfile | 正在载入提交数据... | |
| LICENSE | 正在载入提交数据... | |
| Makefile | 正在载入提交数据... | |
| README.md | 正在载入提交数据... | |
| dev.md | 正在载入提交数据... | |
| doc.go | 正在载入提交数据... |