Skip to content
This repository was archived by the owner on Jun 11, 2024. It is now read-only.
This repository was archived by the owner on Jun 11, 2024. It is now read-only.

Improve db storage in chain connector plugin #9195

Description

@ishantiw

Expected behavior

It should be easy to retrieve any data from the chain connector plugin using endpoints

Actual behavior

When no CCU is sent over a long period of time, the data stored grows linearly and the endpoints currently simply expose the whole array of data that leads to memory issues.

Steps to reproduce

  • Sync a node with Chain connector plugin enabled which is more than 500 blocks behind the current height and check chainConnector_getBlockHeaders endpoint if the data is saved for all the heights.

Which version(s) does this affect? (Environment, OS, etc...)

6.0.1

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions