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
add consumser_service to deal.proto (variable name can be changed).
change cid in unsignedCertificate to data_endpoint (variable name can be changed).
Background
In
DEP
, we identified the possibility that, when utilizingipfs
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 thedeal
.Implementation
consumser_service
todeal.proto
(variable name can be changed).cid
inunsignedCertificate
todata_endpoint
(variable name can be changed).