Function solana_bpf_loader_program::load_program_from_bytes
source ยท pub fn load_program_from_bytes(
log_collector: Option<Rc<RefCell<LogCollector>>>,
load_program_metrics: &mut LoadProgramMetrics,
programdata: &[u8],
loader_key: &Pubkey,
account_size: usize,
deployment_slot: Slot,
program_runtime_environment: Arc<BuiltinProgram<InvokeContext<'static>>>,
reloading: bool
) -> Result<LoadedProgram, InstructionError>