adds the RecoveryPublisher config value and SwarmRecoveryPublisherFlag CLI flag to set a fallback content recovery publisher
modifies the recovery hook constructor to use the RecoveryPublisher value
injects the manifest hash value into the context for fallback content recovery when attempting to get a chunk (the hash will be used to create a fallback recovery feed topic)
updates the getPinners func to query the fallback recovery feed if there is some failure with the regular recovery feed
extracts the queryRecoveryFeed, getFeedTopicAndUser, getFeedContent and publisherToAddress funcs
updates prod tests to use fallback recovery publishers
WIP for #2182
This PR:
RecoveryPublisher
config value andSwarmRecoveryPublisherFlag
CLI flag to set a fallback content recovery publisherRecoveryPublisher
valuehash
value into the context for fallback content recovery when attempting to get a chunk (the hash will be used to create a fallback recovery feed topic)getPinners
func to query the fallback recovery feed if there is some failure with the regular recovery feedqueryRecoveryFeed
,getFeedTopicAndUser
,getFeedContent
andpublisherToAddress
funcsprod
tests to use fallback recovery publishers