Skip to content

Add P-chain config for cache sizes #1522

Closed
@StephenButtolph

Description

@StephenButtolph

Context and scope
Currently the P-chain is solely configured by avalanchego level configurations. Until now this has made sense, because the configurations generally impacted the entire node. However, there has been some recent interest to introduce more granular P-chain configs for (ex) API optimizations. Specifically allowing the node operator to specify P-chain state cache sizes would be useful.

TODO

  • Allow configuration of cache sizes when creating an instance of the platformvm state
  • Define a platformvm json config with default values
  • Override default config values from the configBytes

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestgood first issueGood for newcomershelp wantedLooking for someone to address thisvmThis involves virtual machines

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions