Skip to content

SCP state persistence is inefficient #3499

@marta-lokhova

Description

@marta-lokhova

Currently, whenever core persists new SCP state, it persists all tx sets, even though it likely already saved the same tx sets in the previous checkpoint. The problem is that it invokes expensive functionality like base64 encoding, which becomes really inefficient as the size of a tx set grows. To mitigate this, we should only save new tx sets.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions