Let's say that I have a smart contract A
with a public function f
that can be called by anyone and this public function will return a number. In the smart contract there is also a private function p
which returns a list of numbers.
Now if f
calls p
during its execution and then uses p
's return value to generate its return value would every node in the network know the return value of p
?
My main goal is to keep the return values of p
not accessible by every node in the network