ChluNetwork / chlu-ipfs-support

Support libs to talk to IPFS
MIT License
1 stars 1 forks source link

Transaction validation #86

Closed fazo96 closed 6 years ago

fazo96 commented 6 years ago

We need to validate that a RR is correctly referenced from a transaction, in particular:

The hard part is linking the transaction from the RR and fetching the transaction in a trusted way. Here are some ideas

Linking the tx id

Ideas:

Maybe we should just do both, but then we have to verify that they match. Or we should remove the pubsub message step and instead the service node will react when it replicates the DB from the customer. I think this is the best solution but I need to check how it works in practice

Validating

Ideas:

I don't think it's the long term solution, but we'll go with blockcypher for now

Todo

fazo96 commented 6 years ago

This was done in #79