Compare commits
13 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
dc60c72c2d | ||
|
e59c74562f | ||
|
eb4ce8e3b2 | ||
|
e2a050f77d | ||
|
74b97166a9 | ||
|
b13d5c3264 | ||
|
72a44c58d9 | ||
|
f6e804b0a1 | ||
|
827e794b6f | ||
|
d916ffeba5 | ||
|
dd1ed323e7 | ||
|
491f82bbcd | ||
|
c486d1af8c |
413
Cargo.lock
generated
413
Cargo.lock
generated
@@ -2167,7 +2167,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "solana"
|
name = "solana"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bincode 1.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
"bincode 1.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"bs58 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
"bs58 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
@@ -2198,26 +2198,26 @@ dependencies = [
|
|||||||
"serde 1.0.91 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde 1.0.91 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde_derive 1.0.91 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde_derive 1.0.91 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde_json 1.0.39 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde_json 1.0.39 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"solana-budget-api 0.15.0",
|
"solana-budget-api 0.15.2",
|
||||||
"solana-budget-program 0.15.0",
|
"solana-budget-program 0.15.2",
|
||||||
"solana-client 0.15.0",
|
"solana-client 0.15.2",
|
||||||
"solana-config-program 0.15.0",
|
"solana-config-program 0.15.2",
|
||||||
"solana-drone 0.15.0",
|
"solana-drone 0.15.2",
|
||||||
"solana-ed25519-dalek 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"solana-ed25519-dalek 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"solana-exchange-program 0.15.0",
|
"solana-exchange-program 0.15.2",
|
||||||
"solana-kvstore 0.15.0",
|
"solana-kvstore 0.15.2",
|
||||||
"solana-logger 0.15.0",
|
"solana-logger 0.15.2",
|
||||||
"solana-metrics 0.15.0",
|
"solana-metrics 0.15.2",
|
||||||
"solana-netutil 0.15.0",
|
"solana-netutil 0.15.2",
|
||||||
"solana-runtime 0.15.0",
|
"solana-runtime 0.15.2",
|
||||||
"solana-sdk 0.15.0",
|
"solana-sdk 0.15.2",
|
||||||
"solana-stake-api 0.15.0",
|
"solana-stake-api 0.15.2",
|
||||||
"solana-stake-program 0.15.0",
|
"solana-stake-program 0.15.2",
|
||||||
"solana-storage-api 0.15.0",
|
"solana-storage-api 0.15.2",
|
||||||
"solana-storage-program 0.15.0",
|
"solana-storage-program 0.15.2",
|
||||||
"solana-vote-api 0.15.0",
|
"solana-vote-api 0.15.2",
|
||||||
"solana-vote-program 0.15.0",
|
"solana-vote-program 0.15.2",
|
||||||
"solana-vote-signer 0.15.0",
|
"solana-vote-signer 0.15.2",
|
||||||
"sys-info 0.5.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"sys-info 0.5.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"tokio 0.1.20 (registry+https://github.com/rust-lang/crates.io-index)",
|
"tokio 0.1.20 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"tokio-codec 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"tokio-codec 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
@@ -2226,7 +2226,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "solana-bench-exchange"
|
name = "solana-bench-exchange"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bincode 1.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
"bincode 1.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"bs58 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
"bs58 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
@@ -2241,80 +2241,80 @@ dependencies = [
|
|||||||
"serde 1.0.91 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde 1.0.91 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde_derive 1.0.91 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde_derive 1.0.91 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde_json 1.0.39 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde_json 1.0.39 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"solana 0.15.0",
|
"solana 0.15.2",
|
||||||
"solana-client 0.15.0",
|
"solana-client 0.15.2",
|
||||||
"solana-drone 0.15.0",
|
"solana-drone 0.15.2",
|
||||||
"solana-exchange-api 0.15.0",
|
"solana-exchange-api 0.15.2",
|
||||||
"solana-exchange-program 0.15.0",
|
"solana-exchange-program 0.15.2",
|
||||||
"solana-logger 0.15.0",
|
"solana-logger 0.15.2",
|
||||||
"solana-metrics 0.15.0",
|
"solana-metrics 0.15.2",
|
||||||
"solana-netutil 0.15.0",
|
"solana-netutil 0.15.2",
|
||||||
"solana-runtime 0.15.0",
|
"solana-runtime 0.15.2",
|
||||||
"solana-sdk 0.15.0",
|
"solana-sdk 0.15.2",
|
||||||
"untrusted 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
"untrusted 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"ws 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"ws 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "solana-bench-streamer"
|
name = "solana-bench-streamer"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"solana 0.15.0",
|
"solana 0.15.2",
|
||||||
"solana-logger 0.15.0",
|
"solana-logger 0.15.2",
|
||||||
"solana-netutil 0.15.0",
|
"solana-netutil 0.15.2",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "solana-bench-tps"
|
name = "solana-bench-tps"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"rayon 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
"rayon 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde_json 1.0.39 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde_json 1.0.39 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"solana 0.15.0",
|
"solana 0.15.2",
|
||||||
"solana-client 0.15.0",
|
"solana-client 0.15.2",
|
||||||
"solana-drone 0.15.0",
|
"solana-drone 0.15.2",
|
||||||
"solana-logger 0.15.0",
|
"solana-logger 0.15.2",
|
||||||
"solana-metrics 0.15.0",
|
"solana-metrics 0.15.2",
|
||||||
"solana-netutil 0.15.0",
|
"solana-netutil 0.15.2",
|
||||||
"solana-runtime 0.15.0",
|
"solana-runtime 0.15.2",
|
||||||
"solana-sdk 0.15.0",
|
"solana-sdk 0.15.2",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "solana-bpf-programs"
|
name = "solana-bpf-programs"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bincode 1.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
"bincode 1.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"byteorder 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"byteorder 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"elf 0.0.10 (registry+https://github.com/rust-lang/crates.io-index)",
|
"elf 0.0.10 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"solana-bpfloader 0.15.0",
|
"solana-bpfloader 0.15.2",
|
||||||
"solana-logger 0.15.0",
|
"solana-logger 0.15.2",
|
||||||
"solana-runtime 0.15.0",
|
"solana-runtime 0.15.2",
|
||||||
"solana-sdk 0.15.0",
|
"solana-sdk 0.15.2",
|
||||||
"solana_rbpf 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)",
|
"solana_rbpf 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"walkdir 2.2.7 (registry+https://github.com/rust-lang/crates.io-index)",
|
"walkdir 2.2.7 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "solana-bpfloader"
|
name = "solana-bpfloader"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bincode 1.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
"bincode 1.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"byteorder 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"byteorder 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"libc 0.2.55 (registry+https://github.com/rust-lang/crates.io-index)",
|
"libc 0.2.55 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde 1.0.91 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde 1.0.91 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"solana-logger 0.15.0",
|
"solana-logger 0.15.2",
|
||||||
"solana-sdk 0.15.0",
|
"solana-sdk 0.15.2",
|
||||||
"solana_rbpf 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)",
|
"solana_rbpf 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "solana-budget-api"
|
name = "solana-budget-api"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bincode 1.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
"bincode 1.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"chrono 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"chrono 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
@@ -2323,23 +2323,23 @@ dependencies = [
|
|||||||
"num-traits 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
|
"num-traits 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde 1.0.91 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde 1.0.91 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde_derive 1.0.91 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde_derive 1.0.91 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"solana-runtime 0.15.0",
|
"solana-runtime 0.15.2",
|
||||||
"solana-sdk 0.15.0",
|
"solana-sdk 0.15.2",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "solana-budget-program"
|
name = "solana-budget-program"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"solana-budget-api 0.15.0",
|
"solana-budget-api 0.15.2",
|
||||||
"solana-logger 0.15.0",
|
"solana-logger 0.15.2",
|
||||||
"solana-sdk 0.15.0",
|
"solana-sdk 0.15.2",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "solana-client"
|
name = "solana-client"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bincode 1.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
"bincode 1.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"bs58 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
"bs58 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
@@ -2350,37 +2350,37 @@ dependencies = [
|
|||||||
"serde 1.0.91 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde 1.0.91 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde_derive 1.0.91 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde_derive 1.0.91 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde_json 1.0.39 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde_json 1.0.39 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"solana-logger 0.15.0",
|
"solana-logger 0.15.2",
|
||||||
"solana-netutil 0.15.0",
|
"solana-netutil 0.15.2",
|
||||||
"solana-sdk 0.15.0",
|
"solana-sdk 0.15.2",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "solana-config-api"
|
name = "solana-config-api"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bincode 1.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
"bincode 1.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde 1.0.91 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde 1.0.91 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde_derive 1.0.91 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde_derive 1.0.91 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"solana-logger 0.15.0",
|
"solana-logger 0.15.2",
|
||||||
"solana-runtime 0.15.0",
|
"solana-runtime 0.15.2",
|
||||||
"solana-sdk 0.15.0",
|
"solana-sdk 0.15.2",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "solana-config-program"
|
name = "solana-config-program"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"solana-config-api 0.15.0",
|
"solana-config-api 0.15.2",
|
||||||
"solana-logger 0.15.0",
|
"solana-logger 0.15.2",
|
||||||
"solana-sdk 0.15.0",
|
"solana-sdk 0.15.2",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "solana-drone"
|
name = "solana-drone"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bincode 1.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
"bincode 1.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"byteorder 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"byteorder 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
@@ -2389,9 +2389,9 @@ dependencies = [
|
|||||||
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde 1.0.91 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde 1.0.91 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde_derive 1.0.91 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde_derive 1.0.91 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"solana-logger 0.15.0",
|
"solana-logger 0.15.2",
|
||||||
"solana-metrics 0.15.0",
|
"solana-metrics 0.15.2",
|
||||||
"solana-sdk 0.15.0",
|
"solana-sdk 0.15.2",
|
||||||
"tokio 0.1.20 (registry+https://github.com/rust-lang/crates.io-index)",
|
"tokio 0.1.20 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"tokio-codec 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"tokio-codec 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
]
|
]
|
||||||
@@ -2410,77 +2410,77 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "solana-exchange-api"
|
name = "solana-exchange-api"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bincode 1.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
"bincode 1.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde 1.0.91 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde 1.0.91 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde_derive 1.0.91 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde_derive 1.0.91 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"solana-logger 0.15.0",
|
"solana-logger 0.15.2",
|
||||||
"solana-metrics 0.15.0",
|
"solana-metrics 0.15.2",
|
||||||
"solana-runtime 0.15.0",
|
"solana-runtime 0.15.2",
|
||||||
"solana-sdk 0.15.0",
|
"solana-sdk 0.15.2",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "solana-exchange-program"
|
name = "solana-exchange-program"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"solana-exchange-api 0.15.0",
|
"solana-exchange-api 0.15.2",
|
||||||
"solana-logger 0.15.0",
|
"solana-logger 0.15.2",
|
||||||
"solana-sdk 0.15.0",
|
"solana-sdk 0.15.2",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "solana-failure-program"
|
name = "solana-failure-program"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"solana-runtime 0.15.0",
|
"solana-runtime 0.15.2",
|
||||||
"solana-sdk 0.15.0",
|
"solana-sdk 0.15.2",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "solana-genesis"
|
name = "solana-genesis"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"hashbrown 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"hashbrown 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde_json 1.0.39 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde_json 1.0.39 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"solana 0.15.0",
|
"solana 0.15.2",
|
||||||
"solana-budget-api 0.15.0",
|
"solana-budget-api 0.15.2",
|
||||||
"solana-budget-program 0.15.0",
|
"solana-budget-program 0.15.2",
|
||||||
"solana-config-api 0.15.0",
|
"solana-config-api 0.15.2",
|
||||||
"solana-config-program 0.15.0",
|
"solana-config-program 0.15.2",
|
||||||
"solana-exchange-api 0.15.0",
|
"solana-exchange-api 0.15.2",
|
||||||
"solana-exchange-program 0.15.0",
|
"solana-exchange-program 0.15.2",
|
||||||
"solana-sdk 0.15.0",
|
"solana-sdk 0.15.2",
|
||||||
"solana-stake-api 0.15.0",
|
"solana-stake-api 0.15.2",
|
||||||
"solana-stake-program 0.15.0",
|
"solana-stake-program 0.15.2",
|
||||||
"solana-storage-api 0.15.0",
|
"solana-storage-api 0.15.2",
|
||||||
"solana-storage-program 0.15.0",
|
"solana-storage-program 0.15.2",
|
||||||
"solana-token-api 0.15.0",
|
"solana-token-api 0.15.2",
|
||||||
"solana-token-program 0.15.0",
|
"solana-token-program 0.15.2",
|
||||||
"solana-vote-api 0.15.0",
|
"solana-vote-api 0.15.2",
|
||||||
"solana-vote-program 0.15.0",
|
"solana-vote-program 0.15.2",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "solana-gossip"
|
name = "solana-gossip"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"env_logger 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"env_logger 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"solana 0.15.0",
|
"solana 0.15.2",
|
||||||
"solana-client 0.15.0",
|
"solana-client 0.15.2",
|
||||||
"solana-netutil 0.15.0",
|
"solana-netutil 0.15.2",
|
||||||
"solana-sdk 0.15.0",
|
"solana-sdk 0.15.2",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "solana-install"
|
name = "solana-install"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bincode 1.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
"bincode 1.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"bs58 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
"bs58 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
@@ -2497,10 +2497,10 @@ dependencies = [
|
|||||||
"serde 1.0.91 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde 1.0.91 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde_derive 1.0.91 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde_derive 1.0.91 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde_yaml 0.8.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde_yaml 0.8.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"solana-client 0.15.0",
|
"solana-client 0.15.2",
|
||||||
"solana-config-api 0.15.0",
|
"solana-config-api 0.15.2",
|
||||||
"solana-logger 0.15.0",
|
"solana-logger 0.15.2",
|
||||||
"solana-sdk 0.15.0",
|
"solana-sdk 0.15.2",
|
||||||
"tar 0.4.26 (registry+https://github.com/rust-lang/crates.io-index)",
|
"tar 0.4.26 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"tempdir 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
|
"tempdir 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"url 1.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
"url 1.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
@@ -2508,16 +2508,16 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "solana-keygen"
|
name = "solana-keygen"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"dirs 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
"dirs 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"solana-sdk 0.15.0",
|
"solana-sdk 0.15.2",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "solana-kvstore"
|
name = "solana-kvstore"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bincode 1.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
"bincode 1.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"byteorder 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"byteorder 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
@@ -2532,27 +2532,27 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "solana-ledger-tool"
|
name = "solana-ledger-tool"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"assert_cmd 0.11.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"assert_cmd 0.11.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde_json 1.0.39 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde_json 1.0.39 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"solana 0.15.0",
|
"solana 0.15.2",
|
||||||
"solana-logger 0.15.0",
|
"solana-logger 0.15.2",
|
||||||
"solana-runtime 0.15.0",
|
"solana-runtime 0.15.2",
|
||||||
"solana-sdk 0.15.0",
|
"solana-sdk 0.15.2",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "solana-logger"
|
name = "solana-logger"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"env_logger 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"env_logger 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "solana-metrics"
|
name = "solana-metrics"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"env_logger 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"env_logger 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"influx_db_client 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"influx_db_client 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
@@ -2560,13 +2560,13 @@ dependencies = [
|
|||||||
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
"rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"reqwest 0.9.17 (registry+https://github.com/rust-lang/crates.io-index)",
|
"reqwest 0.9.17 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"solana-sdk 0.15.0",
|
"solana-sdk 0.15.2",
|
||||||
"sys-info 0.5.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"sys-info 0.5.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "solana-netutil"
|
name = "solana-netutil"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bincode 1.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
"bincode 1.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
@@ -2574,34 +2574,33 @@ dependencies = [
|
|||||||
"nix 0.14.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"nix 0.14.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
"rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"socket2 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
"socket2 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"solana-logger 0.15.0",
|
"solana-logger 0.15.2",
|
||||||
"tokio 0.1.20 (registry+https://github.com/rust-lang/crates.io-index)",
|
"tokio 0.1.20 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "solana-noop-program"
|
name = "solana-noop-program"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"solana-logger 0.15.0",
|
"solana-logger 0.15.2",
|
||||||
"solana-runtime 0.15.0",
|
"solana-sdk 0.15.2",
|
||||||
"solana-sdk 0.15.0",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "solana-replicator"
|
name = "solana-replicator"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"solana 0.15.0",
|
"solana 0.15.2",
|
||||||
"solana-logger 0.15.0",
|
"solana-logger 0.15.2",
|
||||||
"solana-netutil 0.15.0",
|
"solana-netutil 0.15.2",
|
||||||
"solana-sdk 0.15.0",
|
"solana-sdk 0.15.2",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "solana-runtime"
|
name = "solana-runtime"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bincode 1.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
"bincode 1.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"bv 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"bv 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
@@ -2617,21 +2616,19 @@ dependencies = [
|
|||||||
"serde 1.0.91 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde 1.0.91 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde_derive 1.0.91 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde_derive 1.0.91 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde_json 1.0.39 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde_json 1.0.39 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"solana-logger 0.15.0",
|
"solana-logger 0.15.2",
|
||||||
"solana-metrics 0.15.0",
|
"solana-metrics 0.15.2",
|
||||||
"solana-noop-program 0.15.0",
|
"solana-noop-program 0.15.2",
|
||||||
"solana-sdk 0.15.0",
|
"solana-sdk 0.15.2",
|
||||||
"solana-stake-api 0.15.0",
|
"solana-stake-api 0.15.2",
|
||||||
"solana-stake-program 0.15.0",
|
"solana-stake-program 0.15.2",
|
||||||
"solana-storage-api 0.15.0",
|
"solana-vote-api 0.15.2",
|
||||||
"solana-storage-program 0.15.0",
|
"solana-vote-program 0.15.2",
|
||||||
"solana-vote-api 0.15.0",
|
|
||||||
"solana-vote-program 0.15.0",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "solana-sdk"
|
name = "solana-sdk"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bincode 1.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
"bincode 1.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"bs58 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
"bs58 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
@@ -2655,55 +2652,55 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "solana-stake-api"
|
name = "solana-stake-api"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bincode 1.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
"bincode 1.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde 1.0.91 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde 1.0.91 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde_derive 1.0.91 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde_derive 1.0.91 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"solana-logger 0.15.0",
|
"solana-logger 0.15.2",
|
||||||
"solana-metrics 0.15.0",
|
"solana-metrics 0.15.2",
|
||||||
"solana-sdk 0.15.0",
|
"solana-sdk 0.15.2",
|
||||||
"solana-vote-api 0.15.0",
|
"solana-vote-api 0.15.2",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "solana-stake-program"
|
name = "solana-stake-program"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"solana-logger 0.15.0",
|
"solana-logger 0.15.2",
|
||||||
"solana-sdk 0.15.0",
|
"solana-sdk 0.15.2",
|
||||||
"solana-stake-api 0.15.0",
|
"solana-stake-api 0.15.2",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "solana-storage-api"
|
name = "solana-storage-api"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"assert_matches 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"assert_matches 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"bincode 1.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
"bincode 1.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde 1.0.91 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde 1.0.91 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde_derive 1.0.91 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde_derive 1.0.91 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"solana-logger 0.15.0",
|
"solana-logger 0.15.2",
|
||||||
"solana-runtime 0.15.0",
|
"solana-runtime 0.15.2",
|
||||||
"solana-sdk 0.15.0",
|
"solana-sdk 0.15.2",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "solana-storage-program"
|
name = "solana-storage-program"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"solana-logger 0.15.0",
|
"solana-logger 0.15.2",
|
||||||
"solana-sdk 0.15.0",
|
"solana-sdk 0.15.2",
|
||||||
"solana-storage-api 0.15.0",
|
"solana-storage-api 0.15.2",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "solana-token-api"
|
name = "solana-token-api"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bincode 1.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
"bincode 1.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
@@ -2711,73 +2708,73 @@ dependencies = [
|
|||||||
"num-traits 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
|
"num-traits 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde 1.0.91 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde 1.0.91 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde_derive 1.0.91 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde_derive 1.0.91 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"solana-logger 0.15.0",
|
"solana-logger 0.15.2",
|
||||||
"solana-sdk 0.15.0",
|
"solana-sdk 0.15.2",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "solana-token-program"
|
name = "solana-token-program"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"solana-logger 0.15.0",
|
"solana-logger 0.15.2",
|
||||||
"solana-sdk 0.15.0",
|
"solana-sdk 0.15.2",
|
||||||
"solana-token-api 0.15.0",
|
"solana-token-api 0.15.2",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "solana-upload-perf"
|
name = "solana-upload-perf"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde_json 1.0.39 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde_json 1.0.39 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"solana-metrics 0.15.0",
|
"solana-metrics 0.15.2",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "solana-validator"
|
name = "solana-validator"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde_json 1.0.39 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde_json 1.0.39 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"solana 0.15.0",
|
"solana 0.15.2",
|
||||||
"solana-drone 0.15.0",
|
"solana-drone 0.15.2",
|
||||||
"solana-logger 0.15.0",
|
"solana-logger 0.15.2",
|
||||||
"solana-metrics 0.15.0",
|
"solana-metrics 0.15.2",
|
||||||
"solana-netutil 0.15.0",
|
"solana-netutil 0.15.2",
|
||||||
"solana-runtime 0.15.0",
|
"solana-runtime 0.15.2",
|
||||||
"solana-sdk 0.15.0",
|
"solana-sdk 0.15.2",
|
||||||
"solana-vote-api 0.15.0",
|
"solana-vote-api 0.15.2",
|
||||||
"solana-vote-signer 0.15.0",
|
"solana-vote-signer 0.15.2",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "solana-vote-api"
|
name = "solana-vote-api"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bincode 1.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
"bincode 1.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde 1.0.91 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde 1.0.91 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde_derive 1.0.91 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde_derive 1.0.91 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"solana-logger 0.15.0",
|
"solana-logger 0.15.2",
|
||||||
"solana-metrics 0.15.0",
|
"solana-metrics 0.15.2",
|
||||||
"solana-sdk 0.15.0",
|
"solana-sdk 0.15.2",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "solana-vote-program"
|
name = "solana-vote-program"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"solana-logger 0.15.0",
|
"solana-logger 0.15.2",
|
||||||
"solana-sdk 0.15.0",
|
"solana-sdk 0.15.2",
|
||||||
"solana-vote-api 0.15.0",
|
"solana-vote-api 0.15.2",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "solana-vote-signer"
|
name = "solana-vote-signer"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bs58 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
"bs58 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
@@ -2787,13 +2784,13 @@ dependencies = [
|
|||||||
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde 1.0.91 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde 1.0.91 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde_json 1.0.39 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde_json 1.0.39 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"solana-metrics 0.15.0",
|
"solana-metrics 0.15.2",
|
||||||
"solana-sdk 0.15.0",
|
"solana-sdk 0.15.2",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "solana-wallet"
|
name = "solana-wallet"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bincode 1.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
"bincode 1.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"bs58 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
"bs58 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
@@ -2803,18 +2800,18 @@ dependencies = [
|
|||||||
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"num-traits 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
|
"num-traits 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde_json 1.0.39 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde_json 1.0.39 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"solana 0.15.0",
|
"solana 0.15.2",
|
||||||
"solana-budget-api 0.15.0",
|
"solana-budget-api 0.15.2",
|
||||||
"solana-budget-program 0.15.0",
|
"solana-budget-program 0.15.2",
|
||||||
"solana-client 0.15.0",
|
"solana-client 0.15.2",
|
||||||
"solana-drone 0.15.0",
|
"solana-drone 0.15.2",
|
||||||
"solana-logger 0.15.0",
|
"solana-logger 0.15.2",
|
||||||
"solana-netutil 0.15.0",
|
"solana-netutil 0.15.2",
|
||||||
"solana-sdk 0.15.0",
|
"solana-sdk 0.15.2",
|
||||||
"solana-stake-api 0.15.0",
|
"solana-stake-api 0.15.2",
|
||||||
"solana-storage-api 0.15.0",
|
"solana-storage-api 0.15.2",
|
||||||
"solana-vote-api 0.15.0",
|
"solana-vote-api 0.15.2",
|
||||||
"solana-vote-signer 0.15.0",
|
"solana-vote-signer 0.15.2",
|
||||||
"url 1.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
"url 1.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@@ -2,10 +2,11 @@
|
|||||||
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
name = "solana-bench-exchange"
|
name = "solana-bench-exchange"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
repository = "https://github.com/solana-labs/solana"
|
repository = "https://github.com/solana-labs/solana"
|
||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
homepage = "https://solana.com/"
|
homepage = "https://solana.com/"
|
||||||
|
publish = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
bs58 = "0.2.0"
|
bs58 = "0.2.0"
|
||||||
@@ -22,16 +23,16 @@ serde = "1.0.91"
|
|||||||
serde_derive = "1.0.91"
|
serde_derive = "1.0.91"
|
||||||
serde_json = "1.0.38"
|
serde_json = "1.0.38"
|
||||||
# solana-runtime = { path = "../solana/runtime"}
|
# solana-runtime = { path = "../solana/runtime"}
|
||||||
solana = { path = "../core", version = "0.15.0" }
|
solana = { path = "../core", version = "0.15.2" }
|
||||||
solana-client = { path = "../client", version = "0.15.0" }
|
solana-client = { path = "../client", version = "0.15.2" }
|
||||||
solana-drone = { path = "../drone", version = "0.15.0" }
|
solana-drone = { path = "../drone", version = "0.15.2" }
|
||||||
solana-exchange-api = { path = "../programs/exchange_api", version = "0.15.0" }
|
solana-exchange-api = { path = "../programs/exchange_api", version = "0.15.2" }
|
||||||
solana-exchange-program = { path = "../programs/exchange_program", version = "0.15.0" }
|
solana-exchange-program = { path = "../programs/exchange_program", version = "0.15.2" }
|
||||||
solana-logger = { path = "../logger", version = "0.15.0" }
|
solana-logger = { path = "../logger", version = "0.15.2" }
|
||||||
solana-metrics = { path = "../metrics", version = "0.15.0" }
|
solana-metrics = { path = "../metrics", version = "0.15.2" }
|
||||||
solana-netutil = { path = "../netutil", version = "0.15.0" }
|
solana-netutil = { path = "../netutil", version = "0.15.2" }
|
||||||
solana-runtime = { path = "../runtime", version = "0.15.0" }
|
solana-runtime = { path = "../runtime", version = "0.15.2" }
|
||||||
solana-sdk = { path = "../sdk", version = "0.15.0" }
|
solana-sdk = { path = "../sdk", version = "0.15.2" }
|
||||||
ws = "0.8.1"
|
ws = "0.8.1"
|
||||||
untrusted = "0.6.2"
|
untrusted = "0.6.2"
|
||||||
|
|
||||||
|
@@ -2,16 +2,16 @@
|
|||||||
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
name = "solana-bench-streamer"
|
name = "solana-bench-streamer"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
repository = "https://github.com/solana-labs/solana"
|
repository = "https://github.com/solana-labs/solana"
|
||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
homepage = "https://solana.com/"
|
homepage = "https://solana.com/"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
clap = "2.33.0"
|
clap = "2.33.0"
|
||||||
solana = { path = "../core", version = "0.15.0" }
|
solana = { path = "../core", version = "0.15.2" }
|
||||||
solana-logger = { path = "../logger", version = "0.15.0" }
|
solana-logger = { path = "../logger", version = "0.15.2" }
|
||||||
solana-netutil = { path = "../netutil", version = "0.15.0" }
|
solana-netutil = { path = "../netutil", version = "0.15.2" }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
cuda = ["solana/cuda"]
|
cuda = ["solana/cuda"]
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
name = "solana-bench-tps"
|
name = "solana-bench-tps"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
repository = "https://github.com/solana-labs/solana"
|
repository = "https://github.com/solana-labs/solana"
|
||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
homepage = "https://solana.com/"
|
homepage = "https://solana.com/"
|
||||||
@@ -12,14 +12,14 @@ clap = "2.33.0"
|
|||||||
log = "0.4.6"
|
log = "0.4.6"
|
||||||
rayon = "1.0.3"
|
rayon = "1.0.3"
|
||||||
serde_json = "1.0.39"
|
serde_json = "1.0.39"
|
||||||
solana = { path = "../core", version = "0.15.0" }
|
solana = { path = "../core", version = "0.15.2" }
|
||||||
solana-client = { path = "../client", version = "0.15.0" }
|
solana-client = { path = "../client", version = "0.15.2" }
|
||||||
solana-drone = { path = "../drone", version = "0.15.0" }
|
solana-drone = { path = "../drone", version = "0.15.2" }
|
||||||
solana-logger = { path = "../logger", version = "0.15.0" }
|
solana-logger = { path = "../logger", version = "0.15.2" }
|
||||||
solana-metrics = { path = "../metrics", version = "0.15.0" }
|
solana-metrics = { path = "../metrics", version = "0.15.2" }
|
||||||
solana-netutil = { path = "../netutil", version = "0.15.0" }
|
solana-netutil = { path = "../netutil", version = "0.15.2" }
|
||||||
solana-runtime = { path = "../runtime", version = "0.15.0" }
|
solana-runtime = { path = "../runtime", version = "0.15.2" }
|
||||||
solana-sdk = { path = "../sdk", version = "0.15.0" }
|
solana-sdk = { path = "../sdk", version = "0.15.2" }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
cuda = ["solana/cuda"]
|
cuda = ["solana/cuda"]
|
||||||
|
@@ -32,7 +32,7 @@ traversal issues. A cloud-hosted machine works best. **Ensure that IP ports
|
|||||||
Prebuilt binaries are available for Linux x86_64 (Ubuntu 18.04 recommended).
|
Prebuilt binaries are available for Linux x86_64 (Ubuntu 18.04 recommended).
|
||||||
MacOS or WSL users may build from source.
|
MacOS or WSL users may build from source.
|
||||||
|
|
||||||
For a performance testnet with many transactions we have some preliminary recomended setups:
|
For a performance testnet with many transactions we have some preliminary recommended setups:
|
||||||
|
|
||||||
| | Low end | Medium end | High end | Notes |
|
| | Low end | Medium end | High end | Notes |
|
||||||
| --- | ---------|------------|----------| -- |
|
| --- | ---------|------------|----------| -- |
|
||||||
@@ -67,7 +67,7 @@ The `solana-install` tool can be used to easily install and upgrade the cluster
|
|||||||
software on Linux x86_64 systems.
|
software on Linux x86_64 systems.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ export SOLANA_RELEASE=v0.14.2 # skip this line to install the latest release
|
$ export SOLANA_RELEASE=v0.15.0 # skip this line to install the latest release
|
||||||
$ curl -sSf https://raw.githubusercontent.com/solana-labs/solana/v0.14.0/install/solana-install-init.sh | sh -s
|
$ curl -sSf https://raw.githubusercontent.com/solana-labs/solana/v0.14.0/install/solana-install-init.sh | sh -s
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -176,7 +176,7 @@ $ solana-gossip --entrypoint testnet.solana.com:8001 spy
|
|||||||
Provide the **vote pubkey** to the `solana-wallet show-vote-account` command to view
|
Provide the **vote pubkey** to the `solana-wallet show-vote-account` command to view
|
||||||
the recent voting activity from your validator:
|
the recent voting activity from your validator:
|
||||||
```bash
|
```bash
|
||||||
$ solana-wallet -n testnet.solana.com show-vote-account 2ozWvfaXQd1X6uKh8jERoRGApDqSqcEy6fF1oN13LL2G
|
$ solana-wallet show-vote-account 2ozWvfaXQd1X6uKh8jERoRGApDqSqcEy6fF1oN13LL2G
|
||||||
```
|
```
|
||||||
|
|
||||||
The vote pubkey for the validator can also be found by running:
|
The vote pubkey for the validator can also be found by running:
|
||||||
|
65
ci/order-crates-for-publishing.py
Executable file
65
ci/order-crates-for-publishing.py
Executable file
@@ -0,0 +1,65 @@
|
|||||||
|
#!/usr/bin/env python
|
||||||
|
#
|
||||||
|
# This script figures the order in which workspace crates must be published to
|
||||||
|
# crates.io. Along the way it also ensures there are no circular dependencies
|
||||||
|
# that would cause a |cargo publish| to fail.
|
||||||
|
#
|
||||||
|
# On success an ordered list of Cargo.toml files is written to stdout
|
||||||
|
#
|
||||||
|
|
||||||
|
import os
|
||||||
|
import json
|
||||||
|
import subprocess
|
||||||
|
import sys;
|
||||||
|
|
||||||
|
def load_metadata():
|
||||||
|
return json.loads(subprocess.Popen(
|
||||||
|
'cargo metadata --no-deps --format-version=1',
|
||||||
|
shell=True, stdout=subprocess.PIPE).communicate()[0])
|
||||||
|
|
||||||
|
def get_packages():
|
||||||
|
metadata = load_metadata()
|
||||||
|
|
||||||
|
manifest_path = dict()
|
||||||
|
|
||||||
|
# Build dictionary of packages and their immediate solana-only dependencies
|
||||||
|
dependency_graph = dict()
|
||||||
|
for pkg in metadata['packages']:
|
||||||
|
manifest_path[pkg['name']] = pkg['manifest_path'];
|
||||||
|
dependency_graph[pkg['name']] = [x['name'] for x in pkg['dependencies'] if x['name'].startswith('solana')];
|
||||||
|
|
||||||
|
# Check for direct circular dependencies
|
||||||
|
circular_dependencies = set()
|
||||||
|
for package, dependencies in dependency_graph.items():
|
||||||
|
for dependency in dependencies:
|
||||||
|
if dependency in dependency_graph and package in dependency_graph[dependency]:
|
||||||
|
circular_dependencies.add(' <--> '.join(sorted([package, dependency])))
|
||||||
|
|
||||||
|
for dependency in circular_dependencies:
|
||||||
|
sys.stderr.write('Error: Circular dependency: {}\n'.format(dependency))
|
||||||
|
|
||||||
|
if len(circular_dependencies) != 0:
|
||||||
|
sys.exit(1)
|
||||||
|
|
||||||
|
# Order dependencies
|
||||||
|
sorted_dependency_graph = []
|
||||||
|
max_iterations = pow(len(dependency_graph),2)
|
||||||
|
while dependency_graph:
|
||||||
|
if max_iterations == 0:
|
||||||
|
# TODO: Be more helpful and find the actual cycle for the user
|
||||||
|
sys.exit('Error: Circular dependency suspected between these packages: {}\n'.format(' '.join(dependency_graph.keys())))
|
||||||
|
|
||||||
|
max_iterations -= 1
|
||||||
|
for package, dependencies in dependency_graph.items():
|
||||||
|
for dependency in dependencies:
|
||||||
|
if dependency in dependency_graph:
|
||||||
|
break
|
||||||
|
else:
|
||||||
|
del dependency_graph[package]
|
||||||
|
sorted_dependency_graph.append((package, manifest_path[package]))
|
||||||
|
|
||||||
|
|
||||||
|
return sorted_dependency_graph
|
||||||
|
|
||||||
|
for package, manifest in get_packages():
|
||||||
|
print os.path.relpath(manifest)
|
@@ -3,35 +3,13 @@ set -e
|
|||||||
cd "$(dirname "$0")/.."
|
cd "$(dirname "$0")/.."
|
||||||
source ci/semver_bash/semver.sh
|
source ci/semver_bash/semver.sh
|
||||||
|
|
||||||
# List of internal crates to publish
|
# shellcheck disable=SC2086
|
||||||
#
|
is_crate_version_uploaded() {
|
||||||
# IMPORTANT: the order of the CRATES *is* significant. Crates must be published
|
name=$1
|
||||||
# before the crates that depend on them. Note that this information is already
|
version=$2
|
||||||
# expressed in the various Cargo.toml files, and ideally would not be duplicated
|
curl https://crates.io/api/v1/crates/${name}/${version} | \
|
||||||
# here. (TODO: figure the crate ordering dynamically)
|
python3 -c "import sys,json; print('version' in json.load(sys.stdin));"
|
||||||
#
|
}
|
||||||
CRATES=(
|
|
||||||
kvstore
|
|
||||||
logger
|
|
||||||
netutil
|
|
||||||
sdk
|
|
||||||
keygen
|
|
||||||
metrics
|
|
||||||
client
|
|
||||||
drone
|
|
||||||
programs/{budget_api,config_api,stake_api,storage_api,token_api,vote_api,exchange_api}
|
|
||||||
programs/{vote_program,budget_program,bpf_loader,config_program,exchange_program,failure_program}
|
|
||||||
programs/{noop_program,stake_program,storage_program,token_program}
|
|
||||||
runtime
|
|
||||||
vote-signer
|
|
||||||
core
|
|
||||||
validator
|
|
||||||
genesis
|
|
||||||
gossip
|
|
||||||
ledger-tool
|
|
||||||
wallet
|
|
||||||
install
|
|
||||||
)
|
|
||||||
|
|
||||||
# Only package/publish if this is a tagged release
|
# Only package/publish if this is a tagged release
|
||||||
[[ -n $TRIGGERED_BUILDKITE_TAG ]] || {
|
[[ -n $TRIGGERED_BUILDKITE_TAG ]] || {
|
||||||
@@ -49,25 +27,37 @@ expectedCrateVersion="$MAJOR.$MINOR.$PATCH$SPECIAL"
|
|||||||
|
|
||||||
cargoCommand="cargo publish --token $CRATES_IO_TOKEN"
|
cargoCommand="cargo publish --token $CRATES_IO_TOKEN"
|
||||||
|
|
||||||
for crate in "${CRATES[@]}"; do
|
Cargo_tomls=$(ci/order-crates-for-publishing.py)
|
||||||
if [[ ! -r $crate/Cargo.toml ]]; then
|
|
||||||
echo "Error: $crate/Cargo.toml does not exist"
|
for Cargo_toml in $Cargo_tomls; do
|
||||||
exit 1
|
echo "-- $Cargo_toml"
|
||||||
fi
|
grep -q "^version = \"$expectedCrateVersion\"$" "$Cargo_toml" || {
|
||||||
echo "-- $crate"
|
echo "Error: $Cargo_toml version is not $expectedCrateVersion"
|
||||||
grep -q "^version = \"$expectedCrateVersion\"$" "$crate"/Cargo.toml || {
|
|
||||||
echo "Error: $crate/Cargo.toml version is not $expectedCrateVersion"
|
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
(
|
(
|
||||||
set -x
|
set -x
|
||||||
|
crate=$(dirname "$Cargo_toml")
|
||||||
# TODO: the rocksdb package does not build with the stock rust docker image,
|
# TODO: the rocksdb package does not build with the stock rust docker image,
|
||||||
# so use the solana rust docker image until this is resolved upstream
|
# so use the solana rust docker image until this is resolved upstream
|
||||||
source ci/rust-version.sh
|
source ci/rust-version.sh
|
||||||
ci/docker-run.sh "$rust_stable_docker_image" bash -exc "cd $crate; $cargoCommand"
|
ci/docker-run.sh "$rust_stable_docker_image" bash -exc "cd $crate; $cargoCommand"
|
||||||
#ci/docker-run.sh rust bash -exc "cd $crate; $cargoCommand"
|
) || true # <-- Don't fail. We want to be able to retry the job in cases when a publish fails halfway due to network/cloud issues
|
||||||
)
|
|
||||||
|
# shellcheck disable=SC2086
|
||||||
|
crate_name=$(grep -m 1 '^name = ' $Cargo_toml | cut -f 3 -d ' ' | tr -d \")
|
||||||
|
numRetries=30
|
||||||
|
for ((i = 1 ; i <= numRetries ; i++)); do
|
||||||
|
echo "Attempt ${i} of ${numRetries}"
|
||||||
|
# shellcheck disable=SC2086
|
||||||
|
if [[ $(is_crate_version_uploaded $crate_name $expectedCrateVersion) = True ]] ; then
|
||||||
|
echo "Found ${crate_name} version ${expectedCrateVersion} on crates.io"
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
echo "Did not find ${crate_name} version ${expectedCrateVersion} on crates.io. Sleeping for 2 seconds."
|
||||||
|
sleep 2
|
||||||
|
done
|
||||||
done
|
done
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
@@ -45,7 +45,9 @@ beta)
|
|||||||
CHANNEL_BRANCH=$BETA_CHANNEL
|
CHANNEL_BRANCH=$BETA_CHANNEL
|
||||||
;;
|
;;
|
||||||
stable)
|
stable)
|
||||||
CHANNEL_BRANCH=$STABLE_CHANNEL
|
# Set to whatever branch 'testnet' is on.
|
||||||
|
# TODO: Revert to $STABLE_CHANNEL for TdS
|
||||||
|
CHANNEL_BRANCH=$BETA_CHANNEL
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Error: Invalid PUBLISH_CHANNEL=$PUBLISH_CHANNEL"
|
echo "Error: Invalid PUBLISH_CHANNEL=$PUBLISH_CHANNEL"
|
||||||
|
@@ -88,7 +88,7 @@ EOF
|
|||||||
set -e
|
set -e
|
||||||
cd "$(dirname "$0")"/..
|
cd "$(dirname "$0")"/..
|
||||||
export USE_INSTALL=1
|
export USE_INSTALL=1
|
||||||
exec multinode-demo/clear-validator-config.sh "$@"
|
exec multinode-demo/clear-config.sh "$@"
|
||||||
EOF
|
EOF
|
||||||
chmod +x solana-release/bin/clear-config.sh
|
chmod +x solana-release/bin/clear-config.sh
|
||||||
|
|
||||||
|
@@ -14,6 +14,7 @@ _ cargo +"$rust_stable" clippy --all -- --version
|
|||||||
_ cargo +"$rust_stable" clippy --all -- --deny=warnings
|
_ cargo +"$rust_stable" clippy --all -- --deny=warnings
|
||||||
_ cargo +"$rust_stable" audit
|
_ cargo +"$rust_stable" audit
|
||||||
_ ci/nits.sh
|
_ ci/nits.sh
|
||||||
|
_ ci/order-crates-for-publishing.py
|
||||||
_ book/build.sh
|
_ book/build.sh
|
||||||
|
|
||||||
echo --- ok
|
echo --- ok
|
||||||
|
@@ -311,6 +311,9 @@ if ! $skipStart; then
|
|||||||
if [[ -n $NO_LEDGER_VERIFY ]]; then
|
if [[ -n $NO_LEDGER_VERIFY ]]; then
|
||||||
args+=(-o noLedgerVerify)
|
args+=(-o noLedgerVerify)
|
||||||
fi
|
fi
|
||||||
|
if [[ -n $NO_INSTALL_CHECK ]]; then
|
||||||
|
args+=(-o noInstallCheck)
|
||||||
|
fi
|
||||||
if [[ -n $maybeHashesPerTick ]]; then
|
if [[ -n $maybeHashesPerTick ]]; then
|
||||||
# shellcheck disable=SC2206 # Do not want to quote $maybeHashesPerTick
|
# shellcheck disable=SC2206 # Do not want to quote $maybeHashesPerTick
|
||||||
args+=($maybeHashesPerTick)
|
args+=($maybeHashesPerTick)
|
||||||
|
@@ -212,6 +212,7 @@ sanity() {
|
|||||||
testnet-edge)
|
testnet-edge)
|
||||||
(
|
(
|
||||||
set -x
|
set -x
|
||||||
|
NO_INSTALL_CHECK=1 \
|
||||||
NO_LEDGER_VERIFY=1 \
|
NO_LEDGER_VERIFY=1 \
|
||||||
ci/testnet-sanity.sh edge-testnet-solana-com ec2 us-west-1a
|
ci/testnet-sanity.sh edge-testnet-solana-com ec2 us-west-1a
|
||||||
)
|
)
|
||||||
@@ -228,6 +229,7 @@ sanity() {
|
|||||||
testnet-beta)
|
testnet-beta)
|
||||||
(
|
(
|
||||||
set -x
|
set -x
|
||||||
|
NO_INSTALL_CHECK=1 \
|
||||||
NO_LEDGER_VERIFY=1 \
|
NO_LEDGER_VERIFY=1 \
|
||||||
ci/testnet-sanity.sh beta-testnet-solana-com ec2 us-west-1a
|
ci/testnet-sanity.sh beta-testnet-solana-com ec2 us-west-1a
|
||||||
)
|
)
|
||||||
|
@@ -64,6 +64,7 @@ for zone in "$@"; do
|
|||||||
${NO_LEDGER_VERIFY:+-o noLedgerVerify} \
|
${NO_LEDGER_VERIFY:+-o noLedgerVerify} \
|
||||||
${NO_VALIDATOR_SANITY:+-o noValidatorSanity} \
|
${NO_VALIDATOR_SANITY:+-o noValidatorSanity} \
|
||||||
${REJECT_EXTRA_NODES:+-o rejectExtraNodes} \
|
${REJECT_EXTRA_NODES:+-o rejectExtraNodes} \
|
||||||
|
${NO_INSTALL_CHECK:+-o noInstallCheck} \
|
||||||
$zone || ok=false
|
$zone || ok=false
|
||||||
|
|
||||||
net/net.sh logs
|
net/net.sh logs
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "solana-client"
|
name = "solana-client"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
description = "Solana Client"
|
description = "Solana Client"
|
||||||
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
||||||
repository = "https://github.com/solana-labs/solana"
|
repository = "https://github.com/solana-labs/solana"
|
||||||
@@ -17,10 +17,10 @@ reqwest = "0.9.17"
|
|||||||
serde = "1.0.89"
|
serde = "1.0.89"
|
||||||
serde_derive = "1.0.91"
|
serde_derive = "1.0.91"
|
||||||
serde_json = "1.0.39"
|
serde_json = "1.0.39"
|
||||||
solana-netutil = { path = "../netutil", version = "0.15.0" }
|
solana-netutil = { path = "../netutil", version = "0.15.2" }
|
||||||
solana-sdk = { path = "../sdk", version = "0.15.0" }
|
solana-sdk = { path = "../sdk", version = "0.15.2" }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
jsonrpc-core = "10.1.0"
|
jsonrpc-core = "10.1.0"
|
||||||
jsonrpc-http-server = "10.1.0"
|
jsonrpc-http-server = "10.1.0"
|
||||||
solana-logger = { path = "../logger", version = "0.15.0" }
|
solana-logger = { path = "../logger", version = "0.15.2" }
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "solana"
|
name = "solana"
|
||||||
description = "Blockchain, Rebuilt for Scale"
|
description = "Blockchain, Rebuilt for Scale"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
documentation = "https://docs.rs/solana"
|
documentation = "https://docs.rs/solana"
|
||||||
homepage = "https://solana.com/"
|
homepage = "https://solana.com/"
|
||||||
readme = "../README.md"
|
readme = "../README.md"
|
||||||
@@ -47,26 +47,26 @@ rocksdb = "0.11.0"
|
|||||||
serde = "1.0.89"
|
serde = "1.0.89"
|
||||||
serde_derive = "1.0.91"
|
serde_derive = "1.0.91"
|
||||||
serde_json = "1.0.39"
|
serde_json = "1.0.39"
|
||||||
solana-budget-api = { path = "../programs/budget_api", version = "0.15.0" }
|
solana-budget-api = { path = "../programs/budget_api", version = "0.15.2" }
|
||||||
solana-budget-program = { path = "../programs/budget_program", version = "0.15.0" }
|
solana-budget-program = { path = "../programs/budget_program", version = "0.15.2" }
|
||||||
solana-client = { path = "../client", version = "0.15.0" }
|
solana-client = { path = "../client", version = "0.15.2" }
|
||||||
solana-drone = { path = "../drone", version = "0.15.0" }
|
solana-drone = { path = "../drone", version = "0.15.2" }
|
||||||
solana-ed25519-dalek = "0.2.0"
|
solana-ed25519-dalek = "0.2.0"
|
||||||
solana-kvstore = { path = "../kvstore", version = "0.15.0" , optional = true }
|
solana-kvstore = { path = "../kvstore", version = "0.15.2" , optional = true }
|
||||||
solana-logger = { path = "../logger", version = "0.15.0" }
|
solana-logger = { path = "../logger", version = "0.15.2" }
|
||||||
solana-metrics = { path = "../metrics", version = "0.15.0" }
|
solana-metrics = { path = "../metrics", version = "0.15.2" }
|
||||||
solana-netutil = { path = "../netutil", version = "0.15.0" }
|
solana-netutil = { path = "../netutil", version = "0.15.2" }
|
||||||
solana-runtime = { path = "../runtime", version = "0.15.0" }
|
solana-runtime = { path = "../runtime", version = "0.15.2" }
|
||||||
solana-sdk = { path = "../sdk", version = "0.15.0" }
|
solana-sdk = { path = "../sdk", version = "0.15.2" }
|
||||||
solana-stake-api = { path = "../programs/stake_api", version = "0.15.0" }
|
solana-stake-api = { path = "../programs/stake_api", version = "0.15.2" }
|
||||||
solana-stake-program = { path = "../programs/stake_program", version = "0.15.0" }
|
solana-stake-program = { path = "../programs/stake_program", version = "0.15.2" }
|
||||||
solana-storage-api = { path = "../programs/storage_api", version = "0.15.0" }
|
solana-storage-api = { path = "../programs/storage_api", version = "0.15.2" }
|
||||||
solana-storage-program = { path = "../programs/storage_program", version = "0.15.0" }
|
solana-storage-program = { path = "../programs/storage_program", version = "0.15.2" }
|
||||||
solana-vote-api = { path = "../programs/vote_api", version = "0.15.0" }
|
solana-vote-api = { path = "../programs/vote_api", version = "0.15.2" }
|
||||||
solana-vote-program = { path = "../programs/vote_program", version = "0.15.0" }
|
solana-vote-program = { path = "../programs/vote_program", version = "0.15.2" }
|
||||||
solana-exchange-program = { path = "../programs/exchange_program", version = "0.15.0" }
|
solana-exchange-program = { path = "../programs/exchange_program", version = "0.15.2" }
|
||||||
solana-config-program = { path = "../programs/config_program", version = "0.15.0" }
|
solana-config-program = { path = "../programs/config_program", version = "0.15.2" }
|
||||||
solana-vote-signer = { path = "../vote-signer", version = "0.15.0" }
|
solana-vote-signer = { path = "../vote-signer", version = "0.15.2" }
|
||||||
sys-info = "0.5.6"
|
sys-info = "0.5.6"
|
||||||
tokio = "0.1"
|
tokio = "0.1"
|
||||||
tokio-codec = "0.1"
|
tokio-codec = "0.1"
|
||||||
|
@@ -21,6 +21,7 @@ use solana_sdk::timing::DEFAULT_TICKS_PER_SLOT;
|
|||||||
use solana_sdk::transaction::Transaction;
|
use solana_sdk::transaction::Transaction;
|
||||||
use solana_stake_api::stake_instruction;
|
use solana_stake_api::stake_instruction;
|
||||||
use solana_storage_api::storage_instruction;
|
use solana_storage_api::storage_instruction;
|
||||||
|
use solana_storage_program::genesis_block_util::GenesisBlockUtil;
|
||||||
use solana_vote_api::vote_instruction;
|
use solana_vote_api::vote_instruction;
|
||||||
use solana_vote_api::vote_state::VoteState;
|
use solana_vote_api::vote_state::VoteState;
|
||||||
use std::collections::HashMap;
|
use std::collections::HashMap;
|
||||||
@@ -124,12 +125,13 @@ impl LocalCluster {
|
|||||||
mut genesis_block,
|
mut genesis_block,
|
||||||
mint_keypair,
|
mint_keypair,
|
||||||
voting_keypair,
|
voting_keypair,
|
||||||
storage_keypair,
|
|
||||||
} = create_genesis_block_with_leader(
|
} = create_genesis_block_with_leader(
|
||||||
config.cluster_lamports,
|
config.cluster_lamports,
|
||||||
&leader_pubkey,
|
&leader_pubkey,
|
||||||
config.node_stakes[0],
|
config.node_stakes[0],
|
||||||
);
|
);
|
||||||
|
let storage_keypair = Keypair::new();
|
||||||
|
genesis_block.add_storage_program(&storage_keypair.pubkey());
|
||||||
genesis_block.ticks_per_slot = config.ticks_per_slot;
|
genesis_block.ticks_per_slot = config.ticks_per_slot;
|
||||||
genesis_block.slots_per_epoch = config.slots_per_epoch;
|
genesis_block.slots_per_epoch = config.slots_per_epoch;
|
||||||
genesis_block.stakers_slot_offset = config.stakers_slot_offset;
|
genesis_block.stakers_slot_offset = config.stakers_slot_offset;
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "solana-drone"
|
name = "solana-drone"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
description = "Solana Drone"
|
description = "Solana Drone"
|
||||||
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
||||||
repository = "https://github.com/solana-labs/solana"
|
repository = "https://github.com/solana-labs/solana"
|
||||||
@@ -20,9 +20,9 @@ clap = "2.33"
|
|||||||
log = "0.4.2"
|
log = "0.4.2"
|
||||||
serde = "1.0.91"
|
serde = "1.0.91"
|
||||||
serde_derive = "1.0.91"
|
serde_derive = "1.0.91"
|
||||||
solana-logger = { path = "../logger", version = "0.15.0" }
|
solana-logger = { path = "../logger", version = "0.15.2" }
|
||||||
solana-sdk = { path = "../sdk", version = "0.15.0" }
|
solana-sdk = { path = "../sdk", version = "0.15.2" }
|
||||||
solana-metrics = { path = "../metrics", version = "0.15.0" }
|
solana-metrics = { path = "../metrics", version = "0.15.2" }
|
||||||
tokio = "0.1"
|
tokio = "0.1"
|
||||||
tokio-codec = "0.1"
|
tokio-codec = "0.1"
|
||||||
|
|
||||||
|
@@ -3,7 +3,7 @@ authors = ["Solana Maintainers <maintainers@solana.com>"]
|
|||||||
edition = "2018"
|
edition = "2018"
|
||||||
name = "solana-genesis"
|
name = "solana-genesis"
|
||||||
description = "Blockchain, Rebuilt for Scale"
|
description = "Blockchain, Rebuilt for Scale"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
repository = "https://github.com/solana-labs/solana"
|
repository = "https://github.com/solana-labs/solana"
|
||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
homepage = "https://solana.com/"
|
homepage = "https://solana.com/"
|
||||||
@@ -11,22 +11,22 @@ homepage = "https://solana.com/"
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
clap = "2.33.0"
|
clap = "2.33.0"
|
||||||
serde_json = "1.0.39"
|
serde_json = "1.0.39"
|
||||||
solana = { path = "../core", version = "0.15.0" }
|
solana = { path = "../core", version = "0.15.2" }
|
||||||
solana-sdk = { path = "../sdk", version = "0.15.0" }
|
solana-sdk = { path = "../sdk", version = "0.15.2" }
|
||||||
solana-budget-api = { path = "../programs/budget_api", version = "0.15.0" }
|
solana-budget-api = { path = "../programs/budget_api", version = "0.15.2" }
|
||||||
solana-budget-program = { path = "../programs/budget_program", version = "0.15.0" }
|
solana-budget-program = { path = "../programs/budget_program", version = "0.15.2" }
|
||||||
solana-vote-api = { path = "../programs/vote_api", version = "0.15.0" }
|
solana-vote-api = { path = "../programs/vote_api", version = "0.15.2" }
|
||||||
solana-vote-program = { path = "../programs/vote_program", version = "0.15.0" }
|
solana-vote-program = { path = "../programs/vote_program", version = "0.15.2" }
|
||||||
solana-stake-api = { path = "../programs/stake_api", version = "0.15.0" }
|
solana-stake-api = { path = "../programs/stake_api", version = "0.15.2" }
|
||||||
solana-stake-program = { path = "../programs/stake_program", version = "0.15.0" }
|
solana-stake-program = { path = "../programs/stake_program", version = "0.15.2" }
|
||||||
solana-storage-api = { path = "../programs/storage_api", version = "0.15.0" }
|
solana-storage-api = { path = "../programs/storage_api", version = "0.15.2" }
|
||||||
solana-storage-program = { path = "../programs/storage_program", version = "0.15.0" }
|
solana-storage-program = { path = "../programs/storage_program", version = "0.15.2" }
|
||||||
solana-token-api = { path = "../programs/token_api", version = "0.15.0" }
|
solana-token-api = { path = "../programs/token_api", version = "0.15.2" }
|
||||||
solana-token-program = { path = "../programs/token_program", version = "0.15.0" }
|
solana-token-program = { path = "../programs/token_program", version = "0.15.2" }
|
||||||
solana-config-api = { path = "../programs/config_api", version = "0.15.0" }
|
solana-config-api = { path = "../programs/config_api", version = "0.15.2" }
|
||||||
solana-config-program = { path = "../programs/config_program", version = "0.15.0" }
|
solana-config-program = { path = "../programs/config_program", version = "0.15.2" }
|
||||||
solana-exchange-api = { path = "../programs/exchange_api", version = "0.15.0" }
|
solana-exchange-api = { path = "../programs/exchange_api", version = "0.15.2" }
|
||||||
solana-exchange-program = { path = "../programs/exchange_program", version = "0.15.0" }
|
solana-exchange-program = { path = "../programs/exchange_program", version = "0.15.2" }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
hashbrown = "0.3.0"
|
hashbrown = "0.3.0"
|
||||||
|
@@ -6,8 +6,6 @@ extern crate solana_stake_program;
|
|||||||
#[macro_use]
|
#[macro_use]
|
||||||
extern crate solana_budget_program;
|
extern crate solana_budget_program;
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
extern crate solana_storage_program;
|
|
||||||
#[macro_use]
|
|
||||||
extern crate solana_token_program;
|
extern crate solana_token_program;
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
extern crate solana_config_program;
|
extern crate solana_config_program;
|
||||||
@@ -25,7 +23,7 @@ use solana_sdk::signature::{read_keypair, KeypairUtil};
|
|||||||
use solana_sdk::system_program;
|
use solana_sdk::system_program;
|
||||||
use solana_sdk::timing;
|
use solana_sdk::timing;
|
||||||
use solana_stake_api::stake_state;
|
use solana_stake_api::stake_state;
|
||||||
use solana_storage_api::storage_contract;
|
use solana_storage_program::genesis_block_util::GenesisBlockUtil;
|
||||||
use solana_vote_api::vote_state;
|
use solana_vote_api::vote_state;
|
||||||
use std::error;
|
use std::error;
|
||||||
use std::time::{Duration, Instant};
|
use std::time::{Duration, Instant};
|
||||||
@@ -213,22 +211,18 @@ fn main() -> Result<(), Box<dyn error::Error>> {
|
|||||||
bootstrap_leader_stake_lamports,
|
bootstrap_leader_stake_lamports,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
// storage account
|
|
||||||
(
|
|
||||||
bootstrap_storage_keypair.pubkey(),
|
|
||||||
storage_contract::create_validator_storage_account(1),
|
|
||||||
),
|
|
||||||
],
|
],
|
||||||
&[
|
&[
|
||||||
solana_vote_program!(),
|
solana_vote_program!(),
|
||||||
solana_stake_program!(),
|
solana_stake_program!(),
|
||||||
solana_budget_program!(),
|
solana_budget_program!(),
|
||||||
solana_storage_program!(),
|
|
||||||
solana_token_program!(),
|
solana_token_program!(),
|
||||||
solana_config_program!(),
|
solana_config_program!(),
|
||||||
solana_exchange_program!(),
|
solana_exchange_program!(),
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
|
genesis_block.add_storage_program(&bootstrap_storage_keypair.pubkey());
|
||||||
|
|
||||||
genesis_block.fee_calculator.lamports_per_signature =
|
genesis_block.fee_calculator.lamports_per_signature =
|
||||||
value_t_or_exit!(matches, "lamports_per_signature", u64);
|
value_t_or_exit!(matches, "lamports_per_signature", u64);
|
||||||
genesis_block.ticks_per_slot = value_t_or_exit!(matches, "ticks_per_slot", u64);
|
genesis_block.ticks_per_slot = value_t_or_exit!(matches, "ticks_per_slot", u64);
|
||||||
|
@@ -3,7 +3,7 @@ authors = ["Solana Maintainers <maintainers@solana.com>"]
|
|||||||
edition = "2018"
|
edition = "2018"
|
||||||
name = "solana-gossip"
|
name = "solana-gossip"
|
||||||
description = "Blockchain, Rebuilt for Scale"
|
description = "Blockchain, Rebuilt for Scale"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
repository = "https://github.com/solana-labs/solana"
|
repository = "https://github.com/solana-labs/solana"
|
||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
homepage = "https://solana.com/"
|
homepage = "https://solana.com/"
|
||||||
@@ -11,10 +11,10 @@ homepage = "https://solana.com/"
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
clap = "2.33.0"
|
clap = "2.33.0"
|
||||||
env_logger = "0.6.1"
|
env_logger = "0.6.1"
|
||||||
solana = { path = "../core", version = "0.15.0" }
|
solana = { path = "../core", version = "0.15.2" }
|
||||||
solana-client = { path = "../client", version = "0.15.0" }
|
solana-client = { path = "../client", version = "0.15.2" }
|
||||||
solana-netutil = { path = "../netutil", version = "0.15.0" }
|
solana-netutil = { path = "../netutil", version = "0.15.2" }
|
||||||
solana-sdk = { path = "../sdk", version = "0.15.0" }
|
solana-sdk = { path = "../sdk", version = "0.15.2" }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
chacha = []
|
chacha = []
|
||||||
|
@@ -3,7 +3,7 @@ authors = ["Solana Maintainers <maintainers@solana.com>"]
|
|||||||
edition = "2018"
|
edition = "2018"
|
||||||
name = "solana-install"
|
name = "solana-install"
|
||||||
description = "The solana cluster software installer"
|
description = "The solana cluster software installer"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
repository = "https://github.com/solana-labs/solana"
|
repository = "https://github.com/solana-labs/solana"
|
||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
homepage = "https://solana.com/"
|
homepage = "https://solana.com/"
|
||||||
@@ -28,10 +28,10 @@ ring = "0.13.2"
|
|||||||
serde = "1.0.91"
|
serde = "1.0.91"
|
||||||
serde_derive = "1.0.91"
|
serde_derive = "1.0.91"
|
||||||
serde_yaml = "0.8.9"
|
serde_yaml = "0.8.9"
|
||||||
solana-client = { path = "../client", version = "0.15.0" }
|
solana-client = { path = "../client", version = "0.15.2" }
|
||||||
solana-config-api = { path = "../programs/config_api", version = "0.15.0" }
|
solana-config-api = { path = "../programs/config_api", version = "0.15.2" }
|
||||||
solana-logger = { path = "../logger", version = "0.15.0" }
|
solana-logger = { path = "../logger", version = "0.15.2" }
|
||||||
solana-sdk = { path = "../sdk", version = "0.15.0" }
|
solana-sdk = { path = "../sdk", version = "0.15.2" }
|
||||||
tar = "0.4.26"
|
tar = "0.4.26"
|
||||||
tempdir = "0.3.7"
|
tempdir = "0.3.7"
|
||||||
url = "1.7.2"
|
url = "1.7.2"
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "solana-keygen"
|
name = "solana-keygen"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
description = "Solana key generation utility"
|
description = "Solana key generation utility"
|
||||||
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
||||||
repository = "https://github.com/solana-labs/solana"
|
repository = "https://github.com/solana-labs/solana"
|
||||||
@@ -15,7 +15,7 @@ erasure = []
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
dirs = "1.0.5"
|
dirs = "1.0.5"
|
||||||
clap = "2.33"
|
clap = "2.33"
|
||||||
solana-sdk = { path = "../sdk", version = "0.15.0" }
|
solana-sdk = { path = "../sdk", version = "0.15.2" }
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
name = "solana-keygen"
|
name = "solana-keygen"
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "solana-kvstore"
|
name = "solana-kvstore"
|
||||||
description = "Embedded Key-Value store for solana"
|
description = "Embedded Key-Value store for solana"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
homepage = "https://solana.com/"
|
homepage = "https://solana.com/"
|
||||||
repository = "https://github.com/solana-labs/solana"
|
repository = "https://github.com/solana-labs/solana"
|
||||||
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
||||||
|
@@ -3,7 +3,7 @@ authors = ["Solana Maintainers <maintainers@solana.com>"]
|
|||||||
edition = "2018"
|
edition = "2018"
|
||||||
name = "solana-ledger-tool"
|
name = "solana-ledger-tool"
|
||||||
description = "Blockchain, Rebuilt for Scale"
|
description = "Blockchain, Rebuilt for Scale"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
repository = "https://github.com/solana-labs/solana"
|
repository = "https://github.com/solana-labs/solana"
|
||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
homepage = "https://solana.com/"
|
homepage = "https://solana.com/"
|
||||||
@@ -11,10 +11,10 @@ homepage = "https://solana.com/"
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
clap = "2.33.0"
|
clap = "2.33.0"
|
||||||
serde_json = "1.0.39"
|
serde_json = "1.0.39"
|
||||||
solana = { path = "../core", version = "0.15.0" }
|
solana = { path = "../core", version = "0.15.2" }
|
||||||
solana-sdk = { path = "../sdk", version = "0.15.0" }
|
solana-sdk = { path = "../sdk", version = "0.15.2" }
|
||||||
solana-logger = { path = "../logger", version = "0.15.0" }
|
solana-logger = { path = "../logger", version = "0.15.2" }
|
||||||
solana-runtime = { path = "../runtime", version = "0.15.0" }
|
solana-runtime = { path = "../runtime", version = "0.15.2" }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
assert_cmd = "0.11"
|
assert_cmd = "0.11"
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "solana-logger"
|
name = "solana-logger"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
description = "Solana Logger"
|
description = "Solana Logger"
|
||||||
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
||||||
repository = "https://github.com/solana-labs/solana"
|
repository = "https://github.com/solana-labs/solana"
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "solana-metrics"
|
name = "solana-metrics"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
description = "Solana Metrics"
|
description = "Solana Metrics"
|
||||||
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
||||||
repository = "https://github.com/solana-labs/solana"
|
repository = "https://github.com/solana-labs/solana"
|
||||||
@@ -15,7 +15,7 @@ log = "0.4.2"
|
|||||||
reqwest = "0.9.17"
|
reqwest = "0.9.17"
|
||||||
lazy_static = "1.3.0"
|
lazy_static = "1.3.0"
|
||||||
sys-info = "0.5.6"
|
sys-info = "0.5.6"
|
||||||
solana-sdk = { path = "../sdk", version = "0.15.0" }
|
solana-sdk = { path = "../sdk", version = "0.15.2" }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
rand = "0.6.5"
|
rand = "0.6.5"
|
||||||
|
@@ -58,6 +58,7 @@ Operate a configured testnet
|
|||||||
-F - Discard validator nodes that didn't bootup successfully
|
-F - Discard validator nodes that didn't bootup successfully
|
||||||
-o noLedgerVerify - Skip ledger verification
|
-o noLedgerVerify - Skip ledger verification
|
||||||
-o noValidatorSanity - Skip fullnode sanity
|
-o noValidatorSanity - Skip fullnode sanity
|
||||||
|
-o noInstallCheck - Skip solana-install sanity
|
||||||
-o rejectExtraNodes - Require the exact number of nodes
|
-o rejectExtraNodes - Require the exact number of nodes
|
||||||
|
|
||||||
stop-specific options:
|
stop-specific options:
|
||||||
@@ -150,7 +151,7 @@ while getopts "h?T:t:o:f:rD:i:c:Fn:" opt "${shortArgs[@]}"; do
|
|||||||
;;
|
;;
|
||||||
o)
|
o)
|
||||||
case $OPTARG in
|
case $OPTARG in
|
||||||
noLedgerVerify|noValidatorSanity|rejectExtraNodes)
|
noLedgerVerify|noValidatorSanity|rejectExtraNodes|noInstallCheck)
|
||||||
sanityExtraArgs="$sanityExtraArgs -o $OPTARG"
|
sanityExtraArgs="$sanityExtraArgs -o $OPTARG"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
@@ -392,7 +393,7 @@ sanity() {
|
|||||||
set -x
|
set -x
|
||||||
# shellcheck disable=SC2029 # remote-client.sh args are expanded on client side intentionally
|
# shellcheck disable=SC2029 # remote-client.sh args are expanded on client side intentionally
|
||||||
ssh "${sshOptions[@]}" "$bootstrapLeader" \
|
ssh "${sshOptions[@]}" "$bootstrapLeader" \
|
||||||
"./solana/net/remote/remote-sanity.sh $sanityExtraArgs \"$RUST_LOG\""
|
"./solana/net/remote/remote-sanity.sh $bootstrapLeader $sanityExtraArgs \"$RUST_LOG\""
|
||||||
) || ok=false
|
) || ok=false
|
||||||
$ok || exit 1
|
$ok || exit 1
|
||||||
|
|
||||||
@@ -403,7 +404,7 @@ sanity() {
|
|||||||
set -x
|
set -x
|
||||||
# shellcheck disable=SC2029 # remote-client.sh args are expanded on client side intentionally
|
# shellcheck disable=SC2029 # remote-client.sh args are expanded on client side intentionally
|
||||||
ssh "${sshOptions[@]}" "$blockstreamer" \
|
ssh "${sshOptions[@]}" "$blockstreamer" \
|
||||||
"./solana/net/remote/remote-sanity.sh $sanityExtraArgs -o noLedgerVerify -o noValidatorSanity \"$RUST_LOG\""
|
"./solana/net/remote/remote-sanity.sh $blockstreamer $sanityExtraArgs -o noLedgerVerify -o noValidatorSanity \"$RUST_LOG\""
|
||||||
) || ok=false
|
) || ok=false
|
||||||
$ok || exit 1
|
$ok || exit 1
|
||||||
fi
|
fi
|
||||||
|
@@ -61,6 +61,7 @@ local|tar)
|
|||||||
./fetch-perf-libs.sh
|
./fetch-perf-libs.sh
|
||||||
# shellcheck source=/dev/null
|
# shellcheck source=/dev/null
|
||||||
source ./target/perf-libs/env.sh
|
source ./target/perf-libs/env.sh
|
||||||
|
SUDO_OK=1 source scripts/tune-system.sh
|
||||||
|
|
||||||
(
|
(
|
||||||
sudo scripts/oom-monitor.sh
|
sudo scripts/oom-monitor.sh
|
||||||
|
@@ -6,6 +6,9 @@ set -e
|
|||||||
|
|
||||||
cd "$(dirname "$0")"/../..
|
cd "$(dirname "$0")"/../..
|
||||||
|
|
||||||
|
sanityTargetIp="$1"
|
||||||
|
shift
|
||||||
|
|
||||||
deployMethod=
|
deployMethod=
|
||||||
entrypointIp=
|
entrypointIp=
|
||||||
numNodes=
|
numNodes=
|
||||||
@@ -23,6 +26,7 @@ missing() {
|
|||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[[ -n $sanityTargetIp ]] || missing sanityTargetIp
|
||||||
[[ -n $deployMethod ]] || missing deployMethod
|
[[ -n $deployMethod ]] || missing deployMethod
|
||||||
[[ -n $entrypointIp ]] || missing entrypointIp
|
[[ -n $entrypointIp ]] || missing entrypointIp
|
||||||
[[ -n $numNodes ]] || missing numNodes
|
[[ -n $numNodes ]] || missing numNodes
|
||||||
@@ -30,6 +34,7 @@ missing() {
|
|||||||
|
|
||||||
ledgerVerify=true
|
ledgerVerify=true
|
||||||
validatorSanity=true
|
validatorSanity=true
|
||||||
|
installCheck=true
|
||||||
rejectExtraNodes=false
|
rejectExtraNodes=false
|
||||||
while [[ $1 = -o ]]; do
|
while [[ $1 = -o ]]; do
|
||||||
opt="$2"
|
opt="$2"
|
||||||
@@ -41,6 +46,9 @@ while [[ $1 = -o ]]; do
|
|||||||
noValidatorSanity)
|
noValidatorSanity)
|
||||||
validatorSanity=false
|
validatorSanity=false
|
||||||
;;
|
;;
|
||||||
|
noInstallCheck)
|
||||||
|
installCheck=false
|
||||||
|
;;
|
||||||
rejectExtraNodes)
|
rejectExtraNodes)
|
||||||
rejectExtraNodes=true
|
rejectExtraNodes=true
|
||||||
;;
|
;;
|
||||||
@@ -66,7 +74,7 @@ local|tar)
|
|||||||
source target/perf-libs/env.sh
|
source target/perf-libs/env.sh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
entrypointRsyncUrl="$entrypointIp:~/solana"
|
entrypointRsyncUrl="$sanityTargetIp:~/solana"
|
||||||
|
|
||||||
solana_gossip=solana-gossip
|
solana_gossip=solana-gossip
|
||||||
solana_install=solana-install
|
solana_install=solana-install
|
||||||
@@ -91,7 +99,7 @@ else
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "+++ $entrypointIp: node count ($numSanityNodes expected)"
|
echo "+++ $sanityTargetIp: node count ($numSanityNodes expected)"
|
||||||
(
|
(
|
||||||
set -x
|
set -x
|
||||||
$solana_keygen -o "$client_id"
|
$solana_keygen -o "$client_id"
|
||||||
@@ -101,26 +109,26 @@ echo "+++ $entrypointIp: node count ($numSanityNodes expected)"
|
|||||||
nodeArg="num-nodes-exactly"
|
nodeArg="num-nodes-exactly"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
timeout 2m $solana_gossip --entrypoint "$entrypointIp:8001" \
|
timeout 2m $solana_gossip --entrypoint "$sanityTargetIp:8001" \
|
||||||
spy --$nodeArg "$numSanityNodes" \
|
spy --$nodeArg "$numSanityNodes" \
|
||||||
)
|
)
|
||||||
|
|
||||||
echo "--- RPC API: getTransactionCount"
|
echo "--- $sanityTargetIp: RPC API: getTransactionCount"
|
||||||
(
|
(
|
||||||
set -x
|
set -x
|
||||||
curl --retry 5 --retry-delay 2 --retry-connrefused \
|
curl --retry 5 --retry-delay 2 --retry-connrefused \
|
||||||
-X POST -H 'Content-Type: application/json' \
|
-X POST -H 'Content-Type: application/json' \
|
||||||
-d '{"jsonrpc":"2.0","id":1, "method":"getTransactionCount"}' \
|
-d '{"jsonrpc":"2.0","id":1, "method":"getTransactionCount"}' \
|
||||||
http://"$entrypointIp":8899
|
http://"$sanityTargetIp":8899
|
||||||
)
|
)
|
||||||
|
|
||||||
echo "--- $entrypointIp: wallet sanity"
|
echo "--- $sanityTargetIp: wallet sanity"
|
||||||
(
|
(
|
||||||
set -x
|
set -x
|
||||||
scripts/wallet-sanity.sh --url http://"$entrypointIp":8899
|
scripts/wallet-sanity.sh --url http://"$sanityTargetIp":8899
|
||||||
)
|
)
|
||||||
|
|
||||||
echo "--- $entrypointIp: verify ledger"
|
echo "--- $sanityTargetIp: verify ledger"
|
||||||
if $ledgerVerify; then
|
if $ledgerVerify; then
|
||||||
if [[ -d $ledger ]]; then
|
if [[ -d $ledger ]]; then
|
||||||
(
|
(
|
||||||
@@ -140,13 +148,13 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
echo "--- $entrypointIp: validator sanity"
|
echo "--- $sanityTargetIp: validator sanity"
|
||||||
if $validatorSanity; then
|
if $validatorSanity; then
|
||||||
(
|
(
|
||||||
set -x -o pipefail
|
set -x -o pipefail
|
||||||
timeout 10s ./multinode-demo/validator-x.sh --stake 0 \
|
timeout 10s ./multinode-demo/validator-x.sh --stake 0 \
|
||||||
"$entrypointRsyncUrl" \
|
"$entrypointRsyncUrl" \
|
||||||
"$entrypointIp:8001" 2>&1 | tee validator-sanity.log
|
"$sanityTargetIp:8001" 2>&1 | tee validator-sanity.log
|
||||||
) || {
|
) || {
|
||||||
exitcode=$?
|
exitcode=$?
|
||||||
[[ $exitcode -eq 124 ]] || exit $exitcode
|
[[ $exitcode -eq 124 ]] || exit $exitcode
|
||||||
@@ -164,8 +172,8 @@ else
|
|||||||
echo "Note: validator sanity disabled"
|
echo "Note: validator sanity disabled"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -r update_manifest_keypair.json ]]; then
|
if $installCheck && [[ -r update_manifest_keypair.json ]]; then
|
||||||
echo "--- $entrypointIp: solana-install test"
|
echo "--- $sanityTargetIp: solana-install test"
|
||||||
|
|
||||||
(
|
(
|
||||||
set -x
|
set -x
|
||||||
@@ -174,7 +182,7 @@ if [[ -r update_manifest_keypair.json ]]; then
|
|||||||
$solana_install init \
|
$solana_install init \
|
||||||
--no-modify-path \
|
--no-modify-path \
|
||||||
--data-dir install-data-dir \
|
--data-dir install-data-dir \
|
||||||
--url http://"$entrypointIp":8899 \
|
--url http://"$sanityTargetIp":8899 \
|
||||||
--pubkey "$update_manifest_pubkey"
|
--pubkey "$update_manifest_pubkey"
|
||||||
|
|
||||||
$solana_install info
|
$solana_install info
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "solana-netutil"
|
name = "solana-netutil"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
description = "Solana Network Utilities"
|
description = "Solana Network Utilities"
|
||||||
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
||||||
repository = "https://github.com/solana-labs/solana"
|
repository = "https://github.com/solana-labs/solana"
|
||||||
@@ -15,7 +15,7 @@ log = "0.4.2"
|
|||||||
nix = "0.14.0"
|
nix = "0.14.0"
|
||||||
rand = "0.6.1"
|
rand = "0.6.1"
|
||||||
socket2 = "0.3.9"
|
socket2 = "0.3.9"
|
||||||
solana-logger = { path = "../logger", version = "0.15.0" }
|
solana-logger = { path = "../logger", version = "0.15.2" }
|
||||||
tokio = "0.1"
|
tokio = "0.1"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "solana-bpf-programs"
|
name = "solana-bpf-programs"
|
||||||
description = "Blockchain, Rebuilt for Scale"
|
description = "Blockchain, Rebuilt for Scale"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
documentation = "https://docs.rs/solana"
|
documentation = "https://docs.rs/solana"
|
||||||
homepage = "https://solana.com/"
|
homepage = "https://solana.com/"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
@@ -22,10 +22,10 @@ bincode = "1.1.4"
|
|||||||
byteorder = "1.3.1"
|
byteorder = "1.3.1"
|
||||||
elf = "0.0.10"
|
elf = "0.0.10"
|
||||||
solana_rbpf = "=0.1.12"
|
solana_rbpf = "=0.1.12"
|
||||||
solana-bpfloader = { path = "../bpf_loader", version = "0.15.0" }
|
solana-bpfloader = { path = "../bpf_loader", version = "0.15.2" }
|
||||||
solana-logger = { path = "../../logger", version = "0.15.0" }
|
solana-logger = { path = "../../logger", version = "0.15.2" }
|
||||||
solana-runtime = { path = "../../runtime", version = "0.15.0" }
|
solana-runtime = { path = "../../runtime", version = "0.15.2" }
|
||||||
solana-sdk = { path = "../../sdk", version = "0.15.0" }
|
solana-sdk = { path = "../../sdk", version = "0.15.2" }
|
||||||
|
|
||||||
[[bench]]
|
[[bench]]
|
||||||
name = "bpf_loader"
|
name = "bpf_loader"
|
||||||
|
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
[package]
|
[package]
|
||||||
name = "solana-bpf-rust-alloc"
|
name = "solana-bpf-rust-alloc"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
description = "Solana BPF alloc program written in Rust"
|
description = "Solana BPF alloc program written in Rust"
|
||||||
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
||||||
repository = "https://github.com/solana-labs/solana"
|
repository = "https://github.com/solana-labs/solana"
|
||||||
@@ -12,7 +12,7 @@ homepage = "https://solana.com/"
|
|||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
solana-sdk-bpf-utils = { path = "../../../../sdk/bpf/rust-utils", version = "0.15.0" }
|
solana-sdk-bpf-utils = { path = "../../../../sdk/bpf/rust-utils", version = "0.15.2" }
|
||||||
|
|
||||||
[workspace]
|
[workspace]
|
||||||
members = []
|
members = []
|
||||||
|
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
[package]
|
[package]
|
||||||
name = "solana-bpf-rust-iter"
|
name = "solana-bpf-rust-iter"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
description = "Solana BPF iter program written in Rust"
|
description = "Solana BPF iter program written in Rust"
|
||||||
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
||||||
repository = "https://github.com/solana-labs/solana"
|
repository = "https://github.com/solana-labs/solana"
|
||||||
@@ -12,7 +12,7 @@ homepage = "https://solana.com/"
|
|||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
solana-sdk-bpf-utils = { path = "../../../../sdk/bpf/rust-utils", version = "0.15.0" }
|
solana-sdk-bpf-utils = { path = "../../../../sdk/bpf/rust-utils", version = "0.15.2" }
|
||||||
|
|
||||||
[workspace]
|
[workspace]
|
||||||
members = []
|
members = []
|
||||||
|
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
[package]
|
[package]
|
||||||
name = "solana-bpf-rust-noop"
|
name = "solana-bpf-rust-noop"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
description = "Solana BPF noop program written in Rust"
|
description = "Solana BPF noop program written in Rust"
|
||||||
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
||||||
repository = "https://github.com/solana-labs/solana"
|
repository = "https://github.com/solana-labs/solana"
|
||||||
@@ -12,7 +12,7 @@ homepage = "https://solana.com/"
|
|||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
solana-sdk-bpf-utils = { path = "../../../../sdk/bpf/rust-utils", version = "0.15.0" }
|
solana-sdk-bpf-utils = { path = "../../../../sdk/bpf/rust-utils", version = "0.15.2" }
|
||||||
|
|
||||||
[workspace]
|
[workspace]
|
||||||
members = []
|
members = []
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "solana-bpfloader"
|
name = "solana-bpfloader"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
description = "Solana BPF Loader"
|
description = "Solana BPF Loader"
|
||||||
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
||||||
repository = "https://github.com/solana-labs/solana"
|
repository = "https://github.com/solana-labs/solana"
|
||||||
@@ -15,8 +15,8 @@ libc = "0.2.55"
|
|||||||
log = "0.4.2"
|
log = "0.4.2"
|
||||||
solana_rbpf = "=0.1.12"
|
solana_rbpf = "=0.1.12"
|
||||||
serde = "1.0.91"
|
serde = "1.0.91"
|
||||||
solana-logger = { path = "../../logger", version = "0.15.0" }
|
solana-logger = { path = "../../logger", version = "0.15.2" }
|
||||||
solana-sdk = { path = "../../sdk", version = "0.15.0" }
|
solana-sdk = { path = "../../sdk", version = "0.15.2" }
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "solana_bpf_loader"
|
name = "solana_bpf_loader"
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "solana-budget-api"
|
name = "solana-budget-api"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
description = "Solana Budget program API"
|
description = "Solana Budget program API"
|
||||||
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
||||||
repository = "https://github.com/solana-labs/solana"
|
repository = "https://github.com/solana-labs/solana"
|
||||||
@@ -16,10 +16,10 @@ num-derive = "0.2"
|
|||||||
num-traits = "0.2"
|
num-traits = "0.2"
|
||||||
serde = "1.0.91"
|
serde = "1.0.91"
|
||||||
serde_derive = "1.0.91"
|
serde_derive = "1.0.91"
|
||||||
solana-sdk = { path = "../../sdk", version = "0.15.0" }
|
solana-sdk = { path = "../../sdk", version = "0.15.2" }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
solana-runtime = { path = "../../runtime", version = "0.15.0" }
|
solana-runtime = { path = "../../runtime", version = "0.15.2" }
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "solana_budget_api"
|
name = "solana_budget_api"
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "solana-budget-program"
|
name = "solana-budget-program"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
description = "Solana budget program"
|
description = "Solana budget program"
|
||||||
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
||||||
repository = "https://github.com/solana-labs/solana"
|
repository = "https://github.com/solana-labs/solana"
|
||||||
@@ -10,9 +10,9 @@ edition = "2018"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
log = "0.4.2"
|
log = "0.4.2"
|
||||||
solana-budget-api = { path = "../budget_api", version = "0.15.0" }
|
solana-budget-api = { path = "../budget_api", version = "0.15.2" }
|
||||||
solana-logger = { path = "../../logger", version = "0.15.0" }
|
solana-logger = { path = "../../logger", version = "0.15.2" }
|
||||||
solana-sdk = { path = "../../sdk", version = "0.15.0" }
|
solana-sdk = { path = "../../sdk", version = "0.15.2" }
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "solana_budget_program"
|
name = "solana_budget_program"
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "solana-config-api"
|
name = "solana-config-api"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
description = "config program API"
|
description = "config program API"
|
||||||
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
||||||
repository = "https://github.com/solana-labs/solana"
|
repository = "https://github.com/solana-labs/solana"
|
||||||
@@ -13,11 +13,11 @@ bincode = "1.1.4"
|
|||||||
log = "0.4.2"
|
log = "0.4.2"
|
||||||
serde = "1.0.91"
|
serde = "1.0.91"
|
||||||
serde_derive = "1.0.91"
|
serde_derive = "1.0.91"
|
||||||
solana-logger = { path = "../../logger", version = "0.15.0" }
|
solana-logger = { path = "../../logger", version = "0.15.2" }
|
||||||
solana-sdk = { path = "../../sdk", version = "0.15.0" }
|
solana-sdk = { path = "../../sdk", version = "0.15.2" }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
solana-runtime = { path = "../../runtime", version = "0.15.0" }
|
solana-runtime = { path = "../../runtime", version = "0.15.2" }
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "solana_config_api"
|
name = "solana_config_api"
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "solana-config-program"
|
name = "solana-config-program"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
description = "config program"
|
description = "config program"
|
||||||
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
||||||
repository = "https://github.com/solana-labs/solana"
|
repository = "https://github.com/solana-labs/solana"
|
||||||
@@ -10,9 +10,9 @@ edition = "2018"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
log = "0.4.2"
|
log = "0.4.2"
|
||||||
solana-config-api = { path = "../config_api", version = "0.15.0" }
|
solana-config-api = { path = "../config_api", version = "0.15.2" }
|
||||||
solana-logger = { path = "../../logger", version = "0.15.0" }
|
solana-logger = { path = "../../logger", version = "0.15.2" }
|
||||||
solana-sdk = { path = "../../sdk", version = "0.15.0" }
|
solana-sdk = { path = "../../sdk", version = "0.15.2" }
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "solana_config_program"
|
name = "solana_config_program"
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "solana-exchange-api"
|
name = "solana-exchange-api"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
description = "Solana Exchange program API"
|
description = "Solana Exchange program API"
|
||||||
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
||||||
repository = "https://github.com/solana-labs/solana"
|
repository = "https://github.com/solana-labs/solana"
|
||||||
@@ -13,12 +13,12 @@ log = "0.4.2"
|
|||||||
bincode = "1.1.4"
|
bincode = "1.1.4"
|
||||||
serde = "1.0.91"
|
serde = "1.0.91"
|
||||||
serde_derive = "1.0.91"
|
serde_derive = "1.0.91"
|
||||||
solana-logger = { path = "../../logger", version = "0.15.0" }
|
solana-logger = { path = "../../logger", version = "0.15.2" }
|
||||||
solana-sdk = { path = "../../sdk", version = "0.15.0" }
|
solana-sdk = { path = "../../sdk", version = "0.15.2" }
|
||||||
solana-metrics = { path = "../../metrics", version = "0.15.0" }
|
solana-metrics = { path = "../../metrics", version = "0.15.2" }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
solana-runtime = { path = "../../runtime", version = "0.15.0" }
|
solana-runtime = { path = "../../runtime", version = "0.15.2" }
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "solana_exchange_api"
|
name = "solana_exchange_api"
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "solana-exchange-program"
|
name = "solana-exchange-program"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
description = "Solana exchange program"
|
description = "Solana exchange program"
|
||||||
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
||||||
repository = "https://github.com/solana-labs/solana"
|
repository = "https://github.com/solana-labs/solana"
|
||||||
@@ -10,9 +10,9 @@ edition = "2018"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
log = "0.4.2"
|
log = "0.4.2"
|
||||||
solana-exchange-api = { path = "../exchange_api", version = "0.15.0" }
|
solana-exchange-api = { path = "../exchange_api", version = "0.15.2" }
|
||||||
solana-logger = { path = "../../logger", version = "0.15.0" }
|
solana-logger = { path = "../../logger", version = "0.15.2" }
|
||||||
solana-sdk = { path = "../../sdk", version = "0.15.0" }
|
solana-sdk = { path = "../../sdk", version = "0.15.2" }
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "solana_exchange_program"
|
name = "solana_exchange_program"
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "solana-failure-program"
|
name = "solana-failure-program"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
description = "Solana failure program"
|
description = "Solana failure program"
|
||||||
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
||||||
repository = "https://github.com/solana-labs/solana"
|
repository = "https://github.com/solana-labs/solana"
|
||||||
@@ -9,11 +9,11 @@ homepage = "https://solana.com/"
|
|||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
solana-sdk = { path = "../../sdk", version = "0.15.0" }
|
solana-sdk = { path = "../../sdk", version = "0.15.2" }
|
||||||
log = "0.4.2"
|
log = "0.4.2"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
solana-runtime = { path = "../../runtime", version = "0.15.0" }
|
solana-runtime = { path = "../../runtime", version = "0.15.2" }
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "solana_failure_program"
|
name = "solana_failure_program"
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "solana-noop-program"
|
name = "solana-noop-program"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
description = "Solana noop program"
|
description = "Solana noop program"
|
||||||
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
||||||
repository = "https://github.com/solana-labs/solana"
|
repository = "https://github.com/solana-labs/solana"
|
||||||
@@ -9,13 +9,10 @@ homepage = "https://solana.com/"
|
|||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
solana-sdk = { path = "../../sdk", version = "0.15.0" }
|
solana-sdk = { path = "../../sdk", version = "0.15.2" }
|
||||||
solana-logger = { path = "../../logger", version = "0.15.0" }
|
solana-logger = { path = "../../logger", version = "0.15.2" }
|
||||||
log = "0.4.2"
|
log = "0.4.2"
|
||||||
|
|
||||||
[dev-dependencies]
|
|
||||||
solana-runtime = { path = "../../runtime", version = "0.15.0" }
|
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "solana_noop_program"
|
name = "solana_noop_program"
|
||||||
crate-type = ["cdylib"]
|
crate-type = ["cdylib"]
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "solana-stake-api"
|
name = "solana-stake-api"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
description = "Solana Stake program API"
|
description = "Solana Stake program API"
|
||||||
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
||||||
repository = "https://github.com/solana-labs/solana"
|
repository = "https://github.com/solana-labs/solana"
|
||||||
@@ -13,10 +13,10 @@ bincode = "1.1.4"
|
|||||||
log = "0.4.2"
|
log = "0.4.2"
|
||||||
serde = "1.0.91"
|
serde = "1.0.91"
|
||||||
serde_derive = "1.0.91"
|
serde_derive = "1.0.91"
|
||||||
solana-logger = { path = "../../logger", version = "0.15.0" }
|
solana-logger = { path = "../../logger", version = "0.15.2" }
|
||||||
solana-metrics = { path = "../../metrics", version = "0.15.0" }
|
solana-metrics = { path = "../../metrics", version = "0.15.2" }
|
||||||
solana-sdk = { path = "../../sdk", version = "0.15.0" }
|
solana-sdk = { path = "../../sdk", version = "0.15.2" }
|
||||||
solana-vote-api = { path = "../vote_api", version = "0.15.0" }
|
solana-vote-api = { path = "../vote_api", version = "0.15.2" }
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "solana_stake_api"
|
name = "solana_stake_api"
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "solana-stake-program"
|
name = "solana-stake-program"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
description = "Solana stake program"
|
description = "Solana stake program"
|
||||||
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
||||||
repository = "https://github.com/solana-labs/solana"
|
repository = "https://github.com/solana-labs/solana"
|
||||||
@@ -10,9 +10,9 @@ edition = "2018"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
log = "0.4.2"
|
log = "0.4.2"
|
||||||
solana-logger = { path = "../../logger", version = "0.15.0" }
|
solana-logger = { path = "../../logger", version = "0.15.2" }
|
||||||
solana-sdk = { path = "../../sdk", version = "0.15.0" }
|
solana-sdk = { path = "../../sdk", version = "0.15.2" }
|
||||||
solana-stake-api = { path = "../stake_api", version = "0.15.0" }
|
solana-stake-api = { path = "../stake_api", version = "0.15.2" }
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "solana_stake_program"
|
name = "solana_stake_program"
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "solana-storage-api"
|
name = "solana-storage-api"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
description = "Solana Storage program API"
|
description = "Solana Storage program API"
|
||||||
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
||||||
repository = "https://github.com/solana-labs/solana"
|
repository = "https://github.com/solana-labs/solana"
|
||||||
@@ -13,12 +13,12 @@ bincode = "1.1.4"
|
|||||||
log = "0.4.2"
|
log = "0.4.2"
|
||||||
serde = "1.0.91"
|
serde = "1.0.91"
|
||||||
serde_derive = "1.0.91"
|
serde_derive = "1.0.91"
|
||||||
solana-logger = { path = "../../logger", version = "0.15.0" }
|
solana-logger = { path = "../../logger", version = "0.15.2" }
|
||||||
solana-sdk = { path = "../../sdk", version = "0.15.0" }
|
solana-sdk = { path = "../../sdk", version = "0.15.2" }
|
||||||
assert_matches = "1.3.0"
|
assert_matches = "1.3.0"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
solana-runtime = { path = "../../runtime", version = "0.15.0" }
|
solana-runtime = { path = "../../runtime", version = "0.15.2" }
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "solana_storage_api"
|
name = "solana_storage_api"
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "solana-storage-program"
|
name = "solana-storage-program"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
description = "Solana storage program"
|
description = "Solana storage program"
|
||||||
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
||||||
repository = "https://github.com/solana-labs/solana"
|
repository = "https://github.com/solana-labs/solana"
|
||||||
@@ -10,9 +10,9 @@ edition = "2018"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
log = "0.4.2"
|
log = "0.4.2"
|
||||||
solana-logger = { path = "../../logger", version = "0.15.0" }
|
solana-logger = { path = "../../logger", version = "0.15.2" }
|
||||||
solana-sdk = { path = "../../sdk", version = "0.15.0" }
|
solana-sdk = { path = "../../sdk", version = "0.15.2" }
|
||||||
solana-storage-api = { path = "../storage_api", version = "0.15.0" }
|
solana-storage-api = { path = "../storage_api", version = "0.15.2" }
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "solana_storage_program"
|
name = "solana_storage_program"
|
||||||
|
19
programs/storage_program/src/genesis_block_util.rs
Normal file
19
programs/storage_program/src/genesis_block_util.rs
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
use crate::solana_storage_program;
|
||||||
|
use solana_sdk::genesis_block::GenesisBlock;
|
||||||
|
use solana_sdk::pubkey::Pubkey;
|
||||||
|
use solana_storage_api::storage_contract;
|
||||||
|
|
||||||
|
pub trait GenesisBlockUtil {
|
||||||
|
fn add_storage_program(&mut self, validator_storage_pubkey: &Pubkey);
|
||||||
|
}
|
||||||
|
|
||||||
|
impl GenesisBlockUtil for GenesisBlock {
|
||||||
|
fn add_storage_program(&mut self, validator_storage_pubkey: &Pubkey) {
|
||||||
|
self.accounts.push((
|
||||||
|
*validator_storage_pubkey,
|
||||||
|
storage_contract::create_validator_storage_account(1),
|
||||||
|
));
|
||||||
|
self.native_instruction_processors
|
||||||
|
.push(solana_storage_program!());
|
||||||
|
}
|
||||||
|
}
|
@@ -1,3 +1,5 @@
|
|||||||
|
pub mod genesis_block_util;
|
||||||
|
|
||||||
#[macro_export]
|
#[macro_export]
|
||||||
macro_rules! solana_storage_program {
|
macro_rules! solana_storage_program {
|
||||||
() => {
|
() => {
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "solana-token-api"
|
name = "solana-token-api"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
description = "Solana Token API"
|
description = "Solana Token API"
|
||||||
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
||||||
repository = "https://github.com/solana-labs/solana"
|
repository = "https://github.com/solana-labs/solana"
|
||||||
@@ -15,8 +15,8 @@ num-derive = "0.2"
|
|||||||
num-traits = "0.2"
|
num-traits = "0.2"
|
||||||
serde = "1.0.91"
|
serde = "1.0.91"
|
||||||
serde_derive = "1.0.91"
|
serde_derive = "1.0.91"
|
||||||
solana-logger = { path = "../../logger", version = "0.15.0" }
|
solana-logger = { path = "../../logger", version = "0.15.2" }
|
||||||
solana-sdk = { path = "../../sdk", version = "0.15.0" }
|
solana-sdk = { path = "../../sdk", version = "0.15.2" }
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "solana_token_api"
|
name = "solana_token_api"
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "solana-token-program"
|
name = "solana-token-program"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
description = "Solana token program"
|
description = "Solana token program"
|
||||||
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
||||||
repository = "https://github.com/solana-labs/solana"
|
repository = "https://github.com/solana-labs/solana"
|
||||||
@@ -10,9 +10,9 @@ edition = "2018"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
log = "0.4.2"
|
log = "0.4.2"
|
||||||
solana-logger = { path = "../../logger", version = "0.15.0" }
|
solana-logger = { path = "../../logger", version = "0.15.2" }
|
||||||
solana-sdk = { path = "../../sdk", version = "0.15.0" }
|
solana-sdk = { path = "../../sdk", version = "0.15.2" }
|
||||||
solana-token-api = { path = "../token_api", version = "0.15.0" }
|
solana-token-api = { path = "../token_api", version = "0.15.2" }
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "solana_token_program"
|
name = "solana_token_program"
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "solana-vote-api"
|
name = "solana-vote-api"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
description = "Solana Vote program API"
|
description = "Solana Vote program API"
|
||||||
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
||||||
repository = "https://github.com/solana-labs/solana"
|
repository = "https://github.com/solana-labs/solana"
|
||||||
@@ -13,9 +13,9 @@ bincode = "1.1.4"
|
|||||||
log = "0.4.2"
|
log = "0.4.2"
|
||||||
serde = "1.0.91"
|
serde = "1.0.91"
|
||||||
serde_derive = "1.0.91"
|
serde_derive = "1.0.91"
|
||||||
solana-logger = { path = "../../logger", version = "0.15.0" }
|
solana-logger = { path = "../../logger", version = "0.15.2" }
|
||||||
solana-metrics = { path = "../../metrics", version = "0.15.0" }
|
solana-metrics = { path = "../../metrics", version = "0.15.2" }
|
||||||
solana-sdk = { path = "../../sdk", version = "0.15.0" }
|
solana-sdk = { path = "../../sdk", version = "0.15.2" }
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "solana_vote_api"
|
name = "solana_vote_api"
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "solana-vote-program"
|
name = "solana-vote-program"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
description = "Solana Vote program"
|
description = "Solana Vote program"
|
||||||
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
||||||
repository = "https://github.com/solana-labs/solana"
|
repository = "https://github.com/solana-labs/solana"
|
||||||
@@ -10,9 +10,9 @@ edition = "2018"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
log = "0.4.2"
|
log = "0.4.2"
|
||||||
solana-logger = { path = "../../logger", version = "0.15.0" }
|
solana-logger = { path = "../../logger", version = "0.15.2" }
|
||||||
solana-sdk = { path = "../../sdk", version = "0.15.0" }
|
solana-sdk = { path = "../../sdk", version = "0.15.2" }
|
||||||
solana-vote-api = { path = "../vote_api", version = "0.15.0" }
|
solana-vote-api = { path = "../vote_api", version = "0.15.2" }
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "solana_vote_program"
|
name = "solana_vote_program"
|
||||||
|
@@ -2,17 +2,17 @@
|
|||||||
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
name = "solana-replicator"
|
name = "solana-replicator"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
repository = "https://github.com/solana-labs/solana"
|
repository = "https://github.com/solana-labs/solana"
|
||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
homepage = "https://solana.com/"
|
homepage = "https://solana.com/"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
clap = "2.33.0"
|
clap = "2.33.0"
|
||||||
solana = { path = "../core", version = "0.15.0" }
|
solana = { path = "../core", version = "0.15.2" }
|
||||||
solana-logger = { path = "../logger", version = "0.15.0" }
|
solana-logger = { path = "../logger", version = "0.15.2" }
|
||||||
solana-netutil = { path = "../netutil", version = "0.15.0" }
|
solana-netutil = { path = "../netutil", version = "0.15.2" }
|
||||||
solana-sdk = { path = "../sdk", version = "0.15.0" }
|
solana-sdk = { path = "../sdk", version = "0.15.2" }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
chacha = ["solana/chacha"]
|
chacha = ["solana/chacha"]
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "solana-runtime"
|
name = "solana-runtime"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
description = "Solana runtime"
|
description = "Solana runtime"
|
||||||
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
||||||
repository = "https://github.com/solana-labs/solana"
|
repository = "https://github.com/solana-labs/solana"
|
||||||
@@ -23,16 +23,14 @@ rayon = "1.0.0"
|
|||||||
serde = "1.0.88"
|
serde = "1.0.88"
|
||||||
serde_derive = "1.0.91"
|
serde_derive = "1.0.91"
|
||||||
serde_json = "1.0.38"
|
serde_json = "1.0.38"
|
||||||
solana-logger = { path = "../logger", version = "0.15.0" }
|
solana-logger = { path = "../logger", version = "0.15.2" }
|
||||||
solana-metrics = { path = "../metrics", version = "0.15.0" }
|
solana-metrics = { path = "../metrics", version = "0.15.2" }
|
||||||
solana-sdk = { path = "../sdk", version = "0.15.0" }
|
solana-sdk = { path = "../sdk", version = "0.15.2" }
|
||||||
solana-stake-api = { path = "../programs/stake_api", version = "0.15.0" }
|
solana-stake-api = { path = "../programs/stake_api", version = "0.15.2" }
|
||||||
solana-storage-api = { path = "../programs/storage_api", version = "0.15.0" }
|
solana-vote-api = { path = "../programs/vote_api", version = "0.15.2" }
|
||||||
solana-vote-api = { path = "../programs/vote_api", version = "0.15.0" }
|
solana-vote-program = { path = "../programs/vote_program", version = "0.15.2" }
|
||||||
solana-vote-program = { path = "../programs/vote_program", version = "0.15.0" }
|
solana-stake-program = { path = "../programs/stake_program", version = "0.15.2" }
|
||||||
solana-stake-program = { path = "../programs/stake_program", version = "0.15.0" }
|
solana-noop-program = { path = "../programs/noop_program", version = "0.15.2" }
|
||||||
solana-storage-program = { path = "../programs/storage_program", version = "0.15.0" }
|
|
||||||
solana-noop-program = { path = "../programs/noop_program", version = "0.15.0" }
|
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "solana_runtime"
|
name = "solana_runtime"
|
||||||
|
@@ -4,7 +4,6 @@ use solana_sdk::pubkey::Pubkey;
|
|||||||
use solana_sdk::signature::{Keypair, KeypairUtil};
|
use solana_sdk::signature::{Keypair, KeypairUtil};
|
||||||
use solana_sdk::system_program;
|
use solana_sdk::system_program;
|
||||||
use solana_stake_api::stake_state;
|
use solana_stake_api::stake_state;
|
||||||
use solana_storage_api::storage_contract;
|
|
||||||
use solana_vote_api::vote_state;
|
use solana_vote_api::vote_state;
|
||||||
|
|
||||||
// The default stake placed with the bootstrap leader
|
// The default stake placed with the bootstrap leader
|
||||||
@@ -14,7 +13,6 @@ pub struct GenesisBlockInfo {
|
|||||||
pub genesis_block: GenesisBlock,
|
pub genesis_block: GenesisBlock,
|
||||||
pub mint_keypair: Keypair,
|
pub mint_keypair: Keypair,
|
||||||
pub voting_keypair: Keypair,
|
pub voting_keypair: Keypair,
|
||||||
pub storage_keypair: Keypair,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn create_genesis_block_with_leader(
|
pub fn create_genesis_block_with_leader(
|
||||||
@@ -25,7 +23,6 @@ pub fn create_genesis_block_with_leader(
|
|||||||
let mint_keypair = Keypair::new();
|
let mint_keypair = Keypair::new();
|
||||||
let voting_keypair = Keypair::new();
|
let voting_keypair = Keypair::new();
|
||||||
let staking_keypair = Keypair::new();
|
let staking_keypair = Keypair::new();
|
||||||
let storage_keypair = Keypair::new();
|
|
||||||
|
|
||||||
// TODO: de-duplicate the stake once passive staking
|
// TODO: de-duplicate the stake once passive staking
|
||||||
// is fully implemented
|
// is fully implemented
|
||||||
@@ -61,23 +58,13 @@ pub fn create_genesis_block_with_leader(
|
|||||||
bootstrap_leader_stake_lamports,
|
bootstrap_leader_stake_lamports,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
// storage account
|
|
||||||
(
|
|
||||||
storage_keypair.pubkey(),
|
|
||||||
storage_contract::create_validator_storage_account(1),
|
|
||||||
),
|
|
||||||
],
|
|
||||||
&[
|
|
||||||
solana_vote_program!(),
|
|
||||||
solana_stake_program!(),
|
|
||||||
solana_storage_program!(), // TODO: storage program is only needed by core/, move this line into core/src/genesis_utils.rs
|
|
||||||
],
|
],
|
||||||
|
&[solana_vote_program!(), solana_stake_program!()],
|
||||||
);
|
);
|
||||||
|
|
||||||
GenesisBlockInfo {
|
GenesisBlockInfo {
|
||||||
genesis_block,
|
genesis_block,
|
||||||
mint_keypair,
|
mint_keypair,
|
||||||
voting_keypair,
|
voting_keypair,
|
||||||
storage_keypair,
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -25,8 +25,5 @@ extern crate solana_vote_program;
|
|||||||
#[macro_use]
|
#[macro_use]
|
||||||
extern crate solana_stake_program;
|
extern crate solana_stake_program;
|
||||||
|
|
||||||
#[macro_use]
|
|
||||||
extern crate solana_storage_program;
|
|
||||||
|
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
extern crate serde_derive;
|
extern crate serde_derive;
|
||||||
|
@@ -6,35 +6,46 @@
|
|||||||
# shellcheck source=scripts/ulimit-n.sh
|
# shellcheck source=scripts/ulimit-n.sh
|
||||||
source "$(dirname "${BASH_SOURCE[0]}")"/ulimit-n.sh
|
source "$(dirname "${BASH_SOURCE[0]}")"/ulimit-n.sh
|
||||||
|
|
||||||
# Reference: https://medium.com/@CameronSparr/increase-os-udp-buffers-to-improve-performance-51d167bb1360
|
sysctl_write() {
|
||||||
if [[ $(uname) = Linux ]]; then
|
declare name=$1
|
||||||
(
|
declare new_value=$2
|
||||||
set -x +e
|
|
||||||
# test the existence of the sysctls before trying to set them
|
|
||||||
# go ahead and return true and don't exit if these calls fail
|
|
||||||
sysctl net.core.rmem_max 2>/dev/null 1>/dev/null &&
|
|
||||||
sudo sysctl -w net.core.rmem_max=161061273 1>/dev/null 2>/dev/null
|
|
||||||
|
|
||||||
sysctl net.core.rmem_default 2>/dev/null 1>/dev/null &&
|
# Test the existence of the sysctl before trying to set it
|
||||||
sudo sysctl -w net.core.rmem_default=161061273 1>/dev/null 2>/dev/null
|
sysctl "$name" 2>/dev/null 1>/dev/null || return 0
|
||||||
|
|
||||||
sysctl net.core.wmem_max 2>/dev/null 1>/dev/null &&
|
declare current_value
|
||||||
sudo sysctl -w net.core.wmem_max=161061273 1>/dev/null 2>/dev/null
|
current_value=$(sysctl -n "$name")
|
||||||
|
[[ $current_value != "$new_value" ]] || return 0
|
||||||
|
|
||||||
sysctl net.core.wmem_default 2>/dev/null 1>/dev/null &&
|
declare cmd="sysctl -w $name=$new_value"
|
||||||
sudo sysctl -w net.core.wmem_default=161061273 1>/dev/null 2>/dev/null
|
if [[ -n $SUDO_OK ]]; then
|
||||||
) || true
|
cmd="sudo $cmd"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $(uname) = Darwin ]]; then
|
echo "$ $cmd"
|
||||||
(
|
$cmd
|
||||||
if [[ $(sysctl net.inet.udp.maxdgram | cut -d\ -f2) != 65535 ]]; then
|
|
||||||
echo "Adjusting maxdgram to allow for large UDP packets, see BLOB_SIZE in src/packet.rs:"
|
|
||||||
set -x
|
|
||||||
sudo sysctl net.inet.udp.maxdgram=65535
|
|
||||||
fi
|
|
||||||
)
|
|
||||||
|
|
||||||
fi
|
# Some versions of sysctl exit with 0 on permission denied errors
|
||||||
|
current_value=$(sysctl -n "$name")
|
||||||
|
if [[ $current_value != "$new_value" ]]; then
|
||||||
|
echo "==> Failed to set $name. Try running: \"SUDO_OK=1 source ${BASH_SOURCE[0]}\""
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
case $(uname) in
|
||||||
|
Linux)
|
||||||
|
# Reference: https://medium.com/@CameronSparr/increase-os-udp-buffers-to-improve-performance-51d167bb1360
|
||||||
|
sysctl_write net.core.rmem_max 161061273
|
||||||
|
sysctl_write net.core.rmem_default 161061273
|
||||||
|
sysctl_write net.core.wmem_max 161061273
|
||||||
|
sysctl_write net.core.wmem_default 161061273
|
||||||
|
;;
|
||||||
|
|
||||||
|
Darwin)
|
||||||
|
# Adjusting maxdgram to allow for large UDP packets, see BLOB_SIZE in core/src/packet.rs
|
||||||
|
sysctl_write net.inet.udp.maxdgram 65535
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "solana-sdk"
|
name = "solana-sdk"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
description = "Solana SDK"
|
description = "Solana SDK"
|
||||||
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
||||||
repository = "https://github.com/solana-labs/solana"
|
repository = "https://github.com/solana-labs/solana"
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
[package]
|
[package]
|
||||||
name = "solana-sdk-bpf-utils"
|
name = "solana-sdk-bpf-utils"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
description = "Solana BPF SDK Rust Utils"
|
description = "Solana BPF SDK Rust Utils"
|
||||||
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
||||||
repository = "https://github.com/solana-labs/solana"
|
repository = "https://github.com/solana-labs/solana"
|
||||||
|
@@ -1,17 +1,18 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "solana-upload-perf"
|
name = "solana-upload-perf"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
description = "Metrics Upload Utility"
|
description = "Metrics Upload Utility"
|
||||||
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
||||||
repository = "https://github.com/solana-labs/solana"
|
repository = "https://github.com/solana-labs/solana"
|
||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
homepage = "https://solana.com/"
|
homepage = "https://solana.com/"
|
||||||
|
publish = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
log = "0.4.2"
|
log = "0.4.2"
|
||||||
serde_json = "1.0.39"
|
serde_json = "1.0.39"
|
||||||
solana-metrics = { path = "../metrics", version = "0.15.0" }
|
solana-metrics = { path = "../metrics", version = "0.15.2" }
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
name = "solana-upload-perf"
|
name = "solana-upload-perf"
|
||||||
|
@@ -3,7 +3,7 @@ authors = ["Solana Maintainers <maintainers@solana.com>"]
|
|||||||
edition = "2018"
|
edition = "2018"
|
||||||
name = "solana-validator"
|
name = "solana-validator"
|
||||||
description = "Blockchain, Rebuilt for Scale"
|
description = "Blockchain, Rebuilt for Scale"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
repository = "https://github.com/solana-labs/solana"
|
repository = "https://github.com/solana-labs/solana"
|
||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
homepage = "https://solana.com/"
|
homepage = "https://solana.com/"
|
||||||
@@ -12,15 +12,15 @@ homepage = "https://solana.com/"
|
|||||||
clap = "2.33.0"
|
clap = "2.33.0"
|
||||||
log = "0.4.2"
|
log = "0.4.2"
|
||||||
serde_json = "1.0.39"
|
serde_json = "1.0.39"
|
||||||
solana = { path = "../core", version = "0.15.0" }
|
solana = { path = "../core", version = "0.15.2" }
|
||||||
solana-drone = { path = "../drone", version = "0.15.0" }
|
solana-drone = { path = "../drone", version = "0.15.2" }
|
||||||
solana-logger = { path = "../logger", version = "0.15.0" }
|
solana-logger = { path = "../logger", version = "0.15.2" }
|
||||||
solana-netutil = { path = "../netutil", version = "0.15.0" }
|
solana-netutil = { path = "../netutil", version = "0.15.2" }
|
||||||
solana-metrics = { path = "../metrics", version = "0.15.0" }
|
solana-metrics = { path = "../metrics", version = "0.15.2" }
|
||||||
solana-runtime = { path = "../runtime", version = "0.15.0" }
|
solana-runtime = { path = "../runtime", version = "0.15.2" }
|
||||||
solana-sdk = { path = "../sdk", version = "0.15.0" }
|
solana-sdk = { path = "../sdk", version = "0.15.2" }
|
||||||
solana-vote-api = { path = "../programs/vote_api", version = "0.15.0" }
|
solana-vote-api = { path = "../programs/vote_api", version = "0.15.2" }
|
||||||
solana-vote-signer = { path = "../vote-signer", version = "0.15.0" }
|
solana-vote-signer = { path = "../vote-signer", version = "0.15.2" }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
chacha = ["solana/chacha"]
|
chacha = ["solana/chacha"]
|
||||||
|
@@ -3,7 +3,7 @@ authors = ["Solana Maintainers <maintainers@solana.com>"]
|
|||||||
edition = "2018"
|
edition = "2018"
|
||||||
name = "solana-vote-signer"
|
name = "solana-vote-signer"
|
||||||
description = "Solana Vote Signing Service"
|
description = "Solana Vote Signing Service"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
repository = "https://github.com/solana-labs/solana"
|
repository = "https://github.com/solana-labs/solana"
|
||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
homepage = "https://solana.com/"
|
homepage = "https://solana.com/"
|
||||||
@@ -17,8 +17,8 @@ jsonrpc-derive = "11.0.0"
|
|||||||
jsonrpc-http-server = "11.0.0"
|
jsonrpc-http-server = "11.0.0"
|
||||||
serde = "1.0.91"
|
serde = "1.0.91"
|
||||||
serde_json = "1.0.39"
|
serde_json = "1.0.39"
|
||||||
solana-sdk = { path = "../sdk", version = "0.15.0" }
|
solana-sdk = { path = "../sdk", version = "0.15.2" }
|
||||||
solana-metrics = { path = "../metrics", version = "0.15.0" }
|
solana-metrics = { path = "../metrics", version = "0.15.2" }
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "solana_vote_signer"
|
name = "solana_vote_signer"
|
||||||
|
@@ -3,7 +3,7 @@ authors = ["Solana Maintainers <maintainers@solana.com>"]
|
|||||||
edition = "2018"
|
edition = "2018"
|
||||||
name = "solana-wallet"
|
name = "solana-wallet"
|
||||||
description = "Blockchain, Rebuilt for Scale"
|
description = "Blockchain, Rebuilt for Scale"
|
||||||
version = "0.15.0"
|
version = "0.15.2"
|
||||||
repository = "https://github.com/solana-labs/solana"
|
repository = "https://github.com/solana-labs/solana"
|
||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
homepage = "https://solana.com/"
|
homepage = "https://solana.com/"
|
||||||
@@ -17,21 +17,21 @@ dirs = "1.0.5"
|
|||||||
log = "0.4.2"
|
log = "0.4.2"
|
||||||
num-traits = "0.2"
|
num-traits = "0.2"
|
||||||
serde_json = "1.0.39"
|
serde_json = "1.0.39"
|
||||||
solana-budget-api = { path = "../programs/budget_api", version = "0.15.0" }
|
solana-budget-api = { path = "../programs/budget_api", version = "0.15.2" }
|
||||||
solana-client = { path = "../client", version = "0.15.0" }
|
solana-client = { path = "../client", version = "0.15.2" }
|
||||||
solana-drone = { path = "../drone", version = "0.15.0" }
|
solana-drone = { path = "../drone", version = "0.15.2" }
|
||||||
solana-logger = { path = "../logger", version = "0.15.0" }
|
solana-logger = { path = "../logger", version = "0.15.2" }
|
||||||
solana-netutil = { path = "../netutil", version = "0.15.0" }
|
solana-netutil = { path = "../netutil", version = "0.15.2" }
|
||||||
solana-sdk = { path = "../sdk", version = "0.15.0" }
|
solana-sdk = { path = "../sdk", version = "0.15.2" }
|
||||||
solana-stake-api = { path = "../programs/stake_api", version = "0.15.0" }
|
solana-stake-api = { path = "../programs/stake_api", version = "0.15.2" }
|
||||||
solana-storage-api = { path = "../programs/storage_api", version = "0.15.0" }
|
solana-storage-api = { path = "../programs/storage_api", version = "0.15.2" }
|
||||||
solana-vote-api = { path = "../programs/vote_api", version = "0.15.0" }
|
solana-vote-api = { path = "../programs/vote_api", version = "0.15.2" }
|
||||||
solana-vote-signer = { path = "../vote-signer", version = "0.15.0" }
|
solana-vote-signer = { path = "../vote-signer", version = "0.15.2" }
|
||||||
url = "1.7.2"
|
url = "1.7.2"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
solana-budget-program = { path = "../programs/budget_program", version = "0.15.0" }
|
solana-budget-program = { path = "../programs/budget_program", version = "0.15.2" }
|
||||||
solana = { path = "../core", version = "0.15.0" }
|
solana = { path = "../core", version = "0.15.2" }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
cuda = []
|
cuda = []
|
||||||
|
Reference in New Issue
Block a user