break dependency of programs on solana core (#1371)

* break dependency of programs on Solana core
This commit is contained in:
jackcmay
2018-09-27 07:49:26 -07:00
committed by GitHub
parent 874addc51a
commit 9c47e022dc
44 changed files with 95 additions and 66 deletions

View File

@@ -1,6 +1,6 @@
// Support erasure coding
use packet::{BlobRecycler, SharedBlob, BLOB_DATA_SIZE, BLOB_HEADER_SIZE};
use pubkey::Pubkey;
use solana_program_interface::pubkey::Pubkey;
use std::cmp;
use std::mem;
use std::result;
@@ -603,9 +603,9 @@ mod test {
use erasure;
use logger;
use packet::{BlobRecycler, BLOB_DATA_SIZE, BLOB_HEADER_SIZE, BLOB_SIZE};
use pubkey::Pubkey;
use rand::{thread_rng, Rng};
use signature::{Keypair, KeypairUtil};
use solana_program_interface::pubkey::Pubkey;
// use std::sync::{Arc, RwLock};
use window::{index_blobs, WindowSlot};