Mark Spanbroek
|
b0a1166c3c
|
Bitswap: retrieve() waits until IPFS object has been retrieved
Workaround that always waited for exactly 1 second has been removed.
|
2021-02-02 19:29:52 +01:00 |
Mark Spanbroek
|
b54c3d9585
|
Implement Ipfs API
|
2021-02-02 19:29:52 +01:00 |
Mark Spanbroek
|
a63000f602
|
Exchange objects between peers using bitswap
|
2021-02-02 19:29:52 +01:00 |
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
|
dc06106ae1
|
Change MerkleDag to IpfsObject 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 |