solana/local-cluster
Brooks Prumo d1debcd971
Add incremental snapshot utils (#18504)
This commit adds high-level functions for creating and loading-from
incremental snapshots, plus all low-level functions required to perform
those tasks.  This commit **does not** add taking incremental snapshots
as part of a running validator, nor starting up a node with an
incremental snapshot; just laying ground work.

Additionally, `snapshot_utils` and `serde_snapshot` have been
refactored to use a common code paths for the different snapshots.

Also of note, some renaming has happened:
  1. Snapshots are now either `full_` or `incremental_` throughout the
     codebase.  If not specified, the code applies to both.
  2. Bank snapshots now are called "bank snapshots"
     (before they were called "slot snapshots", "bank snapshots", or
      just "snapshots").  The one exception is within `Bank`, where they
     are still just "snapshots", because they are already "bank
     snapshots".
  3. Snapshot archives now have `_archive` in the code.  This
     should clear up an ambiguity between bank snapshots and snapshot
     archives.
2021-07-22 14:40:37 -05:00
..
src Move entry/poh to own crate to speed up poh bench build (#18225) 2021-07-14 14:16:29 +02:00
tests Add incremental snapshot utils (#18504) 2021-07-22 14:40:37 -05:00
.gitignore 🍢banking-bench/, genesis-programs/ and local-cluster/ (#6920) 2019-11-12 22:20:48 -07:00
Cargo.toml Move entry/poh to own crate to speed up poh bench build (#18225) 2021-07-14 14:16:29 +02:00