Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Commit 116166f

Browse files
committed
Rename project: silk -> solana
1 parent 26b19dd commit 116166f

File tree

8 files changed

+33
-33
lines changed

8 files changed

+33
-33
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "solana"
33
description = "High-Performance Blockchain"
4-
version = "0.4.0"
4+
version = "0.4.0-alpha"
55
documentation = "https://docs.rs/solana"
66
homepage = "http://loomprotocol.com/"
77
repository = "https://github.com/solana-labs/solana"

doc/historian.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ with by verifying each entry's hash can be generated from the hash in the previo
88
![historian](https://user-images.githubusercontent.com/55449/36950845-459bdb58-1fb9-11e8-850e-894586f3729b.png)
99

1010
```rust
11-
extern crate silk;
11+
extern crate solana;
1212

13-
use silk::historian::Historian;
14-
use silk::ledger::{verify_slice, Entry, Hash};
15-
use silk::event::{generate_keypair, get_pubkey, sign_claim_data, Event};
13+
use solana::historian::Historian;
14+
use solana::ledger::{verify_slice, Entry, Hash};
15+
use solana::event::{generate_keypair, get_pubkey, sign_claim_data, Event};
1616
use std::thread::sleep;
1717
use std::time::Duration;
1818
use std::sync::mpsc::SendError;

src/bin/client-demo.rs

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
extern crate serde_json;
2-
extern crate silk;
2+
extern crate solana;
33

4-
use silk::accountant_stub::AccountantStub;
5-
use silk::mint::Mint;
6-
use silk::signature::{KeyPair, KeyPairUtil};
7-
use silk::transaction::Transaction;
4+
use solana::accountant_stub::AccountantStub;
5+
use solana::mint::Mint;
6+
use solana::signature::{KeyPair, KeyPairUtil};
7+
use solana::transaction::Transaction;
88
use std::io::stdin;
99
use std::net::UdpSocket;
1010
use std::time::Instant;

src/bin/genesis-demo.rs

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
extern crate serde_json;
2-
extern crate silk;
2+
extern crate solana;
33

4-
use silk::entry::create_entry;
5-
use silk::event::Event;
6-
use silk::hash::Hash;
7-
use silk::mint::Mint;
8-
use silk::signature::{KeyPair, KeyPairUtil, PublicKey};
9-
use silk::transaction::Transaction;
4+
use solana::entry::create_entry;
5+
use solana::event::Event;
6+
use solana::hash::Hash;
7+
use solana::mint::Mint;
8+
use solana::signature::{KeyPair, KeyPairUtil, PublicKey};
9+
use solana::transaction::Transaction;
1010
use std::io::stdin;
1111

1212
fn transfer(from: &KeyPair, (to, tokens): (PublicKey, i64), last_id: Hash) -> Event {

src/bin/genesis.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
//! A command-line executable for generating the chain's genesis block.
22
33
extern crate serde_json;
4-
extern crate silk;
4+
extern crate solana;
55

6-
use silk::mint::Mint;
6+
use solana::mint::Mint;
77
use std::io::stdin;
88

99
fn main() {

src/bin/historian-demo.rs

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
extern crate silk;
1+
extern crate solana;
22

3-
use silk::entry::Entry;
4-
use silk::event::Event;
5-
use silk::hash::Hash;
6-
use silk::historian::Historian;
7-
use silk::ledger::verify_slice;
8-
use silk::recorder::Signal;
9-
use silk::signature::{KeyPair, KeyPairUtil};
10-
use silk::transaction::Transaction;
3+
use solana::entry::Entry;
4+
use solana::event::Event;
5+
use solana::hash::Hash;
6+
use solana::historian::Historian;
7+
use solana::ledger::verify_slice;
8+
use solana::recorder::Signal;
9+
use solana::signature::{KeyPair, KeyPairUtil};
10+
use solana::transaction::Transaction;
1111
use std::sync::mpsc::SendError;
1212
use std::thread::sleep;
1313
use std::time::Duration;

src/bin/mint.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
extern crate serde_json;
2-
extern crate silk;
2+
extern crate solana;
33

4-
use silk::mint::Mint;
4+
use solana::mint::Mint;
55
use std::io;
66

77
fn main() {

src/bin/testnode.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
extern crate serde_json;
2-
extern crate silk;
2+
extern crate solana;
33

4-
use silk::accountant::Accountant;
5-
use silk::accountant_skel::AccountantSkel;
4+
use solana::accountant::Accountant;
5+
use solana::accountant_skel::AccountantSkel;
66
use std::io::{self, stdout, BufRead};
77
use std::sync::atomic::AtomicBool;
88
use std::sync::{Arc, Mutex};

0 commit comments

Comments
 (0)