stellar / dashboard

https://dashboard.stellar.org
217 stars 139 forks source link

SDFD-13_serve_ledger_averages #287

Closed Selhar closed 2 years ago

Selhar commented 2 years ago

On the front end we need averages data based on the output of all ledges. Since we do not normally use all ledgers, only those of an interval (1min, 1h, 1 day) this required a considerable restructuring of our systems.

More context is in #282

stellar-jenkins commented 2 years ago

Preview is available here:
https://dashboard-pr287.prototypes.kube001.services.stellar-ops.com/

Selhar commented 2 years ago

After approval we need a new cache for the preview environment to work. Also, if you need to do further testing, hop on this branch instead @italomlp

Regarding the issue that you were having @acharb, the data structure changed. Instead of

{
  ...
  transaction
}

we now use

{
...
  data: {
    ...
    transaction    
  }
}

So if you have and old piece of cache, we will try to access a property that doesn't exist and hit an error. Let me know if this problem persists after a flushall.

stellar-jenkins commented 2 years ago

Preview is available here:
https://dashboard-pr287.prototypes.kube001.services.stellar-ops.com/

stellar-jenkins commented 2 years ago

Preview is available here:
https://dashboard-pr287.prototypes.kube001.services.stellar-ops.com/

stellar-jenkins commented 2 years ago

Preview is available here:
https://dashboard-pr287.prototypes.kube001.services.stellar-ops.com/

stellar-jenkins commented 2 years ago

Preview is available here:
https://dashboard-pr287.prototypes.kube001.services.stellar-ops.com/