Summary
This is an opt-in minor release that adds a new database configuration property, which allows to opt-out from storing previous values of substates in SubstateChangeAction, allowing to save disk space.
Details
A new flag has been added: db.keep_previous_substate_values (bound to Docker environment variable: RADIXDLT_DB_KEEP_PREVIOUS_SUBSTATE_VALUES) with a default value of true.
Setting the value to false causes the node to ignore previous value when storing a substate action (which is otherwise stored along with its new value).
Note that the Core APIs which optionally return previous values of substates (when the previous flag is set in the request) will not return the previous value for substate actions persisted while the keep_previous_substate_values flag was set to false.
Setting the flag to "false" does not impact historical substate change actions.
The flag can be freely turned on and off.
License
The Babylon node code is released under the Radix License. Executable components are licensed under the Radix Node EULA.