Rename project: silk -> solana
This commit is contained in:
parent
26b19dde75
commit
116166f62d
|
@ -1,7 +1,7 @@
|
||||||
[package]
|
[package]
|
||||||
name = "solana"
|
name = "solana"
|
||||||
description = "High-Performance Blockchain"
|
description = "High-Performance Blockchain"
|
||||||
version = "0.4.0"
|
version = "0.4.0-alpha"
|
||||||
documentation = "https://docs.rs/solana"
|
documentation = "https://docs.rs/solana"
|
||||||
homepage = "http://loomprotocol.com/"
|
homepage = "http://loomprotocol.com/"
|
||||||
repository = "https://github.com/solana-labs/solana"
|
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
|
||||||

|

|
||||||
|
|
||||||
```rust
|
```rust
|
||||||
extern crate silk;
|
extern crate solana;
|
||||||
|
|
||||||
use silk::historian::Historian;
|
use solana::historian::Historian;
|
||||||
use silk::ledger::{verify_slice, Entry, Hash};
|
use solana::ledger::{verify_slice, Entry, Hash};
|
||||||
use silk::event::{generate_keypair, get_pubkey, sign_claim_data, Event};
|
use solana::event::{generate_keypair, get_pubkey, sign_claim_data, Event};
|
||||||
use std::thread::sleep;
|
use std::thread::sleep;
|
||||||
use std::time::Duration;
|
use std::time::Duration;
|
||||||
use std::sync::mpsc::SendError;
|
use std::sync::mpsc::SendError;
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
extern crate serde_json;
|
extern crate serde_json;
|
||||||
extern crate silk;
|
extern crate solana;
|
||||||
|
|
||||||
use silk::accountant_stub::AccountantStub;
|
use solana::accountant_stub::AccountantStub;
|
||||||
use silk::mint::Mint;
|
use solana::mint::Mint;
|
||||||
use silk::signature::{KeyPair, KeyPairUtil};
|
use solana::signature::{KeyPair, KeyPairUtil};
|
||||||
use silk::transaction::Transaction;
|
use solana::transaction::Transaction;
|
||||||
use std::io::stdin;
|
use std::io::stdin;
|
||||||
use std::net::UdpSocket;
|
use std::net::UdpSocket;
|
||||||
use std::time::Instant;
|
use std::time::Instant;
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
extern crate serde_json;
|
extern crate serde_json;
|
||||||
extern crate silk;
|
extern crate solana;
|
||||||
|
|
||||||
use silk::entry::create_entry;
|
use solana::entry::create_entry;
|
||||||
use silk::event::Event;
|
use solana::event::Event;
|
||||||
use silk::hash::Hash;
|
use solana::hash::Hash;
|
||||||
use silk::mint::Mint;
|
use solana::mint::Mint;
|
||||||
use silk::signature::{KeyPair, KeyPairUtil, PublicKey};
|
use solana::signature::{KeyPair, KeyPairUtil, PublicKey};
|
||||||
use silk::transaction::Transaction;
|
use solana::transaction::Transaction;
|
||||||
use std::io::stdin;
|
use std::io::stdin;
|
||||||
|
|
||||||
fn transfer(from: &KeyPair, (to, tokens): (PublicKey, i64), last_id: Hash) -> Event {
|
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.
|
//! A command-line executable for generating the chain's genesis block.
|
||||||
|
|
||||||
extern crate serde_json;
|
extern crate serde_json;
|
||||||
extern crate silk;
|
extern crate solana;
|
||||||
|
|
||||||
use silk::mint::Mint;
|
use solana::mint::Mint;
|
||||||
use std::io::stdin;
|
use std::io::stdin;
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
extern crate silk;
|
extern crate solana;
|
||||||
|
|
||||||
use silk::entry::Entry;
|
use solana::entry::Entry;
|
||||||
use silk::event::Event;
|
use solana::event::Event;
|
||||||
use silk::hash::Hash;
|
use solana::hash::Hash;
|
||||||
use silk::historian::Historian;
|
use solana::historian::Historian;
|
||||||
use silk::ledger::verify_slice;
|
use solana::ledger::verify_slice;
|
||||||
use silk::recorder::Signal;
|
use solana::recorder::Signal;
|
||||||
use silk::signature::{KeyPair, KeyPairUtil};
|
use solana::signature::{KeyPair, KeyPairUtil};
|
||||||
use silk::transaction::Transaction;
|
use solana::transaction::Transaction;
|
||||||
use std::sync::mpsc::SendError;
|
use std::sync::mpsc::SendError;
|
||||||
use std::thread::sleep;
|
use std::thread::sleep;
|
||||||
use std::time::Duration;
|
use std::time::Duration;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
extern crate serde_json;
|
extern crate serde_json;
|
||||||
extern crate silk;
|
extern crate solana;
|
||||||
|
|
||||||
use silk::mint::Mint;
|
use solana::mint::Mint;
|
||||||
use std::io;
|
use std::io;
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
extern crate serde_json;
|
extern crate serde_json;
|
||||||
extern crate silk;
|
extern crate solana;
|
||||||
|
|
||||||
use silk::accountant::Accountant;
|
use solana::accountant::Accountant;
|
||||||
use silk::accountant_skel::AccountantSkel;
|
use solana::accountant_skel::AccountantSkel;
|
||||||
use std::io::{self, stdout, BufRead};
|
use std::io::{self, stdout, BufRead};
|
||||||
use std::sync::atomic::AtomicBool;
|
use std::sync::atomic::AtomicBool;
|
||||||
use std::sync::{Arc, Mutex};
|
use std::sync::{Arc, Mutex};
|
||||||
|
|
Loading…
Reference in New Issue