@brianoflondon Brian, can you find out what it would take to run a private Hive chain in case of failure? I'll write a server implementation for the publisher-side interface this week. Once that's written and we know how hosts can call it, we can put your hive script on the back-side and start testing it by replicating our in-bound websub to it.
@agates Do you want to get the firehose to start with so we can start playing with alternateEnclosure live trigger?
I think I'm most likely going to implement an alpha version of this proposal, I don't see it as specific to alternateEnclosure
@dave @agates I'm thinking the best thing I could write (which means learning how Docker works) is a container that is a very simple internal
API with no authentication that you run which just sends a passed json onto the Hive chain.
The credentials of the Hive account that writes the call will be in the Docker environment (if I understand Docker so far).
You can then wrap that in a podcastindex API call and we test.
BTW I just added to the watcher.py file the functionality to look back X Days or Minutes and then start monitoring when it catches up with realtime.
I also fixed those API errors by RTFing the M ;-)
Plus the monitor is now nearly instant (more like the 3s block time).
@brianoflondon @agates I’ll give you and Alex maintainer access to the podping repo tonight so you can post the code to it. Just make it so that the code doesn’t contain any permission/account keys and then we can use docker to pass that info to the script on the command line at run time.
I can make that repo private if you don’t want the code seen publicly yet.
@dave @agates I've now figured out that with a tiny code change I can get much faster notifications (about 3 to 6 seconds). I was unnecessarily waiting for too many confirmations of blocks which is totally unnecessary.
I have built a very very simple flask app that acts as an API for sending JSONs to the chain but I'm struggling to learn Docker in a day!
I'm also unsure how. you will use the watcher program in a real environment so unsure what more I can build right now.
Intended for all stake holders of podcasting who are interested in improving the eco system