Commit Graph

669 Commits

Author SHA1 Message Date
Mark Spanbroek 28d1ddf7e3 Repo: use Option to signal retrieval success or failure 2021-02-02 19:29:52 +01:00
Mark Spanbroek 520f3f3bc9 Add Bitswap protocol for libp2p 2021-02-02 19:29:52 +01:00
Mark Spanbroek e6d84b9c0d Add initializers for bitswap messages 2021-02-02 19:29:52 +01:00
Mark Spanbroek fa15c92158 Serialize bitswap messages using protobuf 2021-02-02 19:29:52 +01:00
Mark Spanbroek 216317d4f5 Cleanup protobuf for use with protobufserialization 2021-02-02 19:29:52 +01:00
Mark Spanbroek 8f4a7d796f Added protobuf definitions for bitswap
Source:
https://github.com/ipfs/go-bitswap/blob/master/message/pb/message.proto
2021-02-02 19:29:52 +01:00
Mark Spanbroek b3f5599925 Add absolutely minimal implementation of a DHT routing table 2021-02-02 19:29:52 +01:00
Mark Spanbroek 7b15a6ae83 Disable failing test for now 2021-02-02 19:29:52 +01:00
Mark Spanbroek dc06106ae1 Change MerkleDag to IpfsObject to better match IPFS API 2021-02-02 19:29:52 +01:00
Mark Spanbroek 5a36e26e7c Change type and proc names to better match IPFS API 2021-02-02 19:29:52 +01:00
Mark Spanbroek 05a7f47113 Rename dagger->ipfs
This is a storage engine based on IPFS, which is only a part of Dagger
2021-02-02 19:29:52 +01:00
Mark Spanbroek dd18f50ec6 Replace root hash by root content id 2021-02-02 19:29:52 +01:00
Mark Spanbroek 096fe0e40d Repo for storing and retrieving Merkle DAGs 2021-02-02 19:29:52 +01:00
Mark Spanbroek ecc4e50d28 Add root hash to Merkle DAG 2021-02-02 19:29:52 +01:00
Mark Spanbroek c795c698fe Compile all tests in one go 2021-02-02 19:29:52 +01:00
Mark Spanbroek 5f5153820f Add absolutely minimal implementation of chunking 2021-02-02 19:29:52 +01:00
Mark Spanbroek 2471423197 Added (failing) test for transferring file from one peer to another 2021-02-02 19:29:52 +01:00
Mark Spanbroek bd29797aba Project setup 2021-02-02 19:29:52 +01:00
Mark Spanbroek 29bb6828ee Initial commit 2021-01-13 09:10:17 +01:00