ipfs-cluster/test
Hector Sanjuan da24114ae0 Proxy: hijack pin/update
The IPFS pin/update endpoint takes two arguments and usually
unpins the first and pins the second. It is a bit more efficient
to do it in a single operation than two separate ones.

This will make the proxy endpoint hijack pin/update requests.

First, the FROM pin is fetched from the state. If present, we
set the options (replication factors, actual allocations) from
that pin to the new one. Then we pin the TO item and proceed
to unpin the FROM item when `unpin` is not false.

We need to support path resolving, just like IPFS, therefore
it was necessary to expose IPFSResolve() via RPC.
2019-04-29 16:36:40 +02:00
..
cids.go Rename "test.Test*" to "test.*" (test.TestCid1 -> test.Cid1) 2019-02-27 20:19:10 +00:00
ipfs_mock.go Consensus: add new "crdt" consensus component 2019-04-17 19:14:26 +02:00
rpc_api_mock.go Proxy: hijack pin/update 2019-04-29 16:36:40 +02:00
sharding.go Rename "test.Test*" to "test.*" (test.TestCid1 -> test.Cid1) 2019-02-27 20:19:10 +00:00
test_test.go Consensus: add new "crdt" consensus component 2019-04-17 19:14:26 +02:00
test.go Add/improve godoc descriptions for some modules. 2018-08-23 14:14:06 +02:00