-
Notifications
You must be signed in to change notification settings - Fork 780
Closed
Labels
P:storage-optimizationPriority: Give operators greater control over storage and storage optimizationPriority: Give operators greater control over storage and storage optimizationP:tech-debtPriority: Technical debt that needs to be paid off to enable us to move faster, reliablyPriority: Technical debt that needs to be paid off to enable us to move faster, reliablybacklogA prioritized task in the team's backlogA prioritized task in the team's backlog
Milestone
Description
Work to be done as part of #1290.
Context
#1286 answers the question "Does a Node need an in-memory copy of the genesis for its entire lifecycle?" with a No.
After initialization, a Node only requires the GenesisTime field from the genesis. Once a Node has completed its startup, which includes initializing an Environment struct serving the RPC APIs is initialized, it no longer needs the genesis at all.
ToDo
- Change the implementation of
Nodeso that it no longer keeps a pointer to theGenesisDocafter startup. -
Nodestores theGenesisTimeas a field to use it after startup.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P:storage-optimizationPriority: Give operators greater control over storage and storage optimizationPriority: Give operators greater control over storage and storage optimizationP:tech-debtPriority: Technical debt that needs to be paid off to enable us to move faster, reliablyPriority: Technical debt that needs to be paid off to enable us to move faster, reliablybacklogA prioritized task in the team's backlogA prioritized task in the team's backlog