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 unicitynetwork/aggregator-go#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.
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 unicitynetwork/aggregator-go#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.