RTradeLtd / Temporal

☄️ Temporal is an easy-to-use, enterprise-grade interface into distributed and decentralized storage
https://temporal.cloud
MIT License
227 stars 40 forks source link

Experimental Swarm Implementation (2nd Storage Network Support) #470

Closed bonedaddy closed 4 years ago

bonedaddy commented 4 years ago

:construction_worker: Purpose

This enables basic support for a 2nd storage network that can be accessed by Temporal. IT allows basic file uploads to the Swarm storage network, sometimes called "Ethereum Swarm" or "etherswarm".

We use a basic wrapper client to abstract low-level usage of the swarm network. It also allows high-level data replication by distributing data to two different swarm nodes.

:rocket: Changes

Allow swarm uploads

:warning: Breaking Changes

None

codecov[bot] commented 4 years ago

Codecov Report

Merging #470 into master will decrease coverage by 0.57%. The diff coverage is 44.12%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #470      +/-   ##
==========================================
- Coverage   52.83%   52.27%   -0.56%     
==========================================
  Files          43       44       +1     
  Lines        4371     4468      +97     
==========================================
+ Hits         2309     2335      +26     
- Misses       1549     1603      +54     
- Partials      513      530      +17     
Impacted Files Coverage Δ
api/v2/routes_rtfsp_management.go 40.94% <25.00%> (+0.06%) :arrow_up:
api/v2/routes_swarm.go 27.42% <27.42%> (ø)
api/v2/utils.go 54.74% <60.87%> (+0.85%) :arrow_up:
api/v2/api.go 85.50% <100.00%> (+0.39%) :arrow_up:
queue/ipfs_cluster.go 52.64% <0.00%> (-16.84%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 6369551...9ed6049. Read the comment docs.

bonedaddy commented 4 years ago

@xiegeo ah shoot I forgot about that, let me make the change