morphware / daemon

Desktop client
13 stars 3 forks source link

Stop JobPoster from calling AuctionEnd #169

Open darshanraju opened 2 years ago

darshanraju commented 2 years ago

In the case where a JobPoster goes offline before they call auction end. The auction will never end and will indefinitely be in a revealing phase.

Possible Solution. (off-chain) Have an off-chain service that schedules AuctionEnd function calls and triggers them when required. The wallet this off-chain service will use to call AuctionEnd must be whitelisted. So only this wallet can call AuctionEnd.

Possible Solution. (on-chain) Have a cluster of 'auctioneer' nodes, owned by Morphware. They listen for job postings, and they are responsible for calling auctionEnd. These auctioneer node addresses have must be whitelisted.

darshanraju commented 2 years ago

Technical Proposal Req: