ethersphere / swarm

Swarm: Censorship resistant storage and communication infrastructure for a truly sovereign digital society
https://swarm.ethereum.org/
GNU Lesser General Public License v3.0
488 stars 110 forks source link

api, cmd, prod, pss, swarm: get publisher and query feed for chunk repair request #2175

Closed mortelli closed 4 years ago

mortelli commented 4 years ago

This PR is a WIP for the following task:

implement inheriting publisher info via the context.WithValue, construct and lookup the latest update of the pinners feed.

from issue #2161.

Implementation overview

Tasks

mortelli commented 4 years ago

the manifests part of this issue is still not complete, but the first iteration for the feeds part is ready, so i am requesting preliminary reviews from @zelig and @santicomp2014.

mortelli commented 4 years ago

i am marking the testing task as complete due to the following reasons:

mortelli commented 4 years ago

how about extracting the non-controversial parts in one or two PRs which we just merge?

* Targets  type in trojan package

* feed testutils and handler interface

then rebase this PR and we figure out contexts and how publisher gets in there etc

added PRs #2178 and #2179 for this.

thank you for the very appropriate suggestion

mortelli commented 4 years ago

new related issue: #2180

mortelli commented 4 years ago

new related issue: #2181