Closed
Description
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