MCPcopy Create free account
hub / github.com/buffalojoec/modular-svm / ProgramCache

Class ProgramCache

agave/program-cache/src/lib.rs:69–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69pub struct ProgramCache<FG: ForkGraph> {
70 pub entries: HashMap<Pubkey, SecondLevel>,
71 pub latest_root_slot: Slot,
72 pub latest_root_epoch: Epoch,
73 pub environments: ProgramRuntimeEnvironments,
74 pub upcoming_environments: Option<ProgramRuntimeEnvironments>,
75 pub programs_to_recompile: Vec<(Pubkey, Arc<LoadedProgram>)>,
76 // pub stats: Stats,
77 pub fork_graph: Option<Arc<RwLock<FG>>>,
78 pub loading_task_waiter: Arc<LoadingTaskWaiter>,
79}
80
81pub struct LoadedProgramsForTxBatch {
82 pub entries: HashMap<Pubkey, Arc<LoadedProgram>>,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected