-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: 15154 Added createSnapshot
method to State API
#15543
base: develop
Are you sure you want to change the base?
Commits on Sep 18, 2024
-
feat: 15154 Added
createSnapshot
method to State APISigned-off-by: Ivan Malygin <ivan@swirldslabs.com>
Configuration menu - View commit details
-
Copy full SHA for a07dcfa - Browse repository at this point
Copy the full SHA a07dcfaView commit details
Commits on Sep 19, 2024
-
- Got rid of signed state creation just for the sake of creating a snapshot - Extracted serialization logic that is specific for `MerkleStateRoot` into `MerkleStateRoot`. Now it's responsible for serializing itself. - Extracted signature set into a separate file - Bumped serialization protocol version - removed SNAPSHOT_ON_DEMAND, as it's redundant Signed-off-by: Ivan Malygin <ivan@swirldslabs.com>
Configuration menu - View commit details
-
Copy full SHA for 39dd5e2 - Browse repository at this point
Copy the full SHA 39dd5e2View commit details -
Merge branch 'develop' into 15154-snapshot-api
# Conflicts: # platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/streams/SerializableDataInputStream.java
Configuration menu - View commit details
-
Copy full SHA for 285a6b5 - Browse repository at this point
Copy the full SHA 285a6b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 83be890 - Browse repository at this point
Copy the full SHA 83be890View commit details -
Signed-off-by: Ivan Malygin <ivan@swirldslabs.com>
Configuration menu - View commit details
-
Copy full SHA for a20231c - Browse repository at this point
Copy the full SHA a20231cView commit details
Commits on Sep 20, 2024
-
Signed-off-by: Ivan Malygin <ivan@swirldslabs.com>
Configuration menu - View commit details
-
Copy full SHA for c27c045 - Browse repository at this point
Copy the full SHA c27c045View commit details -
Added
createSnapshot
tocom.swirlds.platform.state.MerkleRoot
and…… implemented it in `com.swirlds.platform.state.State` Signed-off-by: Ivan Malygin <ivan@swirldslabs.com>
Configuration menu - View commit details
-
Copy full SHA for b468b8f - Browse repository at this point
Copy the full SHA b468b8fView commit details -
Reused snapshot creation code in com.swirlds.platform.state.State. Ad…
…ded missing ` setImmutable(true)` to `com.swirlds.platform.state.State#copy` Signed-off-by: Ivan Malygin <ivan@swirldslabs.com>
Configuration menu - View commit details
-
Copy full SHA for 7b461ae - Browse repository at this point
Copy the full SHA 7b461aeView commit details -
Added a metric for the snapshot creation.
Signed-off-by: Ivan Malygin <ivan@swirldslabs.com>
Configuration menu - View commit details
-
Copy full SHA for 72eb164 - Browse repository at this point
Copy the full SHA 72eb164View commit details -
Used Time object directly from the
PlatformContext
Signed-off-by: Ivan Malygin <ivan@swirldslabs.com>
Configuration menu - View commit details
-
Copy full SHA for 3820588 - Browse repository at this point
Copy the full SHA 3820588View commit details -
Used
System.nanoTime
to calculate the time that snapshot creation t……akes. Signed-off-by: Ivan Malygin <ivan@swirldslabs.com>
Configuration menu - View commit details
-
Copy full SHA for 3b721f5 - Browse repository at this point
Copy the full SHA 3b721f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 262119f - Browse repository at this point
Copy the full SHA 262119fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 93d3d73 - Browse repository at this point
Copy the full SHA 93d3d73View commit details -
- created a separate constant for sig set file version - added missing final modifier Signed-off-by: Ivan Malygin <ivan@swirldslabs.com>
Configuration menu - View commit details
-
Copy full SHA for e11ff16 - Browse repository at this point
Copy the full SHA e11ff16View commit details -
- added missing final modifier - extracted snapshot creation logic into a separate class to reduce size of `MerkleStateRoot` Signed-off-by: Ivan Malygin <ivan@swirldslabs.com>
Configuration menu - View commit details
-
Copy full SHA for 9f259f9 - Browse repository at this point
Copy the full SHA 9f259f9View commit details
Commits on Sep 21, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 43ae908 - Browse repository at this point
Copy the full SHA 43ae908View commit details