Skip to content

Introduce node.cached property

Mateusz Żebrak requested to merge mzebrak/cached into develop

Please review: @jziebinski @msobczyk

Requires: !392 (merged)

All node-related data that we cache is stored in Node itself. Previously it was a hotchpotch because DGPO was stored in AppState (designed for APP state so CLIVE state, not NODE state).

It is clean and well-known that data is cached because it is visible from Node.CachedData structure

For details please look at the commit history.

  • cached DGPO is also cleared now when changing node address, previously wasn't (might result in a bug in the future)
Edited by Mateusz Żebrak

Merge request reports

Loading