unicitynetwork / unicitynetwork/state-transition-sdk-java

Automatically download new UTB records

Open
#46 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Java
Stars
3
Forks
0
Avg merge
5h 14m
Merged PRs (30d)
1

Description

To support dynamic updates to the UTB, the SDK should provide facilities to automatically download and cache new UTB records every time it receives from the aggregator a UC with epoch number higher than in the latest UTB record currently in the SDK's cache.

The new UTB records should be downloaded via a call to the API endpoint specified in https://github.com/unicitynetwork/aggregator-go/issues/115. Each record must be verified by checking that it has been signed by a quorum of BFT validators from the previous epoch before the record is accepted and added to the SDK's cache.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating where the SDK receives aggregator UCs and stores the latest UTB record in its cache. Review the API endpoint described in aggregator-go issue 115, then trace how records can be downloaded and verified against a quorum of previous-epoch BFT validators. Done means newer records are fetched, validated, and cached automatically.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.