You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -31,8 +21,7 @@ export class CheckpointTrie extends BaseTrie {
31
21
32
22
/**
33
23
* Creates a checkpoint that can later be reverted to or committed.
34
-
* After this is called, no changes to the trie will be permanently saved until `commit` is called.
35
-
* To override the checkpointing mechanism use `_maindb.put` to write directly write to db.
24
+
* After this is called, all changes can be reverted until `commit` is called.
36
25
*/
37
26
checkpoint(){
38
27
constwasCheckpoint=this.isCheckpoint
@@ -88,12 +77,10 @@ export class CheckpointTrie extends BaseTrie {
88
77
* @param includeCheckpoints - If true and during a checkpoint, the copy will contain the checkpointing metadata and will use the same scratch as underlying db.
0 commit comments