Rename project: silk -> solana
This commit is contained in:
parent
26b19dde75
commit
116166f62d
|
@ -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"
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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() {
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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() {
|
||||
|
|
|
@ -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};
|
||||
|
|
Loading…
Reference in New Issue