Support Efficient Iteration of ConsensusStates in Reverse Chronological Order #64
Labels
change: protocol breaking
Issues that cannot be addressed because they break the current protocol version
SDK should provide efficient iteration of consensus states for a particular client in reverse chronological order.
To accomplish this, the consenus state height must be stored as part of the key in such a way that the reverse lexicographic order is the same as the (reverse) chronological order. Then we could simply use the SDK store's
ReverseIterator
implementation.The text was updated successfully, but these errors were encountered: