Closed cuongdo closed 6 years ago
I incorporated @wanderingstan's suggestion of getting the IPFS hashes related to Origin listings directly from the blockchain. This works much better now, at least in my local test environment (with a local IPFS, blockchain, etc.).
It's been a while since I've run the bridge server and I'm running into issues getting it running now, so I'm not able to test this just yet. Code LGTM and I'm working on getting my environment set up properly. Will hopefully be able to test soon.
Checklist:
autopep8 --in-place --recursive --a --a .
develop
branch instead ofmaster
Description:
This PR adds a new tool called
ipfs_pinner.py
for pinning / unpinning IPFS hashes depending on whether they have a corresponding Origin listing. This is meant to be run as a cron job.ipfs_pinner.py
inherits its settings frombridge-server
.