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

Meta SPV support storage object`s different version #108

Closed
weiqiushi opened this issue Feb 14, 2023 · 1 comment
Closed

Meta SPV support storage object`s different version #108

weiqiushi opened this issue Feb 14, 2023 · 1 comment
Assignees
Labels
feature New feature Meta Chain Meta Chain and SPV nodes

Comments

@weiqiushi
Copy link
Member

    Therefore, I am going to store each version of the object in the SPV NODE and provide the following interface.

GET /objects/:objectid?body=&begin=&end=
- body: body hash, obtained through body's calculate_hash interface, base58 format
- begin: the height of the start block of the query, default is 0
- end: the end block height of the query, default is the latest block height

Returns.
- 404 The corresponding object was not found
- 500 Other errors
- 200 Return Vec, Raw Encode encoding

Originally posted by @weiqiushi in #98 (comment)

@weiqiushi weiqiushi self-assigned this Feb 14, 2023
@weiqiushi
Copy link
Member Author

finisned at ee5323e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature Meta Chain Meta Chain and SPV nodes
Projects
Status: Done
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants