Docs.rs
  • snapshots-0.2.8
    • snapshots 0.2.8
    • Permalink
    • Docs.rs crate page
    • AGPL-3.0
    • Links
    • Homepage
    • Repository
    • crates.io
    • Source
    • Owners
    • macalinao
    • Dependencies
      • anchor-lang >=0.22, <=0.24 normal
      • anchor-spl >=0.22, <=0.24 normal
      • locked-voter ^0.5 normal
      • num-traits ^0.2 normal
      • snapshots-math ^0.2 normal
      • u128 ^0.1.0 normal
      • vipers ^2.0 normal
      • proptest ^1.0.0 dev
    • Versions
    • 90.57% of the crate is documented
  • Platform
    • i686-unknown-linux-gnu
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

snapshots0.2.8

Crate Items

  • Structs
  • Enums
  • Constants
  • Statics
  • Functions

List of all items

Structs

  • EscrowHistory
  • LockerHistory
  • accounts::CreateEscrowHistory
  • accounts::CreateLockerHistory
  • accounts::Sync
  • instruction::CreateEscrowHistory
  • instruction::CreateLockerHistory
  • instruction::Sync
  • program::Snapshots

Enums

  • ErrorCode

Functions

  • calculate_era_and_period_of_ts
  • calculate_era_start_ts
  • calculate_next_era_and_period
  • calculate_next_era_and_period_of_ts
  • calculate_period_start_ts
  • check_id
  • entry
  • entrypoint
  • has_period_elapsed
  • id
  • snapshots::create_escrow_history
  • snapshots::create_locker_history
  • snapshots::sync

Statics

  • ID

Constants

  • COMMON_ERA_UNIX_TS
  • ERA_NUM_PERIODS
  • PERIOD_SECONDS
  • SECONDS_PER_ERA