Seals and saves the snapshot exactly once, only after the sync commits. A
failed sync saves nothing. Serialize, seal, and save run inside the wallet's
sync queue, an overlapping call on the same wallet waits and cannot store a
stale snapshot, and save must not sync the same wallet. On
WALLET_PERSIST the in-memory wallet is committed and ahead of the store,
the previous snapshot stays valid, call again to retry the save.
Seals and saves the snapshot exactly once, only after the sync commits. A failed sync saves nothing. Serialize, seal, and save run inside the wallet's sync queue, an overlapping call on the same wallet waits and cannot store a stale snapshot, and
savemust not sync the same wallet. OnWALLET_PERSISTthe in-memory wallet is committed and ahead of the store, the previous snapshot stays valid, call again to retry the save.