From 09ab4551bf528586804d261caa412ba6f47dd3e9 Mon Sep 17 00:00:00 2001 From: Lijun Wang <83639177+lijunwangs@users.noreply.github.com> Date: Sat, 17 Aug 2024 01:30:26 -0700 Subject: [PATCH] use quinn 0.11.x Integrate solana validator with quinn 0.11.x --- Cargo.lock | 2385 ++++++++++++++++-------------- Cargo.toml | 37 +- block_engine/src/block_engine.rs | 8 +- core/src/tpu.rs | 9 +- jito-protos/protos | 2 +- jito-protos/src/convert.rs | 1 - rust-toolchain.toml | 2 +- transaction-relayer/Cargo.toml | 2 +- transaction-relayer/src/main.rs | 6 +- 9 files changed, 1292 insertions(+), 1160 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 20293b0c..04cbd724 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -29,30 +29,30 @@ checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" [[package]] name = "aead" -version = "0.4.3" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b613b8e1e3cf911a086f53f03bf286f52fd7a7258e4fa606f0ef220d39d8877" +checksum = "d122413f284cf2d62fb1b7db97e02edb8cda96d769b16e443a4f6195e35662b0" dependencies = [ + "crypto-common", "generic-array", ] [[package]] name = "aes" -version = "0.7.5" +version = "0.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e8b47f52ea9bae42228d07ec09eb676433d7c4ed1ebdf0f1d1c29ed446f1ab8" +checksum = "b169f7a6d4742236a0a00c541b845991d0ac43e546831af1249753ab4c3aa3a0" dependencies = [ "cfg-if 1.0.0", "cipher", "cpufeatures", - "opaque-debug", ] [[package]] name = "aes-gcm-siv" -version = "0.10.3" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "589c637f0e68c877bbd59a4599bbe849cac8e5f3e4b5a3ebae8f528cd218dcdc" +checksum = "ae0784134ba9375416d469ec31e7c5f9fa94405049cf08c5ce5b4698be673e0d" dependencies = [ "aead", "aes", @@ -63,6 +63,83 @@ dependencies = [ "zeroize", ] +[[package]] +name = "agave-geyser-plugin-interface" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" +dependencies = [ + "log", + "solana-sdk", + "solana-transaction-status", + "thiserror", +] + +[[package]] +name = "agave-validator" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" +dependencies = [ + "agave-geyser-plugin-interface", + "chrono", + "clap 2.34.0", + "console", + "core_affinity", + "crossbeam-channel", + "fd-lock", + "indicatif", + "itertools 0.12.1", + "jsonrpc-core", + "jsonrpc-core-client", + "jsonrpc-derive", + "jsonrpc-ipc-server", + "lazy_static", + "libc", + "libloading", + "log", + "num_cpus", + "rand 0.8.5", + "rayon", + "serde", + "serde_json", + "serde_yaml", + "signal-hook", + "solana-accounts-db", + "solana-clap-utils", + "solana-cli-config", + "solana-core", + "solana-download-utils", + "solana-entry", + "solana-faucet", + "solana-genesis-utils", + "solana-geyser-plugin-manager", + "solana-gossip", + "solana-ledger", + "solana-logger", + "solana-metrics", + "solana-net-utils", + "solana-perf", + "solana-poh", + "solana-program-runtime", + "solana-rayon-threadlimit", + "solana-rpc", + "solana-rpc-client", + "solana-rpc-client-api", + "solana-runtime", + "solana-sdk", + "solana-send-transaction-service", + "solana-storage-bigtable", + "solana-streamer", + "solana-test-validator", + "solana-tpu-client", + "solana-unified-scheduler-pool", + "solana-version", + "solana-vote-program", + "symlink", + "thiserror", + "tikv-jemallocator", + "tokio", +] + [[package]] name = "ahash" version = "0.7.7" @@ -96,12 +173,6 @@ dependencies = [ "memchr", ] -[[package]] -name = "aliasable" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "250f629c0161ad8107cf89319e990051fae62832fd343083bea452d93e2205fd" - [[package]] name = "alloc-no-stdlib" version = "2.0.4" @@ -117,6 +188,12 @@ dependencies = [ "alloc-no-stdlib", ] +[[package]] +name = "allocator-api2" +version = "0.2.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c6cb57a04249c6480766f7f7cef5467412af1490f8d1e243141daddada3264f" + [[package]] name = "android-tzdata" version = "0.1.1" @@ -191,9 +268,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.75" +version = "1.0.86" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4668cab20f66d8d020e1fbc0ebe47217433c1b6c8f2040faf858554e394ace6" +checksum = "b3d1d046238990b9cf5bcde22a3fb3584ee5cf65fb2765f454ed428c7a0063da" [[package]] name = "aquamarine" @@ -256,7 +333,7 @@ dependencies = [ "derivative", "digest 0.10.7", "itertools 0.10.5", - "num-bigint 0.4.4", + "num-bigint 0.4.6", "num-traits", "paste", "rustc_version", @@ -279,7 +356,7 @@ version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7abe79b0e4288889c4574159ab790824d0033b9fdcb2a112a3182fac2e514565" dependencies = [ - "num-bigint 0.4.4", + "num-bigint 0.4.6", "num-traits", "proc-macro2", "quote", @@ -308,7 +385,7 @@ dependencies = [ "ark-serialize-derive", "ark-std", "digest 0.10.7", - "num-bigint 0.4.4", + "num-bigint 0.4.6", ] [[package]] @@ -334,9 +411,9 @@ dependencies = [ [[package]] name = "arrayref" -version = "0.3.7" +version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b4930d2cb77ce62f89ee5d5289b4ac049559b1c45539271f5ed4fdc7db34545" +checksum = "9d151e35f61089500b617991b791fc8bfd237ae50cd5950803758a179b41e67a" [[package]] name = "arrayvec" @@ -634,10 +711,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567" [[package]] -name = "base64ct" -version = "1.6.0" +name = "base64" +version = "0.22.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b" +checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" [[package]] name = "bincode" @@ -650,21 +727,20 @@ dependencies = [ [[package]] name = "bindgen" -version = "0.65.1" +version = "0.69.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cfdf7b466f9a4903edc73f95d6d2bcd5baf8ae620638762244d3f60143643cc5" +checksum = "a00dc851838a2120612785d195287475a3ac45514741da670b735818822129a0" dependencies = [ - "bitflags 1.3.2", + "bitflags 2.6.0", "cexpr", "clang-sys", + "itertools 0.11.0", "lazy_static", "lazycell", - "peeking_take_while", - "prettyplease 0.2.15", "proc-macro2", "quote", "regex", - "rustc-hash", + "rustc-hash 1.1.0", "shlex", "syn 2.0.58", ] @@ -695,9 +771,9 @@ dependencies = [ [[package]] name = "blake3" -version = "1.5.0" +version = "1.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0231f06152bf547e9c2b5194f247cd97aacf6dcd8b15d8e5ec0663f64580da87" +checksum = "30cca6d3674597c30ddf2c587bf8d9d65c9a84d2326d941cc79c9842dfe0ef52" dependencies = [ "arrayref", "arrayvec", @@ -732,16 +808,6 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8d696c370c750c948ada61c69a0ee2cbbb9c50b1019ddb86d9317157a99c2cae" -[[package]] -name = "borsh" -version = "0.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "15bf3650200d8bffa99015595e10f1fbd17de07abbc25bb067da79e769939bfa" -dependencies = [ - "borsh-derive 0.9.3", - "hashbrown 0.11.2", -] - [[package]] name = "borsh" version = "0.10.3" @@ -762,27 +828,14 @@ dependencies = [ "cfg_aliases", ] -[[package]] -name = "borsh-derive" -version = "0.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6441c552f230375d18e3cc377677914d2ca2b0d36e52129fe15450a2dce46775" -dependencies = [ - "borsh-derive-internal 0.9.3", - "borsh-schema-derive-internal 0.9.3", - "proc-macro-crate 0.1.5", - "proc-macro2", - "syn 1.0.109", -] - [[package]] name = "borsh-derive" version = "0.10.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0754613691538d51f329cce9af41d7b7ca150bc973056f1156611489475f54f7" dependencies = [ - "borsh-derive-internal 0.10.3", - "borsh-schema-derive-internal 0.10.3", + "borsh-derive-internal", + "borsh-schema-derive-internal", "proc-macro-crate 0.1.5", "proc-macro2", "syn 1.0.109", @@ -802,17 +855,6 @@ dependencies = [ "syn_derive", ] -[[package]] -name = "borsh-derive-internal" -version = "0.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5449c28a7b352f2d1e592a8a28bf139bc71afb0764a14f3c02500935d8c44065" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "borsh-derive-internal" version = "0.10.3" @@ -824,17 +866,6 @@ dependencies = [ "syn 1.0.109", ] -[[package]] -name = "borsh-schema-derive-internal" -version = "0.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cdbd5696d8bfa21d53d9fe39a714a18538bad11492a42d066dbbc395fb1951c0" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "borsh-schema-derive-internal" version = "0.10.3" @@ -869,9 +900,12 @@ dependencies = [ [[package]] name = "bs58" -version = "0.4.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "771fe0050b883fcc3ea2359b1a96bcfbc090b7116eae7c3c512c7a083fdf23d3" +checksum = "bf88ba1141d185c399bee5288d850d63b8369520c1eafc32a0430b5b6c287bf4" +dependencies = [ + "tinyvec", +] [[package]] name = "bstr" @@ -901,18 +935,18 @@ dependencies = [ [[package]] name = "bytemuck" -version = "1.14.0" +version = "1.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "374d28ec25809ee0e23827c2ab573d729e293f281dfe393500e7ad618baa61c6" +checksum = "6fd4c6dcc3b0aea2f5c0b4b82c2b15fe39ddbc76041a310848f4706edf76bb31" dependencies = [ "bytemuck_derive", ] [[package]] name = "bytemuck_derive" -version = "1.5.0" +version = "1.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "965ab7eb5f8f97d2a083c799f3a1b994fc397b2fe2da5d1da1626ce15a39f2b1" +checksum = "0cc8b54b395f2fcfbb3d90c47b01c7f444d94d05bdeb775811dec868ac3bbc26" dependencies = [ "proc-macro2", "quote", @@ -927,9 +961,9 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "bytes" -version = "1.5.0" +version = "1.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2bd12c1caf447e69cd4528f47f94d203fd2582878ecb9e9465484c4148a8223" +checksum = "8318a53db07bb3f8dca91a600466bdb3f2eaadeedfdbcf02e1accbad9271ba50" [[package]] name = "bzip2" @@ -1010,6 +1044,12 @@ dependencies = [ "libc", ] +[[package]] +name = "cesu8" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d43a04d8753f35258c91f8ec639f792891f748a1edbd759cf1dcea3382ad83c" + [[package]] name = "cexpr" version = "0.6.0" @@ -1039,9 +1079,9 @@ checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724" [[package]] name = "chrono" -version = "0.4.31" +version = "0.4.38" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f2c685bad3eb3d45a01354cedb7d5faa66194d1d58ba6e267a8de788f79db38" +checksum = "a21f936df1771bf62b77f047b726c4625ff2e8aa607c01ec06e5a05bd8463401" dependencies = [ "android-tzdata", "iana-time-zone", @@ -1049,7 +1089,7 @@ dependencies = [ "num-traits", "serde", "wasm-bindgen", - "windows-targets 0.48.5", + "windows-targets 0.52.6", ] [[package]] @@ -1063,11 +1103,12 @@ dependencies = [ [[package]] name = "cipher" -version = "0.3.0" +version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ee52072ec15386f770805afd189a01c8841be8696bed250fa2f13c4c0d6dfb7" +checksum = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad" dependencies = [ - "generic-array", + "crypto-common", + "inout", ] [[package]] @@ -1091,27 +1132,11 @@ dependencies = [ "atty", "bitflags 1.3.2", "strsim 0.8.0", - "textwrap 0.11.0", + "textwrap", "unicode-width", "vec_map", ] -[[package]] -name = "clap" -version = "3.2.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ea181bf566f71cb9a5d17a59e1871af638180a18fb0035c92ae62b705207123" -dependencies = [ - "atty", - "bitflags 1.3.2", - "clap_lex 0.2.4", - "indexmap 1.9.3", - "once_cell", - "strsim 0.10.0", - "termcolor", - "textwrap 0.16.0", -] - [[package]] name = "clap" version = "4.4.8" @@ -1130,7 +1155,7 @@ checksum = "07cdf1b148b25c1e1f7a42225e30a0d99a615cd4637eae7365548dd4529b95bc" dependencies = [ "anstream", "anstyle", - "clap_lex 0.6.0", + "clap_lex", "strsim 0.10.0", ] @@ -1146,15 +1171,6 @@ dependencies = [ "syn 2.0.58", ] -[[package]] -name = "clap_lex" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2850f2f5a82cbf437dd5af4d49848fbdfc27c157c3d010345776f952765261c5" -dependencies = [ - "os_str_bytes", -] - [[package]] name = "clap_lex" version = "0.6.0" @@ -1180,6 +1196,16 @@ dependencies = [ "unreachable", ] +[[package]] +name = "combine" +version = "4.6.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba5a308b75df32fe02788e748662718f03fde005016435c444eea572398219fd" +dependencies = [ + "bytes", + "memchr", +] + [[package]] name = "concurrent-queue" version = "2.3.0" @@ -1222,12 +1248,6 @@ dependencies = [ "web-sys", ] -[[package]] -name = "const-oid" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e4c78c047431fee22c1a7bb92e00ad095a02a983affe4d8a72e2a2c62c1b94f3" - [[package]] name = "constant_time_eq" version = "0.3.0" @@ -1242,9 +1262,9 @@ checksum = "6245d59a3e82a7fc217c5828a6692dbc6dfb63a0c8c90495621f7b9d79704a0e" [[package]] name = "core-foundation" -version = "0.9.3" +version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "194a7a9e6de53fa55116934067c844d9d749312f75c6f6d0980e8c252f8c2146" +checksum = "91e195e091a93c46f7102ec7818a2aa394e1e1771c3ab4825963fa03e45afb8f" dependencies = [ "core-foundation-sys", "libc", @@ -1252,9 +1272,9 @@ dependencies = [ [[package]] name = "core-foundation-sys" -version = "0.8.4" +version = "0.8.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e496a50fda8aacccc86d7529e2c1e0892dbd0f898a6b5645b5561b89c3210efa" +checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" [[package]] name = "core_affinity" @@ -1315,7 +1335,7 @@ dependencies = [ "autocfg", "cfg-if 1.0.0", "crossbeam-utils", - "memoffset 0.9.0", + "memoffset", "scopeguard", ] @@ -1338,6 +1358,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" dependencies = [ "generic-array", + "rand_core 0.6.4", "typenum", ] @@ -1353,18 +1374,30 @@ dependencies = [ [[package]] name = "ctr" -version = "0.8.0" +version = "0.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "049bb91fb4aaf0e3c7efa6cd5ef877dbbbd15b39dad06d9948de4ec8a75761ea" +checksum = "0369ee1ad671834580515889b80f2ea915f23b8be8d0daa4bbaf2ac5c7590835" dependencies = [ "cipher", ] [[package]] name = "curve25519-dalek" -version = "3.2.1" +version = "3.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90f9d052967f590a76e62eb387bd0bbb1b000182c3cefe5364db6b7211651bc0" +checksum = "0b9fdf9972b2bd6af2d913799d9ebc165ea4d2e65878e329d9c6b372c4491b61" +dependencies = [ + "byteorder", + "digest 0.9.0", + "rand_core 0.5.1", + "subtle", + "zeroize", +] + +[[package]] +name = "curve25519-dalek" +version = "3.2.1" +source = "git+https://github.com/anza-xyz/curve25519-dalek.git?rev=b500cdc2a920cd5bff9e2dd974d7b97349d61464#b500cdc2a920cd5bff9e2dd974d7b97349d61464" dependencies = [ "byteorder", "digest 0.9.0", @@ -1451,7 +1484,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "978747c1d849a7d2ee5e8adc0159961c48fb7e5db2f06af6723b80123bb53856" dependencies = [ "cfg-if 1.0.0", - "hashbrown 0.14.2", + "hashbrown 0.14.5", "lock_api", "once_cell", "parking_lot_core 0.9.9", @@ -1464,15 +1497,6 @@ version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7e962a19be5cfc3f3bf6dd8f61eb50107f356ad6270fbb3ed41476571db78be5" -[[package]] -name = "der" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6919815d73839e7ad218de758883aae3a257ba6759ce7a9992501efbb53d705c" -dependencies = [ - "const-oid", -] - [[package]] name = "der-parser" version = "8.2.0" @@ -1482,20 +1506,11 @@ dependencies = [ "asn1-rs", "displaydoc", "nom", - "num-bigint 0.4.4", + "num-bigint 0.4.6", "num-traits", "rusticata-macros", ] -[[package]] -name = "deranged" -version = "0.3.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f32d04922c60427da6f9fef14d042d9edddef64cb9d4ce0d64d0685fbeb1fd3" -dependencies = [ - "powerfmt", -] - [[package]] name = "derivation-path" version = "0.2.0" @@ -1655,7 +1670,7 @@ version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c762bae6dcaf24c4c84667b8579785430908723d5c889f469d76a41d59cc7a9d" dependencies = [ - "curve25519-dalek", + "curve25519-dalek 3.2.0", "ed25519", "rand 0.7.3", "serde", @@ -1734,7 +1749,7 @@ version = "3.1.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1bf1fa3f06bbff1ea5b1a9c7b14aa992a39657db60a2759457328d7e058f49ee" dependencies = [ - "num-bigint 0.4.4", + "num-bigint 0.4.6", "num-traits", "proc-macro2", "quote", @@ -1844,9 +1859,9 @@ checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80" [[package]] name = "flate2" -version = "1.0.28" +version = "1.0.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46303f565772937ffe1d394a4fac6f411c6013172fadde9dcdb1e147a086940e" +checksum = "7f211bbe8e69bbd0cfdea405084f128ae8b4aaa6b0b522fc8f2b009084797920" dependencies = [ "crc32fast", "miniz_oxide", @@ -1981,6 +1996,12 @@ version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "38d84fa142264698cdce1a9f9172cf383a0c82de1bddcf3092901442c4097004" +[[package]] +name = "futures-timer" +version = "3.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f288b0a4f20f9a56b5d1da57e2227c661b7b16168e2f72365f57b63326e29b24" + [[package]] name = "futures-util" version = "0.3.30" @@ -2092,14 +2113,23 @@ dependencies = [ ] [[package]] -name = "goblin" -version = "0.5.4" +name = "governor" +version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7666983ed0dd8d21a6f6576ee00053ca0926fb281a5522577a4dbd0f1b54143" +checksum = "68a7f542ee6b35af73b06abc0dad1c1bae89964e4e253bc4b587b91c9637867b" dependencies = [ - "log", - "plain", - "scroll", + "cfg-if 1.0.0", + "dashmap", + "futures 0.3.30", + "futures-timer", + "no-std-compat", + "nonzero_ext", + "parking_lot 0.12.1", + "portable-atomic", + "quanta", + "rand 0.8.5", + "smallvec", + "spinning_top", ] [[package]] @@ -2114,7 +2144,7 @@ dependencies = [ "futures-sink", "futures-util", "http", - "indexmap 2.2.6", + "indexmap 2.4.0", "slab", "tokio", "tokio-util 0.7.10", @@ -2130,15 +2160,6 @@ dependencies = [ "byteorder", ] -[[package]] -name = "hashbrown" -version = "0.11.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab5ef0d4909ef3724cc8cce6ccc8572c5c817592e9285f5464f8e86f8bd3726e" -dependencies = [ - "ahash 0.7.7", -] - [[package]] name = "hashbrown" version = "0.12.3" @@ -2159,9 +2180,13 @@ dependencies = [ [[package]] name = "hashbrown" -version = "0.14.2" +version = "0.14.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f93e7192158dbcda357bdec5fb5788eebf8bbac027f3f33e719d29135ae84156" +checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" +dependencies = [ + "ahash 0.8.11", + "allocator-api2", +] [[package]] name = "headers" @@ -2266,9 +2291,9 @@ dependencies = [ [[package]] name = "http" -version = "0.2.11" +version = "0.2.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8947b1a6fad4393052c7ba1f4cd97bed3e953a95c79c92ad9b051a04611d9fbb" +checksum = "601cbb57e577e2f5ef5be8e7b83f0f63994f25aa94d673e54a92d5c516d101f1" dependencies = [ "bytes", "fnv", @@ -2361,7 +2386,7 @@ dependencies = [ "futures-util", "http", "hyper", - "rustls", + "rustls 0.21.12", "tokio", "tokio-rustls", ] @@ -2484,9 +2509,9 @@ dependencies = [ [[package]] name = "index_list" -version = "0.2.11" +version = "0.2.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70891286cb8e844fdfcf1178b47569699f9e20b5ecc4b45a6240a64771444638" +checksum = "4e6ba961c14e98151cd6416dd3685efe786a94c38bc1a535c06ceff0a1600813" [[package]] name = "indexmap" @@ -2500,20 +2525,20 @@ dependencies = [ [[package]] name = "indexmap" -version = "2.2.6" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "168fb715dda47215e360912c096649d23d58bf392ac62f73919e831745e40f26" +checksum = "93ead53efc7ea8ed3cfb0c79fc8023fbb782a5432b52830b6518941cebe6505c" dependencies = [ "equivalent", - "hashbrown 0.14.2", + "hashbrown 0.14.5", "rayon", ] [[package]] name = "indicatif" -version = "0.17.7" +version = "0.17.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb28741c9db9a713d93deb3bb9515c20788cef5815265bee4980e87bde7e0f25" +checksum = "763a5a8f45087d6bcea4222e7b72c291a054edf80e4ef6efd2a4979878c7bea3" dependencies = [ "console", "instant", @@ -2522,6 +2547,15 @@ dependencies = [ "unicode-width", ] +[[package]] +name = "inout" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a0c10553d664a4d0bcff9f4215d0aac67a639cc68ef660840afe309b807bc9f5" +dependencies = [ + "generic-array", +] + [[package]] name = "instant" version = "0.1.12" @@ -2555,6 +2589,15 @@ dependencies = [ "either", ] +[[package]] +name = "itertools" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569" +dependencies = [ + "either", +] + [[package]] name = "itoa" version = "1.0.9" @@ -2682,6 +2725,7 @@ dependencies = [ name = "jito-transaction-relayer" version = "0.2.0" dependencies = [ + "agave-validator", "bincode", "clap 4.4.8", "crossbeam-channel", @@ -2709,7 +2753,6 @@ dependencies = [ "solana-perf", "solana-program", "solana-sdk", - "solana-validator", "tikv-jemallocator", "tokio", "tokio-stream", @@ -2717,8 +2760,28 @@ dependencies = [ ] [[package]] -name = "jobserver" -version = "0.1.27" +name = "jni" +version = "0.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6df18c2e3db7e453d3c6ac5b3e9d5182664d28788126d39b91f2d1e22b017ec" +dependencies = [ + "cesu8", + "combine 4.6.7", + "jni-sys", + "log", + "thiserror", + "walkdir", +] + +[[package]] +name = "jni-sys" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8eaf4bc02d17cbdd7ff4c7438cafcdf7fb9a4613313ad11b4f8fefe7d3fa0130" + +[[package]] +name = "jobserver" +version = "0.1.27" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8c37f63953c4c63420ed5fd3d6d398c719489b9f872b9fa683262f8edd363c7d" dependencies = [ @@ -2727,9 +2790,9 @@ dependencies = [ [[package]] name = "js-sys" -version = "0.3.69" +version = "0.3.70" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29c15563dc2726973df627357ce0c9ddddbea194836909d655df6a75d2cf296d" +checksum = "1868808506b929d7b0cfa8f75951347aa71bb21144b7791bae35d9bccfcfe37a" dependencies = [ "wasm-bindgen", ] @@ -2906,14 +2969,23 @@ version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4ee7893dab2e44ae5f9d0173f26ff4aa327c10b01b06a72b52dd9405b628640d" dependencies = [ - "indexmap 2.2.6", + "indexmap 2.4.0", +] + +[[package]] +name = "lazy-lru" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b031495510a5a17bfb14e9f1fc00f6efdebfaa9ab04a876a4e153b042a3fe06" +dependencies = [ + "hashbrown 0.14.5", ] [[package]] name = "lazy_static" -version = "1.4.0" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" +checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" [[package]] name = "lazycell" @@ -2956,9 +3028,9 @@ dependencies = [ [[package]] name = "librocksdb-sys" -version = "0.11.0+8.1.1" +version = "0.16.0+8.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3386f101bcb4bd252d8e9d2fb41ec3b0862a15a62b478c355b2982efa469e3e" +checksum = "ce3d60bc059831dc1c83903fb45c103f75db65c5a7bf22272764d9cc683e348c" dependencies = [ "bindgen", "bzip2-sys", @@ -3036,7 +3108,7 @@ checksum = "3c9a85a9752c549ceb7578064b4ed891179d20acd85f27318573b64d2d7ee7ee" dependencies = [ "ark-bn254", "ark-ff", - "num-bigint 0.4.4", + "num-bigint 0.4.6", "thiserror", ] @@ -3058,9 +3130,9 @@ dependencies = [ [[package]] name = "log" -version = "0.4.20" +version = "0.4.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f" +checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24" [[package]] name = "lru" @@ -3073,9 +3145,9 @@ dependencies = [ [[package]] name = "lz4" -version = "1.24.0" +version = "1.26.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e9e2dd86df36ce760a60f6ff6ad526f7ba1f14ba0356f8254fb6905e6494df1" +checksum = "958b4caa893816eea05507c20cfe47574a43d9a697138a7872990bba8a0ece68" dependencies = [ "libc", "lz4-sys", @@ -3083,9 +3155,9 @@ dependencies = [ [[package]] name = "lz4-sys" -version = "1.9.4" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57d27b317e207b10f69f5e75494119e391a96f48861ae870d1da6edac98ca900" +checksum = "109de74d5d2353660401699a4174a4ff23fcc649caf553df71933c7fb45ad868" dependencies = [ "cc", "libc", @@ -3130,15 +3202,6 @@ dependencies = [ "libc", ] -[[package]] -name = "memoffset" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5de893c32cde5f383baa4c04c5d6dbdd735cfd4a794b0debdb2bb1b421da5ff4" -dependencies = [ - "autocfg", -] - [[package]] name = "memoffset" version = "0.9.0" @@ -3166,6 +3229,16 @@ version = "0.3.17" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" +[[package]] +name = "mime_guess" +version = "2.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f7c44f8e672c00fe5308fa235f821cb4198414e1c77935c1ab6948d3fd78550e" +dependencies = [ + "mime", + "unicase", +] + [[package]] name = "min-max-heap" version = "1.3.0" @@ -3283,17 +3356,23 @@ dependencies = [ [[package]] name = "nix" -version = "0.26.4" +version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "598beaf3cc6fdd9a5dfb1630c2800c7acd31df7aaf0f565796fba2b53ca1af1b" +checksum = "71e2746dc3a24dd78b3cfcb7be93368c6de9963d30f43a6a73998a9cf4b17b46" dependencies = [ - "bitflags 1.3.2", + "bitflags 2.6.0", "cfg-if 1.0.0", + "cfg_aliases", "libc", - "memoffset 0.7.1", - "pin-utils", + "memoffset", ] +[[package]] +name = "no-std-compat" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b93853da6d84c2e3c7d730d6473e8817692dd89be387eb01b94d7f108ecb5b8c" + [[package]] name = "nom" version = "7.1.3" @@ -3304,6 +3383,12 @@ dependencies = [ "minimal-lexical", ] +[[package]] +name = "nonzero_ext" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38bf9645c8b145698bb0b18a4637dcacbc421ea49bef2317e4fd8065a387cf21" + [[package]] name = "normalize-line-endings" version = "0.3.0" @@ -3337,11 +3422,10 @@ dependencies = [ [[package]] name = "num-bigint" -version = "0.4.4" +version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "608e7659b5c3d7cba262d894801b9ec9d00de989e8a82bd4bef91d08da45cdc0" +checksum = "a5e44f723f1133c9deac646763579fdb3ac745e418f2a7af9cd0c431da1f20b9" dependencies = [ - "autocfg", "num-integer", "num-traits", ] @@ -3356,17 +3440,6 @@ dependencies = [ "num-traits", ] -[[package]] -name = "num-derive" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "876a53fff98e03a936a674b29568b0e605f06b29372c2489ff4de23f1949743d" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "num-derive" version = "0.4.1" @@ -3380,11 +3453,10 @@ dependencies = [ [[package]] name = "num-integer" -version = "0.1.45" +version = "0.1.46" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9" +checksum = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f" dependencies = [ - "autocfg", "num-traits", ] @@ -3413,9 +3485,9 @@ dependencies = [ [[package]] name = "num-traits" -version = "0.2.17" +version = "0.2.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39e3200413f237f41ab11ad6d161bc7239c84dcb631773ccd7de3dfe4b5c267c" +checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" dependencies = [ "autocfg", ] @@ -3432,44 +3504,32 @@ dependencies = [ [[package]] name = "num_enum" -version = "0.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a015b430d3c108a207fd776d2e2196aaf8b1cf8cf93253e3a097ff3085076a1" -dependencies = [ - "num_enum_derive 0.6.1", -] - -[[package]] -name = "num_enum" -version = "0.7.2" +version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02339744ee7253741199f897151b38e72257d13802d4ee837285cc2990a90845" +checksum = "4e613fc340b2220f734a8595782c551f1250e969d87d3be1ae0579e8d4065179" dependencies = [ - "num_enum_derive 0.7.2", + "num_enum_derive", ] [[package]] name = "num_enum_derive" -version = "0.6.1" +version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96667db765a921f7b295ffee8b60472b686a51d4f21c2ee4ffdb94c7013b65a6" +checksum = "af1844ef2428cc3e1cb900be36181049ef3d3193c63e43026cfe202983b27a56" dependencies = [ - "proc-macro-crate 1.3.1", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", "syn 2.0.58", ] [[package]] -name = "num_enum_derive" -version = "0.7.2" +name = "num_threads" +version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "681030a937600a36906c185595136d26abfebb4aa9c65701cefcaf8578bb982b" +checksum = "5c7398b9c8b70908f6371f47ed36737907c87c52af34c268fed0bf0ceb92ead9" dependencies = [ - "proc-macro-crate 2.0.0", - "proc-macro2", - "quote", - "syn 2.0.58", + "libc", ] [[package]] @@ -3498,9 +3558,9 @@ dependencies = [ [[package]] name = "once_cell" -version = "1.18.0" +version = "1.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d" +checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" [[package]] name = "opaque-debug" @@ -3581,35 +3641,6 @@ dependencies = [ "thiserror", ] -[[package]] -name = "os_str_bytes" -version = "6.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2355d85b9a3786f481747ced0e0ff2ba35213a1f9bd406ed906554d7af805a1" - -[[package]] -name = "ouroboros" -version = "0.15.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1358bd1558bd2a083fed428ffeda486fbfb323e698cdda7794259d592ca72db" -dependencies = [ - "aliasable", - "ouroboros_macro", -] - -[[package]] -name = "ouroboros_macro" -version = "0.15.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f7d21ccd03305a674437ee1248f3ab5d4b1db095cf1caf49f1713ddf61956b7" -dependencies = [ - "Inflector", - "proc-macro-error", - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "parity-tokio-ipc" version = "0.9.0" @@ -3696,12 +3727,6 @@ dependencies = [ "digest 0.10.7", ] -[[package]] -name = "peeking_take_while" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19b17cddbe7ec3f8bc800887bab5e717348c95ea2ca0b1bf0837fb964dc67099" - [[package]] name = "pem" version = "1.1.1" @@ -3784,7 +3809,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e1d3afd2628e69da2be385eb6f2fd57c8ac7977ceeff6dc166ff1657b0e386a9" dependencies = [ "fixedbitset", - "indexmap 2.2.6", + "indexmap 2.4.0", ] [[package]] @@ -3819,34 +3844,17 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" -[[package]] -name = "pkcs8" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7cabda3fb821068a9a4fab19a683eac3af12edf0f34b94a8be53c4972b8149d0" -dependencies = [ - "der", - "spki", - "zeroize", -] - [[package]] name = "pkg-config" version = "0.3.27" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "26072860ba924cbfa98ea39c8c19b4dd6a4a25423dbdf219c1eca91aa0cf6964" -[[package]] -name = "plain" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4596b6d070b27117e987119b4dac604f3c58cfb0b191112e24771b2faeac1a6" - [[package]] name = "polyval" -version = "0.5.3" +version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8419d2b623c7c0896ff2d5d96e2cb4ede590fed28fcc34934f4c33c036e620a1" +checksum = "9d1fe60d06143b2430aa532c94cfe9e29783047f06c0d7fd359a9a51b729fa25" dependencies = [ "cfg-if 1.0.0", "cpufeatures", @@ -3856,15 +3864,9 @@ dependencies = [ [[package]] name = "portable-atomic" -version = "1.5.1" +version = "1.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3bccab0e7fd7cc19f820a1c8c91720af652d0c88dc9664dd72aef2614f04af3b" - -[[package]] -name = "powerfmt" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" +checksum = "da544ee218f0d287a911e9c99a39a8c9bc8fcad3cb8db5959940044ecfc67265" [[package]] name = "ppv-lite86" @@ -3943,32 +3945,13 @@ dependencies = [ "toml", ] -[[package]] -name = "proc-macro-crate" -version = "1.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f4c021e1093a56626774e81216a4ce732a735e5bad4868a03f3ed65ca0c3919" -dependencies = [ - "once_cell", - "toml_edit 0.19.15", -] - -[[package]] -name = "proc-macro-crate" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e8366a6159044a37876a2b9817124296703c586a5c92e2c53751fa06d8d43e8" -dependencies = [ - "toml_edit 0.20.7", -] - [[package]] name = "proc-macro-crate" version = "3.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6d37c51ca738a55da99dc0c4a34860fd675453b8b36209178c2249bb13651284" dependencies = [ - "toml_edit 0.21.1", + "toml_edit", ] [[package]] @@ -3997,9 +3980,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.79" +version = "1.0.86" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e835ff2298f5721608eb1a980ecaee1aef2c132bf95ecc026a11b7bf3c01c02e" +checksum = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77" dependencies = [ "unicode-ident", ] @@ -4141,18 +4124,34 @@ dependencies = [ "syn 2.0.58", ] +[[package]] +name = "quanta" +version = "0.12.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e5167a477619228a0b284fac2674e3c388cba90631d7b7de620e6f1fcd08da5" +dependencies = [ + "crossbeam-utils", + "libc", + "once_cell", + "raw-cpuid", + "wasi 0.11.0+wasi-snapshot-preview1", + "web-sys", + "winapi 0.3.9", +] + [[package]] name = "quinn" -version = "0.10.2" +version = "0.11.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8cc2c5017e4b43d5995dcea317bc46c1e09404c0a9664d2908f7f02dfe943d75" +checksum = "b22d8e7369034b9a7132bc2008cac12f2013c8132b45e0554e6e20e2617f2156" dependencies = [ "bytes", "pin-project-lite", "quinn-proto", "quinn-udp", - "rustc-hash", - "rustls", + "rustc-hash 2.0.0", + "rustls 0.23.12", + "socket2", "thiserror", "tokio", "tracing", @@ -4160,16 +4159,16 @@ dependencies = [ [[package]] name = "quinn-proto" -version = "0.10.6" +version = "0.11.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "141bf7dfde2fbc246bfd3fe12f2455aa24b0fbd9af535d8c86c7bd1381ff2b1a" +checksum = "ba92fb39ec7ad06ca2582c0ca834dfeadcaf06ddfc8e635c80aa7e1c05315fdd" dependencies = [ "bytes", "rand 0.8.5", - "ring 0.16.20", - "rustc-hash", - "rustls", - "rustls-native-certs", + "ring", + "rustc-hash 2.0.0", + "rustls 0.23.12", + "rustls-platform-verifier", "slab", "thiserror", "tinyvec", @@ -4178,15 +4177,15 @@ dependencies = [ [[package]] name = "quinn-udp" -version = "0.4.1" +version = "0.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "055b4e778e8feb9f93c4e439f71dc2156ef13360b432b799e179a8c4cdf0b1d7" +checksum = "8bffec3605b73c6f1754535084a85229fa8a30f86014e6c81aeec4abb68b0285" dependencies = [ - "bytes", "libc", + "once_cell", "socket2", "tracing", - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]] @@ -4278,6 +4277,15 @@ dependencies = [ "rand_core 0.6.4", ] +[[package]] +name = "raw-cpuid" +version = "11.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb9ee317cfe3fbd54b36a511efc1edd42e216903c9cd575e686dd68a2ba90d8d" +dependencies = [ + "bitflags 2.6.0", +] + [[package]] name = "rayon" version = "1.10.0" @@ -4298,18 +4306,6 @@ dependencies = [ "crossbeam-utils", ] -[[package]] -name = "rcgen" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffbe84efe2f38dea12e9bfc1f65377fdf03e53a18cb3b995faedf7934c7e785b" -dependencies = [ - "pem", - "ring 0.16.20", - "time", - "yasna", -] - [[package]] name = "redox_syscall" version = "0.2.16" @@ -4360,14 +4356,14 @@ dependencies = [ "lru", "parking_lot 0.11.2", "smallvec", - "spin 0.9.8", + "spin", ] [[package]] name = "regex" -version = "1.10.5" +version = "1.10.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b91213439dad192326a0d7c6ee3955910425f441d7038e0d6933b0aec5c4517f" +checksum = "4219d74c6b67a3654a9fbebc4b419e22126d13d2f3c4a07ee0cb61ff79a79619" dependencies = [ "aho-corasick", "memchr", @@ -4414,12 +4410,13 @@ dependencies = [ "js-sys", "log", "mime", + "mime_guess", "native-tls", "once_cell", "percent-encoding 2.3.1", "pin-project-lite", - "rustls", - "rustls-pemfile", + "rustls 0.21.12", + "rustls-pemfile 1.0.4", "serde", "serde_json", "serde_urlencoded", @@ -4439,18 +4436,18 @@ dependencies = [ ] [[package]] -name = "ring" -version = "0.16.20" +name = "reqwest-middleware" +version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3053cf52e236a3ed746dfc745aa9cacf1b791d846bdaf412f60a8d7d6e17c8fc" +checksum = "5a735987236a8e238bf0296c7e351b999c188ccc11477f311b82b55c93984216" dependencies = [ - "cc", - "libc", - "once_cell", - "spin 0.5.2", - "untrusted 0.7.1", - "web-sys", - "winapi 0.3.9", + "anyhow", + "async-trait", + "http", + "reqwest", + "serde", + "task-local-extensions", + "thiserror", ] [[package]] @@ -4462,16 +4459,16 @@ dependencies = [ "cc", "getrandom 0.2.11", "libc", - "spin 0.9.8", - "untrusted 0.9.0", + "spin", + "untrusted", "windows-sys 0.48.0", ] [[package]] name = "rocksdb" -version = "0.21.0" +version = "0.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb6f170a4041d50a0ce04b0d2e14916d6ca863ea2e422689a5b694395d299ffe" +checksum = "6bd13e55d6d7b8cd0ea569161127567cd587676c99f4472f779a0279aa60a7a7" dependencies = [ "libc", "librocksdb-sys", @@ -4519,6 +4516,12 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" +[[package]] +name = "rustc-hash" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "583034fd73374156e66797ed8e5b0d5690409c9226b22d87cb7f19821c05d152" + [[package]] name = "rustc_version" version = "0.4.0" @@ -4557,11 +4560,25 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3f56a14d1f48b391359b22f731fd4bd7e43c97f3c50eee276f3aa09c94784d3e" dependencies = [ "log", - "ring 0.17.5", - "rustls-webpki", + "ring", + "rustls-webpki 0.101.7", "sct", ] +[[package]] +name = "rustls" +version = "0.23.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c58f8c84392efc0a126acce10fa59ff7b3d2ac06ab451a33f2741989b806b044" +dependencies = [ + "once_cell", + "ring", + "rustls-pki-types", + "rustls-webpki 0.102.6", + "subtle", + "zeroize", +] + [[package]] name = "rustls-native-certs" version = "0.6.3" @@ -4569,7 +4586,20 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a9aace74cb666635c918e9c12bc0d348266037aa8eb599b5cba565709a8dff00" dependencies = [ "openssl-probe", - "rustls-pemfile", + "rustls-pemfile 1.0.4", + "schannel", + "security-framework", +] + +[[package]] +name = "rustls-native-certs" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a88d6d420651b496bdd98684116959239430022a115c1240e6c3993be0b15fba" +dependencies = [ + "openssl-probe", + "rustls-pemfile 2.1.3", + "rustls-pki-types", "schannel", "security-framework", ] @@ -4583,14 +4613,68 @@ dependencies = [ "base64 0.21.7", ] +[[package]] +name = "rustls-pemfile" +version = "2.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "196fe16b00e106300d3e45ecfcb764fa292a535d7326a29a5875c579c7417425" +dependencies = [ + "base64 0.22.1", + "rustls-pki-types", +] + +[[package]] +name = "rustls-pki-types" +version = "1.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc0a2ce646f8655401bb81e7927b812614bd5d91dbc968696be50603510fcaf0" + +[[package]] +name = "rustls-platform-verifier" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93bda3f493b9abe5b93b3e7e3ecde0df292f2bd28c0296b90586ee0055ff5123" +dependencies = [ + "core-foundation", + "core-foundation-sys", + "jni", + "log", + "once_cell", + "rustls 0.23.12", + "rustls-native-certs 0.7.1", + "rustls-platform-verifier-android", + "rustls-webpki 0.102.6", + "security-framework", + "security-framework-sys", + "webpki-roots 0.26.3", + "winapi 0.3.9", +] + +[[package]] +name = "rustls-platform-verifier-android" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f87165f0995f63a9fbeea62b64d10b4d9d8e78ec6d7d51fb2125fda7bb36788f" + [[package]] name = "rustls-webpki" version = "0.101.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8b6275d1ee7a1cd780b64aca7726599a1dbc893b1e64144529e55c3c2f745765" dependencies = [ - "ring 0.17.5", - "untrusted 0.9.0", + "ring", + "untrusted", +] + +[[package]] +name = "rustls-webpki" +version = "0.102.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e6b52d4fda176fd835fdc55a835d4a89b8499cad995885a21149d5ad62f852e" +dependencies = [ + "ring", + "rustls-pki-types", + "untrusted", ] [[package]] @@ -4634,20 +4718,6 @@ name = "scroll" version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "04c565b551bafbef4157586fa379538366e4385d42082f255bfd96e4fe8519da" -dependencies = [ - "scroll_derive", -] - -[[package]] -name = "scroll_derive" -version = "0.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1db149f81d46d2deba7cd3c50772474707729550221e69588478ebf9ada425ae" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.58", -] [[package]] name = "sct" @@ -4655,28 +4725,29 @@ version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "da046153aa2352493d6cb7da4b6e5c0c057d8a1d0a9aa8560baffdd945acd414" dependencies = [ - "ring 0.17.5", - "untrusted 0.9.0", + "ring", + "untrusted", ] [[package]] name = "security-framework" -version = "2.9.2" +version = "2.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05b64fb303737d99b81884b2c63433e9ae28abebe5eb5045dcdd175dc2ecf4de" +checksum = "897b2245f0b511c87893af39b033e5ca9cce68824c4d7e7630b5a1d339658d02" dependencies = [ - "bitflags 1.3.2", + "bitflags 2.6.0", "core-foundation", "core-foundation-sys", "libc", + "num-bigint 0.4.6", "security-framework-sys", ] [[package]] name = "security-framework-sys" -version = "2.9.1" +version = "2.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e932934257d3b408ed8f30db49d85ea163bfe74961f017f405b025af298f0c7a" +checksum = "75da29fe9b9b08fe9d6b22b5b4bcbc75d8db3aa31e639aa56bb62e9d46bfceaf" dependencies = [ "core-foundation-sys", "libc", @@ -4699,9 +4770,9 @@ dependencies = [ [[package]] name = "serde" -version = "1.0.197" +version = "1.0.208" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3fb1c873e1b9b056a4dc4c0c198b24c3ffa059243875552b2bd0933b1aee4ce2" +checksum = "cff085d2cb684faa248efb494c39b68e522822ac0de72ccf08109abde717cfb2" dependencies = [ "serde_derive", ] @@ -4717,9 +4788,9 @@ dependencies = [ [[package]] name = "serde_derive" -version = "1.0.197" +version = "1.0.208" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7eb0b34b42edc17f6b7cac84a52a1c5f0e1bb2227e997ca9011ea3dd34e8610b" +checksum = "24008e81ff7613ed8e5ba0cfaf24e2c2f1e5b8a0495711e44fcd4882fca62bcf" dependencies = [ "proc-macro2", "quote", @@ -4728,11 +4799,12 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.120" +version = "1.0.125" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e0d21c9a8cae1235ad58a00c11cb40d4b1e5c784f1ef2c537876ed6ffd8b7c5" +checksum = "83c8e735a073ccf5be70aa8066aa984eaf2fa000db6c8d0100ae605b366d31ed" dependencies = [ "itoa", + "memchr", "ryu", "serde", ] @@ -4777,7 +4849,7 @@ version = "0.9.34+deprecated" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6a8b1a1a2ebf674015cc02edccce75287f1a0130d394307b36743c2f5d504b47" dependencies = [ - "indexmap 2.2.6", + "indexmap 2.4.0", "itoa", "ryu", "serde", @@ -4955,12 +5027,12 @@ dependencies = [ [[package]] name = "socket2" -version = "0.5.5" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b5fac59a5cb5dd637972e5fca70daf0523c9067fcdc4842f053dae04a18f8e9" +checksum = "ce305eb0b4296696835b71df73eb912e0f1ffd2556a501fcede6e0c50349191c" dependencies = [ "libc", - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]] @@ -4980,12 +5052,11 @@ dependencies = [ [[package]] name = "solana-account-decoder" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4a1297281b114406a9165c6f55ff9f8706f6244545194c7aa837f9b25dee16e" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" dependencies = [ "Inflector", - "base64 0.21.7", + "base64 0.22.1", "bincode", "bs58", "bv", @@ -5005,60 +5076,44 @@ dependencies = [ [[package]] name = "solana-accounts-db" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff031129c39c32d0176be1e3bb9352dc83c521187058d6c16febfee2aedddca0" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" dependencies = [ - "arrayref", + "ahash 0.8.11", "bincode", "blake3", "bv", "bytemuck", - "byteorder", + "bytemuck_derive", "bzip2", "crossbeam-channel", "dashmap", - "flate2", - "fnv", - "im", "index_list", - "itertools 0.10.5", + "indexmap 2.4.0", + "itertools 0.12.1", "lazy_static", "log", "lz4", "memmap2", "modular-bitfield", - "num-derive 0.4.1", - "num-traits", "num_cpus", - "num_enum 0.7.2", - "ouroboros", - "percentage", - "qualifier_attr", + "num_enum", "rand 0.8.5", "rayon", - "regex", - "rustc_version", "seqlock", "serde", "serde_derive", "smallvec", "solana-bucket-map", - "solana-config-program", - "solana-frozen-abi", - "solana-frozen-abi-macro", + "solana-inline-spl", + "solana-lattice-hash", "solana-measure", "solana-metrics", "solana-nohash-hasher", - "solana-program-runtime", "solana-rayon-threadlimit", "solana-sdk", - "solana-stake-program", - "solana-system-program", - "solana-vote-program", + "solana-svm-transaction", "static_assertions", - "strum", - "strum_macros", "tar", "tempfile", "thiserror", @@ -5066,30 +5121,33 @@ dependencies = [ [[package]] name = "solana-address-lookup-table-program" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "622d95db00595a3dd2abd2ee22c37cf3744ba3df8f531d5c79faa3c155e2814b" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" dependencies = [ "bincode", "bytemuck", "log", - "num-derive 0.4.1", + "num-derive", "num-traits", - "rustc_version", - "serde", - "solana-frozen-abi", - "solana-frozen-abi-macro", + "solana-log-collector", "solana-program", "solana-program-runtime", "solana-sdk", "thiserror", ] +[[package]] +name = "solana-atomic-u64" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" +dependencies = [ + "parking_lot 0.12.1", +] + [[package]] name = "solana-banks-client" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d29258deb3e9a052ccdb2bbe986fc0a0c5117a8488298b75e013b8681d793a9" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" dependencies = [ "borsh 1.5.1", "futures 0.3.30", @@ -5104,30 +5162,29 @@ dependencies = [ [[package]] name = "solana-banks-interface" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "423a6215f7abd1af8e992785c91c685787651354b332781c06ad9fdd2b1095d8" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" dependencies = [ "serde", + "serde_derive", "solana-sdk", "tarpc", ] [[package]] name = "solana-banks-server" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f986b20b5eecca738b8d2fd83fbaaffbbb2178d294c6d83813241dea48bcc0aa" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" dependencies = [ "bincode", "crossbeam-channel", "futures 0.3.30", - "solana-accounts-db", "solana-banks-interface", "solana-client", "solana-runtime", "solana-sdk", "solana-send-transaction-service", + "solana-svm", "tarpc", "tokio", "tokio-serde", @@ -5135,65 +5192,99 @@ dependencies = [ [[package]] name = "solana-bloom" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1af15a73616f0d1298ea3f79d2155709083deac5d3c4d067ce0ee65e10fffab" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" dependencies = [ "bv", "fnv", "log", "rand 0.8.5", - "rayon", - "rustc_version", "serde", "serde_derive", - "solana-frozen-abi", - "solana-frozen-abi-macro", + "solana-sanitize", "solana-sdk", ] +[[package]] +name = "solana-bn254" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" +dependencies = [ + "ark-bn254", + "ark-ec", + "ark-ff", + "ark-serialize", + "bytemuck", + "solana-program", + "thiserror", +] + [[package]] name = "solana-bpf-loader-program" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9934493a6034c8cf05913ba6812c057f6cd4792ad75c335e8d971adf63ce01c7" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" dependencies = [ "bincode", "byteorder", "libsecp256k1", "log", "scopeguard", + "solana-bn254", + "solana-compute-budget", + "solana-curve25519", + "solana-log-collector", "solana-measure", + "solana-poseidon", + "solana-program-memory", "solana-program-runtime", "solana-sdk", - "solana-zk-token-sdk", + "solana-timings", + "solana-type-overrides", "solana_rbpf", "thiserror", ] [[package]] name = "solana-bucket-map" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0da941e0bde672cd33696961450efa2efb8b46322c4f814c1894c9c264122d1b" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" dependencies = [ "bv", "bytemuck", + "bytemuck_derive", "log", "memmap2", "modular-bitfield", - "num_enum 0.7.2", + "num_enum", "rand 0.8.5", "solana-measure", "solana-sdk", "tempfile", ] +[[package]] +name = "solana-builtins-default-costs" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" +dependencies = [ + "ahash 0.8.11", + "lazy_static", + "log", + "solana-address-lookup-table-program", + "solana-bpf-loader-program", + "solana-compute-budget-program", + "solana-config-program", + "solana-loader-v4-program", + "solana-sdk", + "solana-stake-program", + "solana-system-program", + "solana-vote-program", +] + [[package]] name = "solana-clap-utils" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "811569ed647c15e97afd142297b0ad14a87149c51e11df740014daa81f297f8b" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" dependencies = [ "chrono", "clap 2.34.0", @@ -5208,9 +5299,8 @@ dependencies = [ [[package]] name = "solana-cli-config" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3cb4459594cbdbc6f3cd199bbca486f0ef7f1ecf107dce9cffa3f9d69df31dc7" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" dependencies = [ "dirs-next", "lazy_static", @@ -5224,12 +5314,11 @@ dependencies = [ [[package]] name = "solana-cli-output" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb454e8df10d664ef0e1137c69af0f2d9fa0de713c1b608656318a76a2f5d3cc" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" dependencies = [ "Inflector", - "base64 0.21.7", + "base64 0.22.1", "chrono", "clap 2.34.0", "console", @@ -5251,23 +5340,21 @@ dependencies = [ [[package]] name = "solana-client" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "792ed1869858f35b4359f696771517b4848cd3ff6e2d58155c4bcb292f30166b" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" dependencies = [ "async-trait", "bincode", "dashmap", "futures 0.3.30", "futures-util", - "indexmap 2.2.6", + "indexmap 2.4.0", "indicatif", "log", "quinn", "rayon", "solana-connection-cache", "solana-measure", - "solana-metrics", "solana-pubsub-client", "solana-quic-client", "solana-rpc-client", @@ -5282,11 +5369,18 @@ dependencies = [ "tokio", ] +[[package]] +name = "solana-compute-budget" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" +dependencies = [ + "solana-sdk", +] + [[package]] name = "solana-compute-budget-program" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3dde13cdf503b7269435ceee5a94f8c42313e9257df00e6c2aa06466345dd3fc" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" dependencies = [ "solana-program-runtime", "solana-sdk", @@ -5294,33 +5388,32 @@ dependencies = [ [[package]] name = "solana-config-program" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6db8509d749ff1396a0b538ade995908361563b4f2c875b09cf096ba4ba0fae" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" dependencies = [ "bincode", "chrono", "serde", "serde_derive", + "solana-log-collector", "solana-program-runtime", "solana-sdk", + "solana-short-vec", ] [[package]] name = "solana-connection-cache" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "257511b6c2b54c28eae24c5a9b7bab74522439fcd721d09e63092768333ba7b7" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" dependencies = [ "async-trait", "bincode", "crossbeam-channel", "futures-util", - "indexmap 2.2.6", + "indexmap 2.4.0", "log", "rand 0.8.5", "rayon", - "rcgen", "solana-measure", "solana-metrics", "solana-sdk", @@ -5330,46 +5423,48 @@ dependencies = [ [[package]] name = "solana-core" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6f108bb8746b25c12428a9a525997eda5a4d305d11f57e2a9b71eda9e95bfcf" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" dependencies = [ - "base64 0.21.7", + "ahash 0.8.11", + "anyhow", + "arrayvec", + "base64 0.22.1", "bincode", "bs58", "bytes", "chrono", "crossbeam-channel", "dashmap", - "eager", "etcd-client", "futures 0.3.30", "histogram", - "itertools 0.10.5", + "itertools 0.12.1", "lazy_static", "log", "lru", "min-max-heap", - "num_enum 0.7.2", + "num_enum", "prio-graph", + "qualifier_attr", "quinn", "rand 0.8.5", "rand_chacha 0.3.1", "rayon", - "rcgen", "rolling-file", - "rustc_version", - "rustls", + "rustls 0.23.12", "serde", "serde_bytes", "serde_derive", "solana-accounts-db", "solana-bloom", + "solana-builtins-default-costs", "solana-client", + "solana-compute-budget", + "solana-connection-cache", "solana-cost-model", "solana-entry", - "solana-frozen-abi", - "solana-frozen-abi-macro", + "solana-fee", "solana-geyser-plugin-manager", "solana-gossip", "solana-ledger", @@ -5378,15 +5473,20 @@ dependencies = [ "solana-net-utils", "solana-perf", "solana-poh", - "solana-program-runtime", "solana-quic-client", "solana-rayon-threadlimit", "solana-rpc", "solana-rpc-client-api", "solana-runtime", + "solana-runtime-transaction", + "solana-sanitize", "solana-sdk", "solana-send-transaction-service", + "solana-short-vec", "solana-streamer", + "solana-svm", + "solana-svm-transaction", + "solana-timings", "solana-tpu-client", "solana-transaction-status", "solana-turbine", @@ -5407,33 +5507,50 @@ dependencies = [ [[package]] name = "solana-cost-model" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c391b492eb79c24756ee149b19f5504f7a2554612a8d2860fb9701df4e202a8b" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" dependencies = [ + "ahash 0.8.11", "lazy_static", "log", - "rustc_version", - "solana-address-lookup-table-program", - "solana-bpf-loader-program", - "solana-compute-budget-program", - "solana-config-program", - "solana-frozen-abi", - "solana-frozen-abi-macro", - "solana-loader-v4-program", + "solana-builtins-default-costs", + "solana-compute-budget", "solana-metrics", - "solana-program-runtime", + "solana-runtime-transaction", "solana-sdk", - "solana-stake-program", - "solana-system-program", + "solana-svm-transaction", "solana-vote-program", ] +[[package]] +name = "solana-curve25519" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" +dependencies = [ + "bytemuck", + "bytemuck_derive", + "curve25519-dalek 3.2.1", + "solana-program", + "thiserror", +] + +[[package]] +name = "solana-decode-error" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" +dependencies = [ + "num-traits", +] + +[[package]] +name = "solana-define-syscall" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" + [[package]] name = "solana-download-utils" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd30790412d858cdbc82c6d514e3e072bd74de91df2ec65382ad5e58e621a0aa" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" dependencies = [ "console", "indicatif", @@ -5445,9 +5562,8 @@ dependencies = [ [[package]] name = "solana-entry" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b76c9bc3bd7a7c13612f2ca0e41c0c04f2fcfce5480017cefac7973a0177f396" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" dependencies = [ "bincode", "crossbeam-channel", @@ -5467,9 +5583,8 @@ dependencies = [ [[package]] name = "solana-faucet" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fdd43150e893ba19b5cb222cb0539feb232da55b89a1591cda63daf85cf7bd5d" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" dependencies = [ "bincode", "byteorder", @@ -5490,47 +5605,18 @@ dependencies = [ ] [[package]] -name = "solana-frozen-abi" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f498a2b290abca1cf77feacef01b904be725fd46a7aea5ba121cce8c1269dcf" -dependencies = [ - "block-buffer 0.10.4", - "bs58", - "bv", - "either", - "generic-array", - "im", - "lazy_static", - "log", - "memmap2", - "rustc_version", - "serde", - "serde_bytes", - "serde_derive", - "sha2 0.10.8", - "solana-frozen-abi-macro", - "subtle", - "thiserror", -] - -[[package]] -name = "solana-frozen-abi-macro" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e4ab48d1be18021f5c13f94671e766699511044f81aab3376313f6a2392f8fab" +name = "solana-fee" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" dependencies = [ - "proc-macro2", - "quote", - "rustc_version", - "syn 2.0.58", + "solana-sdk", + "solana-svm-transaction", ] [[package]] name = "solana-genesis-utils" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9974a6491424e4fa4bd01895da243d7bdc4dde220be9ff848fe09697d14d8ad0" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" dependencies = [ "log", "solana-accounts-db", @@ -5539,35 +5625,21 @@ dependencies = [ "solana-sdk", ] -[[package]] -name = "solana-geyser-plugin-interface" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69fa618be6c880aebfd01541e1ce386985441a4df43fbf83de58f194502fe64b" -dependencies = [ - "log", - "solana-sdk", - "solana-transaction-status", - "thiserror", -] - [[package]] name = "solana-geyser-plugin-manager" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c599258a3c7723667f497beb41fc8516406f7ba7feca2b644450a5a5e2089bac" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" dependencies = [ + "agave-geyser-plugin-interface", "bs58", "crossbeam-channel", "json5", "jsonrpc-core", - "jsonrpc-server-utils", "libloading", "log", "serde_json", "solana-accounts-db", "solana-entry", - "solana-geyser-plugin-interface", "solana-ledger", "solana-measure", "solana-metrics", @@ -5576,13 +5648,13 @@ dependencies = [ "solana-sdk", "solana-transaction-status", "thiserror", + "tokio", ] [[package]] name = "solana-gossip" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "000fff8ebadebcb159b2c85fc2ee386f9557431c15f65b58603df4d01ee913a8" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" dependencies = [ "assert_matches", "bincode", @@ -5590,25 +5662,22 @@ dependencies = [ "clap 2.34.0", "crossbeam-channel", "flate2", - "indexmap 2.2.6", - "itertools 0.10.5", + "indexmap 2.4.0", + "itertools 0.12.1", "log", "lru", "num-traits", "rand 0.8.5", "rand_chacha 0.3.1", "rayon", - "rustc_version", - "rustversion", "serde", "serde_bytes", "serde_derive", "solana-bloom", "solana-clap-utils", "solana-client", + "solana-connection-cache", "solana-entry", - "solana-frozen-abi", - "solana-frozen-abi-macro", "solana-ledger", "solana-logger", "solana-measure", @@ -5616,10 +5685,12 @@ dependencies = [ "solana-net-utils", "solana-perf", "solana-rayon-threadlimit", + "solana-rpc-client", "solana-runtime", + "solana-sanitize", "solana-sdk", + "solana-short-vec", "solana-streamer", - "solana-thin-client", "solana-tpu-client", "solana-version", "solana-vote", @@ -5628,11 +5699,29 @@ dependencies = [ "thiserror", ] +[[package]] +name = "solana-inline-spl" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" +dependencies = [ + "bytemuck", + "solana-program", +] + +[[package]] +name = "solana-lattice-hash" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" +dependencies = [ + "base64 0.22.1", + "blake3", + "bytemuck", +] + [[package]] name = "solana-ledger" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6c7230292310864f5c7f1258383e65871de3cbd4d072bef62700584f36ffa61" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" dependencies = [ "assert_matches", "bincode", @@ -5642,23 +5731,25 @@ dependencies = [ "chrono-humanize", "crossbeam-channel", "dashmap", + "eager", "fs_extra", "futures 0.3.30", - "itertools 0.10.5", + "itertools 0.12.1", + "lazy-lru", "lazy_static", "libc", "log", "lru", "mockall", "num_cpus", - "num_enum 0.7.2", + "num_enum", "prost 0.11.9", + "qualifier_attr", "rand 0.8.5", "rand_chacha 0.3.1", "rayon", "reed-solomon-erasure", "rocksdb", - "rustc_version", "scopeguard", "serde", "serde_bytes", @@ -5668,8 +5759,6 @@ dependencies = [ "solana-bpf-loader-program", "solana-cost-model", "solana-entry", - "solana-frozen-abi", - "solana-frozen-abi-macro", "solana-measure", "solana-metrics", "solana-perf", @@ -5680,6 +5769,8 @@ dependencies = [ "solana-stake-program", "solana-storage-bigtable", "solana-storage-proto", + "solana-svm", + "solana-timings", "solana-transaction-status", "solana-vote", "solana-vote-program", @@ -5697,22 +5788,31 @@ dependencies = [ [[package]] name = "solana-loader-v4-program" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d5e1fcf36f771e210db47d9e4db1e88821d334b313e6fb3c19cf6a987617ffb" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" dependencies = [ "log", + "solana-compute-budget", + "solana-log-collector", "solana-measure", "solana-program-runtime", "solana-sdk", + "solana-type-overrides", "solana_rbpf", ] +[[package]] +name = "solana-log-collector" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" +dependencies = [ + "log", +] + [[package]] name = "solana-logger" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed08bcdd54232d2017071a6f5d664b34649ef0110801ac310a01418215f22ff7" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" dependencies = [ "env_logger", "lazy_static", @@ -5721,9 +5821,8 @@ dependencies = [ [[package]] name = "solana-measure" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5db05e4bba8562a2419cb980301152fc7f60f643065c3aba4b3b5d6e3bd66e45" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" dependencies = [ "log", "solana-sdk", @@ -5731,9 +5830,8 @@ dependencies = [ [[package]] name = "solana-merkle-tree" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62198983ac02e4532c51d0b30a22331b9feaaa05b32c5d6e9e7a6a7991cf873d" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" dependencies = [ "fast-math", "solana-program", @@ -5741,9 +5839,8 @@ dependencies = [ [[package]] name = "solana-metrics" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7a77735beed78eb221e123e0d46a991dc91db9e199d5c5fdbea22a55149d162" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" dependencies = [ "crossbeam-channel", "gethostname", @@ -5754,14 +5851,20 @@ dependencies = [ "thiserror", ] +[[package]] +name = "solana-msg" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" +dependencies = [ + "solana-define-syscall", +] + [[package]] name = "solana-net-utils" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f76d98286bdb149ce5375c3c7d7301e5d1bf7bf2576789d3fd488cf93d32471" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" dependencies = [ "bincode", - "clap 3.2.25", "crossbeam-channel", "log", "nix", @@ -5769,9 +5872,7 @@ dependencies = [ "serde", "serde_derive", "socket2", - "solana-logger", "solana-sdk", - "solana-version", "tokio", "url 2.5.2", ] @@ -5784,15 +5885,14 @@ checksum = "8b8a731ed60e89177c8a7ab05fe0f1511cedd3e70e773f288f9de33a9cfdc21e" [[package]] name = "solana-perf" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b0a1b27503716c3f5362c61215d2ccf88a3ecf95fce51b2b59951c38a9ad94c" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" dependencies = [ "ahash 0.8.11", "bincode", "bv", "caps", - "curve25519-dalek", + "curve25519-dalek 3.2.1", "dlopen2", "fnv", "lazy_static", @@ -5801,21 +5901,18 @@ dependencies = [ "nix", "rand 0.8.5", "rayon", - "rustc_version", "serde", - "solana-frozen-abi", - "solana-frozen-abi-macro", "solana-metrics", "solana-rayon-threadlimit", "solana-sdk", + "solana-short-vec", "solana-vote-program", ] [[package]] name = "solana-poh" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "776bcb36c448c735f1bc46134102ee8ea12ca76f139ebada2552cf0809aebe64" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" dependencies = [ "core_affinity", "crossbeam-channel", @@ -5830,97 +5927,107 @@ dependencies = [ ] [[package]] -name = "solana-program" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d97cec6d3d60ef58168c8b3e97fd88e8903fa059eff6635361427c61c946ec1e" +name = "solana-poseidon" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" dependencies = [ "ark-bn254", - "ark-ec", - "ark-ff", - "ark-serialize", - "base64 0.21.7", + "light-poseidon", + "solana-define-syscall", + "thiserror", +] + +[[package]] +name = "solana-program" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" +dependencies = [ + "base64 0.22.1", "bincode", "bitflags 2.6.0", "blake3", "borsh 0.10.3", - "borsh 0.9.3", "borsh 1.5.1", "bs58", "bv", "bytemuck", - "cc", + "bytemuck_derive", "console_error_panic_hook", "console_log", - "curve25519-dalek", + "curve25519-dalek 3.2.1", "getrandom 0.2.11", - "itertools 0.10.5", "js-sys", "lazy_static", - "libc", - "libsecp256k1", - "light-poseidon", "log", - "memoffset 0.9.0", - "num-bigint 0.4.4", - "num-derive 0.4.1", + "memoffset", + "num-bigint 0.4.6", + "num-derive", "num-traits", "parking_lot 0.12.1", "rand 0.8.5", - "rustc_version", - "rustversion", "serde", "serde_bytes", "serde_derive", - "serde_json", "sha2 0.10.8", "sha3 0.10.8", - "solana-frozen-abi", - "solana-frozen-abi-macro", + "solana-atomic-u64", + "solana-decode-error", + "solana-define-syscall", + "solana-msg", + "solana-program-memory", + "solana-sanitize", "solana-sdk-macro", + "solana-secp256k1-recover", + "solana-short-vec", "thiserror", - "tiny-bip39", "wasm-bindgen", - "zeroize", +] + +[[package]] +name = "solana-program-memory" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" +dependencies = [ + "num-traits", + "solana-define-syscall", ] [[package]] name = "solana-program-runtime" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4b76599d73401663bc1fde39f9fa5e538bd74451ea4a8d4e3ac14541be0a5de" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" dependencies = [ - "base64 0.21.7", + "base64 0.22.1", "bincode", - "eager", "enum-iterator", - "itertools 0.10.5", + "itertools 0.12.1", "libc", "log", - "num-derive 0.4.1", + "num-derive", "num-traits", "percentage", "rand 0.8.5", - "rustc_version", "serde", - "solana-frozen-abi", - "solana-frozen-abi-macro", + "solana-compute-budget", + "solana-log-collector", "solana-measure", "solana-metrics", "solana-sdk", + "solana-timings", + "solana-type-overrides", + "solana-vote", "solana_rbpf", "thiserror", ] [[package]] name = "solana-program-test" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c65563d5196f76a7c2feb399543389d045c7352f099acb5f5222d46922664457" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" dependencies = [ "assert_matches", "async-trait", - "base64 0.21.7", + "base64 0.22.1", "bincode", "chrono-humanize", "crossbeam-channel", @@ -5931,22 +6038,25 @@ dependencies = [ "solana-banks-interface", "solana-banks-server", "solana-bpf-loader-program", + "solana-compute-budget", + "solana-inline-spl", + "solana-log-collector", "solana-logger", "solana-program-runtime", "solana-runtime", "solana-sdk", + "solana-svm", + "solana-timings", "solana-vote-program", "solana_rbpf", - "test-case", "thiserror", "tokio", ] [[package]] name = "solana-pubsub-client" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09aacbdbeaa5722b2ab1f843673f66c317609741f494a6ef11e2e8928cc7449e" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" dependencies = [ "crossbeam-channel", "futures-util", @@ -5969,20 +6079,18 @@ dependencies = [ [[package]] name = "solana-quic-client" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2eeabd12e1039aa62cad34179fc1f139fca5c7bfeb7683057643bebff3506b0" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" dependencies = [ "async-mutex", "async-trait", "futures 0.3.30", - "itertools 0.10.5", + "itertools 0.12.1", "lazy_static", "log", "quinn", "quinn-proto", - "rcgen", - "rustls", + "rustls 0.23.12", "solana-connection-cache", "solana-measure", "solana-metrics", @@ -5996,9 +6104,8 @@ dependencies = [ [[package]] name = "solana-rayon-threadlimit" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ad791cc224c84d69498eeeaeadfc5af2cf710ec2719e48b51f2e2b6e67d8163" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" dependencies = [ "lazy_static", "num_cpus", @@ -6006,14 +6113,13 @@ dependencies = [ [[package]] name = "solana-remote-wallet" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fca3c68439865c87d5a01c26dc0dcbcce2d45331adf8f0bf92a7c7d44853fefb" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" dependencies = [ "console", "dialoguer", "log", - "num-derive 0.4.1", + "num-derive", "num-traits", "parking_lot 0.12.1", "qstring", @@ -6025,16 +6131,15 @@ dependencies = [ [[package]] name = "solana-rpc" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e82f75d4aa53b6dd483484f213d7ad7d0fed96c655487ed630b2540dbe75f3f0" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" dependencies = [ - "base64 0.21.7", + "base64 0.22.1", "bincode", "bs58", "crossbeam-channel", "dashmap", - "itertools 0.10.5", + "itertools 0.12.1", "jsonrpc-core", "jsonrpc-core-client", "jsonrpc-derive", @@ -6054,6 +6159,7 @@ dependencies = [ "solana-entry", "solana-faucet", "solana-gossip", + "solana-inline-spl", "solana-ledger", "solana-measure", "solana-metrics", @@ -6067,6 +6173,7 @@ dependencies = [ "solana-stake-program", "solana-storage-bigtable", "solana-streamer", + "solana-svm", "solana-tpu-client", "solana-transaction-status", "solana-version", @@ -6077,22 +6184,22 @@ dependencies = [ "stream-cancel", "thiserror", "tokio", - "tokio-util 0.6.10", + "tokio-util 0.7.10", ] [[package]] name = "solana-rpc-client" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1c9bdb88ebcea8b13103019ed0d39b7d4391dc84a0d614dc8ba2e1ca43468e9" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" dependencies = [ "async-trait", - "base64 0.21.7", + "base64 0.22.1", "bincode", "bs58", "indicatif", "log", "reqwest", + "reqwest-middleware", "semver", "serde", "serde_derive", @@ -6108,34 +6215,32 @@ dependencies = [ [[package]] name = "solana-rpc-client-api" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5bb93738a111d44dfeec6ccdd6a49f0478550a25a60e38badb2bd713599de44" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" dependencies = [ - "base64 0.21.7", + "anyhow", + "base64 0.22.1", "bs58", "jsonrpc-core", "reqwest", + "reqwest-middleware", "semver", "serde", "serde_derive", "serde_json", "solana-account-decoder", + "solana-inline-spl", "solana-sdk", "solana-transaction-status", "solana-version", - "spl-token-2022", "thiserror", ] [[package]] name = "solana-rpc-client-nonce-utils" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e066df081489cd10c91648f1e87d2b945fac2fcdfb34a715234a0b079a4c4375" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" dependencies = [ - "clap 2.34.0", - "solana-clap-utils", "solana-rpc-client", "solana-sdk", "thiserror", @@ -6143,13 +6248,12 @@ dependencies = [ [[package]] name = "solana-runtime" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c8e16747198f45ab41f146d1ab1782d83016fb9ed1ce7612b9174018f907bd5" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" dependencies = [ "aquamarine", "arrayref", - "base64 0.21.7", + "base64 0.22.1", "bincode", "blake3", "bv", @@ -6163,25 +6267,23 @@ dependencies = [ "fnv", "im", "index_list", - "itertools 0.10.5", + "itertools 0.12.1", "lazy_static", + "libc", "log", - "lru", "lz4", "memmap2", "mockall", "modular-bitfield", - "num-derive 0.4.1", + "num-derive", "num-traits", "num_cpus", - "num_enum 0.7.2", - "ouroboros", + "num_enum", "percentage", "qualifier_attr", "rand 0.8.5", "rayon", "regex", - "rustc_version", "serde", "serde_derive", "serde_json", @@ -6189,23 +6291,31 @@ dependencies = [ "solana-address-lookup-table-program", "solana-bpf-loader-program", "solana-bucket-map", + "solana-compute-budget", "solana-compute-budget-program", "solana-config-program", "solana-cost-model", - "solana-frozen-abi", - "solana-frozen-abi-macro", + "solana-fee", + "solana-inline-spl", "solana-loader-v4-program", "solana-measure", "solana-metrics", "solana-perf", "solana-program-runtime", "solana-rayon-threadlimit", + "solana-runtime-transaction", "solana-sdk", "solana-stake-program", + "solana-svm", + "solana-svm-transaction", "solana-system-program", + "solana-timings", + "solana-transaction-status", "solana-version", "solana-vote", "solana-vote-program", + "solana-zk-elgamal-proof-program", + "solana-zk-sdk", "solana-zk-token-proof-program", "solana-zk-token-sdk", "static_assertions", @@ -6218,19 +6328,34 @@ dependencies = [ "zstd", ] +[[package]] +name = "solana-runtime-transaction" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" +dependencies = [ + "log", + "solana-compute-budget", + "solana-sdk", + "solana-svm-transaction", + "thiserror", +] + +[[package]] +name = "solana-sanitize" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" + [[package]] name = "solana-sdk" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c335bdf35728ea876506babffcfd85fa4dd66af6438f9472afc91b278946909" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" dependencies = [ - "assert_matches", - "base64 0.21.7", "bincode", "bitflags 2.6.0", "borsh 1.5.1", "bs58", "bytemuck", + "bytemuck_derive", "byteorder", "chrono", "derivation-path", @@ -6238,23 +6363,19 @@ dependencies = [ "ed25519-dalek", "ed25519-dalek-bip32", "generic-array", + "getrandom 0.1.16", "hmac 0.12.1", - "itertools 0.10.5", + "itertools 0.12.1", "js-sys", "lazy_static", "libsecp256k1", "log", "memmap2", - "num-derive 0.4.1", - "num-traits", - "num_enum 0.7.2", + "num_enum", "pbkdf2 0.11.0", "qstring", - "qualifier_attr", "rand 0.7.3", "rand 0.8.5", - "rustc_version", - "rustversion", "serde", "serde_bytes", "serde_derive", @@ -6263,11 +6384,14 @@ dependencies = [ "sha2 0.10.8", "sha3 0.10.8", "siphasher", - "solana-frozen-abi", - "solana-frozen-abi-macro", - "solana-logger", + "solana-bn254", + "solana-decode-error", "solana-program", + "solana-program-memory", + "solana-sanitize", "solana-sdk-macro", + "solana-secp256k1-recover", + "solana-short-vec", "thiserror", "uriparse", "wasm-bindgen", @@ -6275,17 +6399,26 @@ dependencies = [ [[package]] name = "solana-sdk-macro" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ba67050b90454a8638913a7d5775703c0557157def04ddcc8b59c964cda8535" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" dependencies = [ "bs58", "proc-macro2", "quote", - "rustversion", "syn 2.0.58", ] +[[package]] +name = "solana-secp256k1-recover" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" +dependencies = [ + "borsh 1.5.1", + "libsecp256k1", + "solana-define-syscall", + "thiserror", +] + [[package]] name = "solana-security-txt" version = "1.1.1" @@ -6294,13 +6427,13 @@ checksum = "468aa43b7edb1f9b7b7b686d5c3aeb6630dc1708e86e31343499dd5c4d775183" [[package]] name = "solana-send-transaction-service" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e8c1dd225716ecd66ec9a5a30c76355d8d1788c721d7db4d53ebb4c6ef34c8d" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" dependencies = [ "crossbeam-channel", "log", "solana-client", + "solana-connection-cache", "solana-measure", "solana-metrics", "solana-runtime", @@ -6308,26 +6441,33 @@ dependencies = [ "solana-tpu-client", ] +[[package]] +name = "solana-short-vec" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" +dependencies = [ + "serde", +] + [[package]] name = "solana-stake-program" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2ef08f7b2485af8578bfd4e23689286e5360b50d3cc9f350dfe3ad9fdabc679" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" dependencies = [ "bincode", "log", - "rustc_version", "solana-config-program", + "solana-log-collector", "solana-program-runtime", "solana-sdk", + "solana-type-overrides", "solana-vote-program", ] [[package]] name = "solana-storage-bigtable" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eebe1c856b271ffac26ced4b1a515dd8ba451f5d87b77132746709e6c2dac555" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" dependencies = [ "backoff", "bincode", @@ -6359,9 +6499,8 @@ dependencies = [ [[package]] name = "solana-storage-proto" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4480bbdf5177998b012f6010c9c87592ecb55ba146c2679dd2e6c02da49b9ec0" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" dependencies = [ "bincode", "bs58", @@ -6376,58 +6515,97 @@ dependencies = [ [[package]] name = "solana-streamer" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "27e8269eaa4aef1a9697fe8b9f659402272746c3fdd374fbffa96f68fe6745a6" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" dependencies = [ "async-channel", "bytes", "crossbeam-channel", + "dashmap", + "futures 0.3.30", "futures-util", + "governor", "histogram", - "indexmap 2.2.6", - "itertools 0.10.5", + "indexmap 2.4.0", + "itertools 0.12.1", "libc", "log", "nix", "pem", "percentage", - "pkcs8", "quinn", "quinn-proto", "rand 0.8.5", - "rcgen", - "rustls", + "rustls 0.23.12", "smallvec", + "socket2", + "solana-measure", "solana-metrics", "solana-perf", "solana-sdk", + "solana-transaction-metrics-tracker", "thiserror", "tokio", "x509-parser", ] +[[package]] +name = "solana-svm" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" +dependencies = [ + "itertools 0.12.1", + "log", + "percentage", + "serde", + "serde_derive", + "solana-bpf-loader-program", + "solana-compute-budget", + "solana-fee", + "solana-loader-v4-program", + "solana-log-collector", + "solana-measure", + "solana-metrics", + "solana-program-runtime", + "solana-runtime-transaction", + "solana-sdk", + "solana-svm-transaction", + "solana-system-program", + "solana-timings", + "solana-type-overrides", + "solana-vote", + "thiserror", +] + +[[package]] +name = "solana-svm-transaction" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" +dependencies = [ + "solana-sdk", +] + [[package]] name = "solana-system-program" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22c8b55398485962ea6127fe84c5768a5ae4a4ecdbd80a0917eb6945593481f9" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" dependencies = [ "bincode", "log", "serde", "serde_derive", + "solana-log-collector", "solana-program-runtime", "solana-sdk", + "solana-type-overrides", ] [[package]] name = "solana-test-validator" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49f18bf7f1661ee473b4e0c45ad6aa0385f84e2fca7e4b8d1fb36e05f930c7b9" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" dependencies = [ - "base64 0.21.7", + "base64 0.22.1", "bincode", "crossbeam-channel", "log", @@ -6435,17 +6613,17 @@ dependencies = [ "serde_json", "solana-accounts-db", "solana-cli-output", - "solana-client", + "solana-compute-budget", "solana-core", "solana-geyser-plugin-manager", "solana-gossip", "solana-ledger", "solana-logger", "solana-net-utils", - "solana-program-runtime", "solana-program-test", "solana-rpc", "solana-rpc-client", + "solana-rpc-client-api", "solana-runtime", "solana-sdk", "solana-streamer", @@ -6455,9 +6633,8 @@ dependencies = [ [[package]] name = "solana-thin-client" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5c174c724bbe19a53862156e1a5d2cf6cdf1bd5d5d9853b4696b2d9d836123b" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" dependencies = [ "bincode", "log", @@ -6468,22 +6645,30 @@ dependencies = [ "solana-sdk", ] +[[package]] +name = "solana-timings" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" +dependencies = [ + "eager", + "enum-iterator", + "solana-sdk", +] + [[package]] name = "solana-tpu-client" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4dcdf9d7109d25900d0532539b00f53e820fb7200f6dc18f90e9d2be20c3d466" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" dependencies = [ "async-trait", "bincode", "futures-util", - "indexmap 2.2.6", + "indexmap 2.4.0", "indicatif", "log", "rayon", "solana-connection-cache", "solana-measure", - "solana-metrics", "solana-pubsub-client", "solana-rpc-client", "solana-rpc-client-api", @@ -6492,16 +6677,30 @@ dependencies = [ "tokio", ] +[[package]] +name = "solana-transaction-metrics-tracker" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" +dependencies = [ + "base64 0.22.1", + "bincode", + "lazy_static", + "log", + "rand 0.8.5", + "solana-perf", + "solana-sdk", + "solana-short-vec", +] + [[package]] name = "solana-transaction-status" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7595aef5a9ddfdecd0966cc12ad0006713e4f8d87eafb4cb7b60fb18d98eff3a" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" dependencies = [ "Inflector", - "base64 0.21.7", + "base64 0.22.1", "bincode", - "borsh 0.10.3", + "borsh 1.5.1", "bs58", "lazy_static", "log", @@ -6514,28 +6713,29 @@ dependencies = [ "spl-memo", "spl-token", "spl-token-2022", + "spl-token-group-interface", + "spl-token-metadata-interface", "thiserror", ] [[package]] name = "solana-turbine" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca9c7f78da5905330b9017e817ab467501e29c7692ae5e02e12779dcb81cd260" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" dependencies = [ "bincode", "bytes", "crossbeam-channel", "futures 0.3.30", - "itertools 0.10.5", + "itertools 0.12.1", + "lazy-lru", "log", "lru", "quinn", "rand 0.8.5", "rand_chacha 0.3.1", "rayon", - "rcgen", - "rustls", + "rustls 0.23.12", "solana-entry", "solana-gossip", "solana-ledger", @@ -6550,159 +6750,101 @@ dependencies = [ "solana-runtime", "solana-sdk", "solana-streamer", + "static_assertions", "thiserror", - "tokio", -] - -[[package]] -name = "solana-udp-client" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a59c49a3766232005385bd70f15b0fce756fa6e73fb6397ce9ed34113f090e2" -dependencies = [ - "async-trait", - "solana-connection-cache", - "solana-net-utils", - "solana-sdk", - "solana-streamer", - "thiserror", - "tokio", -] - -[[package]] -name = "solana-unified-scheduler-logic" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a257a5d2a7e292b1167cae180e85a9da4c291aa06c5f0bb0506bbf36531f2e0" - -[[package]] -name = "solana-unified-scheduler-pool" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41b3c7c9889c6913669ddd64a4f22653abf874120050d61520577d3c1a53fabb" -dependencies = [ - "solana-ledger", - "solana-program-runtime", - "solana-runtime", - "solana-sdk", - "solana-unified-scheduler-logic", - "solana-vote", -] - -[[package]] -name = "solana-validator" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc8f62a53ed4522190e89ba433e89ef6e2e759c8bc895126ed19d0fa71d78d61" -dependencies = [ - "chrono", - "clap 2.34.0", - "console", - "core_affinity", - "crossbeam-channel", - "fd-lock", - "indicatif", - "itertools 0.10.5", - "jsonrpc-core", - "jsonrpc-core-client", - "jsonrpc-derive", - "jsonrpc-ipc-server", - "jsonrpc-server-utils", - "lazy_static", - "libc", - "libloading", - "log", - "num_cpus", - "rand 0.8.5", - "rayon", - "serde", - "serde_json", - "serde_yaml", - "signal-hook", - "solana-accounts-db", - "solana-clap-utils", - "solana-cli-config", - "solana-core", - "solana-download-utils", - "solana-entry", - "solana-faucet", - "solana-genesis-utils", - "solana-geyser-plugin-interface", - "solana-geyser-plugin-manager", - "solana-gossip", - "solana-ledger", - "solana-logger", - "solana-metrics", - "solana-net-utils", - "solana-perf", - "solana-poh", - "solana-rpc", - "solana-rpc-client", - "solana-rpc-client-api", - "solana-runtime", - "solana-sdk", - "solana-send-transaction-service", - "solana-storage-bigtable", - "solana-streamer", - "solana-test-validator", - "solana-tpu-client", - "solana-version", - "solana-vote-program", - "symlink", - "thiserror", - "tikv-jemallocator", + "tokio", +] + +[[package]] +name = "solana-type-overrides" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" +dependencies = [ + "lazy_static", + "rand 0.8.5", +] + +[[package]] +name = "solana-udp-client" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" +dependencies = [ + "async-trait", + "solana-connection-cache", + "solana-net-utils", + "solana-sdk", + "solana-streamer", + "thiserror", + "tokio", +] + +[[package]] +name = "solana-unified-scheduler-logic" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" +dependencies = [ + "assert_matches", + "solana-sdk", + "static_assertions", +] + +[[package]] +name = "solana-unified-scheduler-pool" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" +dependencies = [ + "assert_matches", + "crossbeam-channel", + "dashmap", + "derivative", + "log", + "qualifier_attr", + "scopeguard", + "solana-ledger", + "solana-runtime", + "solana-sdk", + "solana-timings", + "solana-unified-scheduler-logic", + "vec_extract_if_polyfill", ] [[package]] name = "solana-version" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73ece37d745e1fb3455acd69b8ba6ecea3ebcefde29e0f40ee8e6467acc4dc04" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" dependencies = [ "log", - "rustc_version", "semver", "serde", "serde_derive", - "solana-frozen-abi", - "solana-frozen-abi-macro", + "solana-sanitize", "solana-sdk", ] [[package]] name = "solana-vote" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67ca2744cf5509c7680a90d6704d00fbab899aa586542c4257fb23d4712b380c" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" dependencies = [ - "crossbeam-channel", - "itertools 0.10.5", + "itertools 0.12.1", "log", - "rustc_version", "serde", "serde_derive", - "solana-frozen-abi", - "solana-frozen-abi-macro", "solana-sdk", - "solana-vote-program", "thiserror", ] [[package]] name = "solana-vote-program" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6944bb3f8f34cc815017f6a50027331f5e7f48321e7998f1572cc898438b6a8a" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" dependencies = [ "bincode", "log", - "num-derive 0.4.1", + "num-derive", "num-traits", - "rustc_version", "serde", "serde_derive", - "solana-frozen-abi", - "solana-frozen-abi-macro", "solana-metrics", "solana-program", "solana-program-runtime", @@ -6712,34 +6854,77 @@ dependencies = [ [[package]] name = "solana-wen-restart" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a5087d46bf8a5018260a7639a679557d91e46b59009740129e87e33a35abd775" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" dependencies = [ + "anyhow", "log", "prost 0.11.9", "prost-build 0.11.9", "prost-types 0.11.9", "protobuf-src", - "rustc_version", + "rayon", + "solana-entry", "solana-gossip", "solana-ledger", - "solana-logger", "solana-program", "solana-runtime", "solana-sdk", + "solana-timings", "solana-vote-program", ] +[[package]] +name = "solana-zk-elgamal-proof-program" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" +dependencies = [ + "bytemuck", + "num-derive", + "num-traits", + "solana-log-collector", + "solana-program-runtime", + "solana-sdk", + "solana-zk-sdk", +] + +[[package]] +name = "solana-zk-sdk" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" +dependencies = [ + "aes-gcm-siv", + "base64 0.22.1", + "bincode", + "bytemuck", + "bytemuck_derive", + "curve25519-dalek 3.2.1", + "itertools 0.12.1", + "lazy_static", + "merlin", + "num-derive", + "num-traits", + "rand 0.7.3", + "serde", + "serde_derive", + "serde_json", + "sha3 0.9.1", + "solana-program", + "solana-sdk", + "subtle", + "thiserror", + "zeroize", +] + [[package]] name = "solana-zk-token-proof-program" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "51bd480f4b1b87dea1cdca14f3c6ba8e778e88756dc44ac090e797aab9c8759d" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" dependencies = [ "bytemuck", - "num-derive 0.4.1", + "num-derive", "num-traits", + "solana-log-collector", "solana-program-runtime", "solana-sdk", "solana-zk-token-sdk", @@ -6747,26 +6932,27 @@ dependencies = [ [[package]] name = "solana-zk-token-sdk" -version = "1.18.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "616130045004bccc9dd016fe03ac458db38bd61456f1d16f126acb60f968dcae" +version = "2.1.0" +source = "git+https://github.com/lijunwangs/solana.git?rev=25c5322911d8284ded379b4c1d114e6f378707a9#25c5322911d8284ded379b4c1d114e6f378707a9" dependencies = [ "aes-gcm-siv", - "base64 0.21.7", + "base64 0.22.1", "bincode", "bytemuck", + "bytemuck_derive", "byteorder", - "curve25519-dalek", - "getrandom 0.1.16", - "itertools 0.10.5", + "curve25519-dalek 3.2.1", + "itertools 0.12.1", "lazy_static", "merlin", - "num-derive 0.4.1", + "num-derive", "num-traits", "rand 0.7.3", "serde", + "serde_derive", "serde_json", "sha3 0.9.1", + "solana-curve25519", "solana-program", "solana-sdk", "subtle", @@ -6776,13 +6962,12 @@ dependencies = [ [[package]] name = "solana_rbpf" -version = "0.8.0" +version = "0.8.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d457cc2ba742c120492a64b7fa60e22c575e891f6b55039f4d736568fb112a3" +checksum = "1c1941b5ef0c3ce8f2ac5dd984d0fb1a97423c4ff2a02eec81e3913f02e2ac2b" dependencies = [ "byteorder", - "combine", - "goblin", + "combine 3.8.1", "hash32", "libc", "log", @@ -6793,12 +6978,6 @@ dependencies = [ "winapi 0.3.9", ] -[[package]] -name = "spin" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d" - [[package]] name = "spin" version = "0.9.8" @@ -6806,24 +6985,23 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67" [[package]] -name = "spki" -version = "0.5.4" +name = "spinning_top" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44d01ac02a6ccf3e07db148d2be087da624fea0221a16152ed01f0496a6b0a27" +checksum = "d96d2d1d716fb500937168cc09353ffdc7a012be8475ac7308e1bdf0e3923300" dependencies = [ - "base64ct", - "der", + "lock_api", ] [[package]] name = "spl-associated-token-account" -version = "2.3.0" +version = "4.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "992d9c64c2564cc8f63a4b508bf3ebcdf2254b0429b13cd1d31adb6162432a5f" +checksum = "68034596cf4804880d265f834af1ff2f821ad5293e41fa0f8f59086c181fc38e" dependencies = [ "assert_matches", - "borsh 0.10.3", - "num-derive 0.4.1", + "borsh 1.5.1", + "num-derive", "num-traits", "solana-program", "spl-token", @@ -6833,9 +7011,9 @@ dependencies = [ [[package]] name = "spl-discriminator" -version = "0.1.0" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cce5d563b58ef1bb2cdbbfe0dfb9ffdc24903b10ae6a4df2d8f425ece375033f" +checksum = "a38ea8b6dedb7065887f12d62ed62c1743aa70749e8558f963609793f6fb12bc" dependencies = [ "bytemuck", "solana-program", @@ -6844,9 +7022,9 @@ dependencies = [ [[package]] name = "spl-discriminator-derive" -version = "0.1.1" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fadbefec4f3c678215ca72bd71862697bb06b41fd77c0088902dd3203354387b" +checksum = "d9e8418ea6269dcfb01c712f0444d2c75542c04448b480e87de59d2865edc750" dependencies = [ "quote", "spl-discriminator-syn", @@ -6855,9 +7033,9 @@ dependencies = [ [[package]] name = "spl-discriminator-syn" -version = "0.1.1" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e5f2044ca42c8938d54d1255ce599c79a1ffd86b677dfab695caa20f9ffc3f2" +checksum = "8c1f05593b7ca9eac7caca309720f2eafb96355e037e6d373b909a80fe7b69b9" dependencies = [ "proc-macro2", "quote", @@ -6868,21 +7046,22 @@ dependencies = [ [[package]] name = "spl-memo" -version = "4.0.0" +version = "5.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0f180b03318c3dbab3ef4e1e4d46d5211ae3c780940dd0a28695aba4b59a75a" +checksum = "a0dba2f2bb6419523405d21c301a32c9f9568354d4742552e7972af801f4bdb3" dependencies = [ "solana-program", ] [[package]] name = "spl-pod" -version = "0.1.0" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2881dddfca792737c0706fa0175345ab282b1b0879c7d877bad129645737c079" +checksum = "c704c88fc457fa649ba3aabe195c79d885c3f26709efaddc453c8de352c90b87" dependencies = [ - "borsh 0.10.3", + "borsh 1.5.1", "bytemuck", + "bytemuck_derive", "solana-program", "solana-zk-token-sdk", "spl-program-error", @@ -6890,11 +7069,11 @@ dependencies = [ [[package]] name = "spl-program-error" -version = "0.3.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "249e0318493b6bcf27ae9902600566c689b7dfba9f1bdff5893e92253374e78c" +checksum = "d7b28bed65356558133751cc32b48a7a5ddfc59ac4e941314630bbed1ac10532" dependencies = [ - "num-derive 0.4.1", + "num-derive", "num-traits", "solana-program", "spl-program-error-derive", @@ -6903,9 +7082,9 @@ dependencies = [ [[package]] name = "spl-program-error-derive" -version = "0.3.1" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab5269c8e868da17b6552ef35a51355a017bd8e0eae269c201fef830d35fa52c" +checksum = "e6d375dd76c517836353e093c2dbb490938ff72821ab568b545fd30ab3256b3e" dependencies = [ "proc-macro2", "quote", @@ -6915,9 +7094,9 @@ dependencies = [ [[package]] name = "spl-tlv-account-resolution" -version = "0.5.1" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "615d381f48ddd2bb3c57c7f7fb207591a2a05054639b18a62e785117dd7a8683" +checksum = "37a75a5f0fcc58126693ed78a17042e9dc53f07e357d6be91789f7d62aff61a4" dependencies = [ "bytemuck", "solana-program", @@ -6929,30 +7108,30 @@ dependencies = [ [[package]] name = "spl-token" -version = "4.0.0" +version = "6.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08459ba1b8f7c1020b4582c4edf0f5c7511a5e099a7a97570c9698d4f2337060" +checksum = "70a0f06ac7f23dc0984931b1fe309468f14ea58e32660439c1cef19456f5d0e3" dependencies = [ "arrayref", "bytemuck", - "num-derive 0.3.3", + "num-derive", "num-traits", - "num_enum 0.6.1", + "num_enum", "solana-program", "thiserror", ] [[package]] name = "spl-token-2022" -version = "1.0.0" +version = "4.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d697fac19fd74ff472dfcc13f0b442dd71403178ce1de7b5d16f83a33561c059" +checksum = "d9c10f3483e48679619c76598d4e4aebb955bc49b0a5cc63323afbf44135c9bf" dependencies = [ "arrayref", "bytemuck", - "num-derive 0.4.1", + "num-derive", "num-traits", - "num_enum 0.7.2", + "num_enum", "solana-program", "solana-security-txt", "solana-zk-token-sdk", @@ -6968,9 +7147,9 @@ dependencies = [ [[package]] name = "spl-token-group-interface" -version = "0.1.0" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b889509d49fa74a4a033ca5dae6c2307e9e918122d97e58562f5c4ffa795c75d" +checksum = "df8752b85a5ecc1d9f3a43bce3dd9a6a053673aacf5deb513d1cbb88d3534ffd" dependencies = [ "bytemuck", "solana-program", @@ -6981,11 +7160,11 @@ dependencies = [ [[package]] name = "spl-token-metadata-interface" -version = "0.2.0" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c16ce3ba6979645fb7627aa1e435576172dd63088dc7848cb09aa331fa1fe4f" +checksum = "c6c2318ddff97e006ed9b1291ebec0750a78547f870f62a69c56fe3b46a5d8fc" dependencies = [ - "borsh 0.10.3", + "borsh 1.5.1", "solana-program", "spl-discriminator", "spl-pod", @@ -6995,9 +7174,9 @@ dependencies = [ [[package]] name = "spl-transfer-hook-interface" -version = "0.4.1" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7aabdb7c471566f6ddcee724beb8618449ea24b399e58d464d6b5bc7db550259" +checksum = "a110f33d941275d9f868b96daaa993f1e73b6806cc8836e43075b4d3ad8338a7" dependencies = [ "arrayref", "bytemuck", @@ -7011,9 +7190,9 @@ dependencies = [ [[package]] name = "spl-type-length-value" -version = "0.3.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a468e6f6371f9c69aae760186ea9f1a01c2908351b06a5e0026d21cfc4d7ecac" +checksum = "bdcd73ec187bc409464c60759232e309f83b52a18a9c5610bf281c9c6432918c" dependencies = [ "bytemuck", "solana-program", @@ -7075,9 +7254,9 @@ dependencies = [ [[package]] name = "subtle" -version = "2.4.1" +version = "2.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601" +checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" [[package]] name = "symlink" @@ -7183,9 +7362,9 @@ dependencies = [ [[package]] name = "tar" -version = "0.4.40" +version = "0.4.41" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b16afcea1f22891c49a00c751c7b63b2233284064f11a200fc624137c51e2ddb" +checksum = "cb797dad5fb5b76fcf519e702f4a589483b5ef06567f160c392832c1f5e44909" dependencies = [ "filetime", "libc", @@ -7227,6 +7406,15 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "task-local-extensions" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba323866e5d033818e3240feeb9f7db2c4296674e4d9e16b97b7bf8f490434e8" +dependencies = [ + "pin-utils", +] + [[package]] name = "tempfile" version = "3.10.1" @@ -7254,39 +7442,6 @@ version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3369f5ac52d5eb6ab48c6b4ffdc8efbcad6b89c765749064ba298f2c68a16a76" -[[package]] -name = "test-case" -version = "3.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb2550dd13afcd286853192af8601920d959b14c401fcece38071d53bf0768a8" -dependencies = [ - "test-case-macros", -] - -[[package]] -name = "test-case-core" -version = "3.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "adcb7fd841cd518e279be3d5a3eb0636409487998a4aff22f3de87b81e88384f" -dependencies = [ - "cfg-if 1.0.0", - "proc-macro2", - "quote", - "syn 2.0.58", -] - -[[package]] -name = "test-case-macros" -version = "3.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c89e72a01ed4c579669add59014b9a524d609c0c88c6a585ce37485879f6ffb" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.58", - "test-case-core", -] - [[package]] name = "textwrap" version = "0.11.0" @@ -7296,26 +7451,20 @@ dependencies = [ "unicode-width", ] -[[package]] -name = "textwrap" -version = "0.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "222a222a5bfe1bba4a77b45ec488a741b3cb8872e5e499451fd7d0129c9c7c3d" - [[package]] name = "thiserror" -version = "1.0.62" +version = "1.0.63" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2675633b1499176c2dff06b0856a27976a8f9d436737b4cf4f312d4d91d8bbb" +checksum = "c0342370b38b6a11b6cc11d6a805569958d54cfa061a29969c3b5ce2ea405724" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.62" +version = "1.0.63" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d20468752b09f49e909e55a5d338caa8bedf615594e9d80bc4c565d30faf798c" +checksum = "a4558b58466b9ad7ca0f102865eccc95938dca1a74a856f2b57b6629050da261" dependencies = [ "proc-macro2", "quote", @@ -7355,32 +7504,21 @@ dependencies = [ [[package]] name = "time" -version = "0.3.30" +version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4a34ab300f2dee6e562c10a046fc05e358b29f9bf92277f30c3c8d82275f6f5" +checksum = "c2702e08a7a860f005826c6815dcac101b19b5eb330c27fe4a5928fec1d20ddd" dependencies = [ - "deranged", "itoa", - "powerfmt", - "serde", - "time-core", + "libc", + "num_threads", "time-macros", ] -[[package]] -name = "time-core" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" - [[package]] name = "time-macros" -version = "0.2.15" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ad70d68dba9e1f8aceda7aa6711965dfec1cac869f311a51bd08b3a2ccbce20" -dependencies = [ - "time-core", -] +checksum = "42657b1a6f4d817cda8e7a0ace261fe0cc946cf3a80314390b22cc61ae080792" [[package]] name = "tiny-bip39" @@ -7393,7 +7531,7 @@ dependencies = [ "once_cell", "pbkdf2 0.4.0", "rand 0.7.3", - "rustc-hash", + "rustc-hash 1.1.0", "sha2 0.9.9", "thiserror", "unicode-normalization", @@ -7472,7 +7610,7 @@ version = "0.24.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c28327cf380ac148141087fbfb9de9d7bd4e84ab5d2c28fbc911d753de8a7081" dependencies = [ - "rustls", + "rustls 0.21.12", "tokio", ] @@ -7494,9 +7632,9 @@ dependencies = [ [[package]] name = "tokio-stream" -version = "0.1.14" +version = "0.1.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "397c988d37662c7dda6d2208364a706264bf3d6138b11d436cbac0ad38832842" +checksum = "267ac89e0bec6e691e5813911606935d77c476ff49024f98abcea3e7b15e37af" dependencies = [ "futures-core", "pin-project-lite", @@ -7511,7 +7649,7 @@ checksum = "212d5dcb2a1ce06d81107c3d0ffa3121fe974b73f068c8282cb1c32328113b6c" dependencies = [ "futures-util", "log", - "rustls", + "rustls 0.21.12", "tokio", "tokio-rustls", "tungstenite", @@ -7526,7 +7664,6 @@ checksum = "36943ee01a6d67977dd3f84a5a1d2efeb4ada3a1ae771cadfaa535d9d9fc6507" dependencies = [ "bytes", "futures-core", - "futures-io", "futures-sink", "log", "pin-project-lite", @@ -7542,6 +7679,7 @@ checksum = "5419f34732d9eb6ee4c3578b7989078579b7f039cbbb9ca2c4da015749371e15" dependencies = [ "bytes", "futures-core", + "futures-io", "futures-sink", "pin-project-lite", "tokio", @@ -7563,35 +7701,13 @@ version = "0.6.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3550f4e9685620ac18a50ed434eb3aec30db8ba93b0287467bca5826ea25baf1" -[[package]] -name = "toml_edit" -version = "0.19.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421" -dependencies = [ - "indexmap 2.2.6", - "toml_datetime", - "winnow", -] - -[[package]] -name = "toml_edit" -version = "0.20.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70f427fce4d84c72b5b732388bf4a9f4531b53f74e2887e3ecb2481f68f66d81" -dependencies = [ - "indexmap 2.2.6", - "toml_datetime", - "winnow", -] - [[package]] name = "toml_edit" version = "0.21.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6a8534fd7f78b5405e860340ad6575217ce99f38d4d5c8f2442cb5ecb50090e1" dependencies = [ - "indexmap 2.2.6", + "indexmap 2.4.0", "toml_datetime", "winnow", ] @@ -7617,7 +7733,7 @@ dependencies = [ "percent-encoding 2.3.1", "pin-project", "prost 0.11.9", - "rustls-pemfile", + "rustls-pemfile 1.0.4", "tokio", "tokio-rustls", "tokio-stream", @@ -7646,9 +7762,9 @@ dependencies = [ "percent-encoding 2.3.1", "pin-project", "prost 0.12.3", - "rustls", - "rustls-native-certs", - "rustls-pemfile", + "rustls 0.21.12", + "rustls-native-certs 0.6.3", + "rustls-pemfile 1.0.4", "tokio", "tokio-rustls", "tokio-stream", @@ -7818,7 +7934,7 @@ dependencies = [ "httparse", "log", "rand 0.8.5", - "rustls", + "rustls 0.21.12", "sha1", "thiserror", "url 2.5.2", @@ -7882,11 +7998,11 @@ checksum = "f962df74c8c05a667b5ee8bcf162993134c104e96440b663c8daa176dc772d8c" [[package]] name = "universal-hash" -version = "0.4.1" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f214e8f697e925001e66ec2c6e37a4ef93f0f78c2eed7814394e10c62025b05" +checksum = "fc1de2c688dc15305988b563c3854064043356019f97a4b46276fe734c4f07ea" dependencies = [ - "generic-array", + "crypto-common", "subtle", ] @@ -7905,12 +8021,6 @@ version = "0.2.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "673aac59facbab8a9007c7f6108d11f63b603f7cabff99fabf650fea5c32b861" -[[package]] -name = "untrusted" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a" - [[package]] name = "untrusted" version = "0.9.0" @@ -7973,6 +8083,12 @@ version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" +[[package]] +name = "vec_extract_if_polyfill" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "40c9cb5fb67c2692310b6eb3fce7dd4b6e4c9a75be4f2f46b27f0b2b7799759c" + [[package]] name = "vec_map" version = "0.8.2" @@ -8024,19 +8140,20 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" [[package]] name = "wasm-bindgen" -version = "0.2.92" +version = "0.2.93" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4be2531df63900aeb2bca0daaaddec08491ee64ceecbee5076636a3b026795a8" +checksum = "a82edfc16a6c469f5f44dc7b571814045d60404b55a0ee849f9bcfa2e63dd9b5" dependencies = [ "cfg-if 1.0.0", + "once_cell", "wasm-bindgen-macro", ] [[package]] name = "wasm-bindgen-backend" -version = "0.2.92" +version = "0.2.93" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "614d787b966d3989fa7bb98a654e369c762374fd3213d212cfc0251257e747da" +checksum = "9de396da306523044d3302746f1208fa71d7532227f15e347e2d93e4145dd77b" dependencies = [ "bumpalo", "log", @@ -8061,9 +8178,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.92" +version = "0.2.93" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1f8823de937b71b9460c0c34e25f3da88250760bec0ebac694b49997550d726" +checksum = "585c4c91a46b072c92e908d99cb1dcdf95c5218eeb6f3bf1efa991ee7a68cccf" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -8071,9 +8188,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.92" +version = "0.2.93" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e94f17b526d0a461a191c78ea52bbce64071ed5c04c9ffe424dcb38f74171bb7" +checksum = "afc340c74d9005395cf9dd098506f7f44e38f2b4a21c6aaacf9a105ea5e1e836" dependencies = [ "proc-macro2", "quote", @@ -8084,9 +8201,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-shared" -version = "0.2.92" +version = "0.2.93" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af190c94f2773fdb3729c55b007a722abb5384da03bc0986df4c289bf5567e96" +checksum = "c62a0a307cb4a311d3a07867860911ca130c3494e8c2719593806c08bc5d0484" [[package]] name = "web-sys" @@ -8104,7 +8221,7 @@ version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b291546d5d9d1eab74f069c77749f2cb8504a12caa20f0f2de93ddbf6f411888" dependencies = [ - "rustls-webpki", + "rustls-webpki 0.101.7", ] [[package]] @@ -8113,6 +8230,15 @@ version = "0.25.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "14247bb57be4f377dfb94c72830b8ce8fc6beac03cf4bf7b9732eadd414123fc" +[[package]] +name = "webpki-roots" +version = "0.26.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bd7c23921eeb1713a4e851530e9b9756e4fb0e89978582942612524cf09f01cd" +dependencies = [ + "rustls-pki-types", +] + [[package]] name = "which" version = "4.4.2" @@ -8355,20 +8481,13 @@ dependencies = [ [[package]] name = "xattr" -version = "1.0.1" +version = "1.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4686009f71ff3e5c4dbcf1a282d0a44db3f021ba69350cd42086b3e5f1c6985" +checksum = "8da84f1a25939b27f6820d92aed108f83ff920fdf11a7b19366c27c4cda81d4f" dependencies = [ "libc", -] - -[[package]] -name = "yasna" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e17bb3549cc1321ae1296b9cdc2698e2b6cb1992adfa19a8c72e5b7a738f44cd" -dependencies = [ - "time", + "linux-raw-sys", + "rustix", ] [[package]] @@ -8393,9 +8512,9 @@ dependencies = [ [[package]] name = "zeroize" -version = "1.3.0" +version = "1.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4756f7db3f7b5574938c3eb1c117038b8e07f95ee6718c0efad4ac21508f1efd" +checksum = "ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde" dependencies = [ "zeroize_derive", ] diff --git a/Cargo.toml b/Cargo.toml index 98a1689d..e1cc63c2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,7 +24,7 @@ axum = "0.5.17" bincode = "1.3.3" bytes = "1.4.0" cached = "0.42.0" -chrono = "0.4.24" +chrono = "0.4.38" clap = { version = "4", features = ["derive", "env"] } crossbeam-channel = "0.5.8" dashmap = "5.4.0" @@ -57,20 +57,22 @@ serde = { version = "1.0.160", features = ["derive"] } serde_json = "1.0.96" serde_yaml = "0.9.32" sha2 = "0.10.6" -solana-address-lookup-table-program = "=1.18.18" -solana-client = "=1.18.18" -solana-core = "=1.18.18" -solana-gossip = "=1.18.18" -solana-measure = "=1.18.18" -solana-metrics = "=1.18.18" -solana-net-utils = "=1.18.18" -solana-perf = "=1.18.18" -solana-program = "=1.18.18" -solana-rayon-threadlimit = "=1.18.18" -solana-runtime = "=1.18.18" -solana-sdk = "=1.18.18" -solana-streamer = "=1.18.18" -solana-validator = "=1.18.18" +solana-address-lookup-table-program = {git = "https://github.com/lijunwangs/solana.git", rev = "25c5322911d8284ded379b4c1d114e6f378707a9"} +solana-client = {git = "https://github.com/lijunwangs/solana.git", rev = "25c5322911d8284ded379b4c1d114e6f378707a9"} +solana-core = {git = "https://github.com/lijunwangs/solana.git", rev = "25c5322911d8284ded379b4c1d114e6f378707a9"} +solana-gossip = {git = "https://github.com/lijunwangs/solana.git", rev = "25c5322911d8284ded379b4c1d114e6f378707a9"} +solana-measure = {git = "https://github.com/lijunwangs/solana.git", rev = "25c5322911d8284ded379b4c1d114e6f378707a9"} +solana-metrics = {git = "https://github.com/lijunwangs/solana.git", rev = "25c5322911d8284ded379b4c1d114e6f378707a9"} +solana-net-utils = {git = "https://github.com/lijunwangs/solana.git", rev = "25c5322911d8284ded379b4c1d114e6f378707a9"} +solana-perf = {git = "https://github.com/lijunwangs/solana.git", rev = "25c5322911d8284ded379b4c1d114e6f378707a9"} +solana-program = {git = "https://github.com/lijunwangs/solana.git", rev = "25c5322911d8284ded379b4c1d114e6f378707a9"} +solana-rayon-threadlimit = {git = "https://github.com/lijunwangs/solana.git", rev = "25c5322911d8284ded379b4c1d114e6f378707a9"} +solana-runtime = {git = "https://github.com/lijunwangs/solana.git", rev = "25c5322911d8284ded379b4c1d114e6f378707a9"} +solana-sdk = {git = "https://github.com/lijunwangs/solana.git", rev = "25c5322911d8284ded379b4c1d114e6f378707a9"} +solana-streamer = {git = "https://github.com/lijunwangs/solana.git", rev = "25c5322911d8284ded379b4c1d114e6f378707a9"} +solana-unified-scheduler-logic = {git = "https://github.com/lijunwangs/solana.git", rev = "25c5322911d8284ded379b4c1d114e6f378707a9"} +agave-validator = {git = "https://github.com/lijunwangs/solana.git", rev = "25c5322911d8284ded379b4c1d114e6f378707a9"} +solana-zk-token-sdk = {git = "https://github.com/lijunwangs/solana.git", rev = "25c5322911d8284ded379b4c1d114e6f378707a9"} thiserror = "1.0.40" tikv-jemallocator = { version = "0.4", features = ["profiling"] } tokio = { version = "1.29.1", features = ["full"] } @@ -86,3 +88,8 @@ lto = "thin" # enable debug symbols for profiling the heap using jeprof # example: jeprof --web target/release/jito-transaction-relayer jeprof.3085546.9823.i24.heap #debug = true + +[patch.crates-io] + +solana-program = {git = "https://github.com/lijunwangs/solana.git", rev = "25c5322911d8284ded379b4c1d114e6f378707a9"} +solana-zk-token-sdk = {git = "https://github.com/lijunwangs/solana.git", rev = "25c5322911d8284ded379b4c1d114e6f378707a9"} diff --git a/block_engine/src/block_engine.rs b/block_engine/src/block_engine.rs index 699cf11c..7f78a57e 100644 --- a/block_engine/src/block_engine.rs +++ b/block_engine/src/block_engine.rs @@ -32,7 +32,9 @@ use prost_types::Timestamp; use solana_core::banking_trace::BankingPacketBatch; use solana_metrics::{datapoint_error, datapoint_info}; use solana_sdk::{ - address_lookup_table::AddressLookupTableAccount, pubkey::Pubkey, signature::Signer, + address_lookup_table::AddressLookupTableAccount, pubkey::Pubkey, + reserved_account_keys::ReservedAccountKeys, + signature::Signer, signer::keypair::Keypair, transaction::VersionedTransaction, }; use thiserror::Error; @@ -723,12 +725,14 @@ fn is_aoi_in_static_keys( accounts_of_interest: &mut TimedCache, programs_of_interest: &mut TimedCache, ) -> bool { + let reserved_account_keys = ReservedAccountKeys::new_all_activated().active; + tx.message .static_account_keys() .iter() .enumerate() .any(|(idx, acc)| { - (tx.message.is_maybe_writable(idx) && accounts_of_interest.cache_get(acc).is_some()) + (tx.message.is_maybe_writable(idx, Some(&reserved_account_keys)) && accounts_of_interest.cache_get(acc).is_some()) // note: can't detect CPIs without execution, so aggressively forward txs than contain account in POI || programs_of_interest.cache_get(acc).is_some() }) diff --git a/core/src/tpu.rs b/core/src/tpu.rs index 098b0160..59a01e65 100644 --- a/core/src/tpu.rs +++ b/core/src/tpu.rs @@ -19,7 +19,7 @@ use solana_core::{ }; use solana_sdk::{pubkey::Pubkey, signature::Keypair}; use solana_streamer::{ - nonblocking::quic::{DEFAULT_MAX_STREAMS_PER_MS, DEFAULT_WAIT_FOR_CHUNK_TIMEOUT}, + nonblocking::quic::{DEFAULT_MAX_CONNECTIONS_PER_IPADDR_PER_MINUTE, DEFAULT_MAX_STREAMS_PER_MS, DEFAULT_WAIT_FOR_CHUNK_TIMEOUT}, quic::spawn_server, streamer::StakedNodes, }; @@ -82,10 +82,10 @@ impl Tpu { .into_iter() .map(|sock| { spawn_server( + "solQuicTpu", "quic_streamer_tpu", sock, keypair, - *tpu_ip, tpu_sender.clone(), exit.clone(), MAX_QUIC_CONNECTIONS_PER_PEER, @@ -93,6 +93,7 @@ impl Tpu { max_staked_quic_connections, max_unstaked_quic_connections, DEFAULT_MAX_STREAMS_PER_MS, + DEFAULT_MAX_CONNECTIONS_PER_IPADDR_PER_MINUTE, DEFAULT_WAIT_FOR_CHUNK_TIMEOUT, Duration::from_millis(DEFAULT_TPU_COALESCE_MS), ) @@ -106,10 +107,10 @@ impl Tpu { .into_iter() .map(|sock| { spawn_server( + "solQuicTpuFwd", "quic_streamer_tpu_forwards", sock, keypair, - *tpu_fwd_ip, tpu_forwards_sender.clone(), exit.clone(), MAX_QUIC_CONNECTIONS_PER_PEER, @@ -117,6 +118,7 @@ impl Tpu { max_staked_quic_connections.saturating_add(max_unstaked_quic_connections), 0, // Prevent unstaked nodes from forwarding transactions DEFAULT_MAX_STREAMS_PER_MS, + DEFAULT_MAX_CONNECTIONS_PER_IPADDR_PER_MINUTE, DEFAULT_WAIT_FOR_CHUNK_TIMEOUT, Duration::from_millis(DEFAULT_TPU_COALESCE_MS), ) @@ -133,6 +135,7 @@ impl Tpu { let sigverify_stage = SigVerifyStage::new( tpu_receiver, TransactionSigVerifier::new(banking_packet_sender), + "solSigVerTpu", "tpu-verifier", ); diff --git a/jito-protos/protos b/jito-protos/protos index b74a23ff..23ec2e4a 160000 --- a/jito-protos/protos +++ b/jito-protos/protos @@ -1 +1 @@ -Subproject commit b74a23ff236c0c223b1bc56daf7c5065bb585428 +Subproject commit 23ec2e4a74d9a3fcc193069ff1d1ac1cee699fdc diff --git a/jito-protos/src/convert.rs b/jito-protos/src/convert.rs index 6bf5fbb9..f2dcb991 100644 --- a/jito-protos/src/convert.rs +++ b/jito-protos/src/convert.rs @@ -15,7 +15,6 @@ pub fn packet_to_proto_packet(p: &Packet) -> Option { repair: p.meta().repair(), simple_vote_tx: p.meta().is_simple_vote_tx(), tracer_packet: p.meta().is_tracer_packet(), - from_staked_node: p.meta().is_from_staked_node(), }), sender_stake: 0, }), diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 7897a24d..a56a283d 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,2 +1,2 @@ [toolchain] -channel = "1.75.0" +channel = "1.80.1" diff --git a/transaction-relayer/Cargo.toml b/transaction-relayer/Cargo.toml index 13261166..8142f6f5 100644 --- a/transaction-relayer/Cargo.toml +++ b/transaction-relayer/Cargo.toml @@ -36,7 +36,7 @@ solana-net-utils = { workspace = true } solana-perf = { workspace = true } solana-program = { workspace = true } solana-sdk = { workspace = true } -solana-validator = { workspace = true } +agave-validator = { workspace = true } tikv-jemallocator = { workspace = true } tokio = { workspace = true } tokio-stream = { workspace = true } diff --git a/transaction-relayer/src/main.rs b/transaction-relayer/src/main.rs index b9fcc32d..f4aefb75 100644 --- a/transaction-relayer/src/main.rs +++ b/transaction-relayer/src/main.rs @@ -39,15 +39,15 @@ use jito_transaction_relayer::forwarder::start_forward_and_delay_thread; use jwt::{AlgorithmType, PKeyWithDigest}; use log::{debug, error, info, warn}; use openssl::{hash::MessageDigest, pkey::PKey}; -use solana_address_lookup_table_program::state::AddressLookupTable; +use solana_sdk::address_lookup_table::state::AddressLookupTable; use solana_metrics::{datapoint_error, datapoint_info}; use solana_net_utils::multi_bind_in_range; use solana_sdk::{ - address_lookup_table_account::AddressLookupTableAccount, + address_lookup_table::AddressLookupTableAccount, pubkey::Pubkey, signature::{read_keypair_file, Signer}, }; -use solana_validator::admin_rpc_service::StakedNodesOverrides; +use agave_validator::admin_rpc_service::StakedNodesOverrides; use tikv_jemallocator::Jemalloc; use tokio::{runtime::Builder, signal, sync::mpsc::channel}; use tonic::transport::Server;