medibloc / panacea-core

MediBloc Blockchain Core
https://medibloc.com
Other
60 stars 19 forks source link

Add consumer service to deal #645

Closed audtlr24 closed 1 year ago

audtlr24 commented 1 year ago

Background

In DEP, we identified the possibility that, when utilizing ipfs as a data transfer channel, a provider using a malicious oracle could be rewarded without providing any data. To overcome this, we change the specification to allow the consumer to provide the data transfer channel themselves using like dep-consumer and register this information to the deal.

Implementation