Compare commits

..

12 Commits

Author SHA1 Message Date
mergify[bot]
95bc051129 Cargo update bumpalo (#9067) (#9077)
automerge
2020-03-25 18:51:38 -07:00
mergify[bot]
02bcf4f8e2 ledger-tool can now decode stake instructions (bp #9045) (#9076)
automerge
2020-03-25 18:02:31 -07:00
sakridge
4b0d4e9834 Remove accounts unwrap (#9063)
automerge
2020-03-25 10:59:52 -07:00
mergify[bot]
bf4cdc091a Fix xargo to version 0.3.19 to avoid unstable feature (#9065) (#9066)
automerge

(cherry picked from commit c558db2a48)

Co-authored-by: Justin Starry <justin@solana.com>
2020-03-25 08:48:22 -07:00
mergify[bot]
5f2cf2b44d Increase vmap count in sys-tuner (#8940) (#9064)
(cherry picked from commit a70008cc5c)

Co-authored-by: sakridge <sakridge@gmail.com>
2020-03-25 08:06:36 -07:00
mergify[bot]
03aae5eb5f Ignore RUSTSEC-2020-0006 for the moment (#9057) (#9059)
automerge
2020-03-24 21:06:15 -07:00
mergify[bot]
5f1ce81fbc ledger tool now outputs transaction status information if available (#9024) (#9026)
automerge
2020-03-24 12:23:25 -07:00
mergify[bot]
fc582aa57c Refactor how pubsub subscriptions are added (#9042) (#9049)
automerge
2020-03-24 11:05:33 -07:00
mergify[bot]
13676e9614 Fix timeout for subscriptions test (#9043) (#9044)
automerge
2020-03-24 02:57:25 -07:00
Michael Vines
7636a0521f solana-install-init: --pubkey is no longer required on platforms without a default update manifest 2020-03-23 22:40:53 -07:00
Michael Vines
ad06354a18 Remove , 2020-03-23 22:11:56 -07:00
Michael Vines
953cb93e44 Bump version to 1.0.10 2020-03-23 21:58:45 -07:00
92 changed files with 798 additions and 676 deletions

View File

@@ -7,6 +7,6 @@
"GITHUB_TOKEN": "EJ[1:yGpTmjdbyjW2kjgIHkFoJv7Ue7EbUvUbqHyw6anGgWg=:Vq2dkGTOzfEpRht0BAGHFp/hDogMvXJe:tFXHg1epVt2mq9hkuc5sRHe+KAnVREi/p8S+IZu67XRyzdiA/nGak1k860FXYuuzuaE0QWekaEc=]", "GITHUB_TOKEN": "EJ[1:yGpTmjdbyjW2kjgIHkFoJv7Ue7EbUvUbqHyw6anGgWg=:Vq2dkGTOzfEpRht0BAGHFp/hDogMvXJe:tFXHg1epVt2mq9hkuc5sRHe+KAnVREi/p8S+IZu67XRyzdiA/nGak1k860FXYuuzuaE0QWekaEc=]",
"INFLUX_DATABASE": "EJ[1:yGpTmjdbyjW2kjgIHkFoJv7Ue7EbUvUbqHyw6anGgWg=:5KI9WBkXx3R/W4m256mU5MJOE7N8aAT9:Cb8QFELZ9I60t5zhJ9h55Kcs]", "INFLUX_DATABASE": "EJ[1:yGpTmjdbyjW2kjgIHkFoJv7Ue7EbUvUbqHyw6anGgWg=:5KI9WBkXx3R/W4m256mU5MJOE7N8aAT9:Cb8QFELZ9I60t5zhJ9h55Kcs]",
"INFLUX_PASSWORD": "EJ[1:yGpTmjdbyjW2kjgIHkFoJv7Ue7EbUvUbqHyw6anGgWg=:hQRMpLCrav+OYkNphkeM4hagdVoZv5Iw:AUO76rr6+gF1OLJA8ZLSG8wHKXgYCPNk6gRCV8rBhZBJ4KwDaxpvOhMl7bxxXG6jol7v4aRa/Lk=]", "INFLUX_PASSWORD": "EJ[1:yGpTmjdbyjW2kjgIHkFoJv7Ue7EbUvUbqHyw6anGgWg=:hQRMpLCrav+OYkNphkeM4hagdVoZv5Iw:AUO76rr6+gF1OLJA8ZLSG8wHKXgYCPNk6gRCV8rBhZBJ4KwDaxpvOhMl7bxxXG6jol7v4aRa/Lk=]",
"INFLUX_USERNAME": "EJ[1:yGpTmjdbyjW2kjgIHkFoJv7Ue7EbUvUbqHyw6anGgWg=:R7BNmQjfeqoGDAFTJu9bYTGHol2NgnYN:Q2tOT/EBcFvhFk+DKLKmVU7tLCpVC3Ui]", "INFLUX_USERNAME": "EJ[1:yGpTmjdbyjW2kjgIHkFoJv7Ue7EbUvUbqHyw6anGgWg=:R7BNmQjfeqoGDAFTJu9bYTGHol2NgnYN:Q2tOT/EBcFvhFk+DKLKmVU7tLCpVC3Ui]"
} }
} }

1
Cargo.lock generated
View File

@@ -4213,6 +4213,7 @@ dependencies = [
"solana-logger 1.0.9", "solana-logger 1.0.9",
"solana-runtime 1.0.9", "solana-runtime 1.0.9",
"solana-sdk 1.0.9", "solana-sdk 1.0.9",
"solana-stake-program 1.0.9",
"solana-vote-program 1.0.9", "solana-vote-program 1.0.9",
"tempfile 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "tempfile 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
] ]

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "solana-archiver-lib" name = "solana-archiver-lib"
version = "1.0.9" version = "1.0.10"
description = "Solana Archiver Library" description = "Solana Archiver Library"
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,22 +15,22 @@ ed25519-dalek = "=1.0.0-pre.1"
log = "0.4.8" log = "0.4.8"
rand = "0.6.5" rand = "0.6.5"
rand_chacha = "0.1.1" rand_chacha = "0.1.1"
solana-client = { path = "../client", version = "1.0.9" } solana-client = { path = "../client", version = "1.0.10" }
solana-storage-program = { path = "../programs/storage", version = "1.0.9" } solana-storage-program = { path = "../programs/storage", version = "1.0.10" }
thiserror = "1.0" thiserror = "1.0"
serde = "1.0.104" serde = "1.0.104"
serde_json = "1.0.46" serde_json = "1.0.46"
serde_derive = "1.0.103" serde_derive = "1.0.103"
solana-net-utils = { path = "../net-utils", version = "1.0.9" } solana-net-utils = { path = "../net-utils", version = "1.0.10" }
solana-chacha = { path = "../chacha", version = "1.0.9" } solana-chacha = { path = "../chacha", version = "1.0.10" }
solana-chacha-sys = { path = "../chacha-sys", version = "1.0.9" } solana-chacha-sys = { path = "../chacha-sys", version = "1.0.10" }
solana-ledger = { path = "../ledger", version = "1.0.9" } solana-ledger = { path = "../ledger", version = "1.0.10" }
solana-logger = { path = "../logger", version = "1.0.9" } solana-logger = { path = "../logger", version = "1.0.10" }
solana-perf = { path = "../perf", version = "1.0.9" } solana-perf = { path = "../perf", version = "1.0.10" }
solana-sdk = { path = "../sdk", version = "1.0.9" } solana-sdk = { path = "../sdk", version = "1.0.10" }
solana-core = { path = "../core", version = "1.0.9" } solana-core = { path = "../core", version = "1.0.10" }
solana-archiver-utils = { path = "../archiver-utils", version = "1.0.9" } solana-archiver-utils = { path = "../archiver-utils", version = "1.0.10" }
solana-metrics = { path = "../metrics", version = "1.0.9" } solana-metrics = { path = "../metrics", version = "1.0.10" }
[dev-dependencies] [dev-dependencies]
hex = "0.4.0" hex = "0.4.0"

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "solana-archiver-utils" name = "solana-archiver-utils"
version = "1.0.9" version = "1.0.10"
description = "Solana Archiver Utils" description = "Solana Archiver 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"
@@ -11,12 +11,12 @@ edition = "2018"
[dependencies] [dependencies]
log = "0.4.8" log = "0.4.8"
rand = "0.6.5" rand = "0.6.5"
solana-chacha = { path = "../chacha", version = "1.0.9" } solana-chacha = { path = "../chacha", version = "1.0.10" }
solana-chacha-sys = { path = "../chacha-sys", version = "1.0.9" } solana-chacha-sys = { path = "../chacha-sys", version = "1.0.10" }
solana-ledger = { path = "../ledger", version = "1.0.9" } solana-ledger = { path = "../ledger", version = "1.0.10" }
solana-logger = { path = "../logger", version = "1.0.9" } solana-logger = { path = "../logger", version = "1.0.10" }
solana-perf = { path = "../perf", version = "1.0.9" } solana-perf = { path = "../perf", version = "1.0.10" }
solana-sdk = { path = "../sdk", version = "1.0.9" } solana-sdk = { path = "../sdk", version = "1.0.10" }
[dev-dependencies] [dev-dependencies]
hex = "0.4.0" hex = "0.4.0"

View File

@@ -2,7 +2,7 @@
authors = ["Solana Maintainers <maintainers@solana.com>"] authors = ["Solana Maintainers <maintainers@solana.com>"]
edition = "2018" edition = "2018"
name = "solana-archiver" name = "solana-archiver"
version = "1.0.9" version = "1.0.10"
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/"
@@ -10,11 +10,11 @@ homepage = "https://solana.com/"
[dependencies] [dependencies]
clap = "2.33.0" clap = "2.33.0"
console = "0.9.2" console = "0.9.2"
solana-clap-utils = { path = "../clap-utils", version = "1.0.9" } solana-clap-utils = { path = "../clap-utils", version = "1.0.10" }
solana-core = { path = "../core", version = "1.0.9" } solana-core = { path = "../core", version = "1.0.10" }
solana-logger = { path = "../logger", version = "1.0.9" } solana-logger = { path = "../logger", version = "1.0.10" }
solana-metrics = { path = "../metrics", version = "1.0.9" } solana-metrics = { path = "../metrics", version = "1.0.10" }
solana-archiver-lib = { path = "../archiver-lib", version = "1.0.9" } solana-archiver-lib = { path = "../archiver-lib", version = "1.0.10" }
solana-net-utils = { path = "../net-utils", version = "1.0.9" } solana-net-utils = { path = "../net-utils", version = "1.0.10" }
solana-sdk = { path = "../sdk", version = "1.0.9" } solana-sdk = { path = "../sdk", version = "1.0.10" }

View File

@@ -2,7 +2,7 @@
authors = ["Solana Maintainers <maintainers@solana.com>"] authors = ["Solana Maintainers <maintainers@solana.com>"]
edition = "2018" edition = "2018"
name = "solana-banking-bench" name = "solana-banking-bench"
version = "1.0.9" version = "1.0.10"
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/"
@@ -10,11 +10,11 @@ homepage = "https://solana.com/"
[dependencies] [dependencies]
log = "0.4.6" log = "0.4.6"
rayon = "1.2.0" rayon = "1.2.0"
solana-core = { path = "../core", version = "1.0.9" } solana-core = { path = "../core", version = "1.0.10" }
solana-ledger = { path = "../ledger", version = "1.0.9" } solana-ledger = { path = "../ledger", version = "1.0.10" }
solana-logger = { path = "../logger", version = "1.0.9" } solana-logger = { path = "../logger", version = "1.0.10" }
solana-runtime = { path = "../runtime", version = "1.0.9" } solana-runtime = { path = "../runtime", version = "1.0.10" }
solana-measure = { path = "../measure", version = "1.0.9" } solana-measure = { path = "../measure", version = "1.0.10" }
solana-sdk = { path = "../sdk", version = "1.0.9" } solana-sdk = { path = "../sdk", version = "1.0.10" }
rand = "0.6.5" rand = "0.6.5"
crossbeam-channel = "0.3" crossbeam-channel = "0.3"

View File

@@ -2,7 +2,7 @@
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 = "1.0.9" version = "1.0.10"
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/"
@@ -18,17 +18,17 @@ rand = "0.6.5"
rayon = "1.2.0" rayon = "1.2.0"
serde_json = "1.0.46" serde_json = "1.0.46"
serde_yaml = "0.8.11" serde_yaml = "0.8.11"
solana-clap-utils = { path = "../clap-utils", version = "1.0.9" } solana-clap-utils = { path = "../clap-utils", version = "1.0.10" }
solana-core = { path = "../core", version = "1.0.9" } solana-core = { path = "../core", version = "1.0.10" }
solana-genesis = { path = "../genesis", version = "1.0.9" } solana-genesis = { path = "../genesis", version = "1.0.10" }
solana-client = { path = "../client", version = "1.0.9" } solana-client = { path = "../client", version = "1.0.10" }
solana-faucet = { path = "../faucet", version = "1.0.9" } solana-faucet = { path = "../faucet", version = "1.0.10" }
solana-exchange-program = { path = "../programs/exchange", version = "1.0.9" } solana-exchange-program = { path = "../programs/exchange", version = "1.0.10" }
solana-logger = { path = "../logger", version = "1.0.9" } solana-logger = { path = "../logger", version = "1.0.10" }
solana-metrics = { path = "../metrics", version = "1.0.9" } solana-metrics = { path = "../metrics", version = "1.0.10" }
solana-net-utils = { path = "../net-utils", version = "1.0.9" } solana-net-utils = { path = "../net-utils", version = "1.0.10" }
solana-runtime = { path = "../runtime", version = "1.0.9" } solana-runtime = { path = "../runtime", version = "1.0.10" }
solana-sdk = { path = "../sdk", version = "1.0.9" } solana-sdk = { path = "../sdk", version = "1.0.10" }
[dev-dependencies] [dev-dependencies]
solana-local-cluster = { path = "../local-cluster", version = "1.0.9" } solana-local-cluster = { path = "../local-cluster", version = "1.0.10" }

View File

@@ -2,14 +2,14 @@
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 = "1.0.9" version = "1.0.10"
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-clap-utils = { path = "../clap-utils", version = "1.0.9" } solana-clap-utils = { path = "../clap-utils", version = "1.0.10" }
solana-core = { path = "../core", version = "1.0.9" } solana-core = { path = "../core", version = "1.0.10" }
solana-logger = { path = "../logger", version = "1.0.9" } solana-logger = { path = "../logger", version = "1.0.10" }
solana-net-utils = { path = "../net-utils", version = "1.0.9" } solana-net-utils = { path = "../net-utils", version = "1.0.10" }

View File

@@ -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 = "1.0.9" version = "1.0.10"
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/"
@@ -14,24 +14,24 @@ log = "0.4.8"
rayon = "1.2.0" rayon = "1.2.0"
serde_json = "1.0.46" serde_json = "1.0.46"
serde_yaml = "0.8.11" serde_yaml = "0.8.11"
solana-clap-utils = { path = "../clap-utils", version = "1.0.9" } solana-clap-utils = { path = "../clap-utils", version = "1.0.10" }
solana-core = { path = "../core", version = "1.0.9" } solana-core = { path = "../core", version = "1.0.10" }
solana-genesis = { path = "../genesis", version = "1.0.9" } solana-genesis = { path = "../genesis", version = "1.0.10" }
solana-client = { path = "../client", version = "1.0.9" } solana-client = { path = "../client", version = "1.0.10" }
solana-faucet = { path = "../faucet", version = "1.0.9" } solana-faucet = { path = "../faucet", version = "1.0.10" }
solana-librapay = { path = "../programs/librapay", version = "1.0.9", optional = true } solana-librapay = { path = "../programs/librapay", version = "1.0.10", optional = true }
solana-logger = { path = "../logger", version = "1.0.9" } solana-logger = { path = "../logger", version = "1.0.10" }
solana-metrics = { path = "../metrics", version = "1.0.9" } solana-metrics = { path = "../metrics", version = "1.0.10" }
solana-measure = { path = "../measure", version = "1.0.9" } solana-measure = { path = "../measure", version = "1.0.10" }
solana-net-utils = { path = "../net-utils", version = "1.0.9" } solana-net-utils = { path = "../net-utils", version = "1.0.10" }
solana-runtime = { path = "../runtime", version = "1.0.9" } solana-runtime = { path = "../runtime", version = "1.0.10" }
solana-sdk = { path = "../sdk", version = "1.0.9" } solana-sdk = { path = "../sdk", version = "1.0.10" }
solana-move-loader-program = { path = "../programs/move_loader", version = "1.0.9", optional = true } solana-move-loader-program = { path = "../programs/move_loader", version = "1.0.10", optional = true }
[dev-dependencies] [dev-dependencies]
serial_test = "0.3.2" serial_test = "0.3.2"
serial_test_derive = "0.4.0" serial_test_derive = "0.4.0"
solana-local-cluster = { path = "../local-cluster", version = "1.0.9" } solana-local-cluster = { path = "../local-cluster", version = "1.0.10" }
[features] [features]
move = ["solana-librapay", "solana-move-loader-program"] move = ["solana-librapay", "solana-move-loader-program"]

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "solana-chacha-cuda" name = "solana-chacha-cuda"
version = "1.0.9" version = "1.0.10"
description = "Solana Chacha Cuda APIs" description = "Solana Chacha Cuda APIs"
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,12 +10,12 @@ edition = "2018"
[dependencies] [dependencies]
log = "0.4.8" log = "0.4.8"
solana-archiver-utils = { path = "../archiver-utils", version = "1.0.9" } solana-archiver-utils = { path = "../archiver-utils", version = "1.0.10" }
solana-chacha = { path = "../chacha", version = "1.0.9" } solana-chacha = { path = "../chacha", version = "1.0.10" }
solana-ledger = { path = "../ledger", version = "1.0.9" } solana-ledger = { path = "../ledger", version = "1.0.10" }
solana-logger = { path = "../logger", version = "1.0.9" } solana-logger = { path = "../logger", version = "1.0.10" }
solana-perf = { path = "../perf", version = "1.0.9" } solana-perf = { path = "../perf", version = "1.0.10" }
solana-sdk = { path = "../sdk", version = "1.0.9" } solana-sdk = { path = "../sdk", version = "1.0.10" }
[dev-dependencies] [dev-dependencies]
hex-literal = "0.2.1" hex-literal = "0.2.1"

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "solana-chacha-sys" name = "solana-chacha-sys"
version = "1.0.9" version = "1.0.10"
description = "Solana chacha-sys" description = "Solana chacha-sys"
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"

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "solana-chacha" name = "solana-chacha"
version = "1.0.9" version = "1.0.10"
description = "Solana Chacha APIs" description = "Solana Chacha APIs"
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,11 +12,11 @@ edition = "2018"
log = "0.4.8" log = "0.4.8"
rand = "0.6.5" rand = "0.6.5"
rand_chacha = "0.1.1" rand_chacha = "0.1.1"
solana-chacha-sys = { path = "../chacha-sys", version = "1.0.9" } solana-chacha-sys = { path = "../chacha-sys", version = "1.0.10" }
solana-ledger = { path = "../ledger", version = "1.0.9" } solana-ledger = { path = "../ledger", version = "1.0.10" }
solana-logger = { path = "../logger", version = "1.0.9" } solana-logger = { path = "../logger", version = "1.0.10" }
solana-perf = { path = "../perf", version = "1.0.9" } solana-perf = { path = "../perf", version = "1.0.10" }
solana-sdk = { path = "../sdk", version = "1.0.9" } solana-sdk = { path = "../sdk", version = "1.0.10" }
[dev-dependencies] [dev-dependencies]
hex-literal = "0.2.1" hex-literal = "0.2.1"

8
ci/_
View File

@@ -5,7 +5,13 @@
# |source| me # |source| me
# #
base_dir=$(realpath --strip "$(dirname "$0")/..")
_() { _() {
echo "--- $*" if [[ $(pwd) = $base_dir ]]; then
echo "--- $*"
else
echo "--- $* (wd: $(pwd))"
fi
"$@" "$@"
} }

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "solana-clap-utils" name = "solana-clap-utils"
version = "1.0.9" version = "1.0.10"
description = "Solana utilities for the clap" description = "Solana utilities for the clap"
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"
@@ -11,8 +11,8 @@ edition = "2018"
[dependencies] [dependencies]
clap = "2.33.0" clap = "2.33.0"
rpassword = "4.0" rpassword = "4.0"
solana-remote-wallet = { path = "../remote-wallet", version = "1.0.9" } solana-remote-wallet = { path = "../remote-wallet", version = "1.0.10" }
solana-sdk = { path = "../sdk", version = "1.0.9" } solana-sdk = { path = "../sdk", version = "1.0.10" }
thiserror = "1.0.11" thiserror = "1.0.11"
tiny-bip39 = "0.7.0" tiny-bip39 = "0.7.0"
url = "2.1.0" url = "2.1.0"

View File

@@ -3,7 +3,7 @@ authors = ["Solana Maintainers <maintainers@solana.com>"]
edition = "2018" edition = "2018"
name = "solana-cli-config" name = "solana-cli-config"
description = "Blockchain, Rebuilt for Scale" description = "Blockchain, Rebuilt for Scale"
version = "1.0.9" version = "1.0.10"
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/"

View File

@@ -3,7 +3,7 @@ authors = ["Solana Maintainers <maintainers@solana.com>"]
edition = "2018" edition = "2018"
name = "solana-cli" name = "solana-cli"
description = "Blockchain, Rebuilt for Scale" description = "Blockchain, Rebuilt for Scale"
version = "1.0.9" version = "1.0.10"
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/"
@@ -26,28 +26,28 @@ reqwest = { version = "0.10.1", default-features = false, features = ["blocking"
serde = "1.0.104" serde = "1.0.104"
serde_derive = "1.0.103" serde_derive = "1.0.103"
serde_json = "1.0.46" serde_json = "1.0.46"
solana-budget-program = { path = "../programs/budget", version = "1.0.9" } solana-budget-program = { path = "../programs/budget", version = "1.0.10" }
solana-clap-utils = { path = "../clap-utils", version = "1.0.9" } solana-clap-utils = { path = "../clap-utils", version = "1.0.10" }
solana-cli-config = { path = "../cli-config", version = "1.0.9" } solana-cli-config = { path = "../cli-config", version = "1.0.10" }
solana-client = { path = "../client", version = "1.0.9" } solana-client = { path = "../client", version = "1.0.10" }
solana-config-program = { path = "../programs/config", version = "1.0.9" } solana-config-program = { path = "../programs/config", version = "1.0.10" }
solana-faucet = { path = "../faucet", version = "1.0.9" } solana-faucet = { path = "../faucet", version = "1.0.10" }
solana-logger = { path = "../logger", version = "1.0.9" } solana-logger = { path = "../logger", version = "1.0.10" }
solana-net-utils = { path = "../net-utils", version = "1.0.9" } solana-net-utils = { path = "../net-utils", version = "1.0.10" }
solana-remote-wallet = { path = "../remote-wallet", version = "1.0.9" } solana-remote-wallet = { path = "../remote-wallet", version = "1.0.10" }
solana-runtime = { path = "../runtime", version = "1.0.9" } solana-runtime = { path = "../runtime", version = "1.0.10" }
solana-sdk = { path = "../sdk", version = "1.0.9" } solana-sdk = { path = "../sdk", version = "1.0.10" }
solana-stake-program = { path = "../programs/stake", version = "1.0.9" } solana-stake-program = { path = "../programs/stake", version = "1.0.10" }
solana-storage-program = { path = "../programs/storage", version = "1.0.9" } solana-storage-program = { path = "../programs/storage", version = "1.0.10" }
solana-vote-program = { path = "../programs/vote", version = "1.0.9" } solana-vote-program = { path = "../programs/vote", version = "1.0.10" }
solana-vote-signer = { path = "../vote-signer", version = "1.0.9" } solana-vote-signer = { path = "../vote-signer", version = "1.0.10" }
titlecase = "1.1.0" titlecase = "1.1.0"
thiserror = "1.0.11" thiserror = "1.0.11"
url = "2.1.1" url = "2.1.1"
[dev-dependencies] [dev-dependencies]
solana-core = { path = "../core", version = "1.0.9" } solana-core = { path = "../core", version = "1.0.10" }
solana-budget-program = { path = "../programs/budget", version = "1.0.9" } solana-budget-program = { path = "../programs/budget", version = "1.0.10" }
tempfile = "3.1.0" tempfile = "3.1.0"
[[bin]] [[bin]]

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "solana-client" name = "solana-client"
version = "1.0.9" version = "1.0.10"
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"
@@ -19,9 +19,9 @@ reqwest = { version = "0.10.1", default-features = false, features = ["blocking"
serde = "1.0.104" serde = "1.0.104"
serde_derive = "1.0.103" serde_derive = "1.0.103"
serde_json = "1.0.46" serde_json = "1.0.46"
solana-net-utils = { path = "../net-utils", version = "1.0.9" } solana-net-utils = { path = "../net-utils", version = "1.0.10" }
solana-sdk = { path = "../sdk", version = "1.0.9" } solana-sdk = { path = "../sdk", version = "1.0.10" }
solana-vote-program = { path = "../programs/vote", version = "1.0.9" } solana-vote-program = { path = "../programs/vote", version = "1.0.10" }
thiserror = "1.0" thiserror = "1.0"
tungstenite = "0.10.1" tungstenite = "0.10.1"
url = "2.1.1" url = "2.1.1"
@@ -30,4 +30,4 @@ url = "2.1.1"
assert_matches = "1.3.0" assert_matches = "1.3.0"
jsonrpc-core = "14.0.5" jsonrpc-core = "14.0.5"
jsonrpc-http-server = "14.0.6" jsonrpc-http-server = "14.0.6"
solana-logger = { path = "../logger", version = "1.0.9" } solana-logger = { path = "../logger", version = "1.0.10" }

View File

@@ -1,7 +1,7 @@
[package] [package]
name = "solana-core" name = "solana-core"
description = "Blockchain, Rebuilt for Scale" description = "Blockchain, Rebuilt for Scale"
version = "1.0.9" version = "1.0.10"
documentation = "https://docs.rs/solana" documentation = "https://docs.rs/solana"
homepage = "https://solana.com/" homepage = "https://solana.com/"
readme = "../README.md" readme = "../README.md"
@@ -43,33 +43,33 @@ regex = "1.3.4"
serde = "1.0.104" serde = "1.0.104"
serde_derive = "1.0.103" serde_derive = "1.0.103"
serde_json = "1.0.46" serde_json = "1.0.46"
solana-budget-program = { path = "../programs/budget", version = "1.0.9" } solana-budget-program = { path = "../programs/budget", version = "1.0.10" }
solana-clap-utils = { path = "../clap-utils", version = "1.0.9" } solana-clap-utils = { path = "../clap-utils", version = "1.0.10" }
solana-client = { path = "../client", version = "1.0.9" } solana-client = { path = "../client", version = "1.0.10" }
solana-faucet = { path = "../faucet", version = "1.0.9" } solana-faucet = { path = "../faucet", version = "1.0.10" }
ed25519-dalek = "=1.0.0-pre.1" ed25519-dalek = "=1.0.0-pre.1"
solana-ledger = { path = "../ledger", version = "1.0.9" } solana-ledger = { path = "../ledger", version = "1.0.10" }
solana-logger = { path = "../logger", version = "1.0.9" } solana-logger = { path = "../logger", version = "1.0.10" }
solana-merkle-tree = { path = "../merkle-tree", version = "1.0.9" } solana-merkle-tree = { path = "../merkle-tree", version = "1.0.10" }
solana-metrics = { path = "../metrics", version = "1.0.9" } solana-metrics = { path = "../metrics", version = "1.0.10" }
solana-measure = { path = "../measure", version = "1.0.9" } solana-measure = { path = "../measure", version = "1.0.10" }
solana-net-utils = { path = "../net-utils", version = "1.0.9" } solana-net-utils = { path = "../net-utils", version = "1.0.10" }
solana-chacha-cuda = { path = "../chacha-cuda", version = "1.0.9" } solana-chacha-cuda = { path = "../chacha-cuda", version = "1.0.10" }
solana-perf = { path = "../perf", version = "1.0.9" } solana-perf = { path = "../perf", version = "1.0.10" }
solana-runtime = { path = "../runtime", version = "1.0.9" } solana-runtime = { path = "../runtime", version = "1.0.10" }
solana-sdk = { path = "../sdk", version = "1.0.9" } solana-sdk = { path = "../sdk", version = "1.0.10" }
solana-stake-program = { path = "../programs/stake", version = "1.0.9" } solana-stake-program = { path = "../programs/stake", version = "1.0.10" }
solana-storage-program = { path = "../programs/storage", version = "1.0.9" } solana-storage-program = { path = "../programs/storage", version = "1.0.10" }
solana-vote-program = { path = "../programs/vote", version = "1.0.9" } solana-vote-program = { path = "../programs/vote", version = "1.0.10" }
solana-vote-signer = { path = "../vote-signer", version = "1.0.9" } solana-vote-signer = { path = "../vote-signer", version = "1.0.10" }
solana-sys-tuner = { path = "../sys-tuner", version = "1.0.9" } solana-sys-tuner = { path = "../sys-tuner", version = "1.0.10" }
tempfile = "3.1.0" tempfile = "3.1.0"
thiserror = "1.0" thiserror = "1.0"
tokio = "0.1" tokio = "0.1"
tokio-codec = "0.1" tokio-codec = "0.1"
tokio-fs = "0.1" tokio-fs = "0.1"
tokio-io = "0.1" tokio-io = "0.1"
solana-rayon-threadlimit = { path = "../rayon-threadlimit", version = "1.0.9" } solana-rayon-threadlimit = { path = "../rayon-threadlimit", version = "1.0.10" }
trees = "0.2.1" trees = "0.2.1"
[dev-dependencies] [dev-dependencies]

View File

@@ -142,10 +142,12 @@ impl RpcSolPubSub for RpcSolPubSubImpl {
let id = self.uid.fetch_add(1, atomic::Ordering::Relaxed); let id = self.uid.fetch_add(1, atomic::Ordering::Relaxed);
let sub_id = SubscriptionId::Number(id as u64); let sub_id = SubscriptionId::Number(id as u64);
info!("account_subscribe: account={:?} id={:?}", pubkey, sub_id); info!("account_subscribe: account={:?} id={:?}", pubkey, sub_id);
let sink = subscriber.assign_id(sub_id.clone()).unwrap(); self.subscriptions.add_account_subscription(
pubkey,
self.subscriptions confirmations,
.add_account_subscription(&pubkey, confirmations, &sub_id, &sink) sub_id,
subscriber,
)
} }
Err(e) => subscriber.reject(e).unwrap(), Err(e) => subscriber.reject(e).unwrap(),
} }
@@ -180,10 +182,12 @@ impl RpcSolPubSub for RpcSolPubSubImpl {
let id = self.uid.fetch_add(1, atomic::Ordering::Relaxed); let id = self.uid.fetch_add(1, atomic::Ordering::Relaxed);
let sub_id = SubscriptionId::Number(id as u64); let sub_id = SubscriptionId::Number(id as u64);
info!("program_subscribe: account={:?} id={:?}", pubkey, sub_id); info!("program_subscribe: account={:?} id={:?}", pubkey, sub_id);
let sink = subscriber.assign_id(sub_id.clone()).unwrap(); self.subscriptions.add_program_subscription(
pubkey,
self.subscriptions confirmations,
.add_program_subscription(&pubkey, confirmations, &sub_id, &sink) sub_id,
subscriber,
)
} }
Err(e) => subscriber.reject(e).unwrap(), Err(e) => subscriber.reject(e).unwrap(),
} }
@@ -222,13 +226,11 @@ impl RpcSolPubSub for RpcSolPubSubImpl {
"signature_subscribe: signature={:?} id={:?}", "signature_subscribe: signature={:?} id={:?}",
signature, sub_id signature, sub_id
); );
let sink = subscriber.assign_id(sub_id.clone()).unwrap();
self.subscriptions.add_signature_subscription( self.subscriptions.add_signature_subscription(
&signature, signature,
confirmations, confirmations,
&sub_id, sub_id,
&sink, subscriber,
); );
} }
Err(e) => subscriber.reject(e).unwrap(), Err(e) => subscriber.reject(e).unwrap(),
@@ -257,9 +259,7 @@ impl RpcSolPubSub for RpcSolPubSubImpl {
let id = self.uid.fetch_add(1, atomic::Ordering::Relaxed); let id = self.uid.fetch_add(1, atomic::Ordering::Relaxed);
let sub_id = SubscriptionId::Number(id as u64); let sub_id = SubscriptionId::Number(id as u64);
info!("slot_subscribe: id={:?}", sub_id); info!("slot_subscribe: id={:?}", sub_id);
let sink = subscriber.assign_id(sub_id.clone()).unwrap(); self.subscriptions.add_slot_subscription(sub_id, subscriber);
self.subscriptions.add_slot_subscription(&sub_id, &sink);
} }
fn slot_unsubscribe(&self, _meta: Option<Self::Metadata>, id: SubscriptionId) -> Result<bool> { fn slot_unsubscribe(&self, _meta: Option<Self::Metadata>, id: SubscriptionId) -> Result<bool> {

View File

@@ -2,7 +2,10 @@
use core::hash::Hash; use core::hash::Hash;
use jsonrpc_core::futures::Future; use jsonrpc_core::futures::Future;
use jsonrpc_pubsub::{typed::Sink, SubscriptionId}; use jsonrpc_pubsub::{
typed::{Sink, Subscriber},
SubscriptionId,
};
use serde::Serialize; use serde::Serialize;
use solana_client::rpc_response::{Response, RpcAccount, RpcKeyedAccount, RpcResponseContext}; use solana_client::rpc_response::{Response, RpcAccount, RpcKeyedAccount, RpcResponseContext};
use solana_ledger::bank_forks::BankForks; use solana_ledger::bank_forks::BankForks;
@@ -64,27 +67,28 @@ type RpcSlotSubscriptions = RwLock<HashMap<SubscriptionId, Sink<SlotInfo>>>;
fn add_subscription<K, S>( fn add_subscription<K, S>(
subscriptions: &mut HashMap<K, HashMap<SubscriptionId, (Sink<S>, Confirmations)>>, subscriptions: &mut HashMap<K, HashMap<SubscriptionId, (Sink<S>, Confirmations)>>,
hashmap_key: &K, hashmap_key: K,
confirmations: Option<Confirmations>, confirmations: Option<Confirmations>,
sub_id: &SubscriptionId, sub_id: SubscriptionId,
sink: &Sink<S>, subscriber: Subscriber<S>,
) where ) where
K: Eq + Hash + Clone + Copy, K: Eq + Hash,
S: Clone, S: Clone,
{ {
let sink = subscriber.assign_id(sub_id.clone()).unwrap();
let confirmations = confirmations.unwrap_or(0); let confirmations = confirmations.unwrap_or(0);
let confirmations = if confirmations > MAX_LOCKOUT_HISTORY { let confirmations = if confirmations > MAX_LOCKOUT_HISTORY {
MAX_LOCKOUT_HISTORY MAX_LOCKOUT_HISTORY
} else { } else {
confirmations confirmations
}; };
if let Some(current_hashmap) = subscriptions.get_mut(hashmap_key) { if let Some(current_hashmap) = subscriptions.get_mut(&hashmap_key) {
current_hashmap.insert(sub_id.clone(), (sink.clone(), confirmations)); current_hashmap.insert(sub_id, (sink, confirmations));
return; return;
} }
let mut hashmap = HashMap::new(); let mut hashmap = HashMap::new();
hashmap.insert(sub_id.clone(), (sink.clone(), confirmations)); hashmap.insert(sub_id, (sink, confirmations));
subscriptions.insert(*hashmap_key, hashmap); subscriptions.insert(hashmap_key, hashmap);
} }
fn remove_subscription<K, S>( fn remove_subscription<K, S>(
@@ -92,13 +96,13 @@ fn remove_subscription<K, S>(
sub_id: &SubscriptionId, sub_id: &SubscriptionId,
) -> bool ) -> bool
where where
K: Eq + Hash + Clone + Copy, K: Eq + Hash,
S: Clone, S: Clone,
{ {
let mut found = false; let mut found = false;
subscriptions.retain(|_, v| { subscriptions.retain(|_, v| {
v.retain(|k, _| { v.retain(|k, _| {
let retain = *k != *sub_id; let retain = k != sub_id;
if !retain { if !retain {
found = true; found = true;
} }
@@ -358,13 +362,19 @@ impl RpcSubscriptions {
pub fn add_account_subscription( pub fn add_account_subscription(
&self, &self,
pubkey: &Pubkey, pubkey: Pubkey,
confirmations: Option<Confirmations>, confirmations: Option<Confirmations>,
sub_id: &SubscriptionId, sub_id: SubscriptionId,
sink: &Sink<Response<RpcAccount>>, subscriber: Subscriber<Response<RpcAccount>>,
) { ) {
let mut subscriptions = self.account_subscriptions.write().unwrap(); let mut subscriptions = self.account_subscriptions.write().unwrap();
add_subscription(&mut subscriptions, pubkey, confirmations, sub_id, sink); add_subscription(
&mut subscriptions,
pubkey,
confirmations,
sub_id,
subscriber,
);
} }
pub fn remove_account_subscription(&self, id: &SubscriptionId) -> bool { pub fn remove_account_subscription(&self, id: &SubscriptionId) -> bool {
@@ -374,13 +384,19 @@ impl RpcSubscriptions {
pub fn add_program_subscription( pub fn add_program_subscription(
&self, &self,
program_id: &Pubkey, program_id: Pubkey,
confirmations: Option<Confirmations>, confirmations: Option<Confirmations>,
sub_id: &SubscriptionId, sub_id: SubscriptionId,
sink: &Sink<Response<RpcKeyedAccount>>, subscriber: Subscriber<Response<RpcKeyedAccount>>,
) { ) {
let mut subscriptions = self.program_subscriptions.write().unwrap(); let mut subscriptions = self.program_subscriptions.write().unwrap();
add_subscription(&mut subscriptions, program_id, confirmations, sub_id, sink); add_subscription(
&mut subscriptions,
program_id,
confirmations,
sub_id,
subscriber,
);
} }
pub fn remove_program_subscription(&self, id: &SubscriptionId) -> bool { pub fn remove_program_subscription(&self, id: &SubscriptionId) -> bool {
@@ -390,13 +406,19 @@ impl RpcSubscriptions {
pub fn add_signature_subscription( pub fn add_signature_subscription(
&self, &self,
signature: &Signature, signature: Signature,
confirmations: Option<Confirmations>, confirmations: Option<Confirmations>,
sub_id: &SubscriptionId, sub_id: SubscriptionId,
sink: &Sink<Response<transaction::Result<()>>>, subscriber: Subscriber<Response<transaction::Result<()>>>,
) { ) {
let mut subscriptions = self.signature_subscriptions.write().unwrap(); let mut subscriptions = self.signature_subscriptions.write().unwrap();
add_subscription(&mut subscriptions, signature, confirmations, sub_id, sink); add_subscription(
&mut subscriptions,
signature,
confirmations,
sub_id,
subscriber,
);
} }
pub fn remove_signature_subscription(&self, id: &SubscriptionId) -> bool { pub fn remove_signature_subscription(&self, id: &SubscriptionId) -> bool {
@@ -410,9 +432,10 @@ impl RpcSubscriptions {
self.enqueue_notification(NotificationEntry::Bank((current_slot, bank_forks.clone()))); self.enqueue_notification(NotificationEntry::Bank((current_slot, bank_forks.clone())));
} }
pub fn add_slot_subscription(&self, sub_id: &SubscriptionId, sink: &Sink<SlotInfo>) { pub fn add_slot_subscription(&self, sub_id: SubscriptionId, subscriber: Subscriber<SlotInfo>) {
let sink = subscriber.assign_id(sub_id.clone()).unwrap();
let mut subscriptions = self.slot_subscriptions.write().unwrap(); let mut subscriptions = self.slot_subscriptions.write().unwrap();
subscriptions.insert(sub_id.clone(), sink.clone()); subscriptions.insert(sub_id, sink);
} }
pub fn remove_slot_subscription(&self, id: &SubscriptionId) -> bool { pub fn remove_slot_subscription(&self, id: &SubscriptionId) -> bool {
@@ -600,10 +623,9 @@ pub(crate) mod tests {
let (subscriber, _id_receiver, transport_receiver) = let (subscriber, _id_receiver, transport_receiver) =
Subscriber::new_test("accountNotification"); Subscriber::new_test("accountNotification");
let sub_id = SubscriptionId::Number(0 as u64); let sub_id = SubscriptionId::Number(0 as u64);
let sink = subscriber.assign_id(sub_id.clone()).unwrap();
let exit = Arc::new(AtomicBool::new(false)); let exit = Arc::new(AtomicBool::new(false));
let subscriptions = RpcSubscriptions::new(&exit); let subscriptions = RpcSubscriptions::new(&exit);
subscriptions.add_account_subscription(&alice.pubkey(), None, &sub_id, &sink); subscriptions.add_account_subscription(alice.pubkey(), None, sub_id.clone(), subscriber);
assert!(subscriptions assert!(subscriptions
.account_subscriptions .account_subscriptions
@@ -670,10 +692,14 @@ pub(crate) mod tests {
let (subscriber, _id_receiver, transport_receiver) = let (subscriber, _id_receiver, transport_receiver) =
Subscriber::new_test("programNotification"); Subscriber::new_test("programNotification");
let sub_id = SubscriptionId::Number(0 as u64); let sub_id = SubscriptionId::Number(0 as u64);
let sink = subscriber.assign_id(sub_id.clone()).unwrap();
let exit = Arc::new(AtomicBool::new(false)); let exit = Arc::new(AtomicBool::new(false));
let subscriptions = RpcSubscriptions::new(&exit); let subscriptions = RpcSubscriptions::new(&exit);
subscriptions.add_program_subscription(&solana_budget_program::id(), None, &sub_id, &sink); subscriptions.add_program_subscription(
solana_budget_program::id(),
None,
sub_id.clone(),
subscriber,
);
assert!(subscriptions assert!(subscriptions
.program_subscriptions .program_subscriptions
@@ -750,40 +776,62 @@ pub(crate) mod tests {
let bank_forks = Arc::new(RwLock::new(bank_forks)); let bank_forks = Arc::new(RwLock::new(bank_forks));
let (subscriber, _id_receiver, transport_receiver) =
Subscriber::new_test("signatureNotification");
let sink = subscriber.assign_id(SubscriptionId::Number(0)).unwrap();
let exit = Arc::new(AtomicBool::new(false)); let exit = Arc::new(AtomicBool::new(false));
let subscriptions = RpcSubscriptions::new(&exit); let subscriptions = RpcSubscriptions::new(&exit);
let (past_bank_sub, _id_receiver, past_bank_recv) =
Subscriber::new_test("signatureNotification");
let (processed_sub, _id_receiver, processed_recv) =
Subscriber::new_test("signatureNotification");
subscriptions.add_signature_subscription( subscriptions.add_signature_subscription(
&past_bank_tx.signatures[0], past_bank_tx.signatures[0],
Some(0), Some(0),
&SubscriptionId::Number(1 as u64), SubscriptionId::Number(1 as u64),
&sink.clone(), Subscriber::new_test("signatureNotification").0,
); );
subscriptions.add_signature_subscription( subscriptions.add_signature_subscription(
&processed_tx.signatures[0], past_bank_tx.signatures[0],
Some(0), Some(1),
&SubscriptionId::Number(2 as u64), SubscriptionId::Number(2 as u64),
&sink.clone(), past_bank_sub,
); );
subscriptions.add_signature_subscription( subscriptions.add_signature_subscription(
&unprocessed_tx.signatures[0], processed_tx.signatures[0],
Some(0), Some(0),
&SubscriptionId::Number(3 as u64), SubscriptionId::Number(3 as u64),
&sink.clone(), processed_sub,
);
subscriptions.add_signature_subscription(
unprocessed_tx.signatures[0],
Some(0),
SubscriptionId::Number(4 as u64),
Subscriber::new_test("signatureNotification").0,
); );
{ {
let sig_subs = subscriptions.signature_subscriptions.read().unwrap(); let sig_subs = subscriptions.signature_subscriptions.read().unwrap();
assert!(sig_subs.contains_key(&past_bank_tx.signatures[0])); assert_eq!(sig_subs.get(&past_bank_tx.signatures[0]).unwrap().len(), 2);
assert!(sig_subs.contains_key(&unprocessed_tx.signatures[0])); assert!(sig_subs.contains_key(&unprocessed_tx.signatures[0]));
assert!(sig_subs.contains_key(&processed_tx.signatures[0])); assert!(sig_subs.contains_key(&processed_tx.signatures[0]));
} }
subscriptions.notify_subscribers(1, &bank_forks); subscriptions.notify_subscribers(1, &bank_forks);
let response = robust_poll_or_panic(transport_receiver);
let expected_res: Option<transaction::Result<()>> = Some(Ok(())); let expected_res: Option<transaction::Result<()>> = Some(Ok(()));
let expected = json!({
"jsonrpc": "2.0",
"method": "signatureNotification",
"params": {
"result": {
"context": { "slot": 0 },
"value": expected_res,
},
"subscription": 2,
}
});
let response = robust_poll_or_panic(past_bank_recv);
assert_eq!(serde_json::to_string(&expected).unwrap(), response);
let expected = json!({ let expected = json!({
"jsonrpc": "2.0", "jsonrpc": "2.0",
"method": "signatureNotification", "method": "signatureNotification",
@@ -792,9 +840,10 @@ pub(crate) mod tests {
"context": { "slot": 1 }, "context": { "slot": 1 },
"value": expected_res, "value": expected_res,
}, },
"subscription": 0, "subscription": 3,
} }
}); });
let response = robust_poll_or_panic(processed_recv);
assert_eq!(serde_json::to_string(&expected).unwrap(), response); assert_eq!(serde_json::to_string(&expected).unwrap(), response);
let sig_subs = subscriptions.signature_subscriptions.read().unwrap(); let sig_subs = subscriptions.signature_subscriptions.read().unwrap();
@@ -810,34 +859,6 @@ pub(crate) mod tests {
sig_subs.get(&unprocessed_tx.signatures[0]).unwrap().len(), sig_subs.get(&unprocessed_tx.signatures[0]).unwrap().len(),
1 1
); );
let (subscriber, _id_receiver, transport_receiver) =
Subscriber::new_test("signatureNotification");
let sink = subscriber.assign_id(SubscriptionId::Number(0)).unwrap();
let exit = Arc::new(AtomicBool::new(false));
let subscriptions = RpcSubscriptions::new(&exit);
subscriptions.add_signature_subscription(
&past_bank_tx.signatures[0],
Some(1),
&SubscriptionId::Number(1 as u64),
&sink.clone(),
);
subscriptions.notify_subscribers(1, &bank_forks);
let response = robust_poll_or_panic(transport_receiver);
let expected_res: Option<transaction::Result<()>> = Some(Ok(()));
let expected = json!({
"jsonrpc": "2.0",
"method": "signatureNotification",
"params": {
"result": {
"context": { "slot": 0 },
"value": expected_res,
},
"subscription": 0,
}
});
assert_eq!(serde_json::to_string(&expected).unwrap(), response);
} }
#[test] #[test]
@@ -845,10 +866,9 @@ pub(crate) mod tests {
let (subscriber, _id_receiver, transport_receiver) = let (subscriber, _id_receiver, transport_receiver) =
Subscriber::new_test("slotNotification"); Subscriber::new_test("slotNotification");
let sub_id = SubscriptionId::Number(0 as u64); let sub_id = SubscriptionId::Number(0 as u64);
let sink = subscriber.assign_id(sub_id.clone()).unwrap();
let exit = Arc::new(AtomicBool::new(false)); let exit = Arc::new(AtomicBool::new(false));
let subscriptions = RpcSubscriptions::new(&exit); let subscriptions = RpcSubscriptions::new(&exit);
subscriptions.add_slot_subscription(&sub_id, &sink); subscriptions.add_slot_subscription(sub_id.clone(), subscriber);
assert!(subscriptions assert!(subscriptions
.slot_subscriptions .slot_subscriptions
@@ -881,27 +901,29 @@ pub(crate) mod tests {
#[test] #[test]
fn test_add_and_remove_subscription() { fn test_add_and_remove_subscription() {
let (subscriber, _id_receiver, _transport_receiver) = Subscriber::new_test("notification");
let sink = subscriber
.assign_id(SubscriptionId::String("test".to_string()))
.unwrap();
let mut subscriptions: HashMap<u64, HashMap<SubscriptionId, (Sink<()>, Confirmations)>> = let mut subscriptions: HashMap<u64, HashMap<SubscriptionId, (Sink<()>, Confirmations)>> =
HashMap::new(); HashMap::new();
let num_keys = 5; let num_keys = 5;
let mut next_id: u64 = 0; for key in 0..num_keys {
for _ in 0..num_keys { let (subscriber, _id_receiver, _transport_receiver) =
let key = next_id; Subscriber::new_test("notification");
let sub_id = SubscriptionId::Number(next_id); let sub_id = SubscriptionId::Number(key);
add_subscription(&mut subscriptions, &key, None, &sub_id, &sink.clone()); add_subscription(&mut subscriptions, key, None, sub_id, subscriber);
next_id += 1;
} }
// Add another subscription to the "0" key // Add another subscription to the "0" key
let sub_id = SubscriptionId::Number(next_id); let (subscriber, _id_receiver, _transport_receiver) = Subscriber::new_test("notification");
add_subscription(&mut subscriptions, &0, None, &sub_id, &sink.clone()); let extra_sub_id = SubscriptionId::Number(num_keys);
add_subscription(
&mut subscriptions,
0,
None,
extra_sub_id.clone(),
subscriber,
);
assert_eq!(subscriptions.len(), num_keys); assert_eq!(subscriptions.len(), num_keys as usize);
assert_eq!(subscriptions.get(&0).unwrap().len(), 2); assert_eq!(subscriptions.get(&0).unwrap().len(), 2);
assert_eq!(subscriptions.get(&1).unwrap().len(), 1); assert_eq!(subscriptions.get(&1).unwrap().len(), 1);
@@ -909,18 +931,15 @@ pub(crate) mod tests {
remove_subscription(&mut subscriptions, &SubscriptionId::Number(0)), remove_subscription(&mut subscriptions, &SubscriptionId::Number(0)),
true true
); );
assert_eq!(subscriptions.len(), num_keys); assert_eq!(subscriptions.len(), num_keys as usize);
assert_eq!(subscriptions.get(&0).unwrap().len(), 1); assert_eq!(subscriptions.get(&0).unwrap().len(), 1);
assert_eq!( assert_eq!(
remove_subscription(&mut subscriptions, &SubscriptionId::Number(0)), remove_subscription(&mut subscriptions, &SubscriptionId::Number(0)),
false false
); );
assert_eq!( assert_eq!(remove_subscription(&mut subscriptions, &extra_sub_id), true);
remove_subscription(&mut subscriptions, &SubscriptionId::Number(next_id)), assert_eq!(subscriptions.len(), (num_keys - 1) as usize);
true
);
assert_eq!(subscriptions.len(), num_keys - 1);
assert!(subscriptions.get(&0).is_none()); assert!(subscriptions.get(&0).is_none());
} }
} }

View File

@@ -271,7 +271,7 @@ fn test_rpc_subscriptions() {
}); });
let rpc_client = RpcClient::new_socket(leader_data.rpc); let rpc_client = RpcClient::new_socket(leader_data.rpc);
let transaction_count = rpc_client let mut transaction_count = rpc_client
.get_transaction_count_with_commitment(CommitmentConfig::recent()) .get_transaction_count_with_commitment(CommitmentConfig::recent())
.unwrap(); .unwrap();
@@ -281,10 +281,10 @@ fn test_rpc_subscriptions() {
.send_to(&bincode::serialize(&tx).unwrap(), leader_data.tpu) .send_to(&bincode::serialize(&tx).unwrap(), leader_data.tpu)
.unwrap(); .unwrap();
}); });
let mut x = 0;
let now = Instant::now(); let now = Instant::now();
while x < transaction_count + 500 || now.elapsed() > Duration::from_secs(5) { let expected_transaction_count = transaction_count + transactions.len() as u64;
x = rpc_client while transaction_count < expected_transaction_count && now.elapsed() < Duration::from_secs(5) {
transaction_count = rpc_client
.get_transaction_count_with_commitment(CommitmentConfig::recent()) .get_transaction_count_with_commitment(CommitmentConfig::recent())
.unwrap(); .unwrap();
sleep(Duration::from_millis(200)); sleep(Duration::from_millis(200));

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "solana-crate-features" name = "solana-crate-features"
version = "1.0.9" version = "1.0.10"
description = "Solana Crate Features" description = "Solana Crate Features"
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"

View File

@@ -914,7 +914,7 @@ The result field will be a JSON object with the following fields:
// Request // Request
curl -X POST -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","id":1, "method":"getVersion"}' http://localhost:8899 curl -X POST -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","id":1, "method":"getVersion"}' http://localhost:8899
// Result // Result
{"jsonrpc":"2.0","result":{"solana-core": "1.0.9"},"id":1} {"jsonrpc":"2.0","result":{"solana-core": "1.0.10"},"id":1}
``` ```
### getVoteAccounts ### getVoteAccounts

View File

@@ -171,7 +171,7 @@ $ solana send-timestamp <PUBKEY> <PROCESS_ID> --date 2018-12-24T23:59:00
## Usage ## Usage
### solana-cli ### solana-cli
```text ```text
solana-cli 1.0.9 [channel=unknown commit=unknown] solana-cli 1.0.10 [channel=unknown commit=unknown]
Blockchain, Rebuilt for Scale Blockchain, Rebuilt for Scale
USAGE: USAGE:

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "solana-faucet" name = "solana-faucet"
version = "1.0.9" version = "1.0.10"
description = "Solana Faucet" description = "Solana Faucet"
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"
@@ -19,10 +19,10 @@ clap = "2.33"
log = "0.4.8" log = "0.4.8"
serde = "1.0.104" serde = "1.0.104"
serde_derive = "1.0.103" serde_derive = "1.0.103"
solana-clap-utils = { path = "../clap-utils", version = "1.0.9" } solana-clap-utils = { path = "../clap-utils", version = "1.0.10" }
solana-logger = { path = "../logger", version = "1.0.9" } solana-logger = { path = "../logger", version = "1.0.10" }
solana-metrics = { path = "../metrics", version = "1.0.9" } solana-metrics = { path = "../metrics", version = "1.0.10" }
solana-sdk = { path = "../sdk", version = "1.0.9" } solana-sdk = { path = "../sdk", version = "1.0.10" }
tokio = "0.1" tokio = "0.1"
tokio-codec = "0.1" tokio-codec = "0.1"

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "solana-genesis-programs" name = "solana-genesis-programs"
version = "1.0.9" version = "1.0.10"
description = "Solana genesis programs" description = "Solana genesis programs"
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,16 +10,16 @@ edition = "2018"
[dependencies] [dependencies]
log = { version = "0.4.8" } log = { version = "0.4.8" }
solana-bpf-loader-program = { path = "../programs/bpf_loader", version = "1.0.9" } solana-bpf-loader-program = { path = "../programs/bpf_loader", version = "1.0.10" }
solana-budget-program = { path = "../programs/budget", version = "1.0.9" } solana-budget-program = { path = "../programs/budget", version = "1.0.10" }
solana-config-program = { path = "../programs/config", version = "1.0.9" } solana-config-program = { path = "../programs/config", version = "1.0.10" }
solana-exchange-program = { path = "../programs/exchange", version = "1.0.9" } solana-exchange-program = { path = "../programs/exchange", version = "1.0.10" }
solana-runtime = { path = "../runtime", version = "1.0.9" } solana-runtime = { path = "../runtime", version = "1.0.10" }
solana-sdk = { path = "../sdk", version = "1.0.9" } solana-sdk = { path = "../sdk", version = "1.0.10" }
solana-stake-program = { path = "../programs/stake", version = "1.0.9" } solana-stake-program = { path = "../programs/stake", version = "1.0.10" }
solana-storage-program = { path = "../programs/storage", version = "1.0.9" } solana-storage-program = { path = "../programs/storage", version = "1.0.10" }
solana-vest-program = { path = "../programs/vest", version = "1.0.9" } solana-vest-program = { path = "../programs/vest", version = "1.0.10" }
solana-vote-program = { path = "../programs/vote", version = "1.0.9" } solana-vote-program = { path = "../programs/vote", version = "1.0.10" }
[lib] [lib]
crate-type = ["lib"] crate-type = ["lib"]

View File

@@ -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 = "1.0.9" version = "1.0.10"
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/"
@@ -15,13 +15,13 @@ chrono = "0.4"
serde = "1.0.104" serde = "1.0.104"
serde_json = "1.0.46" serde_json = "1.0.46"
serde_yaml = "0.8.11" serde_yaml = "0.8.11"
solana-clap-utils = { path = "../clap-utils", version = "1.0.9" } solana-clap-utils = { path = "../clap-utils", version = "1.0.10" }
solana-genesis-programs = { path = "../genesis-programs", version = "1.0.9" } solana-genesis-programs = { path = "../genesis-programs", version = "1.0.10" }
solana-ledger = { path = "../ledger", version = "1.0.9" } solana-ledger = { path = "../ledger", version = "1.0.10" }
solana-sdk = { path = "../sdk", version = "1.0.9" } solana-sdk = { path = "../sdk", version = "1.0.10" }
solana-stake-program = { path = "../programs/stake", version = "1.0.9" } solana-stake-program = { path = "../programs/stake", version = "1.0.10" }
solana-storage-program = { path = "../programs/storage", version = "1.0.9" } solana-storage-program = { path = "../programs/storage", version = "1.0.10" }
solana-vote-program = { path = "../programs/vote", version = "1.0.9" } solana-vote-program = { path = "../programs/vote", version = "1.0.10" }
tempfile = "3.1.0" tempfile = "3.1.0"
[[bin]] [[bin]]

View File

@@ -3,19 +3,19 @@ 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 = "1.0.9" version = "1.0.10"
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-clap-utils = { path = "../clap-utils", version = "1.0.9" } solana-clap-utils = { path = "../clap-utils", version = "1.0.10" }
solana-core = { path = "../core", version = "1.0.9" } solana-core = { path = "../core", version = "1.0.10" }
solana-client = { path = "../client", version = "1.0.9" } solana-client = { path = "../client", version = "1.0.10" }
solana-logger = { path = "../logger", version = "1.0.9" } solana-logger = { path = "../logger", version = "1.0.10" }
solana-net-utils = { path = "../net-utils", version = "1.0.9" } solana-net-utils = { path = "../net-utils", version = "1.0.10" }
solana-sdk = { path = "../sdk", version = "1.0.9" } solana-sdk = { path = "../sdk", version = "1.0.10" }

View File

@@ -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 = "1.0.9" version = "1.0.10"
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/"
@@ -24,11 +24,11 @@ reqwest = { version = "0.10.1", default-features = false, features = ["blocking"
serde = "1.0.104" serde = "1.0.104"
serde_derive = "1.0.103" serde_derive = "1.0.103"
serde_yaml = "0.8.11" serde_yaml = "0.8.11"
solana-clap-utils = { path = "../clap-utils", version = "1.0.9" } solana-clap-utils = { path = "../clap-utils", version = "1.0.10" }
solana-client = { path = "../client", version = "1.0.9" } solana-client = { path = "../client", version = "1.0.10" }
solana-config-program = { path = "../programs/config", version = "1.0.9" } solana-config-program = { path = "../programs/config", version = "1.0.10" }
solana-logger = { path = "../logger", version = "1.0.9" } solana-logger = { path = "../logger", version = "1.0.10" }
solana-sdk = { path = "../sdk", version = "1.0.9" } solana-sdk = { path = "../sdk", version = "1.0.10" }
semver = "0.9.0" semver = "0.9.0"
tar = "0.4.26" tar = "0.4.26"
tempdir = "0.3.7" tempdir = "0.3.7"

View File

@@ -2,8 +2,10 @@
extern crate lazy_static; extern crate lazy_static;
use clap::{crate_description, crate_name, App, AppSettings, Arg, ArgMatches, SubCommand}; use clap::{crate_description, crate_name, App, AppSettings, Arg, ArgMatches, SubCommand};
use solana_clap_utils::input_validators::{is_pubkey, is_url}; use solana_clap_utils::{
use solana_sdk::pubkey::Pubkey; input_parsers::pubkey_of,
input_validators::{is_pubkey, is_url},
};
mod build_env; mod build_env;
mod command; mod command;
@@ -53,6 +55,30 @@ pub fn explicit_release_of(
}) })
} }
fn handle_init(matches: &ArgMatches<'_>, config_file: &str) -> Result<(), String> {
let json_rpc_url = matches.value_of("json_rpc_url").unwrap();
let update_manifest_pubkey = pubkey_of(&matches, "update_manifest_pubkey");
let data_dir = matches.value_of("data_dir").unwrap();
let no_modify_path = matches.is_present("no_modify_path");
let explicit_release = explicit_release_of(&matches, "explicit_release");
if update_manifest_pubkey.is_none() && explicit_release.is_none() {
Err(format!(
"Please specify the release to install for {}. See --help for more",
build_env::TARGET
))
} else {
command::init(
config_file,
data_dir,
json_rpc_url,
&update_manifest_pubkey.unwrap_or_default(),
no_modify_path,
explicit_release,
)
}
}
pub fn main() -> Result<(), String> { pub fn main() -> Result<(), String> {
solana_logger::setup(); solana_logger::setup();
@@ -111,7 +137,6 @@ pub fn main() -> Result<(), String> {
.long("pubkey") .long("pubkey")
.value_name("PUBKEY") .value_name("PUBKEY")
.takes_value(true) .takes_value(true)
.required(true)
.validator(is_pubkey) .validator(is_pubkey)
.help("Public key of the update manifest"), .help("Public key of the update manifest"),
) )
@@ -121,7 +146,7 @@ pub fn main() -> Result<(), String> {
.index(1) .index(1)
.conflicts_with_all(&["json_rpc_url", "update_manifest_pubkey"]) .conflicts_with_all(&["json_rpc_url", "update_manifest_pubkey"])
.validator(is_explicit_release) .validator(is_explicit_release)
.help("The exact version to install. Either a semver or release channel name"), .help("The release version or channel to install"),
), ),
) )
.subcommand( .subcommand(
@@ -206,26 +231,7 @@ pub fn main() -> Result<(), String> {
let config_file = matches.value_of("config_file").unwrap(); let config_file = matches.value_of("config_file").unwrap();
match matches.subcommand() { match matches.subcommand() {
("init", Some(matches)) => { ("init", Some(matches)) => handle_init(&matches, &config_file),
let json_rpc_url = matches.value_of("json_rpc_url").unwrap();
let update_manifest_pubkey = matches
.value_of("update_manifest_pubkey")
.unwrap()
.parse::<Pubkey>()
.unwrap();
let data_dir = matches.value_of("data_dir").unwrap();
let no_modify_path = matches.is_present("no_modify_path");
let explicit_release = explicit_release_of(&matches, "explicit_release");
command::init(
config_file,
data_dir,
json_rpc_url,
&update_manifest_pubkey,
no_modify_path,
explicit_release,
)
}
("info", Some(matches)) => { ("info", Some(matches)) => {
let local_info_only = matches.is_present("local_info_only"); let local_info_only = matches.is_present("local_info_only");
command::info(config_file, local_info_only).map(|_| ()) command::info(config_file, local_info_only).map(|_| ())
@@ -309,7 +315,6 @@ pub fn main_init() -> Result<(), String> {
.long("pubkey") .long("pubkey")
.value_name("PUBKEY") .value_name("PUBKEY")
.takes_value(true) .takes_value(true)
.required(true)
.validator(is_pubkey) .validator(is_pubkey)
.help("Public key of the update manifest"), .help("Public key of the update manifest"),
) )
@@ -319,28 +324,10 @@ pub fn main_init() -> Result<(), String> {
.index(1) .index(1)
.conflicts_with_all(&["json_rpc_url", "update_manifest_pubkey"]) .conflicts_with_all(&["json_rpc_url", "update_manifest_pubkey"])
.validator(is_explicit_release) .validator(is_explicit_release)
.help("The exact version to install. Updates will not be available if this argument is used"), .help("The release version or channel to install"),
) )
.get_matches(); .get_matches();
let config_file = matches.value_of("config_file").unwrap(); let config_file = matches.value_of("config_file").unwrap();
handle_init(&matches, &config_file)
let json_rpc_url = matches.value_of("json_rpc_url").unwrap();
let update_manifest_pubkey = matches
.value_of("update_manifest_pubkey")
.unwrap()
.parse::<Pubkey>()
.unwrap();
let data_dir = matches.value_of("data_dir").unwrap();
let no_modify_path = matches.is_present("no_modify_path");
let explicit_release = explicit_release_of(&matches, "explicit_release");
command::init(
config_file,
data_dir,
json_rpc_url,
&update_manifest_pubkey,
no_modify_path,
explicit_release,
)
} }

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "solana-keygen" name = "solana-keygen"
version = "1.0.9" version = "1.0.10"
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"
@@ -13,10 +13,10 @@ bs58 = "0.3.0"
clap = "2.33" clap = "2.33"
dirs = "2.0.2" dirs = "2.0.2"
num_cpus = "1.12.0" num_cpus = "1.12.0"
solana-clap-utils = { path = "../clap-utils", version = "1.0.9" } solana-clap-utils = { path = "../clap-utils", version = "1.0.10" }
solana-cli-config = { path = "../cli-config", version = "1.0.9" } solana-cli-config = { path = "../cli-config", version = "1.0.10" }
solana-remote-wallet = { path = "../remote-wallet", version = "1.0.9" } solana-remote-wallet = { path = "../remote-wallet", version = "1.0.10" }
solana-sdk = { path = "../sdk", version = "1.0.9" } solana-sdk = { path = "../sdk", version = "1.0.10" }
tiny-bip39 = "0.7.0" tiny-bip39 = "0.7.0"
[[bin]] [[bin]]

View File

@@ -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 = "1.0.9" version = "1.0.10"
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/"
@@ -14,12 +14,13 @@ clap = "2.33.0"
histogram = "*" histogram = "*"
serde_json = "1.0.46" serde_json = "1.0.46"
serde_yaml = "0.8.11" serde_yaml = "0.8.11"
solana-clap-utils = { path = "../clap-utils", version = "1.0.9" } solana-clap-utils = { path = "../clap-utils", version = "1.0.10" }
solana-ledger = { path = "../ledger", version = "1.0.9" } solana-ledger = { path = "../ledger", version = "1.0.10" }
solana-logger = { path = "../logger", version = "1.0.9" } solana-logger = { path = "../logger", version = "1.0.10" }
solana-runtime = { path = "../runtime", version = "1.0.9" } solana-runtime = { path = "../runtime", version = "1.0.10" }
solana-sdk = { path = "../sdk", version = "1.0.9" } solana-sdk = { path = "../sdk", version = "1.0.10" }
solana-vote-program = { path = "../programs/vote", version = "1.0.9" } solana-vote-program = { path = "../programs/vote", version = "1.0.10" }
solana-stake-program = { path = "../programs/stake", version = "1.0.10" }
tempfile = "3.1.0" tempfile = "3.1.0"
[dev-dependencies] [dev-dependencies]

View File

@@ -21,6 +21,7 @@ use solana_sdk::{
use solana_vote_program::vote_state::VoteState; use solana_vote_program::vote_state::VoteState;
use std::{ use std::{
collections::{BTreeMap, HashMap, HashSet}, collections::{BTreeMap, HashMap, HashSet},
convert::TryInto,
ffi::OsStr, ffi::OsStr,
fs::{self, File}, fs::{self, File},
io::{self, stdout, Write}, io::{self, stdout, Write},
@@ -35,6 +36,32 @@ enum LedgerOutputMethod {
Json, Json,
} }
fn output_slot_rewards(
blockstore: &Blockstore,
slot: Slot,
method: &LedgerOutputMethod,
) -> Result<(), String> {
// Note: rewards are not output in JSON yet
if *method == LedgerOutputMethod::Print {
if let Ok(rewards) = blockstore.read_rewards(slot) {
if let Some(rewards) = rewards {
if !rewards.is_empty() {
println!(" Rewards:");
for reward in rewards {
println!(
" Account {}: {}{} SOL",
reward.pubkey,
if reward.lamports < 0 { '-' } else { ' ' },
lamports_to_sol(reward.lamports.abs().try_into().unwrap())
);
}
}
}
}
}
Ok(())
}
fn output_slot( fn output_slot(
blockstore: &Blockstore, blockstore: &Blockstore,
slot: Slot, slot: Slot,
@@ -93,6 +120,15 @@ fn output_slot(
println!(" {:?}", vote_instruction); println!(" {:?}", vote_instruction);
raw = false; raw = false;
} }
} else if program_pubkey == solana_stake_program::id() {
if let Ok(stake_instruction) =
limited_deserialize::<
solana_stake_program::stake_instruction::StakeInstruction,
>(&instruction.data)
{
println!(" {:?}", stake_instruction);
raw = false;
}
} else if program_pubkey == solana_sdk::system_program::id() { } else if program_pubkey == solana_sdk::system_program::id() {
if let Ok(system_instruction) = if let Ok(system_instruction) =
limited_deserialize::< limited_deserialize::<
@@ -108,15 +144,62 @@ fn output_slot(
println!(" Data: {:?}", instruction.data); println!(" Data: {:?}", instruction.data);
} }
} }
match blockstore.read_transaction_status((slot, transaction.signatures[0])) {
Ok(transaction_status) => {
if let Some(transaction_status) = transaction_status {
println!(
" Status: {}",
if transaction_status.status.is_ok() {
"Ok".into()
} else {
transaction_status.status.unwrap_err().to_string()
}
);
println!(" Fee: {}", transaction_status.fee);
assert_eq!(
transaction_status.pre_balances.len(),
transaction_status.post_balances.len()
);
for (i, (pre, post)) in transaction_status
.pre_balances
.iter()
.zip(transaction_status.post_balances.iter())
.enumerate()
{
if pre == post {
println!(
" Account {} balance: {} SOL",
i,
lamports_to_sol(*pre)
);
} else {
println!(
" Account {} balance: {} SOL -> {} SOL",
i,
lamports_to_sol(*pre),
lamports_to_sol(*post)
);
}
}
} else {
println!(" Status: Unavailable");
}
}
Err(err) => {
println!(" Status: {:?}", err);
}
}
} }
} }
LedgerOutputMethod::Json => { LedgerOutputMethod::Json => {
// Note: transaction status is not output in JSON yet
serde_json::to_writer(stdout(), &entry).expect("serialize entry"); serde_json::to_writer(stdout(), &entry).expect("serialize entry");
stdout().write_all(b",\n").expect("newline"); stdout().write_all(b",\n").expect("newline");
} }
} }
} }
Ok(())
output_slot_rewards(blockstore, slot, method)
} }
fn output_ledger(blockstore: Blockstore, starting_slot: Slot, method: LedgerOutputMethod) { fn output_ledger(blockstore: Blockstore, starting_slot: Slot, method: LedgerOutputMethod) {

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "solana-ledger" name = "solana-ledger"
version = "1.0.9" version = "1.0.10"
description = "Solana ledger" description = "Solana ledger"
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"
@@ -28,19 +28,19 @@ reed-solomon-erasure = { package = "solana-reed-solomon-erasure", version = "4.0
regex = "1.3.4" regex = "1.3.4"
serde = "1.0.104" serde = "1.0.104"
serde_bytes = "0.11.3" serde_bytes = "0.11.3"
solana-client = { path = "../client", version = "1.0.9" } solana-client = { path = "../client", version = "1.0.10" }
solana-genesis-programs = { path = "../genesis-programs", version = "1.0.9" } solana-genesis-programs = { path = "../genesis-programs", version = "1.0.10" }
solana-logger = { path = "../logger", version = "1.0.9" } solana-logger = { path = "../logger", version = "1.0.10" }
solana-measure = { path = "../measure", version = "1.0.9" } solana-measure = { path = "../measure", version = "1.0.10" }
solana-merkle-tree = { path = "../merkle-tree", version = "1.0.9" } solana-merkle-tree = { path = "../merkle-tree", version = "1.0.10" }
solana-metrics = { path = "../metrics", version = "1.0.9" } solana-metrics = { path = "../metrics", version = "1.0.10" }
solana-perf = { path = "../perf", version = "1.0.9" } solana-perf = { path = "../perf", version = "1.0.10" }
ed25519-dalek = "1.0.0-pre.1" ed25519-dalek = "1.0.0-pre.1"
solana-rayon-threadlimit = { path = "../rayon-threadlimit", version = "1.0.9" } solana-rayon-threadlimit = { path = "../rayon-threadlimit", version = "1.0.10" }
solana-runtime = { path = "../runtime", version = "1.0.9" } solana-runtime = { path = "../runtime", version = "1.0.10" }
solana-sdk = { path = "../sdk", version = "1.0.9" } solana-sdk = { path = "../sdk", version = "1.0.10" }
solana-stake-program = { path = "../programs/stake", version = "1.0.9" } solana-stake-program = { path = "../programs/stake", version = "1.0.10" }
solana-vote-program = { path = "../programs/vote", version = "1.0.9" } solana-vote-program = { path = "../programs/vote", version = "1.0.10" }
symlink = "0.1.0" symlink = "0.1.0"
tar = "0.4.26" tar = "0.4.26"
thiserror = "1.0" thiserror = "1.0"
@@ -57,7 +57,7 @@ features = ["lz4"]
[dev-dependencies] [dev-dependencies]
assert_matches = "1.3.0" assert_matches = "1.3.0"
matches = "0.1.6" matches = "0.1.6"
solana-budget-program = { path = "../programs/budget", version = "1.0.9" } solana-budget-program = { path = "../programs/budget", version = "1.0.10" }
[lib] [lib]
crate-type = ["lib"] crate-type = ["lib"]

View File

@@ -1472,6 +1472,13 @@ impl Blockstore {
.collect() .collect()
} }
pub fn read_transaction_status(
&self,
index: (Slot, Signature),
) -> Result<Option<RpcTransactionStatusMeta>> {
self.transaction_status_cf.get(index)
}
pub fn write_transaction_status( pub fn write_transaction_status(
&self, &self,
index: (Slot, Signature), index: (Slot, Signature),
@@ -1480,6 +1487,10 @@ impl Blockstore {
self.transaction_status_cf.put(index, status) self.transaction_status_cf.put(index, status)
} }
pub fn read_rewards(&self, index: Slot) -> Result<Option<RpcRewards>> {
self.rewards_cf.get(index)
}
pub fn write_rewards(&self, index: Slot, rewards: RpcRewards) -> Result<()> { pub fn write_rewards(&self, index: Slot, rewards: RpcRewards) -> Result<()> {
self.rewards_cf.put(index, &rewards) self.rewards_cf.put(index, &rewards)
} }

View File

@@ -3,7 +3,7 @@ authors = ["Solana Maintainers <maintainers@solana.com>"]
edition = "2018" edition = "2018"
name = "solana-local-cluster" name = "solana-local-cluster"
description = "Blockchain, Rebuilt for Scale" description = "Blockchain, Rebuilt for Scale"
version = "1.0.9" version = "1.0.10"
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,23 +12,23 @@ homepage = "https://solana.com/"
itertools = "0.8.1" itertools = "0.8.1"
log = "0.4.8" log = "0.4.8"
rand = "0.6.5" rand = "0.6.5"
solana-archiver-lib = { path = "../archiver-lib", version = "1.0.9" } solana-archiver-lib = { path = "../archiver-lib", version = "1.0.10" }
solana-config-program = { path = "../programs/config", version = "1.0.9" } solana-config-program = { path = "../programs/config", version = "1.0.10" }
solana-core = { path = "../core", version = "1.0.9" } solana-core = { path = "../core", version = "1.0.10" }
solana-client = { path = "../client", version = "1.0.9" } solana-client = { path = "../client", version = "1.0.10" }
solana-faucet = { path = "../faucet", version = "1.0.9" } solana-faucet = { path = "../faucet", version = "1.0.10" }
solana-exchange-program = { path = "../programs/exchange", version = "1.0.9" } solana-exchange-program = { path = "../programs/exchange", version = "1.0.10" }
solana-genesis-programs = { path = "../genesis-programs", version = "1.0.9" } solana-genesis-programs = { path = "../genesis-programs", version = "1.0.10" }
solana-ledger = { path = "../ledger", version = "1.0.9" } solana-ledger = { path = "../ledger", version = "1.0.10" }
solana-logger = { path = "../logger", version = "1.0.9" } solana-logger = { path = "../logger", version = "1.0.10" }
solana-runtime = { path = "../runtime", version = "1.0.9" } solana-runtime = { path = "../runtime", version = "1.0.10" }
solana-sdk = { path = "../sdk", version = "1.0.9" } solana-sdk = { path = "../sdk", version = "1.0.10" }
solana-stake-program = { path = "../programs/stake", version = "1.0.9" } solana-stake-program = { path = "../programs/stake", version = "1.0.10" }
solana-storage-program = { path = "../programs/storage", version = "1.0.9" } solana-storage-program = { path = "../programs/storage", version = "1.0.10" }
solana-vest-program = { path = "../programs/vest", version = "1.0.9" } solana-vest-program = { path = "../programs/vest", version = "1.0.10" }
solana-vote-program = { path = "../programs/vote", version = "1.0.9" } solana-vote-program = { path = "../programs/vote", version = "1.0.10" }
tempfile = "3.1.0" tempfile = "3.1.0"
solana-rayon-threadlimit = { path = "../rayon-threadlimit", version = "1.0.9" } solana-rayon-threadlimit = { path = "../rayon-threadlimit", version = "1.0.10" }
[dev-dependencies] [dev-dependencies]
assert_matches = "1.3.0" assert_matches = "1.3.0"

View File

@@ -3,7 +3,7 @@ authors = ["Solana Maintainers <maintainers@solana.com>"]
edition = "2018" edition = "2018"
name = "solana-log-analyzer" name = "solana-log-analyzer"
description = "The solana cluster network analysis tool" description = "The solana cluster network analysis tool"
version = "1.0.9" version = "1.0.10"
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/"
@@ -14,8 +14,8 @@ byte-unit = "3.0.3"
clap = "2.33.0" clap = "2.33.0"
serde = "1.0.104" serde = "1.0.104"
serde_json = "1.0.46" serde_json = "1.0.46"
solana-clap-utils = { path = "../clap-utils", version = "1.0.9" } solana-clap-utils = { path = "../clap-utils", version = "1.0.10" }
solana-logger = { path = "../logger", version = "1.0.9" } solana-logger = { path = "../logger", version = "1.0.10" }
[[bin]] [[bin]]
name = "solana-log-analyzer" name = "solana-log-analyzer"

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "solana-logger" name = "solana-logger"
version = "1.0.9" version = "1.0.10"
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"

View File

@@ -1,7 +1,7 @@
[package] [package]
name = "solana-measure" name = "solana-measure"
description = "Blockchain, Rebuilt for Scale" description = "Blockchain, Rebuilt for Scale"
version = "1.0.9" version = "1.0.10"
documentation = "https://docs.rs/solana" documentation = "https://docs.rs/solana"
homepage = "https://solana.com/" homepage = "https://solana.com/"
readme = "../README.md" readme = "../README.md"
@@ -12,8 +12,8 @@ edition = "2018"
[dependencies] [dependencies]
log = "0.4.8" log = "0.4.8"
solana-sdk = { path = "../sdk", version = "1.0.9" } solana-sdk = { path = "../sdk", version = "1.0.10" }
solana-metrics = { path = "../metrics", version = "1.0.9" } solana-metrics = { path = "../metrics", version = "1.0.10" }
[target."cfg(unix)".dependencies] [target."cfg(unix)".dependencies]
jemallocator = "0.3.2" jemallocator = "0.3.2"

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "solana-merkle-tree" name = "solana-merkle-tree"
version = "1.0.9" version = "1.0.10"
description = "Solana Merkle Tree" description = "Solana Merkle Tree"
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,7 +9,7 @@ homepage = "https://solana.com/"
edition = "2018" edition = "2018"
[dependencies] [dependencies]
solana-sdk = { path = "../sdk", version = "1.0.9" } solana-sdk = { path = "../sdk", version = "1.0.10" }
[dev-dependencies] [dev-dependencies]
hex = "0.4.0" hex = "0.4.0"

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "solana-metrics" name = "solana-metrics"
version = "1.0.9" version = "1.0.10"
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"
@@ -14,7 +14,7 @@ gethostname = "0.2.1"
lazy_static = "1.4.0" lazy_static = "1.4.0"
log = "0.4.8" log = "0.4.8"
reqwest = { version = "0.10.1", default-features = false, features = ["blocking", "rustls-tls"] } reqwest = { version = "0.10.1", default-features = false, features = ["blocking", "rustls-tls"] }
solana-sdk = { path = "../sdk", version = "1.0.9" } solana-sdk = { path = "../sdk", version = "1.0.10" }
[dev-dependencies] [dev-dependencies]
rand = "0.6.5" rand = "0.6.5"

View File

@@ -3,7 +3,7 @@ authors = ["Solana Maintainers <maintainers@solana.com>"]
edition = "2018" edition = "2018"
name = "solana-net-shaper" name = "solana-net-shaper"
description = "The solana cluster network shaping tool" description = "The solana cluster network shaping tool"
version = "1.0.9" version = "1.0.10"
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/"
@@ -13,8 +13,8 @@ publish = false
clap = "2.33.0" clap = "2.33.0"
serde = "1.0.104" serde = "1.0.104"
serde_json = "1.0.46" serde_json = "1.0.46"
solana-clap-utils = { path = "../clap-utils", version = "1.0.9" } solana-clap-utils = { path = "../clap-utils", version = "1.0.10" }
solana-logger = { path = "../logger", version = "1.0.9" } solana-logger = { path = "../logger", version = "1.0.10" }
rand = "0.6.5" rand = "0.6.5"
[[bin]] [[bin]]

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "solana-net-utils" name = "solana-net-utils"
version = "1.0.9" version = "1.0.10"
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"
@@ -18,8 +18,8 @@ rand = "0.6.1"
serde = "1.0.104" serde = "1.0.104"
serde_derive = "1.0.103" serde_derive = "1.0.103"
socket2 = "0.3.11" socket2 = "0.3.11"
solana-clap-utils = { path = "../clap-utils", version = "1.0.9" } solana-clap-utils = { path = "../clap-utils", version = "1.0.10" }
solana-logger = { path = "../logger", version = "1.0.9" } solana-logger = { path = "../logger", version = "1.0.10" }
tokio = "0.1" tokio = "0.1"
tokio-codec = "0.1" tokio-codec = "0.1"

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "solana-perf" name = "solana-perf"
version = "1.0.9" version = "1.0.10"
description = "Solana Performance APIs" description = "Solana Performance APIs"
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,11 +17,11 @@ serde = "1.0.104"
dlopen_derive = "0.1.4" dlopen_derive = "0.1.4"
lazy_static = "1.4.0" lazy_static = "1.4.0"
log = "0.4.8" log = "0.4.8"
solana-sdk = { path = "../sdk", version = "1.0.9" } solana-sdk = { path = "../sdk", version = "1.0.10" }
solana-rayon-threadlimit = { path = "../rayon-threadlimit", version = "1.0.9" } solana-rayon-threadlimit = { path = "../rayon-threadlimit", version = "1.0.10" }
solana-budget-program = { path = "../programs/budget", version = "1.0.9" } solana-budget-program = { path = "../programs/budget", version = "1.0.10" }
solana-logger = { path = "../logger", version = "1.0.9" } solana-logger = { path = "../logger", version = "1.0.10" }
solana-metrics = { path = "../metrics", version = "1.0.9" } solana-metrics = { path = "../metrics", version = "1.0.10" }
[lib] [lib]
name = "solana_perf" name = "solana_perf"

232
programs/bpf/Cargo.lock generated
View File

@@ -177,12 +177,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]] [[package]]
name = "bumpalo" name = "bumpalo"
version = "3.1.2" version = "3.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]] [[package]]
name = "bv" name = "bv"
version = "0.11.0" version = "0.11.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [ dependencies = [
"feature-probe 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", "feature-probe 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -719,6 +719,15 @@ dependencies = [
"typenum 1.11.2 (registry+https://github.com/rust-lang/crates.io-index)", "typenum 1.11.2 (registry+https://github.com/rust-lang/crates.io-index)",
] ]
[[package]]
name = "gethostname"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)",
"winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]] [[package]]
name = "getrandom" name = "getrandom"
version = "0.1.12" version = "0.1.12"
@@ -1936,7 +1945,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]] [[package]]
name = "solana-bpf-loader-program" name = "solana-bpf-loader-program"
version = "1.1.0" version = "1.0.10"
dependencies = [ dependencies = [
"bincode 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "bincode 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
"byteorder 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)", "byteorder 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -1944,170 +1953,170 @@ dependencies = [
"log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
"num-derive 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", "num-derive 0.3.0 (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)",
"solana-logger 1.1.0", "solana-logger 1.0.10",
"solana-sdk 1.1.0", "solana-sdk 1.0.10",
"solana_rbpf 0.1.21 (registry+https://github.com/rust-lang/crates.io-index)", "solana_rbpf 0.1.21 (registry+https://github.com/rust-lang/crates.io-index)",
"thiserror 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", "thiserror 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
] ]
[[package]] [[package]]
name = "solana-bpf-programs" name = "solana-bpf-programs"
version = "1.1.0" version = "1.0.10"
dependencies = [ dependencies = [
"bincode 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "bincode 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
"byteorder 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)", "byteorder 1.3.2 (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-bpf-loader-program 1.1.0", "solana-bpf-loader-program 1.0.10",
"solana-logger 1.1.0", "solana-logger 1.0.10",
"solana-runtime 1.1.0", "solana-runtime 1.0.10",
"solana-sdk 1.1.0", "solana-sdk 1.0.10",
"solana_rbpf 0.1.21 (registry+https://github.com/rust-lang/crates.io-index)", "solana_rbpf 0.1.21 (registry+https://github.com/rust-lang/crates.io-index)",
"walkdir 2.2.9 (registry+https://github.com/rust-lang/crates.io-index)", "walkdir 2.2.9 (registry+https://github.com/rust-lang/crates.io-index)",
] ]
[[package]] [[package]]
name = "solana-bpf-rust-128bit" name = "solana-bpf-rust-128bit"
version = "1.1.0" version = "1.0.10"
dependencies = [ dependencies = [
"solana-bpf-rust-128bit-dep 1.1.0", "solana-bpf-rust-128bit-dep 1.0.10",
"solana-sdk 1.1.0", "solana-sdk 1.0.10",
"solana-sdk-bpf-test 1.1.0", "solana-sdk-bpf-test 1.0.10",
] ]
[[package]] [[package]]
name = "solana-bpf-rust-128bit-dep" name = "solana-bpf-rust-128bit-dep"
version = "1.1.0" version = "1.0.10"
dependencies = [ dependencies = [
"solana-sdk 1.1.0", "solana-sdk 1.0.10",
"solana-sdk-bpf-test 1.1.0", "solana-sdk-bpf-test 1.0.10",
] ]
[[package]] [[package]]
name = "solana-bpf-rust-alloc" name = "solana-bpf-rust-alloc"
version = "1.1.0" version = "1.0.10"
dependencies = [ dependencies = [
"solana-sdk 1.1.0", "solana-sdk 1.0.10",
"solana-sdk-bpf-test 1.1.0", "solana-sdk-bpf-test 1.0.10",
] ]
[[package]] [[package]]
name = "solana-bpf-rust-dep-crate" name = "solana-bpf-rust-dep-crate"
version = "1.1.0" version = "1.0.10"
dependencies = [ dependencies = [
"byteorder 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)", "byteorder 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
"solana-sdk 1.1.0", "solana-sdk 1.0.10",
"solana-sdk-bpf-test 1.1.0", "solana-sdk-bpf-test 1.0.10",
] ]
[[package]] [[package]]
name = "solana-bpf-rust-dup-accounts" name = "solana-bpf-rust-dup-accounts"
version = "1.1.0" version = "1.0.10"
dependencies = [ dependencies = [
"solana-sdk 1.1.0", "solana-sdk 1.0.10",
"solana-sdk-bpf-test 1.1.0", "solana-sdk-bpf-test 1.0.10",
] ]
[[package]] [[package]]
name = "solana-bpf-rust-error-handling" name = "solana-bpf-rust-error-handling"
version = "1.1.0" version = "1.0.10"
dependencies = [ dependencies = [
"num-derive 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)", "num-derive 0.2.5 (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)",
"solana-sdk 1.1.0", "solana-sdk 1.0.10",
"solana-sdk-bpf-test 1.1.0", "solana-sdk-bpf-test 1.0.10",
"thiserror 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", "thiserror 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
] ]
[[package]] [[package]]
name = "solana-bpf-rust-external-spend" name = "solana-bpf-rust-external-spend"
version = "1.1.0" version = "1.0.10"
dependencies = [ dependencies = [
"solana-sdk 1.1.0", "solana-sdk 1.0.10",
"solana-sdk-bpf-test 1.1.0", "solana-sdk-bpf-test 1.0.10",
] ]
[[package]] [[package]]
name = "solana-bpf-rust-iter" name = "solana-bpf-rust-iter"
version = "1.1.0" version = "1.0.10"
dependencies = [ dependencies = [
"solana-sdk 1.1.0", "solana-sdk 1.0.10",
"solana-sdk-bpf-test 1.1.0", "solana-sdk-bpf-test 1.0.10",
] ]
[[package]] [[package]]
name = "solana-bpf-rust-many-args" name = "solana-bpf-rust-many-args"
version = "1.1.0" version = "1.0.10"
dependencies = [ dependencies = [
"solana-bpf-rust-many-args-dep 1.1.0", "solana-bpf-rust-many-args-dep 1.0.10",
"solana-sdk 1.1.0", "solana-sdk 1.0.10",
"solana-sdk-bpf-test 1.1.0", "solana-sdk-bpf-test 1.0.10",
] ]
[[package]] [[package]]
name = "solana-bpf-rust-many-args-dep" name = "solana-bpf-rust-many-args-dep"
version = "1.1.0" version = "1.0.10"
dependencies = [ dependencies = [
"solana-sdk 1.1.0", "solana-sdk 1.0.10",
"solana-sdk-bpf-test 1.1.0", "solana-sdk-bpf-test 1.0.10",
] ]
[[package]] [[package]]
name = "solana-bpf-rust-noop" name = "solana-bpf-rust-noop"
version = "1.1.0" version = "1.0.10"
dependencies = [ dependencies = [
"solana-sdk 1.1.0", "solana-sdk 1.0.10",
"solana-sdk-bpf-test 1.1.0", "solana-sdk-bpf-test 1.0.10",
] ]
[[package]] [[package]]
name = "solana-bpf-rust-panic" name = "solana-bpf-rust-panic"
version = "1.1.0" version = "1.0.10"
dependencies = [ dependencies = [
"solana-sdk 1.1.0", "solana-sdk 1.0.10",
"solana-sdk-bpf-test 1.1.0", "solana-sdk-bpf-test 1.0.10",
] ]
[[package]] [[package]]
name = "solana-bpf-rust-param-passing" name = "solana-bpf-rust-param-passing"
version = "1.1.0" version = "1.0.10"
dependencies = [ dependencies = [
"solana-bpf-rust-param-passing-dep 1.1.0", "solana-bpf-rust-param-passing-dep 1.0.10",
"solana-sdk 1.1.0", "solana-sdk 1.0.10",
"solana-sdk-bpf-test 1.1.0", "solana-sdk-bpf-test 1.0.10",
] ]
[[package]] [[package]]
name = "solana-bpf-rust-param-passing-dep" name = "solana-bpf-rust-param-passing-dep"
version = "1.1.0" version = "1.0.10"
dependencies = [ dependencies = [
"solana-sdk 1.1.0", "solana-sdk 1.0.10",
"solana-sdk-bpf-test 1.1.0", "solana-sdk-bpf-test 1.0.10",
] ]
[[package]] [[package]]
name = "solana-bpf-rust-sysval" name = "solana-bpf-rust-sysval"
version = "1.1.0" version = "1.0.10"
dependencies = [ dependencies = [
"solana-sdk 1.1.0", "solana-sdk 1.0.10",
"solana-sdk-bpf-test 1.1.0", "solana-sdk-bpf-test 1.0.10",
] ]
[[package]] [[package]]
name = "solana-config-program" name = "solana-config-program"
version = "1.1.0" version = "1.0.10"
dependencies = [ dependencies = [
"bincode 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "bincode 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
"chrono 0.4.10 (registry+https://github.com/rust-lang/crates.io-index)", "chrono 0.4.10 (registry+https://github.com/rust-lang/crates.io-index)",
"log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)",
"serde_derive 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)", "serde_derive 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)",
"solana-logger 1.1.0", "solana-logger 1.0.10",
"solana-sdk 1.1.0", "solana-sdk 1.0.10",
] ]
[[package]] [[package]]
name = "solana-crate-features" name = "solana-crate-features"
version = "1.1.0" version = "1.0.10"
dependencies = [ dependencies = [
"backtrace 0.3.37 (registry+https://github.com/rust-lang/crates.io-index)", "backtrace 0.3.37 (registry+https://github.com/rust-lang/crates.io-index)",
"bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)", "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -2130,7 +2139,7 @@ dependencies = [
[[package]] [[package]]
name = "solana-logger" name = "solana-logger"
version = "1.1.0" version = "1.0.10"
dependencies = [ dependencies = [
"env_logger 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", "env_logger 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)",
"lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -2139,45 +2148,46 @@ dependencies = [
[[package]] [[package]]
name = "solana-measure" name = "solana-measure"
version = "1.1.0" version = "1.0.10"
dependencies = [ dependencies = [
"jemalloc-ctl 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "jemalloc-ctl 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
"jemallocator 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", "jemallocator 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
"log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
"solana-metrics 1.1.0", "solana-metrics 1.0.10",
"solana-sdk 1.1.0", "solana-sdk 1.0.10",
] ]
[[package]] [[package]]
name = "solana-metrics" name = "solana-metrics"
version = "1.1.0" version = "1.0.10"
dependencies = [ dependencies = [
"env_logger 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", "env_logger 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)",
"gethostname 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
"lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
"log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
"reqwest 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)", "reqwest 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)",
"solana-sdk 1.1.0", "solana-sdk 1.0.10",
"sys-info 0.5.9 (registry+https://github.com/rust-lang/crates.io-index)",
] ]
[[package]] [[package]]
name = "solana-rayon-threadlimit" name = "solana-rayon-threadlimit"
version = "1.1.0" version = "1.0.10"
dependencies = [ dependencies = [
"lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
"sys-info 0.5.9 (registry+https://github.com/rust-lang/crates.io-index)", "num_cpus 1.10.1 (registry+https://github.com/rust-lang/crates.io-index)",
] ]
[[package]] [[package]]
name = "solana-runtime" name = "solana-runtime"
version = "1.1.0" version = "1.0.10"
dependencies = [ dependencies = [
"bincode 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "bincode 1.2.1 (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.1 (registry+https://github.com/rust-lang/crates.io-index)",
"byteorder 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)", "byteorder 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
"fnv 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", "fnv 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
"fs_extra 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "fs_extra 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
"itertools 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)", "itertools 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)",
"lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)",
"libloading 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", "libloading 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)",
"log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -2188,28 +2198,27 @@ dependencies = [
"rayon 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "rayon 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)",
"serde_derive 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)", "serde_derive 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)",
"solana-bpf-loader-program 1.1.0", "solana-bpf-loader-program 1.0.10",
"solana-logger 1.1.0", "solana-logger 1.0.10",
"solana-measure 1.1.0", "solana-measure 1.0.10",
"solana-metrics 1.1.0", "solana-metrics 1.0.10",
"solana-rayon-threadlimit 1.1.0", "solana-rayon-threadlimit 1.0.10",
"solana-sdk 1.1.0", "solana-sdk 1.0.10",
"solana-stake-program 1.1.0", "solana-stake-program 1.0.10",
"solana-storage-program 1.1.0", "solana-storage-program 1.0.10",
"solana-vote-program 1.1.0", "solana-vote-program 1.0.10",
"sys-info 0.5.9 (registry+https://github.com/rust-lang/crates.io-index)",
"tempfile 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "tempfile 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
"thiserror 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", "thiserror 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
] ]
[[package]] [[package]]
name = "solana-sdk" name = "solana-sdk"
version = "1.1.0" version = "1.0.10"
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.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "bincode 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
"bs58 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", "bs58 0.3.0 (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.1 (registry+https://github.com/rust-lang/crates.io-index)",
"byteorder 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)", "byteorder 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
"chrono 0.4.10 (registry+https://github.com/rust-lang/crates.io-index)", "chrono 0.4.10 (registry+https://github.com/rust-lang/crates.io-index)",
"ed25519-dalek 1.0.0-pre.1 (registry+https://github.com/rust-lang/crates.io-index)", "ed25519-dalek 1.0.0-pre.1 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -2229,19 +2238,19 @@ dependencies = [
"serde_derive 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)", "serde_derive 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)",
"serde_json 1.0.46 (registry+https://github.com/rust-lang/crates.io-index)", "serde_json 1.0.46 (registry+https://github.com/rust-lang/crates.io-index)",
"sha2 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)", "sha2 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)",
"solana-crate-features 1.1.0", "solana-crate-features 1.0.10",
"solana-logger 1.1.0", "solana-logger 1.0.10",
"solana-sdk-macro 1.1.0", "solana-sdk-macro 1.0.10",
"thiserror 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", "thiserror 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
] ]
[[package]] [[package]]
name = "solana-sdk-bpf-test" name = "solana-sdk-bpf-test"
version = "1.1.0" version = "1.0.10"
[[package]] [[package]]
name = "solana-sdk-macro" name = "solana-sdk-macro"
version = "1.1.0" version = "1.0.10"
dependencies = [ dependencies = [
"bs58 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", "bs58 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
"proc-macro2 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)", "proc-macro2 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -2251,7 +2260,7 @@ dependencies = [
[[package]] [[package]]
name = "solana-stake-program" name = "solana-stake-program"
version = "1.1.0" version = "1.0.10"
dependencies = [ dependencies = [
"bincode 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "bincode 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
"log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -2259,17 +2268,17 @@ 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.104 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)",
"serde_derive 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)", "serde_derive 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)",
"solana-config-program 1.1.0", "solana-config-program 1.0.10",
"solana-logger 1.1.0", "solana-logger 1.0.10",
"solana-metrics 1.1.0", "solana-metrics 1.0.10",
"solana-sdk 1.1.0", "solana-sdk 1.0.10",
"solana-vote-program 1.1.0", "solana-vote-program 1.0.10",
"thiserror 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", "thiserror 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
] ]
[[package]] [[package]]
name = "solana-storage-program" name = "solana-storage-program"
version = "1.1.0" version = "1.0.10"
dependencies = [ dependencies = [
"bincode 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "bincode 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
"log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -2278,13 +2287,13 @@ dependencies = [
"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)",
"serde 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)",
"serde_derive 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)", "serde_derive 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)",
"solana-logger 1.1.0", "solana-logger 1.0.10",
"solana-sdk 1.1.0", "solana-sdk 1.0.10",
] ]
[[package]] [[package]]
name = "solana-vote-program" name = "solana-vote-program"
version = "1.1.0" version = "1.0.10"
dependencies = [ dependencies = [
"bincode 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "bincode 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
"log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -2292,9 +2301,9 @@ 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.104 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)",
"serde_derive 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)", "serde_derive 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)",
"solana-logger 1.1.0", "solana-logger 1.0.10",
"solana-metrics 1.1.0", "solana-metrics 1.0.10",
"solana-sdk 1.1.0", "solana-sdk 1.0.10",
"thiserror 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", "thiserror 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
] ]
@@ -2400,15 +2409,6 @@ dependencies = [
"unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
] ]
[[package]]
name = "sys-info"
version = "0.5.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"cc 1.0.45 (registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]] [[package]]
name = "tempfile" name = "tempfile"
version = "3.1.0" version = "3.1.0"
@@ -2870,7 +2870,7 @@ name = "wasm-bindgen-backend"
version = "0.2.58" version = "0.2.58"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [ dependencies = [
"bumpalo 3.1.2 (registry+https://github.com/rust-lang/crates.io-index)", "bumpalo 3.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
"lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
"log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
"proc-macro2 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)", "proc-macro2 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -3068,8 +3068,8 @@ dependencies = [
"checksum block-padding 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "6d4dc3af3ee2e12f3e5d224e5e1e3d73668abbeb69e566d361f7d5563a4fdf09" "checksum block-padding 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "6d4dc3af3ee2e12f3e5d224e5e1e3d73668abbeb69e566d361f7d5563a4fdf09"
"checksum bloom 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "d00ac8e5056d6d65376a3c1aa5c7c34850d6949ace17f0266953a254eb3d6fe8" "checksum bloom 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "d00ac8e5056d6d65376a3c1aa5c7c34850d6949ace17f0266953a254eb3d6fe8"
"checksum bs58 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "b170cd256a3f9fa6b9edae3e44a7dfdfc77e8124dbc3e2612d75f9c3e2396dae" "checksum bs58 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "b170cd256a3f9fa6b9edae3e44a7dfdfc77e8124dbc3e2612d75f9c3e2396dae"
"checksum bumpalo 3.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "5fb8038c1ddc0a5f73787b130f4cc75151e96ed33e417fde765eb5a81e3532f4" "checksum bumpalo 3.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "12ae9db68ad7fac5fe51304d20f016c911539251075a214f8e663babefa35187"
"checksum bv 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)" = "6cd4ae9e585e783756cd14b0ea21863acdfbb6383664ac2f7c9ef8d180a14727" "checksum bv 0.11.1 (registry+https://github.com/rust-lang/crates.io-index)" = "8834bb1d8ee5dc048ee3124f2c7c1afcc6bc9aed03f11e9dfd8c69470a5db340"
"checksum byte-tools 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "560c32574a12a89ecd91f5e742165893f86e3ab98d21f8ea548658eb9eef5f40" "checksum byte-tools 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "560c32574a12a89ecd91f5e742165893f86e3ab98d21f8ea548658eb9eef5f40"
"checksum byte-tools 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7" "checksum byte-tools 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7"
"checksum byteorder 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)" = "0fc10e8cc6b2580fda3f36eb6dc5316657f812a3df879a44a66fc9f0fdbc4855" "checksum byteorder 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)" = "0fc10e8cc6b2580fda3f36eb6dc5316657f812a3df879a44a66fc9f0fdbc4855"
@@ -3132,6 +3132,7 @@ dependencies = [
"checksum generic-array 0.12.3 (registry+https://github.com/rust-lang/crates.io-index)" = "c68f0274ae0e023facc3c97b2e00f076be70e254bc851d972503b328db79b2ec" "checksum generic-array 0.12.3 (registry+https://github.com/rust-lang/crates.io-index)" = "c68f0274ae0e023facc3c97b2e00f076be70e254bc851d972503b328db79b2ec"
"checksum generic-array 0.13.2 (registry+https://github.com/rust-lang/crates.io-index)" = "0ed1e761351b56f54eb9dcd0cfaca9fd0daecf93918e1cfc01c8a3d26ee7adcd" "checksum generic-array 0.13.2 (registry+https://github.com/rust-lang/crates.io-index)" = "0ed1e761351b56f54eb9dcd0cfaca9fd0daecf93918e1cfc01c8a3d26ee7adcd"
"checksum generic-array 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ef25c5683767570c2bbd7deba372926a55eaae9982d7726ee2a1050239d45b9d" "checksum generic-array 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ef25c5683767570c2bbd7deba372926a55eaae9982d7726ee2a1050239d45b9d"
"checksum gethostname 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "e692e296bfac1d2533ef168d0b60ff5897b8b70a4009276834014dd8924cc028"
"checksum getrandom 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)" = "473a1265acc8ff1e808cd0a1af8cee3c2ee5200916058a2ca113c29f2d903571" "checksum getrandom 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)" = "473a1265acc8ff1e808cd0a1af8cee3c2ee5200916058a2ca113c29f2d903571"
"checksum glob 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)" = "8be18de09a56b60ed0edf84bc9df007e30040691af7acd1c41874faac5895bfb" "checksum glob 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)" = "8be18de09a56b60ed0edf84bc9df007e30040691af7acd1c41874faac5895bfb"
"checksum h2 0.1.26 (registry+https://github.com/rust-lang/crates.io-index)" = "a5b34c246847f938a410a03c5458c7fee2274436675e76d8b903c08efc29c462" "checksum h2 0.1.26 (registry+https://github.com/rust-lang/crates.io-index)" = "a5b34c246847f938a410a03c5458c7fee2274436675e76d8b903c08efc29c462"
@@ -3275,7 +3276,6 @@ dependencies = [
"checksum syn 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)" = "66850e97125af79138385e9b88339cbcd037e3f28ceab8c5ad98e64f0f1f80bf" "checksum syn 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)" = "66850e97125af79138385e9b88339cbcd037e3f28ceab8c5ad98e64f0f1f80bf"
"checksum synom 0.11.3 (registry+https://github.com/rust-lang/crates.io-index)" = "a393066ed9010ebaed60b9eafa373d4b1baac186dd7e008555b0f702b51945b6" "checksum synom 0.11.3 (registry+https://github.com/rust-lang/crates.io-index)" = "a393066ed9010ebaed60b9eafa373d4b1baac186dd7e008555b0f702b51945b6"
"checksum synstructure 0.10.2 (registry+https://github.com/rust-lang/crates.io-index)" = "02353edf96d6e4dc81aea2d8490a7e9db177bf8acb0e951c24940bf866cb313f" "checksum synstructure 0.10.2 (registry+https://github.com/rust-lang/crates.io-index)" = "02353edf96d6e4dc81aea2d8490a7e9db177bf8acb0e951c24940bf866cb313f"
"checksum sys-info 0.5.9 (registry+https://github.com/rust-lang/crates.io-index)" = "d4eff5474e55653c77b4470bdc2278c7e22f942d59658d0e8767d1c97e02a7b9"
"checksum tempfile 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "7a6e24d9338a0a5be79593e2fa15a648add6138caa803e2d5bc782c371732ca9" "checksum tempfile 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "7a6e24d9338a0a5be79593e2fa15a648add6138caa803e2d5bc782c371732ca9"
"checksum termcolor 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)" = "96d6098003bde162e4277c70665bd87c326f5a0c3f3fbfb285787fa482d54e6e" "checksum termcolor 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)" = "96d6098003bde162e4277c70665bd87c326f5a0c3f3fbfb285787fa482d54e6e"
"checksum textwrap 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)" = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060" "checksum textwrap 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)" = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060"

View File

@@ -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 = "1.0.9" version = "1.0.10"
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 @@ walkdir = "2"
bincode = "1.1.4" bincode = "1.1.4"
byteorder = "1.3.2" byteorder = "1.3.2"
elf = "0.0.10" elf = "0.0.10"
solana-bpf-loader-program = { path = "../bpf_loader", version = "1.0.9" } solana-bpf-loader-program = { path = "../bpf_loader", version = "1.0.10" }
solana-logger = { path = "../../logger", version = "1.0.9" } solana-logger = { path = "../../logger", version = "1.0.10" }
solana-runtime = { path = "../../runtime", version = "1.0.9" } solana-runtime = { path = "../../runtime", version = "1.0.10" }
solana-sdk = { path = "../../sdk", version = "1.0.9" } solana-sdk = { path = "../../sdk", version = "1.0.10" }
solana_rbpf = "=0.1.21" solana_rbpf = "=0.1.21"
[[bench]] [[bench]]

View File

@@ -3,7 +3,7 @@
[package] [package]
name = "solana-bpf-rust-128bit" name = "solana-bpf-rust-128bit"
version = "1.0.9" version = "1.0.10"
description = "Solana BPF test program written in Rust" description = "Solana BPF test 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,11 +12,11 @@ homepage = "https://solana.com/"
edition = "2018" edition = "2018"
[dependencies] [dependencies]
solana-sdk = { path = "../../../../sdk/", version = "1.0.9", default-features = false } solana-sdk = { path = "../../../../sdk/", version = "1.0.10", default-features = false }
solana-bpf-rust-128bit-dep = { path = "../128bit_dep", version = "1.0.9" } solana-bpf-rust-128bit-dep = { path = "../128bit_dep", version = "1.0.10" }
[dev_dependencies] [dev_dependencies]
solana-sdk-bpf-test = { path = "../../../../sdk/bpf/rust/test", version = "1.0.9" } solana-sdk-bpf-test = { path = "../../../../sdk/bpf/rust/test", version = "1.0.10" }
[features] [features]
program = ["solana-sdk/program"] program = ["solana-sdk/program"]

View File

@@ -3,7 +3,7 @@
[package] [package]
name = "solana-bpf-rust-128bit-dep" name = "solana-bpf-rust-128bit-dep"
version = "1.0.9" version = "1.0.10"
description = "Solana BPF test program written in Rust" description = "Solana BPF test 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,10 +12,10 @@ homepage = "https://solana.com/"
edition = "2018" edition = "2018"
[dependencies] [dependencies]
solana-sdk = { path = "../../../../sdk/", version = "1.0.9", default-features = false } solana-sdk = { path = "../../../../sdk/", version = "1.0.10", default-features = false }
[dev_dependencies] [dev_dependencies]
solana-sdk-bpf-test = { path = "../../../../sdk/bpf/rust/test", version = "1.0.9" } solana-sdk-bpf-test = { path = "../../../../sdk/bpf/rust/test", version = "1.0.10" }
[features] [features]
program = ["solana-sdk/program"] program = ["solana-sdk/program"]

View File

@@ -3,7 +3,7 @@
[package] [package]
name = "solana-bpf-rust-alloc" name = "solana-bpf-rust-alloc"
version = "1.0.9" version = "1.0.10"
description = "Solana BPF test program written in Rust" description = "Solana BPF test 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,10 +12,10 @@ homepage = "https://solana.com/"
edition = "2018" edition = "2018"
[dependencies] [dependencies]
solana-sdk = { path = "../../../../sdk/", version = "1.0.9", default-features = false } solana-sdk = { path = "../../../../sdk/", version = "1.0.10", default-features = false }
[dev_dependencies] [dev_dependencies]
solana-sdk-bpf-test = { path = "../../../../sdk/bpf/rust/test", version = "1.0.9" } solana-sdk-bpf-test = { path = "../../../../sdk/bpf/rust/test", version = "1.0.10" }
[features] [features]
program = ["solana-sdk/program"] program = ["solana-sdk/program"]

View File

@@ -3,7 +3,7 @@
[package] [package]
name = "solana-bpf-rust-dep-crate" name = "solana-bpf-rust-dep-crate"
version = "1.0.9" version = "1.0.10"
description = "Solana BPF test program written in Rust" description = "Solana BPF test 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"
@@ -13,10 +13,10 @@ edition = "2018"
[dependencies] [dependencies]
byteorder = { version = "1", default-features = false } byteorder = { version = "1", default-features = false }
solana-sdk = { path = "../../../../sdk/", version = "1.0.9", default-features = false } solana-sdk = { path = "../../../../sdk/", version = "1.0.10", default-features = false }
[dev_dependencies] [dev_dependencies]
solana-sdk-bpf-test = { path = "../../../../sdk/bpf/rust/test", version = "1.0.9" } solana-sdk-bpf-test = { path = "../../../../sdk/bpf/rust/test", version = "1.0.10" }
[features] [features]
program = ["solana-sdk/program"] program = ["solana-sdk/program"]

View File

@@ -3,7 +3,7 @@
[package] [package]
name = "solana-bpf-rust-dup-accounts" name = "solana-bpf-rust-dup-accounts"
version = "1.0.9" version = "1.0.10"
description = "Solana BPF test program written in Rust" description = "Solana BPF test 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,10 +12,10 @@ homepage = "https://solana.com/"
edition = "2018" edition = "2018"
[dependencies] [dependencies]
solana-sdk = { path = "../../../../sdk/", version = "1.0.9", default-features = false } solana-sdk = { path = "../../../../sdk/", version = "1.0.10", default-features = false }
[dev_dependencies] [dev_dependencies]
solana-sdk-bpf-test = { path = "../../../../sdk/bpf/rust/test", version = "1.0.9" } solana-sdk-bpf-test = { path = "../../../../sdk/bpf/rust/test", version = "1.0.10" }
[features] [features]
program = ["solana-sdk/program"] program = ["solana-sdk/program"]

View File

@@ -3,7 +3,7 @@
[package] [package]
name = "solana-bpf-rust-error-handling" name = "solana-bpf-rust-error-handling"
version = "1.0.9" version = "1.0.10"
description = "Solana BPF test program written in Rust" description = "Solana BPF test 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"
@@ -14,11 +14,11 @@ edition = "2018"
[dependencies] [dependencies]
num-derive = "0.2" num-derive = "0.2"
num-traits = "0.2" num-traits = "0.2"
solana-sdk = { path = "../../../../sdk/", version = "1.0.9", default-features = false } solana-sdk = { path = "../../../../sdk/", version = "1.0.10", default-features = false }
thiserror = "1.0" thiserror = "1.0"
[dev_dependencies] [dev_dependencies]
solana-sdk-bpf-test = { path = "../../../../sdk/bpf/rust/test", version = "1.0.9" } solana-sdk-bpf-test = { path = "../../../../sdk/bpf/rust/test", version = "1.0.10" }
[features] [features]
program = ["solana-sdk/program"] program = ["solana-sdk/program"]

View File

@@ -3,7 +3,7 @@
[package] [package]
name = "solana-bpf-rust-external-spend" name = "solana-bpf-rust-external-spend"
version = "1.0.9" version = "1.0.10"
description = "Solana BPF test program written in Rust" description = "Solana BPF test 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,10 +12,10 @@ homepage = "https://solana.com/"
edition = "2018" edition = "2018"
[dependencies] [dependencies]
solana-sdk = { path = "../../../../sdk/", version = "1.0.9", default-features = false } solana-sdk = { path = "../../../../sdk/", version = "1.0.10", default-features = false }
[dev_dependencies] [dev_dependencies]
solana-sdk-bpf-test = { path = "../../../../sdk/bpf/rust/test", version = "1.0.9" } solana-sdk-bpf-test = { path = "../../../../sdk/bpf/rust/test", version = "1.0.10" }
[features] [features]
program = ["solana-sdk/program"] program = ["solana-sdk/program"]

View File

@@ -3,7 +3,7 @@
[package] [package]
name = "solana-bpf-rust-iter" name = "solana-bpf-rust-iter"
version = "1.0.9" version = "1.0.10"
description = "Solana BPF test program written in Rust" description = "Solana BPF test 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,10 +12,10 @@ homepage = "https://solana.com/"
edition = "2018" edition = "2018"
[dependencies] [dependencies]
solana-sdk = { path = "../../../../sdk/", version = "1.0.9", default-features = false } solana-sdk = { path = "../../../../sdk/", version = "1.0.10", default-features = false }
[dev_dependencies] [dev_dependencies]
solana-sdk-bpf-test = { path = "../../../../sdk/bpf/rust/test", version = "1.0.9" } solana-sdk-bpf-test = { path = "../../../../sdk/bpf/rust/test", version = "1.0.10" }
[features] [features]
program = ["solana-sdk/program"] program = ["solana-sdk/program"]

View File

@@ -3,7 +3,7 @@
[package] [package]
name = "solana-bpf-rust-many-args" name = "solana-bpf-rust-many-args"
version = "1.0.9" version = "1.0.10"
description = "Solana BPF test program written in Rust" description = "Solana BPF test 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,11 +12,11 @@ homepage = "https://solana.com/"
edition = "2018" edition = "2018"
[dependencies] [dependencies]
solana-sdk = { path = "../../../../sdk/", version = "1.0.9", default-features = false } solana-sdk = { path = "../../../../sdk/", version = "1.0.10", default-features = false }
solana-bpf-rust-many-args-dep = { path = "../many_args_dep", version = "1.0.9" } solana-bpf-rust-many-args-dep = { path = "../many_args_dep", version = "1.0.10" }
[dev_dependencies] [dev_dependencies]
solana-sdk-bpf-test = { path = "../../../../sdk/bpf/rust/test", version = "1.0.9" } solana-sdk-bpf-test = { path = "../../../../sdk/bpf/rust/test", version = "1.0.10" }
[features] [features]
program = ["solana-sdk/program"] program = ["solana-sdk/program"]

View File

@@ -3,7 +3,7 @@
[package] [package]
name = "solana-bpf-rust-many-args-dep" name = "solana-bpf-rust-many-args-dep"
version = "1.0.9" version = "1.0.10"
description = "Solana BPF test program written in Rust" description = "Solana BPF test 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,10 +12,10 @@ homepage = "https://solana.com/"
edition = "2018" edition = "2018"
[dependencies] [dependencies]
solana-sdk = { path = "../../../../sdk/", version = "1.0.9", default-features = false } solana-sdk = { path = "../../../../sdk/", version = "1.0.10", default-features = false }
[dev_dependencies] [dev_dependencies]
solana-sdk-bpf-test = { path = "../../../../sdk/bpf/rust/test", version = "1.0.9" } solana-sdk-bpf-test = { path = "../../../../sdk/bpf/rust/test", version = "1.0.10" }
[features] [features]
program = ["solana-sdk/program"] program = ["solana-sdk/program"]

View File

@@ -3,7 +3,7 @@
[package] [package]
name = "solana-bpf-rust-noop" name = "solana-bpf-rust-noop"
version = "1.0.9" version = "1.0.10"
description = "Solana BPF test program written in Rust" description = "Solana BPF test 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,10 +12,10 @@ homepage = "https://solana.com/"
edition = "2018" edition = "2018"
[dependencies] [dependencies]
solana-sdk = { path = "../../../../sdk/", version = "1.0.9", default-features = false } solana-sdk = { path = "../../../../sdk/", version = "1.0.10", default-features = false }
[dev_dependencies] [dev_dependencies]
solana-sdk-bpf-test = { path = "../../../../sdk/bpf/rust/test", version = "1.0.9" } solana-sdk-bpf-test = { path = "../../../../sdk/bpf/rust/test", version = "1.0.10" }
[features] [features]
program = ["solana-sdk/program"] program = ["solana-sdk/program"]

View File

@@ -3,7 +3,7 @@
[package] [package]
name = "solana-bpf-rust-panic" name = "solana-bpf-rust-panic"
version = "1.0.9" version = "1.0.10"
description = "Solana BPF test program written in Rust" description = "Solana BPF test 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,10 +12,10 @@ homepage = "https://solana.com/"
edition = "2018" edition = "2018"
[dependencies] [dependencies]
solana-sdk = { path = "../../../../sdk/", version = "1.0.9", default-features = false } solana-sdk = { path = "../../../../sdk/", version = "1.0.10", default-features = false }
[dev_dependencies] [dev_dependencies]
solana-sdk-bpf-test = { path = "../../../../sdk/bpf/rust/test", version = "1.0.9" } solana-sdk-bpf-test = { path = "../../../../sdk/bpf/rust/test", version = "1.0.10" }
[features] [features]
program = ["solana-sdk/program"] program = ["solana-sdk/program"]

View File

@@ -3,7 +3,7 @@
[package] [package]
name = "solana-bpf-rust-param-passing" name = "solana-bpf-rust-param-passing"
version = "1.0.9" version = "1.0.10"
description = "Solana BPF test program written in Rust" description = "Solana BPF test 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,11 +12,11 @@ homepage = "https://solana.com/"
edition = "2018" edition = "2018"
[dependencies] [dependencies]
solana-sdk = { path = "../../../../sdk/", version = "1.0.9", default-features = false } solana-sdk = { path = "../../../../sdk/", version = "1.0.10", default-features = false }
solana-bpf-rust-param-passing-dep = { path = "../param_passing_dep", version = "1.0.9" } solana-bpf-rust-param-passing-dep = { path = "../param_passing_dep", version = "1.0.10" }
[dev_dependencies] [dev_dependencies]
solana-sdk-bpf-test = { path = "../../../../sdk/bpf/rust/test", version = "1.0.9" } solana-sdk-bpf-test = { path = "../../../../sdk/bpf/rust/test", version = "1.0.10" }
[features] [features]
program = ["solana-sdk/program"] program = ["solana-sdk/program"]

View File

@@ -3,7 +3,7 @@
[package] [package]
name = "solana-bpf-rust-param-passing-dep" name = "solana-bpf-rust-param-passing-dep"
version = "1.0.9" version = "1.0.10"
description = "Solana BPF program written in Rust" description = "Solana BPF 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,10 +12,10 @@ homepage = "https://solana.com/"
edition = "2018" edition = "2018"
[dependencies] [dependencies]
solana-sdk = { path = "../../../../sdk/", version = "1.0.9", default-features = false } solana-sdk = { path = "../../../../sdk/", version = "1.0.10", default-features = false }
[dev_dependencies] [dev_dependencies]
solana-sdk-bpf-test = { path = "../../../../sdk/bpf/rust/test", version = "1.0.9" } solana-sdk-bpf-test = { path = "../../../../sdk/bpf/rust/test", version = "1.0.10" }
[features] [features]
program = ["solana-sdk/program"] program = ["solana-sdk/program"]

View File

@@ -3,7 +3,7 @@
[package] [package]
name = "solana-bpf-rust-sysval" name = "solana-bpf-rust-sysval"
version = "1.0.9" version = "1.0.10"
description = "Solana BPF test program written in Rust" description = "Solana BPF test 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,10 +12,10 @@ homepage = "https://solana.com/"
edition = "2018" edition = "2018"
[dependencies] [dependencies]
solana-sdk = { path = "../../../../sdk/", version = "1.0.9", default-features = false } solana-sdk = { path = "../../../../sdk/", version = "1.0.10", default-features = false }
[dev_dependencies] [dev_dependencies]
solana-sdk-bpf-test = { path = "../../../../sdk/bpf/rust/test", version = "1.0.9" } solana-sdk-bpf-test = { path = "../../../../sdk/bpf/rust/test", version = "1.0.10" }
[features] [features]
program = ["solana-sdk/program"] program = ["solana-sdk/program"]

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "solana-bpf-loader-program" name = "solana-bpf-loader-program"
version = "1.0.9" version = "1.0.10"
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.66"
log = "0.4.8" log = "0.4.8"
num-derive = { version = "0.3" } num-derive = { version = "0.3" }
num-traits = { version = "0.2" } num-traits = { version = "0.2" }
solana-logger = { path = "../../logger", version = "1.0.9" } solana-logger = { path = "../../logger", version = "1.0.10" }
solana-sdk = { path = "../../sdk", version = "1.0.9" } solana-sdk = { path = "../../sdk", version = "1.0.10" }
solana_rbpf = "=0.1.21" solana_rbpf = "=0.1.21"
thiserror = "1.0" thiserror = "1.0"

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "solana-btc-spv-program" name = "solana-btc-spv-program"
version = "1.0.9" version = "1.0.10"
description = "Solana Bitcoin spv parsing program" description = "Solana Bitcoin spv parsing 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"
@@ -15,7 +15,7 @@ num-derive = "0.3"
num-traits = "0.2" num-traits = "0.2"
serde = "1.0.104" serde = "1.0.104"
serde_derive = "1.0.103" serde_derive = "1.0.103"
solana-sdk = { path = "../../sdk", version = "1.0.9"} solana-sdk = { path = "../../sdk", version = "1.0.10"}
hex = "0.3.2" hex = "0.3.2"
[lib] [lib]

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "btc_spv_bin" name = "btc_spv_bin"
version = "1.0.9" version = "1.0.10"
description = "Solana Bitcoin spv parsing program" description = "Solana Bitcoin spv parsing 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"

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "solana-budget-program" name = "solana-budget-program"
version = "1.0.9" version = "1.0.10"
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"
@@ -16,11 +16,11 @@ num-derive = "0.3"
num-traits = "0.2" num-traits = "0.2"
serde = "1.0.104" serde = "1.0.104"
serde_derive = "1.0.103" serde_derive = "1.0.103"
solana-sdk = { path = "../../sdk", version = "1.0.9" } solana-sdk = { path = "../../sdk", version = "1.0.10" }
thiserror = "1.0" thiserror = "1.0"
[dev-dependencies] [dev-dependencies]
solana-runtime = { path = "../../runtime", version = "1.0.9" } solana-runtime = { path = "../../runtime", version = "1.0.10" }
[lib] [lib]
crate-type = ["lib", "cdylib"] crate-type = ["lib", "cdylib"]

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "solana-config-program" name = "solana-config-program"
version = "1.0.9" version = "1.0.10"
description = "Solana Config program" description = "Solana 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"
@@ -14,8 +14,8 @@ chrono = { version = "0.4.10", features = ["serde"] }
log = "0.4.8" log = "0.4.8"
serde = "1.0.104" serde = "1.0.104"
serde_derive = "1.0.103" serde_derive = "1.0.103"
solana-logger = { path = "../../logger", version = "1.0.9" } solana-logger = { path = "../../logger", version = "1.0.10" }
solana-sdk = { path = "../../sdk", version = "1.0.9" } solana-sdk = { path = "../../sdk", version = "1.0.10" }
[lib] [lib]
crate-type = ["lib", "cdylib"] crate-type = ["lib", "cdylib"]

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "solana-exchange-program" name = "solana-exchange-program"
version = "1.0.9" version = "1.0.10"
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"
@@ -15,13 +15,13 @@ num-derive = { version = "0.3" }
num-traits = { version = "0.2" } num-traits = { version = "0.2" }
serde = "1.0.104" serde = "1.0.104"
serde_derive = "1.0.103" serde_derive = "1.0.103"
solana-logger = { path = "../../logger", version = "1.0.9" } solana-logger = { path = "../../logger", version = "1.0.10" }
solana-metrics = { path = "../../metrics", version = "1.0.9" } solana-metrics = { path = "../../metrics", version = "1.0.10" }
solana-sdk = { path = "../../sdk", version = "1.0.9" } solana-sdk = { path = "../../sdk", version = "1.0.10" }
thiserror = "1.0" thiserror = "1.0"
[dev-dependencies] [dev-dependencies]
solana-runtime = { path = "../../runtime", version = "1.0.9" } solana-runtime = { path = "../../runtime", version = "1.0.10" }
[lib] [lib]
crate-type = ["lib", "cdylib"] crate-type = ["lib", "cdylib"]

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "solana-failure-program" name = "solana-failure-program"
version = "1.0.9" version = "1.0.10"
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,10 +9,10 @@ homepage = "https://solana.com/"
edition = "2018" edition = "2018"
[dependencies] [dependencies]
solana-sdk = { path = "../../sdk", version = "1.0.9" } solana-sdk = { path = "../../sdk", version = "1.0.10" }
[dev-dependencies] [dev-dependencies]
solana-runtime = { path = "../../runtime", version = "1.0.9" } solana-runtime = { path = "../../runtime", version = "1.0.10" }
[lib] [lib]
crate-type = ["lib", "cdylib"] crate-type = ["lib", "cdylib"]

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "solana-librapay" name = "solana-librapay"
version = "1.0.9" version = "1.0.10"
description = "Solana Libra Payment" description = "Solana Libra Payment"
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"
@@ -11,10 +11,10 @@ edition = "2018"
[dependencies] [dependencies]
bincode = "1.2.0" bincode = "1.2.0"
log = "0.4.8" log = "0.4.8"
solana-logger = { path = "../../logger", version = "1.0.9" } solana-logger = { path = "../../logger", version = "1.0.10" }
solana-move-loader-program = { path = "../move_loader", version = "1.0.9" } solana-move-loader-program = { path = "../move_loader", version = "1.0.10" }
solana-runtime = { path = "../../runtime", version = "1.0.9" } solana-runtime = { path = "../../runtime", version = "1.0.10" }
solana-sdk = { path = "../../sdk", version = "1.0.9" } solana-sdk = { path = "../../sdk", version = "1.0.10" }
types = { version = "0.0.1-sol4", package = "solana_libra_types" } types = { version = "0.0.1-sol4", package = "solana_libra_types" }
[lib] [lib]

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "solana-move-loader-program" name = "solana-move-loader-program"
version = "1.0.9" version = "1.0.10"
description = "Solana Move loader" description = "Solana Move 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"
@@ -16,8 +16,8 @@ serde = "1.0.104"
serde_bytes = "0.11" serde_bytes = "0.11"
serde_derive = "1.0.103" serde_derive = "1.0.103"
serde_json = "1.0.46" serde_json = "1.0.46"
solana-logger = { path = "../../logger", version = "1.0.9" } solana-logger = { path = "../../logger", version = "1.0.10" }
solana-sdk = { path = "../../sdk", version = "1.0.9" } solana-sdk = { path = "../../sdk", version = "1.0.10" }
bytecode_verifier = { version = "0.0.1-sol4", package = "solana_libra_bytecode_verifier" } bytecode_verifier = { version = "0.0.1-sol4", package = "solana_libra_bytecode_verifier" }
canonical_serialization = { version = "0.0.1-sol4", package = "solana_libra_canonical_serialization" } canonical_serialization = { version = "0.0.1-sol4", package = "solana_libra_canonical_serialization" }

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "solana-noop-program" name = "solana-noop-program"
version = "1.0.9" version = "1.0.10"
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"
@@ -10,8 +10,8 @@ edition = "2018"
[dependencies] [dependencies]
log = "0.4.8" log = "0.4.8"
solana-logger = { path = "../../logger", version = "1.0.9" } solana-logger = { path = "../../logger", version = "1.0.10" }
solana-sdk = { path = "../../sdk", version = "1.0.9" } solana-sdk = { path = "../../sdk", version = "1.0.10" }
[lib] [lib]
crate-type = ["lib", "cdylib"] crate-type = ["lib", "cdylib"]

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "solana-ownable" name = "solana-ownable"
version = "1.0.9" version = "1.0.10"
description = "ownable program" description = "ownable 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,13 +10,13 @@ edition = "2018"
[dependencies] [dependencies]
bincode = "1.2.1" bincode = "1.2.1"
solana-sdk = { path = "../../sdk", version = "1.0.9" } solana-sdk = { path = "../../sdk", version = "1.0.10" }
num-derive = "0.3" num-derive = "0.3"
num-traits = "0.2" num-traits = "0.2"
thiserror = "1.0" thiserror = "1.0"
[dev-dependencies] [dev-dependencies]
solana-runtime = { path = "../../runtime", version = "1.0.9" } solana-runtime = { path = "../../runtime", version = "1.0.10" }
[lib] [lib]
crate-type = ["lib", "cdylib"] crate-type = ["lib", "cdylib"]

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "solana-stake-program" name = "solana-stake-program"
version = "1.0.9" version = "1.0.10"
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"
@@ -15,11 +15,11 @@ num-derive = "0.3"
num-traits = "0.2" num-traits = "0.2"
serde = "1.0.104" serde = "1.0.104"
serde_derive = "1.0.103" serde_derive = "1.0.103"
solana-logger = { path = "../../logger", version = "1.0.9" } solana-logger = { path = "../../logger", version = "1.0.10" }
solana-metrics = { path = "../../metrics", version = "1.0.9" } solana-metrics = { path = "../../metrics", version = "1.0.10" }
solana-sdk = { path = "../../sdk", version = "1.0.9" } solana-sdk = { path = "../../sdk", version = "1.0.10" }
solana-vote-program = { path = "../vote", version = "1.0.9" } solana-vote-program = { path = "../vote", version = "1.0.10" }
solana-config-program = { path = "../config", version = "1.0.9" } solana-config-program = { path = "../config", version = "1.0.10" }
thiserror = "1.0" thiserror = "1.0"
[lib] [lib]

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "solana-storage-program" name = "solana-storage-program"
version = "1.0.9" version = "1.0.10"
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"
@@ -16,8 +16,8 @@ num-derive = "0.3"
num-traits = "0.2" num-traits = "0.2"
serde = "1.0.104" serde = "1.0.104"
serde_derive = "1.0.103" serde_derive = "1.0.103"
solana-logger = { path = "../../logger", version = "1.0.9" } solana-logger = { path = "../../logger", version = "1.0.10" }
solana-sdk = { path = "../../sdk", version = "1.0.9" } solana-sdk = { path = "../../sdk", version = "1.0.10" }
[dev-dependencies] [dev-dependencies]
assert_matches = "1.3.0" assert_matches = "1.3.0"

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "solana-vest-program" name = "solana-vest-program"
version = "1.0.9" version = "1.0.10"
description = "Solana Vest program" description = "Solana Vest 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"
@@ -15,12 +15,12 @@ num-derive = "0.2"
num-traits = "0.2" num-traits = "0.2"
serde = "1.0.104" serde = "1.0.104"
serde_derive = "1.0.103" serde_derive = "1.0.103"
solana-sdk = { path = "../../sdk", version = "1.0.9" } solana-sdk = { path = "../../sdk", version = "1.0.10" }
solana-config-program = { path = "../config", version = "1.0.9" } solana-config-program = { path = "../config", version = "1.0.10" }
thiserror = "1.0" thiserror = "1.0"
[dev-dependencies] [dev-dependencies]
solana-runtime = { path = "../../runtime", version = "1.0.9" } solana-runtime = { path = "../../runtime", version = "1.0.10" }
[lib] [lib]
crate-type = ["lib"] crate-type = ["lib"]

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "solana-vote-program" name = "solana-vote-program"
version = "1.0.9" version = "1.0.10"
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"
@@ -15,9 +15,9 @@ num-derive = "0.3"
num-traits = "0.2" num-traits = "0.2"
serde = "1.0.104" serde = "1.0.104"
serde_derive = "1.0.103" serde_derive = "1.0.103"
solana-logger = { path = "../../logger", version = "1.0.9" } solana-logger = { path = "../../logger", version = "1.0.10" }
solana-metrics = { path = "../../metrics", version = "1.0.9" } solana-metrics = { path = "../../metrics", version = "1.0.10" }
solana-sdk = { path = "../../sdk", version = "1.0.9" } solana-sdk = { path = "../../sdk", version = "1.0.10" }
thiserror = "1.0" thiserror = "1.0"
[lib] [lib]

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "solana-rayon-threadlimit" name = "solana-rayon-threadlimit"
version = "1.0.9" version = "1.0.10"
description = "solana-rayon-threadlimit" description = "solana-rayon-threadlimit"
homepage = "https://solana.com/" homepage = "https://solana.com/"
readme = "../README.md" readme = "../README.md"

View File

@@ -3,7 +3,7 @@ authors = ["Solana Maintainers <maintainers@solana.com>"]
edition = "2018" edition = "2018"
name = "solana-remote-wallet" name = "solana-remote-wallet"
description = "Blockchain, Rebuilt for Scale" description = "Blockchain, Rebuilt for Scale"
version = "1.0.9" version = "1.0.10"
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/"
@@ -16,7 +16,7 @@ hidapi = { version = "1.1.1", default-features = false }
log = "0.4.8" log = "0.4.8"
parking_lot = "0.10" parking_lot = "0.10"
semver = "0.9" semver = "0.9"
solana-sdk = { path = "../sdk", version = "1.0.9" } solana-sdk = { path = "../sdk", version = "1.0.10" }
thiserror = "1.0" thiserror = "1.0"
url = "2.1.1" url = "2.1.1"

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "solana-runtime" name = "solana-runtime"
version = "1.0.9" version = "1.0.10"
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"
@@ -26,15 +26,15 @@ rand = "0.6.5"
rayon = "1.2.0" rayon = "1.2.0"
serde = { version = "1.0.104", features = ["rc"] } serde = { version = "1.0.104", features = ["rc"] }
serde_derive = "1.0.103" serde_derive = "1.0.103"
solana-bpf-loader-program = { path = "../programs/bpf_loader", version = "1.0.9" } solana-bpf-loader-program = { path = "../programs/bpf_loader", version = "1.0.10" }
solana-logger = { path = "../logger", version = "1.0.9" } solana-logger = { path = "../logger", version = "1.0.10" }
solana-measure = { path = "../measure", version = "1.0.9" } solana-measure = { path = "../measure", version = "1.0.10" }
solana-metrics = { path = "../metrics", version = "1.0.9" } solana-metrics = { path = "../metrics", version = "1.0.10" }
solana-rayon-threadlimit = { path = "../rayon-threadlimit", version = "1.0.9" } solana-rayon-threadlimit = { path = "../rayon-threadlimit", version = "1.0.10" }
solana-sdk = { path = "../sdk", version = "1.0.9" } solana-sdk = { path = "../sdk", version = "1.0.10" }
solana-stake-program = { path = "../programs/stake", version = "1.0.9" } solana-stake-program = { path = "../programs/stake", version = "1.0.10" }
solana-storage-program = { path = "../programs/storage", version = "1.0.9" } solana-storage-program = { path = "../programs/storage", version = "1.0.10" }
solana-vote-program = { path = "../programs/vote", version = "1.0.9" } solana-vote-program = { path = "../programs/vote", version = "1.0.10" }
tempfile = "3.1.0" tempfile = "3.1.0"
thiserror = "1.0" thiserror = "1.0"
@@ -45,4 +45,4 @@ name = "solana_runtime"
[dev-dependencies] [dev-dependencies]
assert_matches = "1.3.0" assert_matches = "1.3.0"
solana-noop-program = { path = "../programs/noop", version = "1.0.9" } solana-noop-program = { path = "../programs/noop", version = "1.0.10" }

View File

@@ -1376,9 +1376,11 @@ impl AccountsDB {
let index = self.accounts_index.read().unwrap(); let index = self.accounts_index.read().unwrap();
let storage = self.storage.read().unwrap(); let storage = self.storage.read().unwrap();
for slot in dead_slots.iter() { for slot in dead_slots.iter() {
for store in storage.0.get(slot).unwrap().values() { if let Some(slot_storage) = storage.0.get(slot) {
for account in store.accounts.accounts(0) { for store in slot_storage.values() {
index.unref_from_storage(&account.meta.pubkey); for account in store.accounts.accounts(0) {
index.unref_from_storage(&account.meta.pubkey);
}
} }
} }
} }
@@ -3373,4 +3375,12 @@ pub mod tests {
assert_load_account(&accounts, current_slot, pubkey2, old_lamport); assert_load_account(&accounts, current_slot, pubkey2, old_lamport);
assert_load_account(&accounts, current_slot, dummy_pubkey, dummy_lamport); assert_load_account(&accounts, current_slot, dummy_pubkey, dummy_lamport);
} }
#[test]
fn clean_dead_slots_empty() {
let accounts = AccountsDB::new_single();
let mut dead_slots = HashSet::new();
dead_slots.insert(10);
accounts.clean_dead_slots(&mut dead_slots);
}
} }

View File

@@ -3,7 +3,7 @@ authors = ["Solana Maintainers <maintainers@solana.com>"]
edition = "2018" edition = "2018"
name = "solana-scripts" name = "solana-scripts"
description = "Blockchain, Rebuilt for Scale" description = "Blockchain, Rebuilt for Scale"
version = "1.0.9" version = "1.0.10"
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/"

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "solana-sdk-c" name = "solana-sdk-c"
version = "1.0.9" version = "1.0.10"
description = "Solana SDK C" description = "Solana SDK C"
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"
@@ -18,7 +18,7 @@ bs58 = "0.3.0"
libc = "0.2.66" libc = "0.2.66"
rand_chacha = "0.1.1" rand_chacha = "0.1.1"
rand_core = { version = ">=0.2, <0.4", default-features = false } rand_core = { version = ">=0.2, <0.4", default-features = false }
solana-sdk = { path = "../sdk", version = "1.0.9" } solana-sdk = { path = "../sdk", version = "1.0.10" }
ed25519-dalek = "1.0.0-pre.1" ed25519-dalek = "1.0.0-pre.1"
[build-dependencies] [build-dependencies]

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "solana-sdk" name = "solana-sdk"
version = "1.0.9" version = "1.0.10"
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"
@@ -50,9 +50,9 @@ serde_json = { version = "1.0.46", optional = true }
sha2 = "0.8.1" sha2 = "0.8.1"
thiserror = "1.0" thiserror = "1.0"
ed25519-dalek = { version = "=1.0.0-pre.1", optional = true } ed25519-dalek = { version = "=1.0.0-pre.1", optional = true }
solana-crate-features = { path = "../crate-features", version = "1.0.9", optional = true } solana-crate-features = { path = "../crate-features", version = "1.0.10", optional = true }
solana-logger = { path = "../logger", version = "1.0.9", optional = true } solana-logger = { path = "../logger", version = "1.0.10", optional = true }
solana-sdk-macro = { path = "macro", version = "1.0.9" } solana-sdk-macro = { path = "macro", version = "1.0.10" }
[dev-dependencies] [dev-dependencies]
tiny-bip39 = "0.7.0" tiny-bip39 = "0.7.0"

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "solana-sdk-bpf-test" name = "solana-sdk-bpf-test"
version = "1.0.9" version = "1.0.10"
description = "Solana BPF SDK test utilities" description = "Solana BPF SDK test 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"

View File

@@ -25,6 +25,7 @@ download() {
# Install or upgrade xargo # Install or upgrade xargo
( (
cargo install cargo-update cargo install cargo-update
cargo install-update-config --version =0.3.19 xargo
set -e set -e
cargo install-update -i xargo cargo install-update -i xargo
xargo --version > xargo.md 2>&1 xargo --version > xargo.md 2>&1

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "solana-sdk-macro" name = "solana-sdk-macro"
version = "1.0.9" version = "1.0.10"
description = "Solana SDK Macro" description = "Solana SDK Macro"
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"

View File

@@ -3,7 +3,7 @@ authors = ["Solana Maintainers <maintainers@solana.com>"]
edition = "2018" edition = "2018"
name = "solana-sys-tuner" name = "solana-sys-tuner"
description = "The solana cluster system tuner daemon" description = "The solana cluster system tuner daemon"
version = "1.0.9" version = "1.0.10"
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/"
@@ -13,8 +13,8 @@ publish = true
clap = "2.33.0" clap = "2.33.0"
log = "0.4.8" log = "0.4.8"
libc = "0.2.66" libc = "0.2.66"
solana-clap-utils = { path = "../clap-utils", version = "1.0.9" } solana-clap-utils = { path = "../clap-utils", version = "1.0.10" }
solana-logger = { path = "../logger", version = "1.0.9" } solana-logger = { path = "../logger", version = "1.0.10" }
[target."cfg(unix)".dependencies] [target."cfg(unix)".dependencies]
unix_socket2 = "0.5.4" unix_socket2 = "0.5.4"

View File

@@ -66,7 +66,7 @@ fn tune_poh_service_priority(uid: u32) {
} }
#[cfg(target_os = "linux")] #[cfg(target_os = "linux")]
fn tune_kernel_udp_buffers() { fn tune_kernel_udp_buffers_and_vmmap() {
use sysctl::CtlValue::String; use sysctl::CtlValue::String;
use sysctl::Sysctl; use sysctl::Sysctl;
fn sysctl_write(name: &str, value: &str) { fn sysctl_write(name: &str, value: &str) {
@@ -91,6 +91,9 @@ fn tune_kernel_udp_buffers() {
sysctl_write("net.core.rmem_default", "134217728"); sysctl_write("net.core.rmem_default", "134217728");
sysctl_write("net.core.wmem_max", "134217728"); sysctl_write("net.core.wmem_max", "134217728");
sysctl_write("net.core.wmem_default", "134217728"); sysctl_write("net.core.wmem_default", "134217728");
// increase mmap counts for many append_vecs
sysctl_write("vm.max_map_count", "262144");
} }
#[cfg(unix)] #[cfg(unix)]
@@ -145,7 +148,7 @@ fn main() {
info!("Tuning the system now"); info!("Tuning the system now");
#[cfg(target_os = "linux")] #[cfg(target_os = "linux")]
{ {
tune_kernel_udp_buffers(); tune_kernel_udp_buffers_and_vmmap();
} }
} }
} }

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "solana-upload-perf" name = "solana-upload-perf"
version = "1.0.9" version = "1.0.10"
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"
@@ -11,7 +11,7 @@ publish = false
[dependencies] [dependencies]
serde_json = "1.0.46" serde_json = "1.0.46"
solana-metrics = { path = "../metrics", version = "1.0.9" } solana-metrics = { path = "../metrics", version = "1.0.10" }
[[bin]] [[bin]]
name = "solana-upload-perf" name = "solana-upload-perf"

View File

@@ -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 = "1.0.9" version = "1.0.10"
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/"
@@ -18,19 +18,19 @@ indicatif = "0.14.0"
rand = "0.6.5" rand = "0.6.5"
reqwest = { version = "0.10.1", default-features = false, features = ["blocking"] } reqwest = { version = "0.10.1", default-features = false, features = ["blocking"] }
serde_json = "1.0.46" serde_json = "1.0.46"
solana-clap-utils = { path = "../clap-utils", version = "1.0.9" } solana-clap-utils = { path = "../clap-utils", version = "1.0.10" }
solana-client = { path = "../client", version = "1.0.9" } solana-client = { path = "../client", version = "1.0.10" }
solana-core = { path = "../core", version = "1.0.9" } solana-core = { path = "../core", version = "1.0.10" }
solana-faucet = { path = "../faucet", version = "1.0.9" } solana-faucet = { path = "../faucet", version = "1.0.10" }
solana-ledger = { path = "../ledger", version = "1.0.9" } solana-ledger = { path = "../ledger", version = "1.0.10" }
solana-logger = { path = "../logger", version = "1.0.9" } solana-logger = { path = "../logger", version = "1.0.10" }
solana-perf = { path = "../perf", version = "1.0.9" } solana-perf = { path = "../perf", version = "1.0.10" }
solana-metrics = { path = "../metrics", version = "1.0.9" } solana-metrics = { path = "../metrics", version = "1.0.10" }
solana-net-utils = { path = "../net-utils", version = "1.0.9" } solana-net-utils = { path = "../net-utils", version = "1.0.10" }
solana-runtime = { path = "../runtime", version = "1.0.9" } solana-runtime = { path = "../runtime", version = "1.0.10" }
solana-sdk = { path = "../sdk", version = "1.0.9" } solana-sdk = { path = "../sdk", version = "1.0.10" }
solana-vote-program = { path = "../programs/vote", version = "1.0.9" } solana-vote-program = { path = "../programs/vote", version = "1.0.10" }
solana-vote-signer = { path = "../vote-signer", version = "1.0.9" } solana-vote-signer = { path = "../vote-signer", version = "1.0.10" }
tar = "0.4.26" tar = "0.4.26"
[target."cfg(unix)".dependencies] [target."cfg(unix)".dependencies]

View File

@@ -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 = "1.0.9" version = "1.0.10"
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/"
@@ -15,9 +15,9 @@ jsonrpc-derive = "14.0.5"
jsonrpc-http-server = "14.0.6" jsonrpc-http-server = "14.0.6"
log = "0.4.8" log = "0.4.8"
serde_json = "1.0.46" serde_json = "1.0.46"
solana-clap-utils = { path = "../clap-utils", version = "1.0.9" } solana-clap-utils = { path = "../clap-utils", version = "1.0.10" }
solana-metrics = { path = "../metrics", version = "1.0.9" } solana-metrics = { path = "../metrics", version = "1.0.10" }
solana-sdk = { path = "../sdk", version = "1.0.9" } solana-sdk = { path = "../sdk", version = "1.0.10" }
[lib] [lib]
crate-type = ["lib"] crate-type = ["lib"]

View File

@@ -3,7 +3,7 @@ authors = ["Solana Maintainers <maintainers@solana.com>"]
edition = "2018" edition = "2018"
name = "solana-watchtower" name = "solana-watchtower"
description = "Blockchain, Rebuilt for Scale" description = "Blockchain, Rebuilt for Scale"
version = "1.0.9" version = "1.0.10"
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/"
@@ -13,12 +13,12 @@ clap = "2.33.0"
log = "0.4.8" log = "0.4.8"
reqwest = { version = "0.10.1", default-features = false, features = ["blocking", "rustls-tls"] } reqwest = { version = "0.10.1", default-features = false, features = ["blocking", "rustls-tls"] }
serde_json = "1.0" serde_json = "1.0"
solana-clap-utils = { path = "../clap-utils", version = "1.0.9" } solana-clap-utils = { path = "../clap-utils", version = "1.0.10" }
solana-cli-config = { path = "../cli-config", version = "1.0.9" } solana-cli-config = { path = "../cli-config", version = "1.0.10" }
solana-client = { path = "../client", version = "1.0.9" } solana-client = { path = "../client", version = "1.0.10" }
solana-logger = { path = "../logger", version = "1.0.9" } solana-logger = { path = "../logger", version = "1.0.10" }
solana-metrics = { path = "../metrics", version = "1.0.9" } solana-metrics = { path = "../metrics", version = "1.0.10" }
solana-sdk = { path = "../sdk", version = "1.0.9" } solana-sdk = { path = "../sdk", version = "1.0.10" }
[[bin]] [[bin]]
name = "solana-watchtower" name = "solana-watchtower"