solana/cli/src
Alexander Meißner 547f07526b
Refactor - create_executor() to be usable outside of bpf_loader (#28369)
* Moves disable_deploy_of_alloc_free_syscall parameter inside create_executor().

* Lets register_syscalls() take &FeatureSet only instead of the entire InvokeContext.

* Uses ic_logger_msg!() instead of ic_msg!() inside create_executor().
Inlines map_ebpf_error().

* Adds register_syscalls_us to executor_metrics::CreateMetrics.

* Moves timings accumulation into executor_metrics::CreateMetrics::submit_datapoint().

* Moves &invoke_context.feature_set into a variable.

* Lets create_executor() return executor_metrics::CreateMetrics via a mutable parameter.

* Dissolves invoke_context parameter in create_executor().

* Pulls assignment of create_executor_metrics.program_id outside of create_executor().

* Makes create_executor() take a byte slice instead of a BorrowedAccount.

* Adds create_executor_from_account().
2022-10-18 10:22:39 +02:00
..
address_lookup_table.rs Use new client crates (#27360) 2022-08-24 10:47:02 -06:00
checks.rs RPC: Support versioned txs in getFeeForMessage API (#28217) 2022-10-05 00:00:34 +08:00
clap_app.rs Add use-quic flag to allow for using quic in program deploy (#27319) 2022-08-25 18:26:12 +02:00
cli.rs Add off-chain messages support (#27456) 2022-10-17 11:19:12 -04:00
cluster_query.rs patches clippy errors from new rust nightly release (#27996) 2022-09-22 22:23:03 +00:00
compute_unit_price.rs Cli support compute_unit_price (#26464) 2022-08-02 22:23:05 -05:00
feature.rs Use new client crates (#27360) 2022-08-24 10:47:02 -06:00
inflation.rs Use new client crates (#27360) 2022-08-24 10:47:02 -06:00
lib.rs cli: Add subcommands for address lookup tables (#27123) 2022-08-18 22:12:53 +01:00
main.rs Add use-quic flag to allow for using quic in program deploy (#27319) 2022-08-25 18:26:12 +02:00
memo.rs Reformat imports to a consistent style for imports 2021-12-03 09:19:13 -08:00
nonce.rs Use new client crates (#27360) 2022-08-24 10:47:02 -06:00
program.rs Refactor - create_executor() to be usable outside of bpf_loader (#28369) 2022-10-18 10:22:39 +02:00
spend_utils.rs Use new client crates (#27360) 2022-08-24 10:47:02 -06:00
stake.rs Use new client crates (#27360) 2022-08-24 10:47:02 -06:00
test_utils.rs Use new client crates (#27360) 2022-08-24 10:47:02 -06:00
validator_info.rs Use new client crates (#27360) 2022-08-24 10:47:02 -06:00
vote.rs Use new client crates (#27360) 2022-08-24 10:47:02 -06:00
wallet.rs Add off-chain messages support (#27456) 2022-10-17 11:19:12 -04:00