Docs.rs
solana-program-2.3.0
solana-program 2.3.0
Docs.rs crate page
Apache-2.0
06 June 2025
Links
Homepage
Repository
crates.io
Source
Owners
anza-team
Dependencies
bincode ^1.3.3
normal
blake3 ^1.5.5
normal
borsh ^1.5.5
normal
optional
borsh ^0.10.3
normal
optional
bs58 ^0.5.1
normal
bytemuck ^1.21.0
normal
lazy_static ^1.5.0
normal
log ^0.4.25
normal
memoffset ^0.9
normal
num-derive ^0.4
normal
num-traits ^0.2.18
normal
serde ^1.0.217
normal
serde_bytes ^0.11.15
normal
serde_derive ^1.0.217
normal
solana-account-info ^2.2.1
normal
solana-address-lookup-table-interface ^2.2.2
normal
solana-atomic-u64 ^2.2.1
normal
solana-big-mod-exp ^2.2.1
normal
solana-bincode ^2.2.1
normal
solana-blake3-hasher ^2.2.1
normal
solana-borsh ^2.2.1
normal
optional
solana-clock ^2.2.1
normal
solana-cpi ^2.2.1
normal
solana-decode-error ^2.2.1
normal
solana-epoch-rewards ^2.2.1
normal
solana-epoch-schedule ^2.2.1
normal
solana-feature-gate-interface ^2.2.1
normal
solana-fee-calculator ^2.2.1
normal
solana-frozen-abi ^2.2.1
normal
optional
solana-frozen-abi-macro ^2.2.1
normal
optional
solana-hash ^2.2.1
normal
solana-instruction ^2.3.0
normal
solana-instructions-sysvar ^2.2.1
normal
solana-keccak-hasher ^2.2.1
normal
solana-last-restart-slot ^2.2.1
normal
solana-loader-v2-interface ^2.2.1
normal
solana-loader-v3-interface ^5.0.0
normal
solana-loader-v4-interface ^2.2.1
normal
solana-message ^2.2.1
normal
solana-msg ^2.2.1
normal
solana-native-token ^2.2.1
normal
solana-nonce ^2.2.1
normal
solana-program-entrypoint ^2.2.1
normal
solana-program-error ^2.2.1
normal
solana-program-memory ^2.2.1
normal
solana-program-option ^2.2.1
normal
solana-program-pack ^2.2.1
normal
solana-pubkey ^2.2.1
normal
solana-rent ^2.2.1
normal
solana-sanitize ^2.2.1
normal
solana-sdk-ids ^2.2.1
normal
solana-sdk-macro ^2.2.1
normal
solana-secp256k1-recover ^2.2.1
normal
solana-serde-varint ^2.2.1
normal
solana-serialize-utils ^2.2.1
normal
solana-sha256-hasher ^2.2.1
normal
solana-short-vec ^2.2.1
normal
solana-slot-hashes ^2.2.1
normal
solana-slot-history ^2.2.1
normal
solana-stable-layout ^2.2.1
normal
solana-stake-interface ^1.2.1
normal
solana-system-interface ^1.0
normal
solana-sysvar ^2.2.1
normal
solana-sysvar-id ^2.2.1
normal
solana-vote-interface ^2.2.1
normal
thiserror ^2.0.11
normal
array-bytes =1.4.1
dev
assert_matches ^1.5.0
dev
itertools ^0.12.1
dev
serde_json ^1.0.139
dev
solana-pubkey ^2.2.1
dev
solana-sysvar ^2.2.1
dev
num-bigint ^0.4.6
normal
rand ^0.8.5
normal
solana-example-mocks ^2.2.1
normal
arbitrary ^1.4.1
dev
solana-logger ^2.2.1
dev
console_error_panic_hook ^0.1.7
normal
console_log ^0.2.2
normal
getrandom ^0.2.10
normal
wasm-bindgen ^0.2.100
normal
getrandom ^0.2.10
normal
solana-define-syscall ^2.2.1
normal
Versions
55.71%
of the crate is documented
Go to latest version
Platform
wasm32-unknown-unknown
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
solana_
program
2.3.0
Module state
Module Items
Modules
Structs
Enums
Constants
In solana_
program::
vote
solana_program
::
vote
Module
state
Copy item path
Source
Expand description
Vote state
Modules
§
serde_
compact_
vote_
state_
update
serde_
tower_
sync
vote_
state_
1_
14_
11
vote_
state_
v3
vote_
state_
versions
Structs
§
Block
Timestamp
CircBuf
Landed
Vote
Lockout
Tower
Sync
Vote
Vote
Authorize
Checked
With
Seed
Args
Vote
Authorize
With
Seed
Args
Vote
Init
Vote
State
Vote
State1_
14_
11
Vote
State
Update
Enums
§
Vote
Authorize
Vote
State
Versions
Constants
§
INITIAL_
LOCKOUT
MAX_
EPOCH_
CREDITS_
HISTORY
MAX_
LOCKOUT_
HISTORY
VOTE_
CREDITS_
GRACE_
SLOTS
VOTE_
CREDITS_
MAXIMUM_
PER_
SLOT