garbageCollectionMode property

String? garbageCollectionMode
getter/setter pair

Blockchain garbage collection mode.

Immutable. Possible string values are:

  • "GARBAGE_COLLECTION_MODE_UNSPECIFIED" : The garbage collection has not been specified.
  • "FULL" : Configures Geth's garbage collection so that older data not needed for a full node is deleted. This is the default mode when creating a full node.
  • "ARCHIVE" : Configures Geth's garbage collection so that old data is never deleted. This is the default mode when creating an archive node. This value can also be chosen when creating a full node in order to create a partial/recent archive node. See Sync modes for more details.

Implementation

core.String? garbageCollectionMode;