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

@@ -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]