Rename solana to solana-core (#5583)

This commit is contained in:
Michael Vines
2019-08-21 10:23:33 -07:00
committed by GitHub
parent afaf95cf53
commit 3450b9a44d
46 changed files with 212 additions and 212 deletions

View File

@@ -10,7 +10,7 @@ homepage = "https://solana.com/"
[dependencies]
log = "0.4.8"
solana = { path = "../core", version = "0.18.0-pre2" }
solana-core = { path = "../core", version = "0.18.0-pre2" }
solana-client = { path = "../client", version = "0.18.0-pre2" }
solana-logger = { path = "../logger", version = "0.18.0-pre2" }
solana-runtime = { path = "../runtime", version = "0.18.0-pre2" }
@@ -26,5 +26,5 @@ serial_test = "0.2.0"
serial_test_derive = "0.2.0"
[features]
cuda = ["solana/cuda"]
cuda = ["solana-core/cuda"]

View File

@@ -1,8 +1,9 @@
use solana_client::thin_client::create_client;
/// Cluster independant integration tests
///
/// All tests must start from an entry point and a funding keypair and
/// discover the rest of the network.
use solana::{
use solana_core::{
blocktree::Blocktree,
cluster_info::FULLNODE_PORT_RANGE,
consensus::VOTE_THRESHOLD_DEPTH,
@@ -10,7 +11,6 @@ use solana::{
entry::{Entry, EntrySlice},
gossip_service::discover_cluster,
};
use solana_client::thin_client::create_client;
use solana_runtime::epoch_schedule::MINIMUM_SLOTS_PER_EPOCH;
use solana_sdk::{
client::SyncClient,

View File

@@ -5,7 +5,7 @@ pub mod local_cluster;
extern crate log;
#[macro_use]
extern crate solana;
extern crate solana_core;
#[macro_use]
extern crate solana_storage_program;

View File

@@ -1,4 +1,5 @@
use solana::{
use solana_client::thin_client::{create_client, ThinClient};
use solana_core::{
blocktree::create_new_tmp_ledger,
cluster::Cluster,
cluster_info::{Node, FULLNODE_PORT_RANGE},
@@ -9,7 +10,6 @@ use solana::{
service::Service,
validator::{Validator, ValidatorConfig},
};
use solana_client::thin_client::{create_client, ThinClient};
use solana_sdk::{
client::SyncClient,
genesis_block::GenesisBlock,
@@ -623,7 +623,7 @@ impl Drop for LocalCluster {
#[cfg(test)]
mod test {
use super::*;
use solana::storage_stage::SLOTS_PER_TURN_TEST;
use solana_core::storage_stage::SLOTS_PER_TURN_TEST;
use solana_runtime::epoch_schedule::MINIMUM_SLOTS_PER_EPOCH;
#[test]

View File

@@ -1,8 +1,8 @@
extern crate solana;
extern crate solana_core;
use log::*;
use serial_test_derive::serial;
use solana::{
use solana_core::{
blocktree::Blocktree, broadcast_stage::BroadcastStageType, cluster::Cluster,
gossip_service::discover_cluster, validator::ValidatorConfig,
};

View File

@@ -2,17 +2,17 @@
extern crate log;
#[macro_use]
extern crate solana;
extern crate solana_core;
use serial_test_derive::serial;
use solana::blocktree::{create_new_tmp_ledger, get_tmp_ledger_path, Blocktree};
use solana::cluster_info::{ClusterInfo, Node, FULLNODE_PORT_RANGE};
use solana::contact_info::ContactInfo;
use solana::gossip_service::discover_cluster;
use solana::replicator::Replicator;
use solana::storage_stage::SLOTS_PER_TURN_TEST;
use solana::validator::ValidatorConfig;
use solana_client::thin_client::create_client;
use solana_core::blocktree::{create_new_tmp_ledger, get_tmp_ledger_path, Blocktree};
use solana_core::cluster_info::{ClusterInfo, Node, FULLNODE_PORT_RANGE};
use solana_core::contact_info::ContactInfo;
use solana_core::gossip_service::discover_cluster;
use solana_core::replicator::Replicator;
use solana_core::storage_stage::SLOTS_PER_TURN_TEST;
use solana_core::validator::ValidatorConfig;
use solana_local_cluster::local_cluster::{ClusterConfig, LocalCluster};
use solana_sdk::genesis_block::create_genesis_block;
use solana_sdk::signature::{Keypair, KeypairUtil};