Skip to content

Support Efficient Iteration of ConsensusStates in Reverse Chronological Order #64

Open
@AdityaSripal

Description

@AdityaSripal

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.

Metadata

Metadata

Assignees

Labels

change: protocol breakingIssues that cannot be addressed because they break the current protocol version

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions