Closed dahlia closed 5 years ago
It seems to happen even if a request address is existent. The current implementation compares two sets (more exactly, intended to be a set but represented as IEnumerable<Address>
) by arbitrarily ordered sequences:
BlockChain<T>.GetStates(A)
whereA
is nonexistent (i.e., never used) returns significantly slow if the height is enough high. CurrentlyIStore.GetBlockStates()
returns only a set of updated states, not a complete set of existent accounts. This means thatBlockChain<T>.GetStates(A)
needs to descend to the bottom (i.e., the genesis block) in order to determine ifA
is nonexistent.