FilOzone / pdp

Smart contracts and utilities for Proof of Data Possession
Other
2 stars 2 forks source link

PDP Listener should be an interface with separate methods #55

Closed ZenGround0 closed 1 month ago

ZenGround0 commented 1 month ago

The PDP Listener instead of taking an "OperationType" parameter should just have a bunch of different methods "receiveAddRoots", "receiveProvePossession" etc.

We should make an FRC to canonicalize this interface type.

Note the interface is going to be very similar to the DDO notify methods just a little more rich since fault checking isn't coming from cron since we're doing PDP correctly the first time.