Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactoring Cursor and Index format #767

Open
anarcher opened this issue Nov 20, 2018 · 0 comments
Open

Refactoring Cursor and Index format #767

anarcher opened this issue Nov 20, 2018 · 0 comments

Comments

@anarcher
Copy link
Contributor

anarcher commented Nov 20, 2018

With #765 , We can make more readable and global fixed ordering. (Not created time from each node, Block height is timed, confirmed only order).
IMHO, the Current cursor has two parts: {prefix}/{order}. I think we can define that the delimiter between prefix and order can be /. And part delimiter can be -.
For example, All operations of a account index can represent with {account}/{block_height}-{txindex}-{opindex}. So we use the order part for the cursor: 100-3-1.

What do you think about it? @spikeekips @kfangw @Charleslee522 @Geod24 @outsideris

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant