Author

Topic: How is verification of transformation of raw values done on the blockchain (Read 150 times)

newbie
Activity: 8
Merit: 0
There is oraclize https://www.oraclize.it/ that works with Ethereum. That's the approach I am talking about. You can feed outside data when calling a smart contract method - the input can vary.
This is centralized though so it is probably not supported by the Ethereum Foundation as you mentioned.

I think you pointed me in the right direction with chainlink. Thank you

The data I want to feed can be as simple as the apple example I talked about in my last posts or it can be very complex, coming from a neuronal network etc.
I think I have my answers now though:
if replicable across nodes -> smart contracts
else -> Oracles with the current "Oracle Problem"

legendary
Activity: 2352
Merit: 6089
bitcoindata.science
I think the question I am asking is: is there an alternative approach to what Ethereum is solving with the Oracle where external data is fed into the blockchain to be reused inside the chain itself afterwards. This data comes from a central server, that holds alone all the conditions to this data but is trusted by the network.

No. There are some misconceptions here.

First, there is no working Oracle yet. For now, there is no way to insert outside data to the blockchain yet.
The way blockchain is designed and its validation works, you cannot feed outside data to it now.

However, there are some projects working in a solution to this problem. Some of them are centralized like you mentioned (which defeats the whole purpose of bitcoin and ethereum) and there is one that is not centralized, which became famous recently: chainlink.

Chainlink is not operational and it is decentralized.  Anyone can run a node and collect any data from real world and send to other nodes for validation. It will also validate data.

But neither chainlink or those other Centralized projects are working yet on ethereum. So you cannot use them

I doubt vitality and ethereum community will ever accept a centralized Oracle.


Quote
After every hour I shoot my data of apples on the blockchain through a (trusted centralized?) transformation method somewhere. How can the other nodes verify that this centralized transformation was executed correctly. There is no alternative way to predefining a trusted source to do the calculation and blindly trust the result I suppose?

There is no trusted source in blockchain. Forget this idea. Blockchain is trustless. You will need a decentralized Oracle to feed your data, or insert it all in a smartcontract and replicate it in all nodes (if. Possible).

Maybe you need another technology. What kind of data do you want to feed?
newbie
Activity: 8
Merit: 0
Quote
If you don't want to replicate the conditions for validation (ie the smartcontract)  across all nodes, how do you expect them to validate? If a central server holds alone the conditions, it is the only one validating.

You are right with your question "how do you expect them to validate". It is not possible IMO unless replicated across all nodes.

I think the question I am asking is: is there an alternative approach to what Ethereum is solving with the Oracle where external data is fed into the blockchain to be reused inside the chain itself afterwards. This data comes from a central server, that holds alone all the conditions to this data but is trusted by the network.


After every hour I shoot my data of apples on the blockchain through a (trusted centralized?) transformation method somewhere. How can the other nodes verify that this centralized transformation was executed correctly. There is no alternative way to predefining a trusted source to do the calculation and blindly trust the result I suppose?
legendary
Activity: 2352
Merit: 6089
bitcoindata.science
Does Ethereum (and others) solve this with Smart Contracts? What are alternative approaches?

Ethereum was designed to work with smartcontracts. I believe it is the best option.

Quote
To make it a bit more complex: let's assume the transformation itself is very complex and cannot be stored in a smart contract - like using a neuronal network that can not be replicated across all nodes. How can the other nodes confirm the transformation was done correctly and is trustworthy and store the result only on the blockchain?

If you don't want to replicate the conditions for validation (ie the smartcontract)  across all nodes, how do you expect them to validate? If a central server holds alone the conditions, it is the only one validating.

Additionally, if you do not want or need your nodes validating, and you want it all to be centralized in a master node or server, why do you need blockchain at all?

Blockchain is a slow and expensive database, with high security. You shouldn't store everything there.
newbie
Activity: 8
Merit: 0
Is there a solution to verifying a transformation of raw values on the blockchain available?

Example: You have a (private, permissioned) blockchain solution to verify how many apples you have in your storage. New apples arrive randomly every 1 to 5 minutes. Same is for outgoing apples.

After every hour that passed you want to calculate the apples that have arrived within the last hour. After every day you want to calculate the average apples that arrived per hour.

Does Ethereum (and others) solve this with Smart Contracts? What are alternative approaches?

To make it a bit more complex: let's assume the transformation itself is very complex and cannot be stored in a smart contract - like using a neuronal network that can not be replicated across all nodes. How can the other nodes confirm the transformation was done correctly and is trustworthy and store the result only on the blockchain?
Jump to: