In the recent steemitblog post it was stated:
The RC system uses three measurements to determine how much an operation should cost in terms of RCs: blockchain size, compute time, and state size.
Let’s check the source code, if this is true:
The RC costs are determined by (code):
i is one of
resource_count is set in the
count_resources in resource_count.cpp:
Wait, there is no
resource_execution_time! A search showed that
resource_execution_time is not set elsewhere. Something like:
result.resource_count[ resource_execution_time ] += vtor.execution_time_count ;
is missing in
The statement in the post should be corrected to (when I’m right):
The RC system uses right now two measurements to determine how much an operation should cost in terms of RCs: blockchain size, and state size. In the next update, we plan to use also compute time to determine the RC costs.
I filled an issue about this: https://github.com/steemit/steem/issues/2972
Although I’m familiar with c++, I do not know the entire source code of steem. I could be wrong.