algorand / algorand/go-algorand

Partkey REST API - Use messagepack format

Open
#3,107 0 comments 0 reactions 0 assignees View on GitHub
Team Carbon-11 Team Lamprey
Dominant language
Go
Stars
1.4k
Forks
537
Avg merge
1d 7h
Merged PRs (30d)
18

Description

As a transition step, the partkey REST API is using the old partkey file format. We should define and support a new file format that is a messagepack encoded object instead of the sqlite DB file.

The "new" format can be the msgpack formatted `ParticipationRecord` object.

For transition purposes, the REST API should support both formats.

## Dependencies
State proof project depends on this story.
This story also needs to be done in parallel with updating algokey

Existing integration test that test for proper encoding will fail and will need to be updated to expect msgpack rather than sqlite data file

## Acceptance
Ensure that the updated integration test pass

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.