Move drone into its own crate

This commit is contained in:
Michael Vines
2018-11-16 08:04:46 -08:00
committed by Grimes
parent cf95708c18
commit d96a6b42a5
67 changed files with 678 additions and 567 deletions

View File

@@ -2,14 +2,15 @@
extern crate bincode;
extern crate rayon;
extern crate solana;
extern crate solana_sdk;
extern crate test;
use solana::bank::*;
use solana::hash::hash;
use solana::mint::Mint;
use solana::signature::{Keypair, KeypairUtil};
use solana::system_transaction::SystemTransaction;
use solana::transaction::Transaction;
use solana_sdk::hash::hash;
use test::Bencher;
#[bench]

View File

@@ -11,12 +11,12 @@ use rayon::prelude::*;
use solana::bank::{Bank, MAX_ENTRY_IDS};
use solana::banking_stage::{BankingStage, NUM_THREADS};
use solana::entry::Entry;
use solana::hash::hash;
use solana::mint::Mint;
use solana::packet::to_packets_chunked;
use solana::signature::{KeypairUtil, Signature};
use solana::system_transaction::SystemTransaction;
use solana::transaction::Transaction;
use solana_sdk::hash::hash;
use solana_sdk::pubkey::Pubkey;
use std::iter;
use std::sync::mpsc::{channel, Receiver};

View File

@@ -1,13 +1,14 @@
#![feature(test)]
extern crate solana;
extern crate solana_sdk;
extern crate test;
use solana::entry::reconstruct_entries_from_blobs;
use solana::hash::{hash, Hash};
use solana::ledger::{next_entries, Block};
use solana::signature::{Keypair, KeypairUtil};
use solana::system_transaction::SystemTransaction;
use solana::transaction::Transaction;
use solana_sdk::hash::{hash, Hash};
use test::Bencher;
#[bench]