Novusphere / discussions-vue

A Vue.js implementation of Discussions using the novusphere-js API - https://discussions.app
MIT License
12 stars 8 forks source link

Create a backend cache for Unified ID token balances #208

Closed Novusphere closed 4 years ago

Novusphere commented 4 years ago

Sometimes the block producer endpoint is unreliable, so we need a cache to be reliable.

The cache should automatically mark a public key as needing to be updated if it executes or receives a transfer, deposit, or withdrawal. This can be an event trigger from monitoring nsuidcntract.

Retain cache for 10 seconds.