diff --git a/Cargo.toml b/Cargo.toml index 2deb4790d..8cceb6045 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "solana" description = "High-Performance Blockchain" -version = "0.4.0" +version = "0.4.0-alpha" documentation = "https://docs.rs/solana" homepage = "http://loomprotocol.com/" repository = "https://github.com/solana-labs/solana" diff --git a/doc/historian.md b/doc/historian.md index b6dafedb4..0064d7f64 100644 --- a/doc/historian.md +++ b/doc/historian.md @@ -8,11 +8,11 @@ with by verifying each entry's hash can be generated from the hash in the previo ![historian](https://user-images.githubusercontent.com/55449/36950845-459bdb58-1fb9-11e8-850e-894586f3729b.png) ```rust -extern crate silk; +extern crate solana; -use silk::historian::Historian; -use silk::ledger::{verify_slice, Entry, Hash}; -use silk::event::{generate_keypair, get_pubkey, sign_claim_data, Event}; +use solana::historian::Historian; +use solana::ledger::{verify_slice, Entry, Hash}; +use solana::event::{generate_keypair, get_pubkey, sign_claim_data, Event}; use std::thread::sleep; use std::time::Duration; use std::sync::mpsc::SendError; diff --git a/src/bin/client-demo.rs b/src/bin/client-demo.rs index 42916f84d..2f635503f 100644 --- a/src/bin/client-demo.rs +++ b/src/bin/client-demo.rs @@ -1,10 +1,10 @@ extern crate serde_json; -extern crate silk; +extern crate solana; -use silk::accountant_stub::AccountantStub; -use silk::mint::Mint; -use silk::signature::{KeyPair, KeyPairUtil}; -use silk::transaction::Transaction; +use solana::accountant_stub::AccountantStub; +use solana::mint::Mint; +use solana::signature::{KeyPair, KeyPairUtil}; +use solana::transaction::Transaction; use std::io::stdin; use std::net::UdpSocket; use std::time::Instant; diff --git a/src/bin/genesis-demo.rs b/src/bin/genesis-demo.rs index 2c8f6e9ff..bcf26bc0e 100644 --- a/src/bin/genesis-demo.rs +++ b/src/bin/genesis-demo.rs @@ -1,12 +1,12 @@ extern crate serde_json; -extern crate silk; +extern crate solana; -use silk::entry::create_entry; -use silk::event::Event; -use silk::hash::Hash; -use silk::mint::Mint; -use silk::signature::{KeyPair, KeyPairUtil, PublicKey}; -use silk::transaction::Transaction; +use solana::entry::create_entry; +use solana::event::Event; +use solana::hash::Hash; +use solana::mint::Mint; +use solana::signature::{KeyPair, KeyPairUtil, PublicKey}; +use solana::transaction::Transaction; use std::io::stdin; fn transfer(from: &KeyPair, (to, tokens): (PublicKey, i64), last_id: Hash) -> Event { diff --git a/src/bin/genesis.rs b/src/bin/genesis.rs index 8a241cb40..66d2357b5 100644 --- a/src/bin/genesis.rs +++ b/src/bin/genesis.rs @@ -1,9 +1,9 @@ //! A command-line executable for generating the chain's genesis block. extern crate serde_json; -extern crate silk; +extern crate solana; -use silk::mint::Mint; +use solana::mint::Mint; use std::io::stdin; fn main() { diff --git a/src/bin/historian-demo.rs b/src/bin/historian-demo.rs index 1652c7943..89d377c98 100644 --- a/src/bin/historian-demo.rs +++ b/src/bin/historian-demo.rs @@ -1,13 +1,13 @@ -extern crate silk; +extern crate solana; -use silk::entry::Entry; -use silk::event::Event; -use silk::hash::Hash; -use silk::historian::Historian; -use silk::ledger::verify_slice; -use silk::recorder::Signal; -use silk::signature::{KeyPair, KeyPairUtil}; -use silk::transaction::Transaction; +use solana::entry::Entry; +use solana::event::Event; +use solana::hash::Hash; +use solana::historian::Historian; +use solana::ledger::verify_slice; +use solana::recorder::Signal; +use solana::signature::{KeyPair, KeyPairUtil}; +use solana::transaction::Transaction; use std::sync::mpsc::SendError; use std::thread::sleep; use std::time::Duration; diff --git a/src/bin/mint.rs b/src/bin/mint.rs index e1527dbc9..880257af7 100644 --- a/src/bin/mint.rs +++ b/src/bin/mint.rs @@ -1,7 +1,7 @@ extern crate serde_json; -extern crate silk; +extern crate solana; -use silk::mint::Mint; +use solana::mint::Mint; use std::io; fn main() { diff --git a/src/bin/testnode.rs b/src/bin/testnode.rs index dce8257a2..a8daaec4c 100644 --- a/src/bin/testnode.rs +++ b/src/bin/testnode.rs @@ -1,8 +1,8 @@ extern crate serde_json; -extern crate silk; +extern crate solana; -use silk::accountant::Accountant; -use silk::accountant_skel::AccountantSkel; +use solana::accountant::Accountant; +use solana::accountant_skel::AccountantSkel; use std::io::{self, stdout, BufRead}; use std::sync::atomic::AtomicBool; use std::sync::{Arc, Mutex};