Rename dynamic_program.rs to native_loader.rs

This commit is contained in:
Jack May
2018-10-16 13:13:17 -07:00
committed by Grimes
parent c886625c83
commit 926fdb7519
4 changed files with 16 additions and 16 deletions

View File

@@ -8,7 +8,7 @@ use bincode::serialize;
use budget_program::BudgetState;
use budget_transaction::BudgetTransaction;
use counter::Counter;
use dynamic_program;
use native_loader;
use entry::Entry;
use hash::{hash, Hash};
use itertools::Itertools;
@@ -608,7 +608,7 @@ impl Bank {
let mut program_id = tx.program_ids[instruction_index];
loop {
if dynamic_program::check_id(&program_id) {
if native_loader::check_id(&program_id) {
// at the root of the chain, ready to dispatch
break;
}
@@ -647,7 +647,7 @@ impl Bank {
}).collect();
keyed_accounts.append(&mut keyed_accounts2);
if !dynamic_program::process_transaction(
if !native_loader::process_transaction(
&mut keyed_accounts,
&tx.instructions[instruction_index].userdata,
) {

View File

@@ -24,7 +24,6 @@ pub mod client;
pub mod cluster_info;
pub mod budget_program;
pub mod drone;
pub mod dynamic_program;
pub mod entry;
pub mod entry_writer;
#[cfg(feature = "erasure")]
@@ -38,6 +37,7 @@ pub mod loader_transaction;
pub mod logger;
pub mod metrics;
pub mod mint;
pub mod native_loader;
pub mod ncp;
pub mod netutil;
pub mod packet;