2022-07-16 21:49:35 +00:00
|
|
|
# This file is automatically @generated by Cargo.
|
|
|
|
# It is not intended for manual editing.
|
|
|
|
version = 3
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "Inflector"
|
|
|
|
version = "0.11.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "fe438c63458706e03479442743baae6c88256498e6431708f6dfc520a26515d3"
|
|
|
|
dependencies = [
|
|
|
|
"lazy_static",
|
|
|
|
"regex",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "addr2line"
|
|
|
|
version = "0.17.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b9ecd88a8c8378ca913a680cd98f0f13ac67383d35993f86c90a70e3f137816b"
|
|
|
|
dependencies = [
|
2022-12-21 04:12:26 +00:00
|
|
|
"gimli 0.26.2",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "addr2line"
|
|
|
|
version = "0.19.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "a76fd60b23679b7d19bd066031410fb7e458ccc5e958eb5c325888ce4baedc97"
|
|
|
|
dependencies = [
|
|
|
|
"gimli 0.27.0",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "adler"
|
|
|
|
version = "1.0.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "aead"
|
|
|
|
version = "0.4.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "0b613b8e1e3cf911a086f53f03bf286f52fd7a7258e4fa606f0ef220d39d8877"
|
|
|
|
dependencies = [
|
2022-08-16 07:44:32 +00:00
|
|
|
"generic-array 0.14.6",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "aes"
|
|
|
|
version = "0.7.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "9e8b47f52ea9bae42228d07ec09eb676433d7c4ed1ebdf0f1d1c29ed446f1ab8"
|
|
|
|
dependencies = [
|
|
|
|
"cfg-if",
|
2022-10-29 08:54:42 +00:00
|
|
|
"cipher 0.3.0",
|
2022-07-16 21:49:35 +00:00
|
|
|
"cpufeatures",
|
|
|
|
"opaque-debug 0.3.0",
|
|
|
|
]
|
|
|
|
|
2022-12-07 23:05:06 +00:00
|
|
|
[[package]]
|
|
|
|
name = "aes"
|
|
|
|
version = "0.8.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "433cfd6710c9986c576a25ca913c39d66a6474107b406f34f91d4a8923395241"
|
|
|
|
dependencies = [
|
|
|
|
"cfg-if",
|
|
|
|
"cipher 0.4.3",
|
|
|
|
"cpufeatures",
|
|
|
|
]
|
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "aes-gcm"
|
|
|
|
version = "0.9.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "df5f85a83a7d8b0442b6aa7b504b8212c1733da07b98aae43d4bc21b2cb3cdf6"
|
|
|
|
dependencies = [
|
|
|
|
"aead",
|
2022-12-07 23:05:06 +00:00
|
|
|
"aes 0.7.5",
|
2022-10-29 08:54:42 +00:00
|
|
|
"cipher 0.3.0",
|
2022-12-07 23:05:06 +00:00
|
|
|
"ctr 0.8.0",
|
2022-07-16 21:49:35 +00:00
|
|
|
"ghash",
|
|
|
|
"subtle",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "ahash"
|
|
|
|
version = "0.7.6"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "fcb51a0695d8f838b1ee009b3fbf66bda078cd64590202a864a8f3e8c4315c47"
|
|
|
|
dependencies = [
|
2022-10-22 01:40:50 +00:00
|
|
|
"getrandom 0.2.8",
|
2022-07-16 21:49:35 +00:00
|
|
|
"once_cell",
|
|
|
|
"version_check",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "aho-corasick"
|
2022-11-23 12:44:30 +00:00
|
|
|
version = "0.7.20"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-23 12:44:30 +00:00
|
|
|
checksum = "cc936419f96fa211c1b9166887b38e5e40b19958e5b895be7c1f93adec7071ac"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"memchr",
|
|
|
|
]
|
|
|
|
|
2022-08-16 07:44:32 +00:00
|
|
|
[[package]]
|
|
|
|
name = "android_system_properties"
|
2022-09-18 19:30:38 +00:00
|
|
|
version = "0.1.5"
|
2022-08-16 07:44:32 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-09-18 19:30:38 +00:00
|
|
|
checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311"
|
2022-08-16 07:44:32 +00:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "ansi_term"
|
|
|
|
version = "0.12.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d52a9bb7ec0cf484c551830a7ce27bd20d67eac647e1befb56b0be4ee39a55d2"
|
|
|
|
dependencies = [
|
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "anyhow"
|
2022-12-21 04:12:26 +00:00
|
|
|
version = "1.0.68"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-21 04:12:26 +00:00
|
|
|
checksum = "2cb2f989d18dd141ab8ae82f64d1a8cdd37e0840f73a406896cf5e99502fab61"
|
2022-07-16 21:49:35 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "approx"
|
|
|
|
version = "0.5.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "cab112f0a86d568ea0e627cc1d6be74a1e9cd55214684db5561995f6dad897c6"
|
|
|
|
dependencies = [
|
|
|
|
"num-traits",
|
|
|
|
]
|
|
|
|
|
2022-09-29 18:33:09 +00:00
|
|
|
[[package]]
|
|
|
|
name = "array-bytes"
|
2023-01-05 03:52:41 +00:00
|
|
|
version = "4.2.0"
|
2022-07-17 21:17:23 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-01-05 03:52:41 +00:00
|
|
|
checksum = "f52f63c5c1316a16a4b35eaac8b76a98248961a533f061684cb2a7cb0eafb6c6"
|
2022-07-17 21:17:23 +00:00
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "arrayref"
|
|
|
|
version = "0.3.6"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "a4c527152e37cf757a3f78aae5a06fbeefdb07ccc535c980a3208ee3060dd544"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "arrayvec"
|
|
|
|
version = "0.5.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "23b62fc65de8e4e7f52534fb52b0f3ed04746ae267519eef2a83941e8085068b"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "arrayvec"
|
|
|
|
version = "0.7.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "8da52d66c7071e2e3fa2a1e5c6d088fec47b593032b254f5e980de8ea54454d6"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "ascii-canvas"
|
|
|
|
version = "3.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "8824ecca2e851cec16968d54a01dd372ef8f95b244fb84b84e70128be347c3c6"
|
|
|
|
dependencies = [
|
|
|
|
"term",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "asn1_der"
|
|
|
|
version = "0.7.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "e22d1f4b888c298a027c99dc9048015fac177587de20fc30232a057dfbe24a21"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "async-channel"
|
2022-12-07 22:56:53 +00:00
|
|
|
version = "1.8.0"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-07 22:56:53 +00:00
|
|
|
checksum = "cf46fee83e5ccffc220104713af3292ff9bc7c64c7de289f66dae8e38d826833"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
2022-12-07 22:56:53 +00:00
|
|
|
"concurrent-queue",
|
2022-07-16 21:49:35 +00:00
|
|
|
"event-listener",
|
|
|
|
"futures-core",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "async-executor"
|
2022-11-11 04:59:20 +00:00
|
|
|
version = "1.5.0"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-11 04:59:20 +00:00
|
|
|
checksum = "17adb73da160dfb475c183343c8cccd80721ea5a605d3eb57125f0a7b7a92d0b"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
2022-11-11 04:59:20 +00:00
|
|
|
"async-lock",
|
2022-07-16 21:49:35 +00:00
|
|
|
"async-task",
|
2022-12-07 22:56:53 +00:00
|
|
|
"concurrent-queue",
|
2022-07-16 21:49:35 +00:00
|
|
|
"fastrand",
|
|
|
|
"futures-lite",
|
|
|
|
"slab",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "async-global-executor"
|
2022-11-04 12:07:37 +00:00
|
|
|
version = "2.3.1"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-04 12:07:37 +00:00
|
|
|
checksum = "f1b6f5d7df27bd294849f8eec66ecfc63d11814df7a4f5d74168a2394467b776"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"async-channel",
|
|
|
|
"async-executor",
|
|
|
|
"async-io",
|
|
|
|
"async-lock",
|
|
|
|
"blocking",
|
|
|
|
"futures-lite",
|
|
|
|
"once_cell",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "async-io"
|
2022-12-07 22:56:53 +00:00
|
|
|
version = "1.12.0"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-07 22:56:53 +00:00
|
|
|
checksum = "8c374dda1ed3e7d8f0d9ba58715f924862c63eae6849c92d3a18e7fbde9e2794"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
2022-11-04 12:07:37 +00:00
|
|
|
"async-lock",
|
2022-09-18 19:30:38 +00:00
|
|
|
"autocfg",
|
2022-12-07 22:56:53 +00:00
|
|
|
"concurrent-queue",
|
2022-07-16 21:49:35 +00:00
|
|
|
"futures-lite",
|
|
|
|
"libc",
|
|
|
|
"log",
|
|
|
|
"parking",
|
|
|
|
"polling",
|
|
|
|
"slab",
|
|
|
|
"socket2",
|
|
|
|
"waker-fn",
|
2022-12-07 22:56:53 +00:00
|
|
|
"windows-sys 0.42.0",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "async-lock"
|
2022-11-04 12:07:37 +00:00
|
|
|
version = "2.6.0"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-04 12:07:37 +00:00
|
|
|
checksum = "c8101efe8695a6c17e02911402145357e718ac92d3ff88ae8419e84b1707b685"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"event-listener",
|
2022-11-04 12:07:37 +00:00
|
|
|
"futures-lite",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "async-task"
|
|
|
|
version = "4.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "7a40729d2133846d9ed0ea60a8b9541bccddab49cd30f0715a1da672fe9a2524"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "async-trait"
|
2022-12-21 04:12:26 +00:00
|
|
|
version = "0.1.60"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-21 04:12:26 +00:00
|
|
|
checksum = "677d1d8ab452a3936018a687b20e6f7cf5363d713b732b8884001317b0e48aa3"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "async_io_stream"
|
|
|
|
version = "0.3.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b6d7b9decdf35d8908a7e3ef02f64c5e9b1695e230154c0e8de3969142d9b94c"
|
|
|
|
dependencies = [
|
|
|
|
"futures",
|
|
|
|
"pharos",
|
2023-01-05 03:52:41 +00:00
|
|
|
"rustc_version",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "asynchronous-codec"
|
2022-11-11 04:59:20 +00:00
|
|
|
version = "0.6.1"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-11 04:59:20 +00:00
|
|
|
checksum = "06a0daa378f5fd10634e44b0a29b2a87b890657658e072a30d6f26e57ddee182"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"bytes",
|
|
|
|
"futures-sink",
|
|
|
|
"futures-util",
|
|
|
|
"memchr",
|
|
|
|
"pin-project-lite 0.2.9",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "atomic-waker"
|
|
|
|
version = "1.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "065374052e7df7ee4047b1160cca5e1467a12351a40b3da123c870ba0b8eda2a"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "atty"
|
|
|
|
version = "0.2.14"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8"
|
|
|
|
dependencies = [
|
2022-12-07 22:56:53 +00:00
|
|
|
"hermit-abi 0.1.19",
|
2022-07-16 21:49:35 +00:00
|
|
|
"libc",
|
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
2022-12-07 23:05:06 +00:00
|
|
|
[[package]]
|
|
|
|
name = "auto_impl"
|
|
|
|
version = "0.5.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "7862e21c893d65a1650125d157eaeec691439379a1cee17ee49031b79236ada4"
|
|
|
|
dependencies = [
|
|
|
|
"proc-macro-error",
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "auto_impl"
|
|
|
|
version = "1.0.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "8a8c1df849285fbacd587de7818cc7d13be6cd2cbcd47a04fb1801b0e2706e33"
|
|
|
|
dependencies = [
|
|
|
|
"proc-macro-error",
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "autocfg"
|
|
|
|
version = "1.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "backtrace"
|
2022-12-21 04:12:26 +00:00
|
|
|
version = "0.3.67"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-21 04:12:26 +00:00
|
|
|
checksum = "233d376d6d185f2a3093e58f283f60f880315b6c60075b01f36b3b85154564ca"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
2022-12-21 04:12:26 +00:00
|
|
|
"addr2line 0.19.0",
|
2022-07-16 21:49:35 +00:00
|
|
|
"cc",
|
|
|
|
"cfg-if",
|
|
|
|
"libc",
|
2022-12-21 04:12:26 +00:00
|
|
|
"miniz_oxide",
|
2023-01-04 08:17:36 +00:00
|
|
|
"object 0.30.1",
|
2022-07-16 21:49:35 +00:00
|
|
|
"rustc-demangle",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "base-x"
|
|
|
|
version = "0.2.11"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "4cbbc9d0964165b47557570cce6c952866c2678457aca742aafc9fb771d30270"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "base16ct"
|
|
|
|
version = "0.1.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "349a06037c7bf932dd7e7d1f653678b2038b9ad46a74102f1fc7bd7872678cce"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "base58"
|
|
|
|
version = "0.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "5024ee8015f02155eee35c711107ddd9a9bf3cb689cf2a9089c97e79b6e1ae83"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "base58"
|
|
|
|
version = "0.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "6107fe1be6682a68940da878d9e9f5e90ca5745b3dec9fd1bb393c8777d4f581"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "base58-monero"
|
|
|
|
version = "1.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "9d079cdf47e1ca75554200bb2f30bff5a5af16964cac4a566b18de9a5d48db2b"
|
|
|
|
dependencies = [
|
|
|
|
"thiserror",
|
|
|
|
"tiny-keccak",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "base58check"
|
|
|
|
version = "0.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "2ee2fe4c9a0c84515f136aaae2466744a721af6d63339c18689d9e995d74d99b"
|
|
|
|
dependencies = [
|
|
|
|
"base58 0.1.0",
|
|
|
|
"sha2 0.8.2",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "base64"
|
|
|
|
version = "0.12.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "3441f0f7b02788e948e47f457ca01f1d7e6d92c693bc132c22b087d3141c03ff"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "base64"
|
2022-10-22 01:40:50 +00:00
|
|
|
version = "0.13.1"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-22 01:40:50 +00:00
|
|
|
checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8"
|
2022-07-16 21:49:35 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "base64ct"
|
2022-12-07 23:05:06 +00:00
|
|
|
version = "1.5.3"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-07 23:05:06 +00:00
|
|
|
checksum = "b645a089122eccb6111b4f81cbc1a49f5900ac4666bb93ac027feaecf15607bf"
|
2022-07-16 21:49:35 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "bech32"
|
|
|
|
version = "0.7.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "2dabbe35f96fb9507f7330793dc490461b2962659ac5d427181e451a623751d1"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "beef"
|
|
|
|
version = "0.5.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "3a8241f3ebb85c056b509d4327ad0358fbbba6ffb340bf388f26350aeda225b1"
|
|
|
|
dependencies = [
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "bincode"
|
|
|
|
version = "1.3.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcad"
|
|
|
|
dependencies = [
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "bindgen"
|
2022-10-20 05:05:36 +00:00
|
|
|
version = "0.60.1"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-20 05:05:36 +00:00
|
|
|
checksum = "062dddbc1ba4aca46de6338e2bf87771414c335f7b2f2036e8f3e9befebf88e6"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"bitflags",
|
|
|
|
"cexpr",
|
|
|
|
"clang-sys",
|
|
|
|
"lazy_static",
|
|
|
|
"lazycell",
|
|
|
|
"peeking_take_while",
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"regex",
|
|
|
|
"rustc-hash",
|
|
|
|
"shlex",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "bit-set"
|
2022-08-16 07:44:32 +00:00
|
|
|
version = "0.5.3"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-08-16 07:44:32 +00:00
|
|
|
checksum = "0700ddab506f33b20a03b13996eccd309a48e5ff77d0d95926aa0210fb4e95f1"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"bit-vec",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "bit-vec"
|
|
|
|
version = "0.6.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "349f9b6a179ed607305526ca489b34ad0a41aed5f7980fa90eb03160b69598fb"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "bitflags"
|
|
|
|
version = "1.3.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "bitvec"
|
|
|
|
version = "0.17.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "41262f11d771fd4a61aa3ce019fca363b4b6c282fca9da2a31186d3965a47a5c"
|
|
|
|
dependencies = [
|
|
|
|
"either",
|
|
|
|
"radium 0.3.0",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "bitvec"
|
|
|
|
version = "1.0.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "1bc2832c24239b0141d5674bb9174f9d68a8b5b3f2753311927c172ca46f7e9c"
|
|
|
|
dependencies = [
|
|
|
|
"funty",
|
|
|
|
"radium 0.7.0",
|
|
|
|
"tap",
|
|
|
|
"wyz",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "blake2"
|
2022-12-21 04:12:26 +00:00
|
|
|
version = "0.10.6"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-21 04:12:26 +00:00
|
|
|
checksum = "46502ad458c9a52b69d4d4d32775c788b7a1b85e8bc9d482d92250fc0e3f8efe"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
2022-11-21 07:23:38 +00:00
|
|
|
"digest 0.10.6",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "blake2b_simd"
|
|
|
|
version = "1.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "72936ee4afc7f8f736d1c38383b56480b5497b4617b4a77bdbf1d2ababc76127"
|
|
|
|
dependencies = [
|
|
|
|
"arrayref",
|
|
|
|
"arrayvec 0.7.2",
|
2022-11-21 07:23:38 +00:00
|
|
|
"constant_time_eq 0.1.5",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "blake2s_simd"
|
|
|
|
version = "1.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "db539cc2b5f6003621f1cd9ef92d7ded8ea5232c7de0f9faa2de251cd98730d4"
|
|
|
|
dependencies = [
|
|
|
|
"arrayref",
|
|
|
|
"arrayvec 0.7.2",
|
2022-11-21 07:23:38 +00:00
|
|
|
"constant_time_eq 0.1.5",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "blake3"
|
2022-12-07 22:56:53 +00:00
|
|
|
version = "1.3.3"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-07 22:56:53 +00:00
|
|
|
checksum = "42ae2468a89544a466886840aa467a25b766499f4f04bf7d9fcd10ecee9fccef"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"arrayref",
|
|
|
|
"arrayvec 0.7.2",
|
|
|
|
"cc",
|
|
|
|
"cfg-if",
|
2022-11-21 07:23:38 +00:00
|
|
|
"constant_time_eq 0.2.4",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "block-buffer"
|
|
|
|
version = "0.7.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "c0940dc441f31689269e10ac70eb1002a3a1d3ad1390e030043662eb7fe4688b"
|
|
|
|
dependencies = [
|
2022-10-20 05:05:36 +00:00
|
|
|
"block-padding",
|
2022-07-16 21:49:35 +00:00
|
|
|
"byte-tools",
|
|
|
|
"byteorder",
|
|
|
|
"generic-array 0.12.4",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "block-buffer"
|
|
|
|
version = "0.9.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "4152116fd6e9dadb291ae18fc1ec3575ed6d84c29642d97890f4b4a3417297e4"
|
|
|
|
dependencies = [
|
2022-08-16 07:44:32 +00:00
|
|
|
"generic-array 0.14.6",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "block-buffer"
|
2022-09-18 19:30:38 +00:00
|
|
|
version = "0.10.3"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-09-18 19:30:38 +00:00
|
|
|
checksum = "69cce20737498f97b993470a6e536b8523f0af7892a4f928cceb1ac5e52ebe7e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
2022-08-16 07:44:32 +00:00
|
|
|
"generic-array 0.14.6",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "block-padding"
|
|
|
|
version = "0.1.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "fa79dedbb091f449f1f39e53edf88d5dbe95f895dae6135a8d7b881fb5af73f5"
|
|
|
|
dependencies = [
|
|
|
|
"byte-tools",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "blocking"
|
2022-12-07 22:56:53 +00:00
|
|
|
version = "1.3.0"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-07 22:56:53 +00:00
|
|
|
checksum = "3c67b173a56acffd6d2326fb7ab938ba0b00a71480e14902b2591c87bc5741e8"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"async-channel",
|
2022-12-07 22:56:53 +00:00
|
|
|
"async-lock",
|
2022-07-16 21:49:35 +00:00
|
|
|
"async-task",
|
|
|
|
"atomic-waker",
|
|
|
|
"fastrand",
|
|
|
|
"futures-lite",
|
2022-12-07 22:56:53 +00:00
|
|
|
]
|
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "bs58"
|
|
|
|
version = "0.4.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "771fe0050b883fcc3ea2359b1a96bcfbc090b7116eae7c3c512c7a083fdf23d3"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "bstr"
|
|
|
|
version = "0.2.17"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "ba3569f383e8f1598449f1a423e72e99569137b47740b1da11ef19af3d5c3223"
|
|
|
|
dependencies = [
|
|
|
|
"memchr",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "build-helper"
|
|
|
|
version = "0.1.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "bdce191bf3fa4995ce948c8c83b4640a1745457a149e73c6db75b4ffe36aad5f"
|
|
|
|
dependencies = [
|
|
|
|
"semver 0.6.0",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "bumpalo"
|
2022-10-20 05:05:36 +00:00
|
|
|
version = "3.11.1"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-20 05:05:36 +00:00
|
|
|
checksum = "572f695136211188308f16ad2ca5c851a712c464060ae6974944458eb83880ba"
|
2022-07-16 21:49:35 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "byte-slice-cast"
|
2022-11-04 12:07:37 +00:00
|
|
|
version = "1.2.2"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-04 12:07:37 +00:00
|
|
|
checksum = "c3ac9f8b63eca6fd385229b3675f6cc0dc5c8a5c8a54a59d4f52ffd670d87b0c"
|
2022-07-16 21:49:35 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "byte-tools"
|
|
|
|
version = "0.3.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "byteorder"
|
|
|
|
version = "1.4.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "bytes"
|
2022-11-21 07:23:38 +00:00
|
|
|
version = "1.3.0"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-21 07:23:38 +00:00
|
|
|
checksum = "dfb24e866b15a1af2a1b663f10c6b6b8f397a84aadb828f12e5b289ec23a3a3c"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "bzip2"
|
|
|
|
version = "0.4.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "6afcd980b5f3a45017c57e57a2fcccbb351cc43a356ce117ef760ef8052b89b0"
|
|
|
|
dependencies = [
|
|
|
|
"bzip2-sys",
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "bzip2-sys"
|
|
|
|
version = "0.1.11+1.0.8"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "736a955f3fa7875102d57c82b8cac37ec45224a07fd32d58f9f7a186b6cd4cdc"
|
|
|
|
dependencies = [
|
|
|
|
"cc",
|
|
|
|
"libc",
|
|
|
|
"pkg-config",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "camino"
|
2022-08-16 07:44:32 +00:00
|
|
|
version = "1.1.1"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-08-16 07:44:32 +00:00
|
|
|
checksum = "88ad0e1e3e88dd237a156ab9f571021b8a158caa0ae44b1968a241efb5144c1e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "cargo-platform"
|
|
|
|
version = "0.1.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "cbdb825da8a5df079a43676dbe042702f1707b1109f713a01420fbb4cc71fa27"
|
|
|
|
dependencies = [
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "cargo_metadata"
|
|
|
|
version = "0.14.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "4acbb09d9ee8e23699b9634375c72795d095bf268439da88562cf9b501f181fa"
|
|
|
|
dependencies = [
|
|
|
|
"camino",
|
|
|
|
"cargo-platform",
|
2022-12-21 04:12:26 +00:00
|
|
|
"semver 1.0.16",
|
2022-07-16 21:49:35 +00:00
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "cargo_metadata"
|
2022-11-23 12:44:30 +00:00
|
|
|
version = "0.15.2"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-23 12:44:30 +00:00
|
|
|
checksum = "982a0cf6a99c350d7246035613882e376d58cebe571785abc5da4f648d53ac0a"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"camino",
|
|
|
|
"cargo-platform",
|
2022-12-21 04:12:26 +00:00
|
|
|
"semver 1.0.16",
|
2022-07-16 21:49:35 +00:00
|
|
|
"serde",
|
|
|
|
"serde_json",
|
2022-11-04 12:07:37 +00:00
|
|
|
"thiserror",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "cc"
|
2022-12-21 04:12:26 +00:00
|
|
|
version = "1.0.78"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-21 04:12:26 +00:00
|
|
|
checksum = "a20104e2335ce8a659d6dd92a51a767a0c062599c73b343fd152cb401e828c3d"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"jobserver",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "cexpr"
|
|
|
|
version = "0.6.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766"
|
|
|
|
dependencies = [
|
|
|
|
"nom",
|
|
|
|
]
|
|
|
|
|
2022-09-29 18:33:09 +00:00
|
|
|
[[package]]
|
|
|
|
name = "cfg-expr"
|
|
|
|
version = "0.10.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "0aacacf4d96c24b2ad6eb8ee6df040e4f27b0d0b39a5710c30091baa830485db"
|
|
|
|
dependencies = [
|
|
|
|
"smallvec",
|
|
|
|
]
|
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "cfg-if"
|
|
|
|
version = "1.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
|
|
|
|
|
2022-09-29 18:33:09 +00:00
|
|
|
[[package]]
|
|
|
|
name = "cfg_aliases"
|
|
|
|
version = "0.1.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "fd16c4719339c4530435d38e511904438d07cce7950afa3718a84ac36c10e89e"
|
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "chacha20"
|
|
|
|
version = "0.8.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "5c80e5460aa66fe3b91d40bcbdab953a597b60053e34d684ac6903f863b680a6"
|
|
|
|
dependencies = [
|
|
|
|
"cfg-if",
|
2022-10-29 08:54:42 +00:00
|
|
|
"cipher 0.3.0",
|
2022-07-16 21:49:35 +00:00
|
|
|
"cpufeatures",
|
|
|
|
"zeroize",
|
|
|
|
]
|
|
|
|
|
2022-10-29 08:54:42 +00:00
|
|
|
[[package]]
|
|
|
|
name = "chacha20"
|
|
|
|
version = "0.9.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "c7fc89c7c5b9e7a02dfe45cd2367bae382f9ed31c61ca8debe5f827c420a2f08"
|
|
|
|
dependencies = [
|
|
|
|
"cfg-if",
|
|
|
|
"cipher 0.4.3",
|
|
|
|
"cpufeatures",
|
|
|
|
]
|
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "chacha20poly1305"
|
|
|
|
version = "0.9.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "a18446b09be63d457bbec447509e85f662f32952b035ce892290396bc0b0cff5"
|
|
|
|
dependencies = [
|
|
|
|
"aead",
|
2022-10-29 08:54:42 +00:00
|
|
|
"chacha20 0.8.2",
|
|
|
|
"cipher 0.3.0",
|
2022-07-16 21:49:35 +00:00
|
|
|
"poly1305",
|
|
|
|
"zeroize",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "chrono"
|
2022-11-14 09:55:00 +00:00
|
|
|
version = "0.4.23"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-14 09:55:00 +00:00
|
|
|
checksum = "16b0a3d9ed01224b22057780a37bb8c5dbfe1be8ba48678e7bf57ec4b385411f"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
2022-08-16 07:44:32 +00:00
|
|
|
"iana-time-zone",
|
|
|
|
"js-sys",
|
2022-07-16 21:49:35 +00:00
|
|
|
"num-integer",
|
|
|
|
"num-traits",
|
2022-12-07 22:56:53 +00:00
|
|
|
"time 0.1.45",
|
2022-08-16 07:44:32 +00:00
|
|
|
"wasm-bindgen",
|
2022-07-16 21:49:35 +00:00
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "cid"
|
2022-08-16 07:44:32 +00:00
|
|
|
version = "0.8.6"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-08-16 07:44:32 +00:00
|
|
|
checksum = "f6ed9c8b2d17acb8110c46f1da5bf4a696d745e1474a16db0cd2b49cd0249bf2"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"core2",
|
|
|
|
"multibase",
|
|
|
|
"multihash",
|
|
|
|
"serde",
|
|
|
|
"unsigned-varint",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "cipher"
|
|
|
|
version = "0.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "7ee52072ec15386f770805afd189a01c8841be8696bed250fa2f13c4c0d6dfb7"
|
|
|
|
dependencies = [
|
2022-08-16 07:44:32 +00:00
|
|
|
"generic-array 0.14.6",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
2022-10-29 08:54:42 +00:00
|
|
|
[[package]]
|
|
|
|
name = "cipher"
|
|
|
|
version = "0.4.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d1873270f8f7942c191139cb8a40fd228da6c3fd2fc376d7e92d47aa14aeb59e"
|
|
|
|
dependencies = [
|
|
|
|
"crypto-common",
|
|
|
|
"inout",
|
|
|
|
"zeroize",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "ciphersuite"
|
|
|
|
version = "0.1.1"
|
|
|
|
dependencies = [
|
|
|
|
"dalek-ff-group",
|
2022-11-21 07:23:38 +00:00
|
|
|
"digest 0.10.6",
|
2022-10-29 08:54:42 +00:00
|
|
|
"elliptic-curve",
|
|
|
|
"ff",
|
2022-12-25 07:50:10 +00:00
|
|
|
"ff-group-tests",
|
2022-10-29 08:54:42 +00:00
|
|
|
"group",
|
2022-12-25 07:50:10 +00:00
|
|
|
"hex",
|
2022-10-29 08:54:42 +00:00
|
|
|
"k256",
|
|
|
|
"minimal-ed448",
|
|
|
|
"p256",
|
|
|
|
"rand_core 0.6.4",
|
|
|
|
"sha2 0.10.6",
|
|
|
|
"sha3",
|
|
|
|
"subtle",
|
|
|
|
"zeroize",
|
|
|
|
]
|
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "clang-sys"
|
2022-09-29 18:33:09 +00:00
|
|
|
version = "1.4.0"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-09-29 18:33:09 +00:00
|
|
|
checksum = "fa2e27ae6ab525c3d369ded447057bca5438d86dc3a68f6faafb8269ba82ebf3"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"glob",
|
|
|
|
"libc",
|
2022-10-20 05:05:36 +00:00
|
|
|
"libloading",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "clap"
|
2022-11-04 12:07:37 +00:00
|
|
|
version = "3.2.23"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-04 12:07:37 +00:00
|
|
|
checksum = "71655c45cb9845d3270c9d6df84ebe72b4dad3c2ba3f7023ad47c144e4e473a5"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"atty",
|
|
|
|
"bitflags",
|
2022-10-20 05:05:36 +00:00
|
|
|
"clap_derive 3.2.18",
|
|
|
|
"clap_lex 0.2.4",
|
2022-07-16 21:49:35 +00:00
|
|
|
"indexmap",
|
|
|
|
"once_cell",
|
|
|
|
"strsim",
|
|
|
|
"termcolor",
|
|
|
|
"textwrap",
|
|
|
|
]
|
|
|
|
|
2022-10-20 05:05:36 +00:00
|
|
|
[[package]]
|
|
|
|
name = "clap"
|
2023-01-04 08:17:36 +00:00
|
|
|
version = "4.0.32"
|
2022-10-20 05:05:36 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-01-04 08:17:36 +00:00
|
|
|
checksum = "a7db700bc935f9e43e88d00b0850dae18a63773cfbec6d8e070fccf7fef89a39"
|
2022-10-20 05:05:36 +00:00
|
|
|
dependencies = [
|
|
|
|
"bitflags",
|
2022-11-11 04:59:20 +00:00
|
|
|
"clap_derive 4.0.21",
|
2022-10-20 05:05:36 +00:00
|
|
|
"clap_lex 0.3.0",
|
2022-12-07 22:56:53 +00:00
|
|
|
"is-terminal",
|
2022-10-20 05:05:36 +00:00
|
|
|
"once_cell",
|
|
|
|
"strsim",
|
|
|
|
"termcolor",
|
|
|
|
]
|
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "clap_derive"
|
2022-09-18 19:30:38 +00:00
|
|
|
version = "3.2.18"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-09-18 19:30:38 +00:00
|
|
|
checksum = "ea0c8bce528c4be4da13ea6fead8965e95b6073585a2f05204bd8f4119f82a65"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
2022-08-21 12:41:19 +00:00
|
|
|
"heck",
|
2022-07-16 21:49:35 +00:00
|
|
|
"proc-macro-error",
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
2022-10-20 05:05:36 +00:00
|
|
|
[[package]]
|
|
|
|
name = "clap_derive"
|
2022-11-11 04:59:20 +00:00
|
|
|
version = "4.0.21"
|
2022-10-20 05:05:36 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-11 04:59:20 +00:00
|
|
|
checksum = "0177313f9f02afc995627906bbd8967e2be069f5261954222dac78290c2b9014"
|
2022-10-20 05:05:36 +00:00
|
|
|
dependencies = [
|
|
|
|
"heck",
|
|
|
|
"proc-macro-error",
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[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]]
|
2022-10-20 05:05:36 +00:00
|
|
|
name = "clap_lex"
|
|
|
|
version = "0.3.0"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-20 05:05:36 +00:00
|
|
|
checksum = "0d4198f73e42b4936b35b5bb248d81d2b595ecb170da0bac7655c54eedfa8da8"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
2022-10-20 05:05:36 +00:00
|
|
|
"os_str_bytes",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "codespan-reporting"
|
|
|
|
version = "0.11.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "3538270d33cc669650c4b093848450d380def10c331d38c768e34cac80576e6e"
|
|
|
|
dependencies = [
|
|
|
|
"termcolor",
|
|
|
|
"unicode-width",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "coins-bip32"
|
|
|
|
version = "0.7.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "634c509653de24b439672164bbf56f5f582a2ab0e313d3b0f6af0b7345cf2560"
|
|
|
|
dependencies = [
|
|
|
|
"bincode",
|
|
|
|
"bs58",
|
|
|
|
"coins-core",
|
2022-11-21 07:23:38 +00:00
|
|
|
"digest 0.10.6",
|
2022-10-22 01:40:50 +00:00
|
|
|
"getrandom 0.2.8",
|
2022-07-16 21:49:35 +00:00
|
|
|
"hmac 0.12.1",
|
|
|
|
"k256",
|
|
|
|
"lazy_static",
|
|
|
|
"serde",
|
2022-09-18 19:30:38 +00:00
|
|
|
"sha2 0.10.6",
|
2022-07-16 21:49:35 +00:00
|
|
|
"thiserror",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "coins-bip39"
|
|
|
|
version = "0.7.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "2a11892bcac83b4c6e95ab84b5b06c76d9d70ad73548dd07418269c5c7977171"
|
|
|
|
dependencies = [
|
|
|
|
"bitvec 0.17.4",
|
|
|
|
"coins-bip32",
|
2022-10-22 01:40:50 +00:00
|
|
|
"getrandom 0.2.8",
|
2022-07-16 21:49:35 +00:00
|
|
|
"hex",
|
|
|
|
"hmac 0.12.1",
|
|
|
|
"pbkdf2 0.11.0",
|
|
|
|
"rand 0.8.5",
|
2022-09-18 19:30:38 +00:00
|
|
|
"sha2 0.10.6",
|
2022-07-16 21:49:35 +00:00
|
|
|
"thiserror",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "coins-core"
|
|
|
|
version = "0.7.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "c94090a6663f224feae66ab01e41a2555a8296ee07b5f20dab8888bdefc9f617"
|
|
|
|
dependencies = [
|
|
|
|
"base58check",
|
|
|
|
"base64 0.12.3",
|
|
|
|
"bech32",
|
|
|
|
"blake2",
|
2022-11-21 07:23:38 +00:00
|
|
|
"digest 0.10.6",
|
2022-08-16 07:44:32 +00:00
|
|
|
"generic-array 0.14.6",
|
2022-07-16 21:49:35 +00:00
|
|
|
"hex",
|
|
|
|
"ripemd",
|
|
|
|
"serde",
|
|
|
|
"serde_derive",
|
2022-09-18 19:30:38 +00:00
|
|
|
"sha2 0.10.6",
|
2022-10-20 05:05:36 +00:00
|
|
|
"sha3",
|
2022-07-16 21:49:35 +00:00
|
|
|
"thiserror",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "comfy-table"
|
2023-01-04 08:17:36 +00:00
|
|
|
version = "6.1.4"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-01-04 08:17:36 +00:00
|
|
|
checksum = "6e7b787b0dc42e8111badfdbe4c3059158ccb2db8780352fa1b01e8ccf45cc4d"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
2022-08-16 07:44:32 +00:00
|
|
|
"strum",
|
|
|
|
"strum_macros",
|
2022-07-16 21:49:35 +00:00
|
|
|
"unicode-width",
|
|
|
|
]
|
|
|
|
|
2022-11-11 04:59:20 +00:00
|
|
|
[[package]]
|
|
|
|
name = "concurrent-queue"
|
|
|
|
version = "2.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "bd7bef69dc86e3c610e4e7aed41035e2a7ed12e72dd7530f61327a6579a4390b"
|
|
|
|
dependencies = [
|
|
|
|
"crossbeam-utils",
|
|
|
|
]
|
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "console"
|
|
|
|
version = "0.14.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "3993e6445baa160675931ec041a5e03ca84b9c6e32a056150d3aa2bdda0a1f45"
|
|
|
|
dependencies = [
|
|
|
|
"encode_unicode",
|
|
|
|
"lazy_static",
|
|
|
|
"libc",
|
|
|
|
"regex",
|
|
|
|
"terminal_size",
|
|
|
|
"unicode-width",
|
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "console"
|
2023-01-04 08:17:36 +00:00
|
|
|
version = "0.15.4"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-01-04 08:17:36 +00:00
|
|
|
checksum = "c9b6515d269224923b26b5febea2ed42b2d5f2ce37284a4dd670fedd6cb8347a"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"encode_unicode",
|
2022-09-29 18:33:09 +00:00
|
|
|
"lazy_static",
|
2022-07-16 21:49:35 +00:00
|
|
|
"libc",
|
2023-01-04 08:17:36 +00:00
|
|
|
"windows-sys 0.42.0",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "const-oid"
|
2022-11-14 09:55:00 +00:00
|
|
|
version = "0.9.1"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-14 09:55:00 +00:00
|
|
|
checksum = "cec318a675afcb6a1ea1d4340e2d377e56e47c266f28043ceccbf4412ddfdd3b"
|
2022-07-16 21:49:35 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "constant_time_eq"
|
|
|
|
version = "0.1.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc"
|
|
|
|
|
2022-11-21 07:23:38 +00:00
|
|
|
[[package]]
|
|
|
|
name = "constant_time_eq"
|
|
|
|
version = "0.2.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "f3ad85c1f65dc7b37604eb0e89748faf0b9653065f2a8ef69f96a687ec1e9279"
|
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "convert_case"
|
2022-12-07 23:05:06 +00:00
|
|
|
version = "0.6.0"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-07 23:05:06 +00:00
|
|
|
checksum = "ec182b0ca2f35d8fc196cf3404988fd8b8c739a4d270ff118a398feb0cbec1ca"
|
|
|
|
dependencies = [
|
|
|
|
"unicode-segmentation",
|
|
|
|
]
|
2022-07-16 21:49:35 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "core-foundation"
|
|
|
|
version = "0.9.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "194a7a9e6de53fa55116934067c844d9d749312f75c6f6d0980e8c252f8c2146"
|
|
|
|
dependencies = [
|
|
|
|
"core-foundation-sys",
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "core-foundation-sys"
|
|
|
|
version = "0.8.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "5827cebf4670468b8772dd191856768aedcb1b0278a04f989f7766351917b9dc"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "core2"
|
|
|
|
version = "0.4.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b49ba7ef1ad6107f8824dbe97de947cbaac53c44e7f9756a1fba0d37c1eec505"
|
|
|
|
dependencies = [
|
|
|
|
"memchr",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "cpp_demangle"
|
|
|
|
version = "0.3.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "eeaa953eaad386a53111e47172c2fedba671e5684c8dd601a5f474f4f118710f"
|
|
|
|
dependencies = [
|
|
|
|
"cfg-if",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "cpufeatures"
|
2022-09-18 19:30:38 +00:00
|
|
|
version = "0.2.5"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-09-18 19:30:38 +00:00
|
|
|
checksum = "28d997bd5e24a5928dd43e46dc529867e207907fe0b239c3477d924f7f2ca320"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "cranelift-bforest"
|
2022-11-11 04:59:20 +00:00
|
|
|
version = "0.88.2"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-11 04:59:20 +00:00
|
|
|
checksum = "52056f6d0584484b57fa6c1a65c1fcb15f3780d8b6a758426d9e3084169b2ddd"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"cranelift-entity",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "cranelift-codegen"
|
2022-11-11 04:59:20 +00:00
|
|
|
version = "0.88.2"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-11 04:59:20 +00:00
|
|
|
checksum = "18fed94c8770dc25d01154c3ffa64ed0b3ba9d583736f305fed7beebe5d9cf74"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
2022-09-29 18:33:09 +00:00
|
|
|
"arrayvec 0.7.2",
|
|
|
|
"bumpalo",
|
2022-07-16 21:49:35 +00:00
|
|
|
"cranelift-bforest",
|
|
|
|
"cranelift-codegen-meta",
|
|
|
|
"cranelift-codegen-shared",
|
|
|
|
"cranelift-entity",
|
|
|
|
"cranelift-isle",
|
2022-12-21 04:12:26 +00:00
|
|
|
"gimli 0.26.2",
|
2022-07-16 21:49:35 +00:00
|
|
|
"log",
|
|
|
|
"regalloc2",
|
|
|
|
"smallvec",
|
|
|
|
"target-lexicon",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "cranelift-codegen-meta"
|
2022-11-11 04:59:20 +00:00
|
|
|
version = "0.88.2"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-11 04:59:20 +00:00
|
|
|
checksum = "1c451b81faf237d11c7e4f3165eeb6bac61112762c5cfe7b4c0fb7241474358f"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"cranelift-codegen-shared",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "cranelift-codegen-shared"
|
2022-11-11 04:59:20 +00:00
|
|
|
version = "0.88.2"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-11 04:59:20 +00:00
|
|
|
checksum = "e7c940133198426d26128f08be2b40b0bd117b84771fd36798969c4d712d81fc"
|
2022-07-16 21:49:35 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "cranelift-entity"
|
2022-11-11 04:59:20 +00:00
|
|
|
version = "0.88.2"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-11 04:59:20 +00:00
|
|
|
checksum = "87a0f1b2fdc18776956370cf8d9b009ded3f855350c480c1c52142510961f352"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "cranelift-frontend"
|
2022-11-11 04:59:20 +00:00
|
|
|
version = "0.88.2"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-11 04:59:20 +00:00
|
|
|
checksum = "34897538b36b216cc8dd324e73263596d51b8cf610da6498322838b2546baf8a"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"cranelift-codegen",
|
|
|
|
"log",
|
|
|
|
"smallvec",
|
|
|
|
"target-lexicon",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "cranelift-isle"
|
2022-11-11 04:59:20 +00:00
|
|
|
version = "0.88.2"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-11 04:59:20 +00:00
|
|
|
checksum = "1b2629a569fae540f16a76b70afcc87ad7decb38dc28fa6c648ac73b51e78470"
|
2022-07-16 21:49:35 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "cranelift-native"
|
2022-11-11 04:59:20 +00:00
|
|
|
version = "0.88.2"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-11 04:59:20 +00:00
|
|
|
checksum = "20937dab4e14d3e225c5adfc9c7106bafd4ac669bdb43027b911ff794c6fb318"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"cranelift-codegen",
|
|
|
|
"libc",
|
|
|
|
"target-lexicon",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "cranelift-wasm"
|
2022-11-11 04:59:20 +00:00
|
|
|
version = "0.88.2"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-11 04:59:20 +00:00
|
|
|
checksum = "80fc2288957a94fd342a015811479de1837850924166d1f1856d8406e6f3609b"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"cranelift-codegen",
|
|
|
|
"cranelift-entity",
|
|
|
|
"cranelift-frontend",
|
|
|
|
"itertools",
|
|
|
|
"log",
|
|
|
|
"smallvec",
|
|
|
|
"wasmparser",
|
|
|
|
"wasmtime-types",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "crc32fast"
|
|
|
|
version = "1.3.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d"
|
|
|
|
dependencies = [
|
|
|
|
"cfg-if",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "crossbeam-channel"
|
2022-08-16 07:44:32 +00:00
|
|
|
version = "0.5.6"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-08-16 07:44:32 +00:00
|
|
|
checksum = "c2dd04ddaf88237dc3b8d8f9a3c1004b506b54b3313403944054d23c0870c521"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"cfg-if",
|
|
|
|
"crossbeam-utils",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "crossbeam-deque"
|
2022-08-16 07:44:32 +00:00
|
|
|
version = "0.8.2"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-08-16 07:44:32 +00:00
|
|
|
checksum = "715e8152b692bba2d374b53d4875445368fdf21a94751410af607a5ac677d1fc"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"cfg-if",
|
|
|
|
"crossbeam-epoch",
|
|
|
|
"crossbeam-utils",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "crossbeam-epoch"
|
2022-11-23 12:44:30 +00:00
|
|
|
version = "0.9.13"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-23 12:44:30 +00:00
|
|
|
checksum = "01a9af1f4c2ef74bb8aa1f7e19706bc72d03598c8a570bb5de72243c7a9d9d5a"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"autocfg",
|
|
|
|
"cfg-if",
|
|
|
|
"crossbeam-utils",
|
2022-11-21 07:23:38 +00:00
|
|
|
"memoffset 0.7.1",
|
2022-07-16 21:49:35 +00:00
|
|
|
"scopeguard",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "crossbeam-utils"
|
2022-11-23 12:44:30 +00:00
|
|
|
version = "0.8.14"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-23 12:44:30 +00:00
|
|
|
checksum = "4fb766fa798726286dbbb842f174001dab8abc7b627a1dd86e0b7222a95d929f"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"cfg-if",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "crunchy"
|
|
|
|
version = "0.2.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "crypto-bigint"
|
2022-10-20 05:05:36 +00:00
|
|
|
version = "0.4.9"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-20 05:05:36 +00:00
|
|
|
checksum = "ef2b4b23cddf68b89b8f8069890e8c270d54e2d5fe1b143820234805e4cb17ef"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
2022-08-16 07:44:32 +00:00
|
|
|
"generic-array 0.14.6",
|
2022-09-18 19:30:38 +00:00
|
|
|
"rand_core 0.6.4",
|
2022-07-16 21:49:35 +00:00
|
|
|
"subtle",
|
|
|
|
"zeroize",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "crypto-common"
|
2022-07-18 00:56:10 +00:00
|
|
|
version = "0.1.6"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-07-18 00:56:10 +00:00
|
|
|
checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
2022-08-16 07:44:32 +00:00
|
|
|
"generic-array 0.14.6",
|
2022-07-16 21:49:35 +00:00
|
|
|
"typenum",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "crypto-mac"
|
|
|
|
version = "0.8.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b584a330336237c1eecd3e94266efb216c56ed91225d634cb2991c5f3fd1aeab"
|
|
|
|
dependencies = [
|
2022-08-16 07:44:32 +00:00
|
|
|
"generic-array 0.14.6",
|
2022-07-16 21:49:35 +00:00
|
|
|
"subtle",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "crypto-mac"
|
|
|
|
version = "0.11.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b1d1a86f49236c215f271d40892d5fc950490551400b02ef360692c29815c714"
|
|
|
|
dependencies = [
|
2022-08-16 07:44:32 +00:00
|
|
|
"generic-array 0.14.6",
|
2022-07-16 21:49:35 +00:00
|
|
|
"subtle",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "ctr"
|
|
|
|
version = "0.8.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "049bb91fb4aaf0e3c7efa6cd5ef877dbbbd15b39dad06d9948de4ec8a75761ea"
|
|
|
|
dependencies = [
|
2022-10-29 08:54:42 +00:00
|
|
|
"cipher 0.3.0",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
2022-12-07 23:05:06 +00:00
|
|
|
[[package]]
|
|
|
|
name = "ctr"
|
|
|
|
version = "0.9.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "0369ee1ad671834580515889b80f2ea915f23b8be8d0daa4bbaf2ac5c7590835"
|
|
|
|
dependencies = [
|
|
|
|
"cipher 0.4.3",
|
|
|
|
]
|
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "curve25519-dalek"
|
|
|
|
version = "2.1.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "4a9b85542f99a2dfa2a1b8e192662741c9859a846b296bef1c92ef9b58b5a216"
|
|
|
|
dependencies = [
|
|
|
|
"byteorder",
|
|
|
|
"digest 0.8.1",
|
|
|
|
"rand_core 0.5.1",
|
|
|
|
"subtle",
|
|
|
|
"zeroize",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "curve25519-dalek"
|
|
|
|
version = "3.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "0b9fdf9972b2bd6af2d913799d9ebc165ea4d2e65878e329d9c6b372c4491b61"
|
|
|
|
dependencies = [
|
|
|
|
"byteorder",
|
|
|
|
"digest 0.9.0",
|
|
|
|
"rand_core 0.5.1",
|
|
|
|
"subtle",
|
|
|
|
"zeroize",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "curve25519-dalek"
|
2022-12-21 04:12:26 +00:00
|
|
|
version = "4.0.0-pre.5"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-21 04:12:26 +00:00
|
|
|
checksum = "67bc65846be335cb20f4e52d49a437b773a2c1fdb42b19fc84e79e6f6771536f"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
2022-12-21 04:12:26 +00:00
|
|
|
"cfg-if",
|
|
|
|
"fiat-crypto",
|
|
|
|
"packed_simd_2",
|
|
|
|
"platforms 3.0.2",
|
2022-07-16 21:49:35 +00:00
|
|
|
"subtle",
|
|
|
|
"zeroize",
|
|
|
|
]
|
|
|
|
|
2022-10-20 05:05:36 +00:00
|
|
|
[[package]]
|
|
|
|
name = "cxx"
|
2022-12-21 04:12:26 +00:00
|
|
|
version = "1.0.85"
|
2022-10-20 05:05:36 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-21 04:12:26 +00:00
|
|
|
checksum = "5add3fc1717409d029b20c5b6903fc0c0b02fa6741d820054f4a2efa5e5816fd"
|
2022-10-20 05:05:36 +00:00
|
|
|
dependencies = [
|
|
|
|
"cc",
|
|
|
|
"cxxbridge-flags",
|
|
|
|
"cxxbridge-macro",
|
|
|
|
"link-cplusplus",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "cxx-build"
|
2022-12-21 04:12:26 +00:00
|
|
|
version = "1.0.85"
|
2022-10-20 05:05:36 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-21 04:12:26 +00:00
|
|
|
checksum = "b4c87959ba14bc6fbc61df77c3fcfe180fc32b93538c4f1031dd802ccb5f2ff0"
|
2022-10-20 05:05:36 +00:00
|
|
|
dependencies = [
|
|
|
|
"cc",
|
|
|
|
"codespan-reporting",
|
|
|
|
"once_cell",
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"scratch",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "cxxbridge-flags"
|
2022-12-21 04:12:26 +00:00
|
|
|
version = "1.0.85"
|
2022-10-20 05:05:36 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-21 04:12:26 +00:00
|
|
|
checksum = "69a3e162fde4e594ed2b07d0f83c6c67b745e7f28ce58c6df5e6b6bef99dfb59"
|
2022-10-20 05:05:36 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "cxxbridge-macro"
|
2022-12-21 04:12:26 +00:00
|
|
|
version = "1.0.85"
|
2022-10-20 05:05:36 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-21 04:12:26 +00:00
|
|
|
checksum = "3e7e2adeb6a0d4a282e581096b06e1791532b7d576dcde5ccd9382acf55db8e6"
|
2022-10-20 05:05:36 +00:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "dalek-ff-group"
|
2022-09-29 06:24:33 +00:00
|
|
|
version = "0.1.5"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"crypto-bigint",
|
|
|
|
"curve25519-dalek 3.2.0",
|
2022-11-21 07:23:38 +00:00
|
|
|
"digest 0.10.6",
|
2022-07-16 21:49:35 +00:00
|
|
|
"ff",
|
2022-12-24 20:09:09 +00:00
|
|
|
"ff-group-tests",
|
2022-07-16 21:49:35 +00:00
|
|
|
"group",
|
2022-09-18 19:30:38 +00:00
|
|
|
"rand_core 0.6.4",
|
2022-07-16 21:49:35 +00:00
|
|
|
"subtle",
|
Utilize zeroize (#76)
* Apply Zeroize to nonces used in Bulletproofs
Also makes bit decomposition constant time for a given amount of
outputs.
* Fix nonce reuse for single-signer CLSAG
* Attach Zeroize to most structures in Monero, and ZOnDrop to anything with private data
* Zeroize private keys and nonces
* Merge prepare_outputs and prepare_transactions
* Ensure CLSAG is constant time
* Pass by borrow where needed, bug fixes
The past few commitments have been one in-progress chunk which I've
broken up as best read.
* Add Zeroize to FROST structs
Still needs to zeroize internally, yet next step. Not quite as
aggressive as Monero, partially due to the limitations of HashMaps,
partially due to less concern about metadata, yet does still delete a
few smaller items of metadata (group key, context string...).
* Remove Zeroize from most Monero multisig structs
These structs largely didn't have private data, just fields with private
data, yet those fields implemented ZeroizeOnDrop making them already
covered. While there is still traces of the transaction left in RAM,
fully purging that was never the intent.
* Use Zeroize within dleq
bitvec doesn't offer Zeroize, so a manual zeroing has been implemented.
* Use Zeroize for random_nonce
It isn't perfect, due to the inability to zeroize the digest, and due to
kp256 requiring a few transformations. It does the best it can though.
Does move the per-curve random_nonce to a provided one, which is allowed
as of https://github.com/cfrg/draft-irtf-cfrg-frost/pull/231.
* Use Zeroize on FROST keygen/signing
* Zeroize constant time multiexp.
* Correct when FROST keygen zeroizes
* Move the FROST keys Arc into FrostKeys
Reduces amount of instances in memory.
* Manually implement Debug for FrostCore to not leak the secret share
* Misc bug fixes
* clippy + multiexp test bug fixes
* Correct FROST key gen share summation
It leaked our own share for ourself.
* Fix cross-group DLEq tests
2022-08-03 08:25:18 +00:00
|
|
|
"zeroize",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "data-encoding"
|
2022-12-07 22:56:53 +00:00
|
|
|
version = "2.3.3"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-07 22:56:53 +00:00
|
|
|
checksum = "23d8666cb01533c39dde32bcbab8e227b4ed6679b2c925eba05feabea39508fb"
|
2022-07-16 21:49:35 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "data-encoding-macro"
|
|
|
|
version = "0.1.12"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "86927b7cd2fe88fa698b87404b287ab98d1a0063a34071d92e575b72d3029aca"
|
|
|
|
dependencies = [
|
|
|
|
"data-encoding",
|
|
|
|
"data-encoding-macro-internal",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "data-encoding-macro-internal"
|
|
|
|
version = "0.1.10"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "a5bbed42daaa95e780b60a50546aa345b8413a1e46f9a40a12907d3598f038db"
|
|
|
|
dependencies = [
|
|
|
|
"data-encoding",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "der"
|
2022-12-07 22:56:53 +00:00
|
|
|
version = "0.6.1"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-07 22:56:53 +00:00
|
|
|
checksum = "f1a467a65c5e759bce6e65eaf91cc29f466cdc57cb65777bd646872a8a1fd4de"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"const-oid",
|
|
|
|
"zeroize",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "derive_more"
|
|
|
|
version = "0.99.17"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "4fb810d30a7c1953f91334de7244731fc3f3c10d7fe163338a35b9f640960321"
|
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "dialoguer"
|
|
|
|
version = "0.8.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "c9dd058f8b65922819fabb4a41e7d1964e56344042c26efbccd465202c23fa0c"
|
|
|
|
dependencies = [
|
|
|
|
"console 0.14.1",
|
|
|
|
"lazy_static",
|
|
|
|
"tempfile",
|
|
|
|
"zeroize",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "diff"
|
|
|
|
version = "0.1.13"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "56254986775e3233ffa9c4d7d3faaf6d36a2c09d30b20687e9f88bc8bafc16c8"
|
|
|
|
|
2022-10-20 05:05:36 +00:00
|
|
|
[[package]]
|
|
|
|
name = "difflib"
|
|
|
|
version = "0.4.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "6184e33543162437515c2e2b48714794e37845ec9851711914eec9d308f6ebe8"
|
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "digest"
|
|
|
|
version = "0.8.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "f3d0c8c8752312f9713efd397ff63acb9f85585afbf179282e720e7704954dd5"
|
|
|
|
dependencies = [
|
|
|
|
"generic-array 0.12.4",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "digest"
|
|
|
|
version = "0.9.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d3dd60d1080a57a05ab032377049e0591415d2b31afd7028356dbf3cc6dcb066"
|
|
|
|
dependencies = [
|
2022-08-16 07:44:32 +00:00
|
|
|
"generic-array 0.14.6",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "digest"
|
2022-11-21 07:23:38 +00:00
|
|
|
version = "0.10.6"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-21 07:23:38 +00:00
|
|
|
checksum = "8168378f4e5023e7218c89c891c0fd8ecdb5e5e4f18cb78f38cf245dd021e76f"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
2022-09-18 19:30:38 +00:00
|
|
|
"block-buffer 0.10.3",
|
2022-07-16 21:49:35 +00:00
|
|
|
"crypto-common",
|
|
|
|
"subtle",
|
|
|
|
]
|
|
|
|
|
2022-11-15 04:24:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "digest_auth"
|
|
|
|
version = "0.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "fa30657988b2ced88f68fe490889e739bf98d342916c33ed3100af1d6f1cbc9c"
|
|
|
|
dependencies = [
|
|
|
|
"digest 0.9.0",
|
|
|
|
"hex",
|
|
|
|
"md-5 0.9.1",
|
|
|
|
"rand 0.8.5",
|
|
|
|
"sha2 0.9.9",
|
|
|
|
]
|
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "directories"
|
|
|
|
version = "4.0.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "f51c5d4ddabd36886dd3e1438cb358cdcb0d7c499cb99cb4ac2e38e18b5cb210"
|
|
|
|
dependencies = [
|
|
|
|
"dirs-sys",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "directories-next"
|
|
|
|
version = "2.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "339ee130d97a610ea5a5872d2bbb130fdf68884ff09d3028b81bec8a1ac23bbc"
|
|
|
|
dependencies = [
|
|
|
|
"cfg-if",
|
|
|
|
"dirs-sys-next",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "dirs-next"
|
|
|
|
version = "2.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b98cf8ebf19c3d1b223e151f99a4f9f0690dca41414773390fc824184ac833e1"
|
|
|
|
dependencies = [
|
|
|
|
"cfg-if",
|
|
|
|
"dirs-sys-next",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "dirs-sys"
|
|
|
|
version = "0.3.7"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "1b1d1d91c932ef41c0f2663aa8b0ca0342d444d842c06914aa0a7e352d0bada6"
|
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
"redox_users",
|
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "dirs-sys-next"
|
|
|
|
version = "0.1.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "4ebda144c4fe02d1f7ea1a7d9641b6fc6b580adcfa024ae48797ecdeb6825b4d"
|
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
"redox_users",
|
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
2022-10-29 08:54:42 +00:00
|
|
|
[[package]]
|
|
|
|
name = "dkg"
|
2022-11-11 03:35:09 +00:00
|
|
|
version = "0.2.0"
|
2022-10-29 08:54:42 +00:00
|
|
|
dependencies = [
|
|
|
|
"chacha20 0.9.0",
|
|
|
|
"ciphersuite",
|
|
|
|
"dleq",
|
|
|
|
"flexible-transcript",
|
|
|
|
"group",
|
|
|
|
"hex",
|
|
|
|
"multiexp",
|
|
|
|
"rand_core 0.6.4",
|
|
|
|
"schnorr-signatures",
|
|
|
|
"subtle",
|
|
|
|
"thiserror",
|
|
|
|
"zeroize",
|
|
|
|
]
|
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
2022-07-30 22:35:39 +00:00
|
|
|
name = "dleq"
|
2022-11-11 03:35:09 +00:00
|
|
|
version = "0.2.0"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"blake2",
|
|
|
|
"dalek-ff-group",
|
2022-11-21 07:23:38 +00:00
|
|
|
"digest 0.10.6",
|
2022-07-16 21:49:35 +00:00
|
|
|
"ff",
|
|
|
|
"flexible-transcript",
|
|
|
|
"group",
|
|
|
|
"hex-literal",
|
|
|
|
"k256",
|
|
|
|
"multiexp",
|
2022-09-18 19:30:38 +00:00
|
|
|
"rand_core 0.6.4",
|
2022-07-16 21:49:35 +00:00
|
|
|
"thiserror",
|
Utilize zeroize (#76)
* Apply Zeroize to nonces used in Bulletproofs
Also makes bit decomposition constant time for a given amount of
outputs.
* Fix nonce reuse for single-signer CLSAG
* Attach Zeroize to most structures in Monero, and ZOnDrop to anything with private data
* Zeroize private keys and nonces
* Merge prepare_outputs and prepare_transactions
* Ensure CLSAG is constant time
* Pass by borrow where needed, bug fixes
The past few commitments have been one in-progress chunk which I've
broken up as best read.
* Add Zeroize to FROST structs
Still needs to zeroize internally, yet next step. Not quite as
aggressive as Monero, partially due to the limitations of HashMaps,
partially due to less concern about metadata, yet does still delete a
few smaller items of metadata (group key, context string...).
* Remove Zeroize from most Monero multisig structs
These structs largely didn't have private data, just fields with private
data, yet those fields implemented ZeroizeOnDrop making them already
covered. While there is still traces of the transaction left in RAM,
fully purging that was never the intent.
* Use Zeroize within dleq
bitvec doesn't offer Zeroize, so a manual zeroing has been implemented.
* Use Zeroize for random_nonce
It isn't perfect, due to the inability to zeroize the digest, and due to
kp256 requiring a few transformations. It does the best it can though.
Does move the per-curve random_nonce to a provided one, which is allowed
as of https://github.com/cfrg/draft-irtf-cfrg-frost/pull/231.
* Use Zeroize on FROST keygen/signing
* Zeroize constant time multiexp.
* Correct when FROST keygen zeroizes
* Move the FROST keys Arc into FrostKeys
Reduces amount of instances in memory.
* Manually implement Debug for FrostCore to not leak the secret share
* Misc bug fixes
* clippy + multiexp test bug fixes
* Correct FROST key gen share summation
It leaked our own share for ourself.
* Fix cross-group DLEq tests
2022-08-03 08:25:18 +00:00
|
|
|
"zeroize",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "dns-parser"
|
|
|
|
version = "0.8.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "c4d33be9473d06f75f58220f71f7a9317aca647dc061dbd3c361b0bef505fbea"
|
|
|
|
dependencies = [
|
|
|
|
"byteorder",
|
|
|
|
"quick-error",
|
|
|
|
]
|
|
|
|
|
2022-10-20 05:05:36 +00:00
|
|
|
[[package]]
|
|
|
|
name = "downcast"
|
|
|
|
version = "0.11.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "1435fa1053d8b2fbbe9be7e97eca7f33d37b28409959813daefc1446a14247f1"
|
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "downcast-rs"
|
|
|
|
version = "1.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "9ea835d29036a4087793836fa931b08837ad5e957da9e23886b29586fb9b6650"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "dtoa"
|
2022-12-21 04:12:26 +00:00
|
|
|
version = "1.0.5"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-21 04:12:26 +00:00
|
|
|
checksum = "c00704156a7de8df8da0911424e30c2049957b0a714542a44e05fe693dd85313"
|
2022-07-16 21:49:35 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "dunce"
|
2022-10-20 05:05:36 +00:00
|
|
|
version = "1.0.3"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-20 05:05:36 +00:00
|
|
|
checksum = "0bd4b30a6560bbd9b4620f4de34c3f14f60848e58a9b7216801afcb4c7b31c3c"
|
2022-07-16 21:49:35 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "dyn-clonable"
|
|
|
|
version = "0.9.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "4e9232f0e607a262ceb9bd5141a3dfb3e4db6994b31989bbfd845878cba59fd4"
|
|
|
|
dependencies = [
|
|
|
|
"dyn-clonable-impl",
|
|
|
|
"dyn-clone",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "dyn-clonable-impl"
|
|
|
|
version = "0.9.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "558e40ea573c374cf53507fd240b7ee2f5477df7cfebdb97323ec61c719399c5"
|
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "dyn-clone"
|
2022-12-21 04:12:26 +00:00
|
|
|
version = "1.0.10"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-21 04:12:26 +00:00
|
|
|
checksum = "c9b0705efd4599c15a38151f4721f7bc388306f61084d3bfd50bd07fbca5cb60"
|
2022-07-16 21:49:35 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "ecdsa"
|
2022-09-29 18:33:09 +00:00
|
|
|
version = "0.14.8"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-09-29 18:33:09 +00:00
|
|
|
checksum = "413301934810f597c1d19ca71c8710e99a3f1ba28a0d2ebc01551a2daeea3c5c"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"der",
|
|
|
|
"elliptic-curve",
|
|
|
|
"rfc6979",
|
|
|
|
"signature",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "ed25519"
|
|
|
|
version = "1.5.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "1e9c280362032ea4203659fc489832d0204ef09f247a0506f170dafcac08c369"
|
|
|
|
dependencies = [
|
|
|
|
"signature",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "ed25519-dalek"
|
|
|
|
version = "1.0.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "c762bae6dcaf24c4c84667b8579785430908723d5c889f469d76a41d59cc7a9d"
|
|
|
|
dependencies = [
|
|
|
|
"curve25519-dalek 3.2.0",
|
|
|
|
"ed25519",
|
|
|
|
"rand 0.7.3",
|
|
|
|
"serde",
|
|
|
|
"sha2 0.9.9",
|
|
|
|
"zeroize",
|
|
|
|
]
|
|
|
|
|
2022-09-29 18:33:09 +00:00
|
|
|
[[package]]
|
|
|
|
name = "ed25519-zebra"
|
2022-11-04 12:07:37 +00:00
|
|
|
version = "3.1.0"
|
2022-09-29 18:33:09 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-04 12:07:37 +00:00
|
|
|
checksum = "7c24f403d068ad0b359e577a77f92392118be3f3c927538f2bb544a5ecd828c6"
|
2022-09-29 18:33:09 +00:00
|
|
|
dependencies = [
|
|
|
|
"curve25519-dalek 3.2.0",
|
2022-12-07 23:05:06 +00:00
|
|
|
"hashbrown",
|
2022-09-29 18:33:09 +00:00
|
|
|
"hex",
|
|
|
|
"rand_core 0.6.4",
|
|
|
|
"sha2 0.9.9",
|
|
|
|
"zeroize",
|
|
|
|
]
|
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "either"
|
2022-09-18 19:30:38 +00:00
|
|
|
version = "1.8.0"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-09-18 19:30:38 +00:00
|
|
|
checksum = "90e5c1c8368803113bf0c9584fc495a58b86dc8a29edbf8fe877d21d9507e797"
|
2022-07-16 21:49:35 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "elliptic-curve"
|
2022-08-16 07:44:32 +00:00
|
|
|
version = "0.12.3"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-08-16 07:44:32 +00:00
|
|
|
checksum = "e7bb888ab5300a19b8e5bceef25ac745ad065f3c9f7efc6de1b91958110891d3"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"base16ct",
|
|
|
|
"crypto-bigint",
|
|
|
|
"der",
|
2022-11-21 07:23:38 +00:00
|
|
|
"digest 0.10.6",
|
2022-07-16 21:49:35 +00:00
|
|
|
"ff",
|
2022-08-16 07:44:32 +00:00
|
|
|
"generic-array 0.14.6",
|
2022-07-16 21:49:35 +00:00
|
|
|
"group",
|
|
|
|
"pkcs8",
|
2022-09-18 19:30:38 +00:00
|
|
|
"rand_core 0.6.4",
|
2022-07-16 21:49:35 +00:00
|
|
|
"sec1",
|
|
|
|
"subtle",
|
|
|
|
"zeroize",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "ena"
|
|
|
|
version = "0.14.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d7402b94a93c24e742487327a7cd839dc9d36fec9de9fb25b09f2dae459f36c3"
|
|
|
|
dependencies = [
|
|
|
|
"log",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "encode_unicode"
|
|
|
|
version = "0.3.6"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "encoding_rs"
|
|
|
|
version = "0.8.31"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "9852635589dc9f9ea1b6fe9f05b50ef208c85c834a562f0c6abb1c475736ec2b"
|
|
|
|
dependencies = [
|
|
|
|
"cfg-if",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "enum-as-inner"
|
2022-10-20 05:05:36 +00:00
|
|
|
version = "0.5.1"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-20 05:05:36 +00:00
|
|
|
checksum = "c9720bba047d567ffc8a3cba48bf19126600e249ab7f128e9233e6376976a116"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
2022-08-21 12:41:19 +00:00
|
|
|
"heck",
|
2022-07-16 21:49:35 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "env_logger"
|
2022-11-11 04:59:20 +00:00
|
|
|
version = "0.9.3"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-11 04:59:20 +00:00
|
|
|
checksum = "a12e6657c4c97ebab115a42dcee77225f7f482cdd841cf7088c657a42e9e00e7"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"atty",
|
|
|
|
"humantime",
|
|
|
|
"log",
|
|
|
|
"regex",
|
|
|
|
"termcolor",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "environmental"
|
2022-12-07 22:56:53 +00:00
|
|
|
version = "1.1.4"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-07 22:56:53 +00:00
|
|
|
checksum = "e48c92028aaa870e83d51c64e5d4e0b6981b360c522198c23959f219a4e1b15b"
|
2022-07-16 21:49:35 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "errno"
|
|
|
|
version = "0.2.8"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "f639046355ee4f37944e44f60642c6f3a7efa3cf6b78c78a0d989a8ce6c396a1"
|
|
|
|
dependencies = [
|
|
|
|
"errno-dragonfly",
|
|
|
|
"libc",
|
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "errno-dragonfly"
|
|
|
|
version = "0.1.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "aa68f1b12764fab894d2755d2518754e71b4fd80ecfb822714a1206c2aab39bf"
|
|
|
|
dependencies = [
|
|
|
|
"cc",
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "eth-keystore"
|
2022-12-07 23:05:06 +00:00
|
|
|
version = "0.5.0"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-07 23:05:06 +00:00
|
|
|
checksum = "1fda3bf123be441da5260717e0661c25a2fd9cb2b2c1d20bf2e05580047158ab"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
2022-12-07 23:05:06 +00:00
|
|
|
"aes 0.8.2",
|
|
|
|
"ctr 0.9.2",
|
2022-11-21 07:23:38 +00:00
|
|
|
"digest 0.10.6",
|
2022-07-16 21:49:35 +00:00
|
|
|
"hex",
|
|
|
|
"hmac 0.12.1",
|
2022-08-16 07:44:32 +00:00
|
|
|
"pbkdf2 0.11.0",
|
2022-07-16 21:49:35 +00:00
|
|
|
"rand 0.8.5",
|
|
|
|
"scrypt",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
2022-09-18 19:30:38 +00:00
|
|
|
"sha2 0.10.6",
|
2022-10-20 05:05:36 +00:00
|
|
|
"sha3",
|
2022-07-16 21:49:35 +00:00
|
|
|
"thiserror",
|
|
|
|
"uuid",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "ethabi"
|
2022-12-07 23:05:06 +00:00
|
|
|
version = "18.0.0"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-07 23:05:06 +00:00
|
|
|
checksum = "7413c5f74cc903ea37386a8965a936cbeb334bd270862fdece542c1b2dcbc898"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"ethereum-types",
|
|
|
|
"hex",
|
|
|
|
"once_cell",
|
|
|
|
"regex",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
2022-10-20 05:05:36 +00:00
|
|
|
"sha3",
|
2022-07-16 21:49:35 +00:00
|
|
|
"thiserror",
|
|
|
|
"uint",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "ethbloom"
|
2022-12-07 23:05:06 +00:00
|
|
|
version = "0.13.0"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-07 23:05:06 +00:00
|
|
|
checksum = "c22d4b5885b6aa2fe5e8b9329fb8d232bf739e434e6b87347c63bdd00c120f60"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"crunchy",
|
2022-12-07 23:05:06 +00:00
|
|
|
"fixed-hash",
|
|
|
|
"impl-codec",
|
2022-07-16 21:49:35 +00:00
|
|
|
"impl-rlp",
|
2023-01-05 03:52:41 +00:00
|
|
|
"impl-serde",
|
2022-12-07 23:05:06 +00:00
|
|
|
"scale-info",
|
2022-07-16 21:49:35 +00:00
|
|
|
"tiny-keccak",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "ethereum-serai"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
|
|
|
"ethers",
|
|
|
|
"ethers-solc",
|
|
|
|
"eyre",
|
|
|
|
"group",
|
|
|
|
"hex-literal",
|
|
|
|
"k256",
|
|
|
|
"modular-frost",
|
2022-09-18 19:30:38 +00:00
|
|
|
"rand_core 0.6.4",
|
2022-07-16 21:49:35 +00:00
|
|
|
"serde",
|
|
|
|
"serde_json",
|
2022-10-20 05:05:36 +00:00
|
|
|
"sha3",
|
2022-07-16 21:49:35 +00:00
|
|
|
"thiserror",
|
|
|
|
"tokio",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "ethereum-types"
|
2022-12-07 23:05:06 +00:00
|
|
|
version = "0.14.1"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-07 23:05:06 +00:00
|
|
|
checksum = "02d215cbf040552efcbe99a38372fe80ab9d00268e20012b79fcd0f073edd8ee"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"ethbloom",
|
2022-12-07 23:05:06 +00:00
|
|
|
"fixed-hash",
|
|
|
|
"impl-codec",
|
2022-07-16 21:49:35 +00:00
|
|
|
"impl-rlp",
|
2023-01-05 03:52:41 +00:00
|
|
|
"impl-serde",
|
2022-12-07 23:05:06 +00:00
|
|
|
"primitive-types",
|
|
|
|
"scale-info",
|
2022-07-16 21:49:35 +00:00
|
|
|
"uint",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "ethers"
|
2022-12-07 23:05:06 +00:00
|
|
|
version = "1.0.2"
|
2022-07-22 16:36:30 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-07 23:05:06 +00:00
|
|
|
checksum = "11f26f9d8d80da18ca72aca51804c65eb2153093af3bec74fd5ce32aa0c1f665"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"ethers-addressbook",
|
|
|
|
"ethers-contract",
|
|
|
|
"ethers-core",
|
|
|
|
"ethers-etherscan",
|
|
|
|
"ethers-middleware",
|
|
|
|
"ethers-providers",
|
|
|
|
"ethers-signers",
|
|
|
|
"ethers-solc",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "ethers-addressbook"
|
2022-12-07 23:05:06 +00:00
|
|
|
version = "1.0.2"
|
2022-07-22 16:36:30 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-07 23:05:06 +00:00
|
|
|
checksum = "fe4be54dd2260945d784e06ccdeb5ad573e8f1541838cee13a1ab885485eaa0b"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"ethers-core",
|
|
|
|
"once_cell",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "ethers-contract"
|
2022-12-07 23:05:06 +00:00
|
|
|
version = "1.0.2"
|
2022-07-22 16:36:30 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-07 23:05:06 +00:00
|
|
|
checksum = "e9c3c3e119a89f0a9a1e539e7faecea815f74ddcf7c90d0b00d1f524db2fdc9c"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"ethers-contract-abigen",
|
|
|
|
"ethers-contract-derive",
|
|
|
|
"ethers-core",
|
|
|
|
"ethers-providers",
|
|
|
|
"futures-util",
|
|
|
|
"hex",
|
|
|
|
"once_cell",
|
|
|
|
"pin-project",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
"thiserror",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "ethers-contract-abigen"
|
2022-12-07 23:05:06 +00:00
|
|
|
version = "1.0.2"
|
2022-07-22 16:36:30 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-07 23:05:06 +00:00
|
|
|
checksum = "3d4e5ad46aede34901f71afdb7bb555710ed9613d88d644245c657dc371aa228"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"Inflector",
|
|
|
|
"cfg-if",
|
|
|
|
"dunce",
|
|
|
|
"ethers-core",
|
|
|
|
"eyre",
|
2022-10-22 01:40:50 +00:00
|
|
|
"getrandom 0.2.8",
|
2022-07-16 21:49:35 +00:00
|
|
|
"hex",
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2022-12-07 23:05:06 +00:00
|
|
|
"regex",
|
2022-07-16 21:49:35 +00:00
|
|
|
"reqwest",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
"syn",
|
2022-12-07 23:05:06 +00:00
|
|
|
"toml",
|
2022-07-16 21:49:35 +00:00
|
|
|
"url",
|
|
|
|
"walkdir",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "ethers-contract-derive"
|
2022-12-07 23:05:06 +00:00
|
|
|
version = "1.0.2"
|
2022-07-22 16:36:30 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-07 23:05:06 +00:00
|
|
|
checksum = "f192e8e4cf2b038318aae01e94e7644e0659a76219e94bcd3203df744341d61f"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"ethers-contract-abigen",
|
|
|
|
"ethers-core",
|
|
|
|
"hex",
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"serde_json",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "ethers-core"
|
2022-12-07 23:05:06 +00:00
|
|
|
version = "1.0.2"
|
2022-07-22 16:36:30 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-07 23:05:06 +00:00
|
|
|
checksum = "ade3e9c97727343984e1ceada4fdab11142d2ee3472d2c67027d56b1251d4f15"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"arrayvec 0.7.2",
|
|
|
|
"bytes",
|
2022-11-23 12:44:30 +00:00
|
|
|
"cargo_metadata 0.15.2",
|
2022-07-16 21:49:35 +00:00
|
|
|
"chrono",
|
|
|
|
"convert_case",
|
|
|
|
"elliptic-curve",
|
|
|
|
"ethabi",
|
2022-08-16 07:44:32 +00:00
|
|
|
"generic-array 0.14.6",
|
2022-07-16 21:49:35 +00:00
|
|
|
"hex",
|
|
|
|
"k256",
|
|
|
|
"once_cell",
|
2022-12-07 23:05:06 +00:00
|
|
|
"open-fastrlp",
|
2022-07-16 21:49:35 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"rand 0.8.5",
|
|
|
|
"rlp",
|
|
|
|
"rlp-derive",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
2022-08-16 07:44:32 +00:00
|
|
|
"strum",
|
2022-07-16 21:49:35 +00:00
|
|
|
"syn",
|
|
|
|
"thiserror",
|
|
|
|
"tiny-keccak",
|
|
|
|
"unicode-xid",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "ethers-etherscan"
|
2022-12-07 23:05:06 +00:00
|
|
|
version = "1.0.2"
|
2022-07-22 16:36:30 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-07 23:05:06 +00:00
|
|
|
checksum = "a9713f525348e5dde025d09b0a4217429f8074e8ff22c886263cc191e87d8216"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"ethers-core",
|
2022-10-22 01:40:50 +00:00
|
|
|
"getrandom 0.2.8",
|
2022-07-16 21:49:35 +00:00
|
|
|
"reqwest",
|
2022-12-21 04:12:26 +00:00
|
|
|
"semver 1.0.16",
|
2022-07-16 21:49:35 +00:00
|
|
|
"serde",
|
|
|
|
"serde-aux",
|
|
|
|
"serde_json",
|
|
|
|
"thiserror",
|
|
|
|
"tracing",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "ethers-middleware"
|
2022-12-07 23:05:06 +00:00
|
|
|
version = "1.0.2"
|
2022-07-22 16:36:30 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-07 23:05:06 +00:00
|
|
|
checksum = "e71df7391b0a9a51208ffb5c7f2d068900e99d6b3128d3a4849d138f194778b7"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"async-trait",
|
2022-12-07 23:05:06 +00:00
|
|
|
"auto_impl 0.5.0",
|
2022-07-16 21:49:35 +00:00
|
|
|
"ethers-contract",
|
|
|
|
"ethers-core",
|
|
|
|
"ethers-etherscan",
|
|
|
|
"ethers-providers",
|
|
|
|
"ethers-signers",
|
|
|
|
"futures-locks",
|
|
|
|
"futures-util",
|
|
|
|
"instant",
|
|
|
|
"reqwest",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
"thiserror",
|
|
|
|
"tokio",
|
|
|
|
"tracing",
|
|
|
|
"tracing-futures",
|
|
|
|
"url",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "ethers-providers"
|
2022-12-07 23:05:06 +00:00
|
|
|
version = "1.0.2"
|
2022-07-22 16:36:30 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-07 23:05:06 +00:00
|
|
|
checksum = "a1a9e0597aa6b2fdc810ff58bc95e4eeaa2c219b3e615ed025106ecb027407d8"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"async-trait",
|
2022-12-07 23:05:06 +00:00
|
|
|
"auto_impl 1.0.1",
|
2022-10-22 01:40:50 +00:00
|
|
|
"base64 0.13.1",
|
2022-07-16 21:49:35 +00:00
|
|
|
"ethers-core",
|
|
|
|
"futures-core",
|
|
|
|
"futures-timer",
|
|
|
|
"futures-util",
|
2022-10-22 01:40:50 +00:00
|
|
|
"getrandom 0.2.8",
|
2022-07-16 21:49:35 +00:00
|
|
|
"hashers",
|
|
|
|
"hex",
|
|
|
|
"http",
|
|
|
|
"once_cell",
|
|
|
|
"parking_lot 0.11.2",
|
|
|
|
"pin-project",
|
|
|
|
"reqwest",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
"thiserror",
|
|
|
|
"tokio",
|
|
|
|
"tracing",
|
|
|
|
"tracing-futures",
|
|
|
|
"url",
|
|
|
|
"wasm-bindgen",
|
|
|
|
"wasm-bindgen-futures",
|
|
|
|
"wasm-timer",
|
|
|
|
"web-sys",
|
|
|
|
"ws_stream_wasm",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "ethers-signers"
|
2022-12-07 23:05:06 +00:00
|
|
|
version = "1.0.2"
|
2022-07-22 16:36:30 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-07 23:05:06 +00:00
|
|
|
checksum = "3f41ced186867f64773db2e55ffdd92959e094072a1d09a5e5e831d443204f98"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"async-trait",
|
|
|
|
"coins-bip32",
|
|
|
|
"coins-bip39",
|
|
|
|
"elliptic-curve",
|
|
|
|
"eth-keystore",
|
|
|
|
"ethers-core",
|
|
|
|
"hex",
|
|
|
|
"rand 0.8.5",
|
2022-09-18 19:30:38 +00:00
|
|
|
"sha2 0.10.6",
|
2022-07-16 21:49:35 +00:00
|
|
|
"thiserror",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "ethers-solc"
|
2022-12-07 23:05:06 +00:00
|
|
|
version = "1.0.2"
|
2022-07-22 16:36:30 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-07 23:05:06 +00:00
|
|
|
checksum = "cbe9c0a6d296c57191e5f8a613a3b5e816812c28f4a28d6178a17c21db903d77"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"cfg-if",
|
|
|
|
"dunce",
|
|
|
|
"ethers-core",
|
2022-10-22 01:40:50 +00:00
|
|
|
"getrandom 0.2.8",
|
2022-07-16 21:49:35 +00:00
|
|
|
"glob",
|
|
|
|
"hex",
|
|
|
|
"home",
|
2022-11-15 04:24:35 +00:00
|
|
|
"md-5 0.10.5",
|
2022-07-16 21:49:35 +00:00
|
|
|
"num_cpus",
|
|
|
|
"once_cell",
|
|
|
|
"path-slash",
|
|
|
|
"rayon",
|
|
|
|
"regex",
|
2022-12-21 04:12:26 +00:00
|
|
|
"semver 1.0.16",
|
2022-07-16 21:49:35 +00:00
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
"solang-parser",
|
|
|
|
"svm-rs",
|
|
|
|
"thiserror",
|
|
|
|
"tiny-keccak",
|
|
|
|
"tokio",
|
|
|
|
"tracing",
|
|
|
|
"walkdir",
|
2022-12-07 23:05:06 +00:00
|
|
|
"yansi",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "event-listener"
|
2022-08-16 07:44:32 +00:00
|
|
|
version = "2.5.3"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-08-16 07:44:32 +00:00
|
|
|
checksum = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0"
|
2022-07-16 21:49:35 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "exit-future"
|
|
|
|
version = "0.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "e43f2f1833d64e33f15592464d6fdd70f349dda7b1a53088eb83cd94014008c5"
|
|
|
|
dependencies = [
|
|
|
|
"futures",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "eyre"
|
|
|
|
version = "0.6.8"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "4c2b6b5a29c02cdc822728b7d7b8ae1bab3e3b05d44522770ddd49722eeac7eb"
|
|
|
|
dependencies = [
|
|
|
|
"indenter",
|
|
|
|
"once_cell",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "fake-simd"
|
|
|
|
version = "0.1.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "e88a8acf291dafb59c2d96e8f59828f3838bb1a70398823ade51a84de6a6deed"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "fallible-iterator"
|
|
|
|
version = "0.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "fastrand"
|
2022-08-16 07:44:32 +00:00
|
|
|
version = "1.8.0"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-08-16 07:44:32 +00:00
|
|
|
checksum = "a7a407cfaa3385c4ae6b23e84623d48c2798d06e3e6a1878f7f59f17b3f86499"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"instant",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "fdlimit"
|
|
|
|
version = "0.2.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "2c4c9e43643f5a3be4ca5b67d26b98031ff9db6806c3440ae32e02e3ceac3f1b"
|
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "ff"
|
2022-11-04 12:07:37 +00:00
|
|
|
version = "0.12.1"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-04 12:07:37 +00:00
|
|
|
checksum = "d013fc25338cc558c5c2cfbad646908fb23591e2404481826742b651c9af7160"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"bitvec 1.0.1",
|
2022-09-18 19:30:38 +00:00
|
|
|
"rand_core 0.6.4",
|
2022-07-16 21:49:35 +00:00
|
|
|
"subtle",
|
|
|
|
]
|
|
|
|
|
2022-12-24 20:09:09 +00:00
|
|
|
[[package]]
|
|
|
|
name = "ff-group-tests"
|
|
|
|
version = "0.12.0"
|
|
|
|
dependencies = [
|
|
|
|
"group",
|
|
|
|
"k256",
|
|
|
|
"p256",
|
|
|
|
]
|
|
|
|
|
2022-12-21 04:12:26 +00:00
|
|
|
[[package]]
|
|
|
|
name = "fiat-crypto"
|
|
|
|
version = "0.1.17"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "a214f5bb88731d436478f3ae1f8a277b62124089ba9fb67f4f93fb100ef73c90"
|
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "file-per-thread-logger"
|
|
|
|
version = "0.1.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "21e16290574b39ee41c71aeb90ae960c504ebaf1e2a1c87bd52aa56ed6e1a02f"
|
|
|
|
dependencies = [
|
|
|
|
"env_logger",
|
|
|
|
"log",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "filetime"
|
2022-12-07 22:56:53 +00:00
|
|
|
version = "0.2.19"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-07 22:56:53 +00:00
|
|
|
checksum = "4e884668cd0c7480504233e951174ddc3b382f7c2666e3b7310b5c4e7b0c37f9"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"cfg-if",
|
|
|
|
"libc",
|
|
|
|
"redox_syscall",
|
2022-10-22 01:40:50 +00:00
|
|
|
"windows-sys 0.42.0",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "finality-grandpa"
|
|
|
|
version = "0.16.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b22349c6a11563a202d95772a68e0fcf56119e74ea8a2a19cf2301460fcd0df5"
|
|
|
|
dependencies = [
|
|
|
|
"either",
|
|
|
|
"futures",
|
|
|
|
"futures-timer",
|
|
|
|
"log",
|
|
|
|
"num-traits",
|
|
|
|
"parity-scale-codec",
|
|
|
|
"parking_lot 0.12.1",
|
|
|
|
"scale-info",
|
|
|
|
]
|
|
|
|
|
2022-10-20 05:05:36 +00:00
|
|
|
[[package]]
|
|
|
|
name = "fixed-hash"
|
|
|
|
version = "0.8.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "835c052cb0c08c1acf6ffd71c022172e18723949c8282f2b9f27efbc51e64534"
|
|
|
|
dependencies = [
|
|
|
|
"byteorder",
|
|
|
|
"rand 0.8.5",
|
|
|
|
"rustc-hex",
|
|
|
|
"static_assertions",
|
|
|
|
]
|
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "fixedbitset"
|
|
|
|
version = "0.4.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "flate2"
|
2022-12-07 22:56:53 +00:00
|
|
|
version = "1.0.25"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-07 22:56:53 +00:00
|
|
|
checksum = "a8a2db397cb1c8772f31494cb8917e48cd1e64f0fa7efac59fbd741a0a8ce841"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"crc32fast",
|
|
|
|
"libz-sys",
|
2022-12-21 04:12:26 +00:00
|
|
|
"miniz_oxide",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "flexible-transcript"
|
2022-11-05 22:43:36 +00:00
|
|
|
version = "0.2.0"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"blake2",
|
2022-11-21 07:23:38 +00:00
|
|
|
"digest 0.10.6",
|
2022-07-16 21:49:35 +00:00
|
|
|
"merlin 3.0.0",
|
|
|
|
]
|
|
|
|
|
2022-10-20 05:05:36 +00:00
|
|
|
[[package]]
|
|
|
|
name = "float-cmp"
|
|
|
|
version = "0.9.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "98de4bbd547a563b716d8dfa9aad1cb19bfab00f4fa09a6a4ed21dbcf44ce9c4"
|
|
|
|
dependencies = [
|
|
|
|
"num-traits",
|
|
|
|
]
|
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "fnv"
|
|
|
|
version = "1.0.7"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "foreign-types"
|
|
|
|
version = "0.3.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1"
|
|
|
|
dependencies = [
|
|
|
|
"foreign-types-shared",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "foreign-types-shared"
|
|
|
|
version = "0.1.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "fork-tree"
|
|
|
|
version = "3.0.0"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"parity-scale-codec",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "form_urlencoded"
|
2022-09-18 19:30:38 +00:00
|
|
|
version = "1.1.0"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-09-18 19:30:38 +00:00
|
|
|
checksum = "a9c384f161156f5260c24a097c56119f9be8c798586aecc13afbcbe7b7e26bf8"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"percent-encoding",
|
|
|
|
]
|
|
|
|
|
2022-10-20 05:05:36 +00:00
|
|
|
[[package]]
|
|
|
|
name = "fragile"
|
|
|
|
version = "2.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa"
|
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "frame-benchmarking"
|
|
|
|
version = "4.0.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"frame-support",
|
|
|
|
"frame-system",
|
|
|
|
"linregress",
|
|
|
|
"log",
|
|
|
|
"parity-scale-codec",
|
|
|
|
"paste",
|
|
|
|
"scale-info",
|
|
|
|
"serde",
|
|
|
|
"sp-api",
|
|
|
|
"sp-application-crypto",
|
2022-09-29 18:33:09 +00:00
|
|
|
"sp-core",
|
2022-07-16 21:49:35 +00:00
|
|
|
"sp-io",
|
|
|
|
"sp-runtime",
|
|
|
|
"sp-runtime-interface",
|
|
|
|
"sp-std",
|
|
|
|
"sp-storage",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "frame-benchmarking-cli"
|
|
|
|
version = "4.0.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"Inflector",
|
2022-09-29 18:33:09 +00:00
|
|
|
"array-bytes",
|
2022-07-16 21:49:35 +00:00
|
|
|
"chrono",
|
2023-01-04 08:17:36 +00:00
|
|
|
"clap 4.0.32",
|
2022-07-16 21:49:35 +00:00
|
|
|
"comfy-table",
|
|
|
|
"frame-benchmarking",
|
|
|
|
"frame-support",
|
|
|
|
"frame-system",
|
|
|
|
"gethostname",
|
|
|
|
"handlebars",
|
|
|
|
"hash-db",
|
|
|
|
"itertools",
|
|
|
|
"kvdb",
|
|
|
|
"lazy_static",
|
|
|
|
"linked-hash-map",
|
|
|
|
"log",
|
|
|
|
"memory-db",
|
|
|
|
"parity-scale-codec",
|
|
|
|
"rand 0.8.5",
|
|
|
|
"rand_pcg 0.3.1",
|
|
|
|
"sc-block-builder",
|
|
|
|
"sc-cli",
|
|
|
|
"sc-client-api",
|
|
|
|
"sc-client-db",
|
|
|
|
"sc-executor",
|
|
|
|
"sc-service",
|
|
|
|
"sc-sysinfo",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
"serde_nanos",
|
|
|
|
"sp-api",
|
|
|
|
"sp-blockchain",
|
|
|
|
"sp-core",
|
|
|
|
"sp-database",
|
|
|
|
"sp-externalities",
|
|
|
|
"sp-inherents",
|
|
|
|
"sp-keystore",
|
|
|
|
"sp-runtime",
|
|
|
|
"sp-state-machine",
|
2022-11-11 04:59:20 +00:00
|
|
|
"sp-std",
|
2022-07-16 21:49:35 +00:00
|
|
|
"sp-storage",
|
|
|
|
"sp-trie",
|
|
|
|
"tempfile",
|
|
|
|
"thiserror",
|
|
|
|
"thousands",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "frame-executive"
|
|
|
|
version = "4.0.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"frame-support",
|
|
|
|
"frame-system",
|
|
|
|
"parity-scale-codec",
|
|
|
|
"scale-info",
|
|
|
|
"sp-core",
|
|
|
|
"sp-io",
|
|
|
|
"sp-runtime",
|
|
|
|
"sp-std",
|
|
|
|
"sp-tracing",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "frame-metadata"
|
|
|
|
version = "15.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "df6bb8542ef006ef0de09a5c4420787d79823c0ed7924225822362fd2bf2ff2d"
|
|
|
|
dependencies = [
|
|
|
|
"cfg-if",
|
|
|
|
"parity-scale-codec",
|
|
|
|
"scale-info",
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "frame-support"
|
|
|
|
version = "4.0.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"bitflags",
|
|
|
|
"frame-metadata",
|
|
|
|
"frame-support-procedural",
|
|
|
|
"impl-trait-for-tuples",
|
|
|
|
"k256",
|
|
|
|
"log",
|
|
|
|
"once_cell",
|
|
|
|
"parity-scale-codec",
|
|
|
|
"paste",
|
|
|
|
"scale-info",
|
|
|
|
"serde",
|
|
|
|
"smallvec",
|
2022-09-29 18:33:09 +00:00
|
|
|
"sp-api",
|
2022-07-16 21:49:35 +00:00
|
|
|
"sp-arithmetic",
|
|
|
|
"sp-core",
|
|
|
|
"sp-core-hashing-proc-macro",
|
|
|
|
"sp-inherents",
|
|
|
|
"sp-io",
|
|
|
|
"sp-runtime",
|
|
|
|
"sp-staking",
|
|
|
|
"sp-state-machine",
|
|
|
|
"sp-std",
|
|
|
|
"sp-tracing",
|
2022-09-29 18:33:09 +00:00
|
|
|
"sp-weights",
|
2022-07-16 21:49:35 +00:00
|
|
|
"tt-call",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "frame-support-procedural"
|
|
|
|
version = "4.0.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"Inflector",
|
2022-09-29 18:33:09 +00:00
|
|
|
"cfg-expr",
|
2022-07-16 21:49:35 +00:00
|
|
|
"frame-support-procedural-tools",
|
2022-09-29 18:33:09 +00:00
|
|
|
"itertools",
|
2022-07-16 21:49:35 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "frame-support-procedural-tools"
|
|
|
|
version = "4.0.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"frame-support-procedural-tools-derive",
|
2022-12-07 23:05:06 +00:00
|
|
|
"proc-macro-crate",
|
2022-07-16 21:49:35 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "frame-support-procedural-tools-derive"
|
|
|
|
version = "3.0.0"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "frame-system"
|
|
|
|
version = "4.0.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"frame-support",
|
|
|
|
"log",
|
|
|
|
"parity-scale-codec",
|
|
|
|
"scale-info",
|
|
|
|
"serde",
|
|
|
|
"sp-core",
|
|
|
|
"sp-io",
|
|
|
|
"sp-runtime",
|
|
|
|
"sp-std",
|
|
|
|
"sp-version",
|
2022-09-29 18:33:09 +00:00
|
|
|
"sp-weights",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "frame-system-rpc-runtime-api"
|
|
|
|
version = "4.0.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"parity-scale-codec",
|
|
|
|
"sp-api",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "fs2"
|
|
|
|
version = "0.4.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "9564fc758e15025b46aa6643b1b77d047d1a56a1aea6e01002ac0c7026876213"
|
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "fs_extra"
|
|
|
|
version = "1.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "2022715d62ab30faffd124d40b76f4134a550a87792276512b18d63272333394"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "funty"
|
|
|
|
version = "2.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "futures"
|
2022-10-20 05:05:36 +00:00
|
|
|
version = "0.3.25"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-20 05:05:36 +00:00
|
|
|
checksum = "38390104763dc37a5145a53c29c63c1290b5d316d6086ec32c293f6736051bb0"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"futures-channel",
|
|
|
|
"futures-core",
|
|
|
|
"futures-executor",
|
|
|
|
"futures-io",
|
|
|
|
"futures-sink",
|
|
|
|
"futures-task",
|
|
|
|
"futures-util",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "futures-channel"
|
2022-10-20 05:05:36 +00:00
|
|
|
version = "0.3.25"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-20 05:05:36 +00:00
|
|
|
checksum = "52ba265a92256105f45b719605a571ffe2d1f0fea3807304b522c1d778f79eed"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"futures-core",
|
|
|
|
"futures-sink",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "futures-core"
|
2022-10-20 05:05:36 +00:00
|
|
|
version = "0.3.25"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-20 05:05:36 +00:00
|
|
|
checksum = "04909a7a7e4633ae6c4a9ab280aeb86da1236243a77b694a49eacd659a4bd3ac"
|
2022-07-16 21:49:35 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "futures-executor"
|
2022-10-20 05:05:36 +00:00
|
|
|
version = "0.3.25"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-20 05:05:36 +00:00
|
|
|
checksum = "7acc85df6714c176ab5edf386123fafe217be88c0840ec11f199441134a074e2"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"futures-core",
|
|
|
|
"futures-task",
|
|
|
|
"futures-util",
|
|
|
|
"num_cpus",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "futures-io"
|
2022-10-20 05:05:36 +00:00
|
|
|
version = "0.3.25"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-20 05:05:36 +00:00
|
|
|
checksum = "00f5fb52a06bdcadeb54e8d3671f8888a39697dcb0b81b23b55174030427f4eb"
|
2022-07-16 21:49:35 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "futures-lite"
|
|
|
|
version = "1.12.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "7694489acd39452c77daa48516b894c153f192c3578d5a839b62c58099fcbf48"
|
|
|
|
dependencies = [
|
|
|
|
"fastrand",
|
|
|
|
"futures-core",
|
|
|
|
"futures-io",
|
|
|
|
"memchr",
|
|
|
|
"parking",
|
|
|
|
"pin-project-lite 0.2.9",
|
|
|
|
"waker-fn",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "futures-locks"
|
2022-12-21 04:12:26 +00:00
|
|
|
version = "0.7.1"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-21 04:12:26 +00:00
|
|
|
checksum = "45ec6fe3675af967e67c5536c0b9d44e34e6c52f86bedc4ea49c5317b8e94d06"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"futures-channel",
|
|
|
|
"futures-task",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "futures-macro"
|
2022-10-20 05:05:36 +00:00
|
|
|
version = "0.3.25"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-20 05:05:36 +00:00
|
|
|
checksum = "bdfb8ce053d86b91919aad980c220b1fb8401a9394410e1c289ed7e66b61835d"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "futures-rustls"
|
2022-08-16 07:44:32 +00:00
|
|
|
version = "0.22.2"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-08-16 07:44:32 +00:00
|
|
|
checksum = "d2411eed028cdf8c8034eaf21f9915f956b6c3abec4d4c7949ee67f0721127bd"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"futures-io",
|
|
|
|
"rustls",
|
|
|
|
"webpki",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "futures-sink"
|
2022-10-20 05:05:36 +00:00
|
|
|
version = "0.3.25"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-20 05:05:36 +00:00
|
|
|
checksum = "39c15cf1a4aa79df40f1bb462fb39676d0ad9e366c2a33b590d7c66f4f81fcf9"
|
2022-07-16 21:49:35 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "futures-task"
|
2022-10-20 05:05:36 +00:00
|
|
|
version = "0.3.25"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-20 05:05:36 +00:00
|
|
|
checksum = "2ffb393ac5d9a6eaa9d3fdf37ae2776656b706e200c8e16b1bdb227f5198e6ea"
|
2022-07-16 21:49:35 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "futures-timer"
|
|
|
|
version = "3.0.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "e64b03909df88034c26dc1547e8970b91f98bdb65165d6a4e9110d94263dbb2c"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "futures-util"
|
2022-10-20 05:05:36 +00:00
|
|
|
version = "0.3.25"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-20 05:05:36 +00:00
|
|
|
checksum = "197676987abd2f9cadff84926f410af1c183608d36641465df73ae8211dc65d6"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"futures-channel",
|
|
|
|
"futures-core",
|
|
|
|
"futures-io",
|
|
|
|
"futures-macro",
|
|
|
|
"futures-sink",
|
|
|
|
"futures-task",
|
|
|
|
"memchr",
|
|
|
|
"pin-project-lite 0.2.9",
|
|
|
|
"pin-utils",
|
|
|
|
"slab",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "fxhash"
|
|
|
|
version = "0.2.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "c31b6d751ae2c7f11320402d34e41349dd1016f8d5d45e48c4312bc8625af50c"
|
|
|
|
dependencies = [
|
|
|
|
"byteorder",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "generic-array"
|
|
|
|
version = "0.12.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "ffdf9f34f1447443d37393cc6c2b8313aebddcd96906caf34e54c68d8e57d7bd"
|
|
|
|
dependencies = [
|
|
|
|
"typenum",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "generic-array"
|
2022-08-16 07:44:32 +00:00
|
|
|
version = "0.14.6"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-08-16 07:44:32 +00:00
|
|
|
checksum = "bff49e947297f3312447abdca79f45f4738097cc82b06e72054d2223f601f1b9"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"typenum",
|
|
|
|
"version_check",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "gethostname"
|
|
|
|
version = "0.2.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "c1ebd34e35c46e00bb73e81363248d627782724609fe1b6396f553f68fe3862e"
|
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "getrandom"
|
|
|
|
version = "0.1.16"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce"
|
|
|
|
dependencies = [
|
|
|
|
"cfg-if",
|
|
|
|
"js-sys",
|
|
|
|
"libc",
|
|
|
|
"wasi 0.9.0+wasi-snapshot-preview1",
|
|
|
|
"wasm-bindgen",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "getrandom"
|
2022-10-22 01:40:50 +00:00
|
|
|
version = "0.2.8"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-22 01:40:50 +00:00
|
|
|
checksum = "c05aeb6a22b8f62540c194aac980f2115af067bfe15a0734d7277a768d396b31"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"cfg-if",
|
|
|
|
"js-sys",
|
|
|
|
"libc",
|
|
|
|
"wasi 0.11.0+wasi-snapshot-preview1",
|
|
|
|
"wasm-bindgen",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "ghash"
|
|
|
|
version = "0.4.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "1583cc1656d7839fd3732b80cf4f38850336cdb9b8ded1cd399ca62958de3c99"
|
|
|
|
dependencies = [
|
|
|
|
"opaque-debug 0.3.0",
|
|
|
|
"polyval",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "gimli"
|
2022-07-18 00:56:10 +00:00
|
|
|
version = "0.26.2"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-07-18 00:56:10 +00:00
|
|
|
checksum = "22030e2c5a68ec659fde1e949a745124b48e6fa8b045b7ed5bd1fe4ccc5c4e5d"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"fallible-iterator",
|
|
|
|
"indexmap",
|
|
|
|
"stable_deref_trait",
|
|
|
|
]
|
|
|
|
|
2022-12-21 04:12:26 +00:00
|
|
|
[[package]]
|
|
|
|
name = "gimli"
|
|
|
|
version = "0.27.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "dec7af912d60cdbd3677c1af9352ebae6fb8394d165568a2234df0fa00f87793"
|
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "glob"
|
|
|
|
version = "0.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "globset"
|
|
|
|
version = "0.4.9"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "0a1e17342619edbc21a964c2afbeb6c820c6a2560032872f397bb97ea127bd0a"
|
|
|
|
dependencies = [
|
|
|
|
"aho-corasick",
|
|
|
|
"bstr",
|
|
|
|
"fnv",
|
|
|
|
"log",
|
|
|
|
"regex",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "group"
|
2022-10-20 05:05:36 +00:00
|
|
|
version = "0.12.1"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-20 05:05:36 +00:00
|
|
|
checksum = "5dfbfb3a6cfbd390d5c9564ab283a0349b9b9fcd46a706c1eb10e0db70bfbac7"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"ff",
|
2022-09-18 19:30:38 +00:00
|
|
|
"rand_core 0.6.4",
|
2022-07-16 21:49:35 +00:00
|
|
|
"subtle",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "h2"
|
2022-11-04 12:07:37 +00:00
|
|
|
version = "0.3.15"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-04 12:07:37 +00:00
|
|
|
checksum = "5f9f29bc9dda355256b2916cf526ab02ce0aeaaaf2bad60d65ef3f12f11dd0f4"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"bytes",
|
|
|
|
"fnv",
|
|
|
|
"futures-core",
|
|
|
|
"futures-sink",
|
|
|
|
"futures-util",
|
|
|
|
"http",
|
|
|
|
"indexmap",
|
|
|
|
"slab",
|
|
|
|
"tokio",
|
|
|
|
"tokio-util",
|
|
|
|
"tracing",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "handlebars"
|
2022-12-21 04:12:26 +00:00
|
|
|
version = "4.3.6"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-21 04:12:26 +00:00
|
|
|
checksum = "035ef95d03713f2c347a72547b7cd38cbc9af7cd51e6099fb62d586d4a6dee3a"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"log",
|
|
|
|
"pest",
|
|
|
|
"pest_derive",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
"thiserror",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "hash-db"
|
|
|
|
version = "0.15.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d23bd4e7b5eda0d0f3a307e8b381fdc8ba9000f26fbe912250c0a4cc3956364a"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "hash256-std-hasher"
|
|
|
|
version = "0.15.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "92c171d55b98633f4ed3860808f004099b36c1cc29c42cfc53aa8591b21efcf2"
|
|
|
|
dependencies = [
|
|
|
|
"crunchy",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "hashbrown"
|
2022-07-18 00:56:10 +00:00
|
|
|
version = "0.12.3"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-07-18 00:56:10 +00:00
|
|
|
checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"ahash",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "hashers"
|
|
|
|
version = "1.0.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b2bca93b15ea5a746f220e56587f71e73c6165eab783df9e26590069953e3c30"
|
|
|
|
dependencies = [
|
|
|
|
"fxhash",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "heck"
|
|
|
|
version = "0.4.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "2540771e65fc8cb83cd6e8a237f70c319bd5c29f78ed1084ba5d50eeac86f7f9"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "hermit-abi"
|
|
|
|
version = "0.1.19"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33"
|
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
2022-12-07 22:56:53 +00:00
|
|
|
[[package]]
|
|
|
|
name = "hermit-abi"
|
|
|
|
version = "0.2.6"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "ee512640fe35acbfb4bb779db6f0d80704c2cacfa2e39b601ef3e3f47d1ae4c7"
|
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "hex"
|
|
|
|
version = "0.4.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "hex-literal"
|
|
|
|
version = "0.3.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "7ebdb29d2ea9ed0083cd8cece49bbd968021bd99b0849edb4a9a7ee0fdf6a4e0"
|
|
|
|
|
2022-10-29 08:54:42 +00:00
|
|
|
[[package]]
|
|
|
|
name = "hkdf"
|
|
|
|
version = "0.12.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "791a029f6b9fc27657f6f188ec6e5e43f6911f6f878e0dc5501396e09809d437"
|
|
|
|
dependencies = [
|
|
|
|
"hmac 0.12.1",
|
|
|
|
]
|
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "hmac"
|
|
|
|
version = "0.8.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "126888268dcc288495a26bf004b38c5fdbb31682f992c84ceb046a1f0fe38840"
|
|
|
|
dependencies = [
|
|
|
|
"crypto-mac 0.8.0",
|
|
|
|
"digest 0.9.0",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "hmac"
|
|
|
|
version = "0.11.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "2a2a2320eb7ec0ebe8da8f744d7812d9fc4cb4d09344ac01898dbcb6a20ae69b"
|
|
|
|
dependencies = [
|
|
|
|
"crypto-mac 0.11.1",
|
|
|
|
"digest 0.9.0",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "hmac"
|
|
|
|
version = "0.12.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e"
|
|
|
|
dependencies = [
|
2022-11-21 07:23:38 +00:00
|
|
|
"digest 0.10.6",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "hmac-drbg"
|
|
|
|
version = "0.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "17ea0a1394df5b6574da6e0c1ade9e78868c9fb0a4e5ef4428e32da4676b85b1"
|
|
|
|
dependencies = [
|
|
|
|
"digest 0.9.0",
|
2022-08-16 07:44:32 +00:00
|
|
|
"generic-array 0.14.6",
|
2022-07-16 21:49:35 +00:00
|
|
|
"hmac 0.8.1",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "home"
|
2022-10-20 05:05:36 +00:00
|
|
|
version = "0.5.4"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-20 05:05:36 +00:00
|
|
|
checksum = "747309b4b440c06d57b0b25f2aee03ee9b5e5397d288c60e21fc709bb98a7408"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "hostname"
|
|
|
|
version = "0.3.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "3c731c3e10504cc8ed35cfe2f1db4c9274c3d35fa486e3b31df46f068ef3e867"
|
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
"match_cfg",
|
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "http"
|
|
|
|
version = "0.2.8"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "75f43d41e26995c17e71ee126451dd3941010b0514a81a9d11f3b341debc2399"
|
|
|
|
dependencies = [
|
|
|
|
"bytes",
|
|
|
|
"fnv",
|
2022-10-20 05:05:36 +00:00
|
|
|
"itoa",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "http-body"
|
|
|
|
version = "0.4.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1"
|
|
|
|
dependencies = [
|
|
|
|
"bytes",
|
|
|
|
"http",
|
|
|
|
"pin-project-lite 0.2.9",
|
|
|
|
]
|
|
|
|
|
2023-01-04 08:17:36 +00:00
|
|
|
[[package]]
|
|
|
|
name = "http-range-header"
|
|
|
|
version = "0.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "0bfe8eed0a9285ef776bb792479ea3834e8b94e13d615c2f66d03dd50a435a29"
|
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "httparse"
|
2022-09-18 19:30:38 +00:00
|
|
|
version = "1.8.0"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-09-18 19:30:38 +00:00
|
|
|
checksum = "d897f394bad6a705d5f4104762e116a75639e470d80901eed05a860a95cb1904"
|
2022-07-16 21:49:35 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "httpdate"
|
|
|
|
version = "1.0.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "c4a1e36c821dbe04574f602848a19f742f4fb3c98d40449f11bcad18d6b17421"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "humantime"
|
|
|
|
version = "2.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "hyper"
|
2022-11-11 04:59:20 +00:00
|
|
|
version = "0.14.23"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-11 04:59:20 +00:00
|
|
|
checksum = "034711faac9d2166cb1baf1a2fb0b60b1f277f8492fd72176c17f3515e1abd3c"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"bytes",
|
|
|
|
"futures-channel",
|
|
|
|
"futures-core",
|
|
|
|
"futures-util",
|
|
|
|
"h2",
|
|
|
|
"http",
|
|
|
|
"http-body",
|
|
|
|
"httparse",
|
|
|
|
"httpdate",
|
2022-10-20 05:05:36 +00:00
|
|
|
"itoa",
|
2022-07-16 21:49:35 +00:00
|
|
|
"pin-project-lite 0.2.9",
|
|
|
|
"socket2",
|
|
|
|
"tokio",
|
|
|
|
"tower-service",
|
|
|
|
"tracing",
|
|
|
|
"want",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "hyper-rustls"
|
2022-12-21 04:12:26 +00:00
|
|
|
version = "0.23.2"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-21 04:12:26 +00:00
|
|
|
checksum = "1788965e61b367cd03a62950836d5cd41560c3577d90e40e0819373194d1661c"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"http",
|
|
|
|
"hyper",
|
|
|
|
"log",
|
|
|
|
"rustls",
|
|
|
|
"rustls-native-certs",
|
|
|
|
"tokio",
|
|
|
|
"tokio-rustls",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "hyper-tls"
|
|
|
|
version = "0.5.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d6183ddfa99b85da61a140bea0efc93fdf56ceaa041b37d553518030827f9905"
|
|
|
|
dependencies = [
|
|
|
|
"bytes",
|
|
|
|
"hyper",
|
|
|
|
"native-tls",
|
|
|
|
"tokio",
|
|
|
|
"tokio-native-tls",
|
|
|
|
]
|
|
|
|
|
2022-08-16 07:44:32 +00:00
|
|
|
[[package]]
|
|
|
|
name = "iana-time-zone"
|
2022-11-04 12:07:37 +00:00
|
|
|
version = "0.1.53"
|
2022-08-16 07:44:32 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-04 12:07:37 +00:00
|
|
|
checksum = "64c122667b287044802d6ce17ee2ddf13207ed924c712de9a66a5814d5b64765"
|
2022-08-16 07:44:32 +00:00
|
|
|
dependencies = [
|
|
|
|
"android_system_properties",
|
|
|
|
"core-foundation-sys",
|
2022-10-20 05:05:36 +00:00
|
|
|
"iana-time-zone-haiku",
|
2022-08-16 07:44:32 +00:00
|
|
|
"js-sys",
|
|
|
|
"wasm-bindgen",
|
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
2022-10-20 05:05:36 +00:00
|
|
|
[[package]]
|
|
|
|
name = "iana-time-zone-haiku"
|
|
|
|
version = "0.1.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "0703ae284fc167426161c2e3f1da3ea71d94b21bedbcc9494e92b28e334e3dca"
|
|
|
|
dependencies = [
|
|
|
|
"cxx",
|
|
|
|
"cxx-build",
|
|
|
|
]
|
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "idna"
|
|
|
|
version = "0.2.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "418a0a6fab821475f634efe3ccc45c013f742efe03d853e8d3355d5cb850ecf8"
|
|
|
|
dependencies = [
|
|
|
|
"matches",
|
|
|
|
"unicode-bidi",
|
|
|
|
"unicode-normalization",
|
|
|
|
]
|
|
|
|
|
2022-09-18 19:30:38 +00:00
|
|
|
[[package]]
|
|
|
|
name = "idna"
|
|
|
|
version = "0.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "e14ddfc70884202db2244c223200c204c2bda1bc6e0998d11b5e024d657209e6"
|
|
|
|
dependencies = [
|
|
|
|
"unicode-bidi",
|
|
|
|
"unicode-normalization",
|
|
|
|
]
|
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "if-addrs"
|
|
|
|
version = "0.7.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "cbc0fa01ffc752e9dbc72818cdb072cd028b86be5e09dd04c5a643704fe101a9"
|
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "if-watch"
|
2022-10-20 05:05:36 +00:00
|
|
|
version = "2.0.0"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-20 05:05:36 +00:00
|
|
|
checksum = "065c008e570a43c00de6aed9714035e5ea6a498c255323db9091722af6ee67dd"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"async-io",
|
|
|
|
"core-foundation",
|
|
|
|
"fnv",
|
|
|
|
"futures",
|
|
|
|
"if-addrs",
|
|
|
|
"ipnet",
|
|
|
|
"log",
|
|
|
|
"rtnetlink",
|
|
|
|
"system-configuration",
|
|
|
|
"windows",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "impl-codec"
|
|
|
|
version = "0.6.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "ba6a270039626615617f3f36d15fc827041df3b78c439da2cadfa47455a77f2f"
|
|
|
|
dependencies = [
|
|
|
|
"parity-scale-codec",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "impl-rlp"
|
|
|
|
version = "0.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "f28220f89297a075ddc7245cd538076ee98b01f2a9c23a53a4f1105d5a322808"
|
|
|
|
dependencies = [
|
|
|
|
"rlp",
|
|
|
|
]
|
|
|
|
|
2022-10-20 05:05:36 +00:00
|
|
|
[[package]]
|
|
|
|
name = "impl-serde"
|
|
|
|
version = "0.4.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "ebc88fc67028ae3db0c853baa36269d398d5f45b6982f95549ff5def78c935cd"
|
|
|
|
dependencies = [
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "impl-trait-for-tuples"
|
|
|
|
version = "0.2.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "11d7a9f6330b71fea57921c9b61c47ee6e84f72d394754eff6163ae67e7395eb"
|
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "indenter"
|
|
|
|
version = "0.3.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "ce23b50ad8242c51a442f3ff322d56b02f08852c77e4c0b4d3fd684abc89c683"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "indexmap"
|
2022-11-21 07:23:38 +00:00
|
|
|
version = "1.9.2"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-21 07:23:38 +00:00
|
|
|
checksum = "1885e79c1fc4b10f0e172c475f458b7f7b93061064d98c3293e98c5ba0c8b399"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"autocfg",
|
2022-12-07 23:05:06 +00:00
|
|
|
"hashbrown",
|
2022-07-16 21:49:35 +00:00
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "indicatif"
|
|
|
|
version = "0.16.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "2d207dc617c7a380ab07ff572a6e52fa202a2a8f355860ac9c38e23f8196be1b"
|
|
|
|
dependencies = [
|
2023-01-04 08:17:36 +00:00
|
|
|
"console 0.15.4",
|
2022-07-16 21:49:35 +00:00
|
|
|
"lazy_static",
|
|
|
|
"number_prefix",
|
|
|
|
"regex",
|
|
|
|
]
|
|
|
|
|
2022-10-29 08:54:42 +00:00
|
|
|
[[package]]
|
|
|
|
name = "inout"
|
|
|
|
version = "0.1.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "a0c10553d664a4d0bcff9f4215d0aac67a639cc68ef660840afe309b807bc9f5"
|
|
|
|
dependencies = [
|
|
|
|
"generic-array 0.14.6",
|
|
|
|
]
|
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "instant"
|
|
|
|
version = "0.1.12"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c"
|
|
|
|
dependencies = [
|
|
|
|
"cfg-if",
|
|
|
|
"js-sys",
|
|
|
|
"wasm-bindgen",
|
|
|
|
"web-sys",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "integer-sqrt"
|
|
|
|
version = "0.1.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "276ec31bcb4a9ee45f58bec6f9ec700ae4cf4f4f8f2fa7e06cb406bd5ffdd770"
|
|
|
|
dependencies = [
|
|
|
|
"num-traits",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "io-lifetimes"
|
2022-11-04 12:07:37 +00:00
|
|
|
version = "0.7.5"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-04 12:07:37 +00:00
|
|
|
checksum = "59ce5ef949d49ee85593fc4d3f3f95ad61657076395cbbce23e2121fc5542074"
|
2022-07-16 21:49:35 +00:00
|
|
|
|
2022-11-11 04:59:20 +00:00
|
|
|
[[package]]
|
|
|
|
name = "io-lifetimes"
|
2022-12-07 22:56:53 +00:00
|
|
|
version = "1.0.3"
|
2022-11-11 04:59:20 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-07 22:56:53 +00:00
|
|
|
checksum = "46112a93252b123d31a119a8d1a1ac19deac4fac6e0e8b0df58f0d4e5870e63c"
|
2022-11-11 04:59:20 +00:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
"windows-sys 0.42.0",
|
|
|
|
]
|
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "ip_network"
|
|
|
|
version = "0.4.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "aa2f047c0a98b2f299aa5d6d7088443570faae494e9ae1305e48be000c9e0eb1"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "ipconfig"
|
2022-11-14 09:55:00 +00:00
|
|
|
version = "0.3.1"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-14 09:55:00 +00:00
|
|
|
checksum = "bd302af1b90f2463a98fa5ad469fc212c8e3175a41c3068601bfa2727591c5be"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"socket2",
|
|
|
|
"widestring",
|
|
|
|
"winapi",
|
2022-11-14 09:55:00 +00:00
|
|
|
"winreg",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "ipnet"
|
2022-12-21 04:12:26 +00:00
|
|
|
version = "2.7.0"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-21 04:12:26 +00:00
|
|
|
checksum = "11b0d96e660696543b251e58030cf9787df56da39dab19ad60eae7353040917e"
|
2022-12-07 22:56:53 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "is-terminal"
|
2022-12-21 04:12:26 +00:00
|
|
|
version = "0.4.2"
|
2022-12-07 22:56:53 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-21 04:12:26 +00:00
|
|
|
checksum = "28dfb6c8100ccc63462345b67d1bbc3679177c75ee4bf59bf29c8b1d110b8189"
|
2022-12-07 22:56:53 +00:00
|
|
|
dependencies = [
|
|
|
|
"hermit-abi 0.2.6",
|
|
|
|
"io-lifetimes 1.0.3",
|
2023-01-04 08:17:36 +00:00
|
|
|
"rustix 0.36.6",
|
2022-12-07 22:56:53 +00:00
|
|
|
"windows-sys 0.42.0",
|
|
|
|
]
|
2022-07-16 21:49:35 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "itertools"
|
2022-09-29 18:33:09 +00:00
|
|
|
version = "0.10.5"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-09-29 18:33:09 +00:00
|
|
|
checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"either",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "itoa"
|
2022-12-21 04:12:26 +00:00
|
|
|
version = "1.0.5"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-21 04:12:26 +00:00
|
|
|
checksum = "fad582f4b9e86b6caa621cabeb0963332d92eea04729ab12892c2533951e6440"
|
2022-07-16 21:49:35 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "jobserver"
|
2022-09-29 18:33:09 +00:00
|
|
|
version = "0.1.25"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-09-29 18:33:09 +00:00
|
|
|
checksum = "068b1ee6743e4d11fb9c6a1e6064b3693a1b600e7f5f5988047d98b3dc9fb90b"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "js-sys"
|
2022-09-18 19:30:38 +00:00
|
|
|
version = "0.3.60"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-09-18 19:30:38 +00:00
|
|
|
checksum = "49409df3e3bf0856b916e2ceaca09ee28e6871cf7d9ce97a692cacfdb2a25a47"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"wasm-bindgen",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "jsonrpsee"
|
2023-01-04 08:17:36 +00:00
|
|
|
version = "0.16.2"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-01-04 08:17:36 +00:00
|
|
|
checksum = "7d291e3a5818a2384645fd9756362e6d89cf0541b0b916fa7702ea4a9833608e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"jsonrpsee-core",
|
|
|
|
"jsonrpsee-proc-macros",
|
2023-01-04 08:17:36 +00:00
|
|
|
"jsonrpsee-server",
|
2022-07-16 21:49:35 +00:00
|
|
|
"jsonrpsee-types",
|
|
|
|
"tracing",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "jsonrpsee-core"
|
2023-01-04 08:17:36 +00:00
|
|
|
version = "0.16.2"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-01-04 08:17:36 +00:00
|
|
|
checksum = "a4e70b4439a751a5de7dd5ed55eacff78ebf4ffe0fc009cb1ebb11417f5b536b"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"anyhow",
|
|
|
|
"arrayvec 0.7.2",
|
|
|
|
"async-trait",
|
|
|
|
"beef",
|
|
|
|
"futures-channel",
|
|
|
|
"futures-util",
|
|
|
|
"globset",
|
|
|
|
"hyper",
|
|
|
|
"jsonrpsee-types",
|
|
|
|
"parking_lot 0.12.1",
|
|
|
|
"rand 0.8.5",
|
|
|
|
"rustc-hash",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
"soketto",
|
|
|
|
"thiserror",
|
|
|
|
"tokio",
|
|
|
|
"tracing",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "jsonrpsee-proc-macros"
|
2023-01-04 08:17:36 +00:00
|
|
|
version = "0.16.2"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-01-04 08:17:36 +00:00
|
|
|
checksum = "baa6da1e4199c10d7b1d0a6e5e8bd8e55f351163b6f4b3cbb044672a69bd4c1c"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
2023-01-04 08:17:36 +00:00
|
|
|
"heck",
|
2022-12-07 23:05:06 +00:00
|
|
|
"proc-macro-crate",
|
2022-07-16 21:49:35 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
2023-01-04 08:17:36 +00:00
|
|
|
name = "jsonrpsee-server"
|
|
|
|
version = "0.16.2"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-01-04 08:17:36 +00:00
|
|
|
checksum = "1fb69dad85df79527c019659a992498d03f8495390496da2f07e6c24c2b356fc"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"futures-channel",
|
|
|
|
"futures-util",
|
2022-09-29 18:33:09 +00:00
|
|
|
"http",
|
2023-01-04 08:17:36 +00:00
|
|
|
"hyper",
|
2022-07-16 21:49:35 +00:00
|
|
|
"jsonrpsee-core",
|
|
|
|
"jsonrpsee-types",
|
2023-01-04 08:17:36 +00:00
|
|
|
"serde",
|
2022-07-16 21:49:35 +00:00
|
|
|
"serde_json",
|
|
|
|
"soketto",
|
|
|
|
"tokio",
|
|
|
|
"tokio-stream",
|
|
|
|
"tokio-util",
|
2023-01-04 08:17:36 +00:00
|
|
|
"tower",
|
|
|
|
"tracing",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "jsonrpsee-types"
|
|
|
|
version = "0.16.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "5bd522fe1ce3702fd94812965d7bb7a3364b1c9aba743944c5a00529aae80f8c"
|
|
|
|
dependencies = [
|
|
|
|
"anyhow",
|
|
|
|
"beef",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
"thiserror",
|
2022-07-16 21:49:35 +00:00
|
|
|
"tracing",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "k256"
|
2022-09-29 18:33:09 +00:00
|
|
|
version = "0.11.6"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-09-29 18:33:09 +00:00
|
|
|
checksum = "72c1e0b51e7ec0a97369623508396067a486bd0cbed95a2659a4b863d28cfc8b"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"cfg-if",
|
|
|
|
"ecdsa",
|
|
|
|
"elliptic-curve",
|
2022-09-18 19:30:38 +00:00
|
|
|
"sha2 0.10.6",
|
2022-10-20 05:05:36 +00:00
|
|
|
"sha3",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "keccak"
|
2022-11-21 07:23:38 +00:00
|
|
|
version = "0.1.3"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-21 07:23:38 +00:00
|
|
|
checksum = "3afef3b6eff9ce9d8ff9b3601125eec7f0c8cbac7abd14f355d053fa56c98768"
|
|
|
|
dependencies = [
|
|
|
|
"cpufeatures",
|
|
|
|
]
|
2022-07-16 21:49:35 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "kvdb"
|
2023-01-04 08:17:36 +00:00
|
|
|
version = "0.13.0"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-01-04 08:17:36 +00:00
|
|
|
checksum = "e7d770dcb02bf6835887c3a979b5107a04ff4bbde97a5f0928d27404a155add9"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"smallvec",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "kvdb-memorydb"
|
2023-01-04 08:17:36 +00:00
|
|
|
version = "0.13.0"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-01-04 08:17:36 +00:00
|
|
|
checksum = "bf7a85fe66f9ff9cd74e169fdd2c94c6e1e74c412c99a73b4df3200b5d3760b2"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"kvdb",
|
|
|
|
"parking_lot 0.12.1",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "kvdb-rocksdb"
|
2023-01-04 08:17:36 +00:00
|
|
|
version = "0.17.0"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-01-04 08:17:36 +00:00
|
|
|
checksum = "2182b8219fee6bd83aacaab7344e840179ae079d5216aa4e249b4d704646a844"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"kvdb",
|
|
|
|
"num_cpus",
|
|
|
|
"parking_lot 0.12.1",
|
|
|
|
"regex",
|
|
|
|
"rocksdb",
|
|
|
|
"smallvec",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "lalrpop"
|
|
|
|
version = "0.19.8"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b30455341b0e18f276fa64540aff54deafb54c589de6aca68659c63dd2d5d823"
|
|
|
|
dependencies = [
|
|
|
|
"ascii-canvas",
|
|
|
|
"atty",
|
|
|
|
"bit-set",
|
|
|
|
"diff",
|
|
|
|
"ena",
|
|
|
|
"itertools",
|
|
|
|
"lalrpop-util",
|
|
|
|
"petgraph",
|
|
|
|
"pico-args",
|
|
|
|
"regex",
|
|
|
|
"regex-syntax",
|
|
|
|
"string_cache",
|
|
|
|
"term",
|
|
|
|
"tiny-keccak",
|
|
|
|
"unicode-xid",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "lalrpop-util"
|
|
|
|
version = "0.19.8"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "bcf796c978e9b4d983414f4caedc9273aa33ee214c5b887bd55fde84c85d2dc4"
|
|
|
|
dependencies = [
|
|
|
|
"regex",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "lazy_static"
|
|
|
|
version = "1.4.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "lazycell"
|
|
|
|
version = "1.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "libc"
|
2023-01-04 08:17:36 +00:00
|
|
|
version = "0.2.139"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-01-04 08:17:36 +00:00
|
|
|
checksum = "201de327520df007757c1f0adce6e827fe8562fbc28bfd9c15571c66ca1f5f79"
|
2022-07-16 21:49:35 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "libloading"
|
2022-11-11 04:59:20 +00:00
|
|
|
version = "0.7.4"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-11 04:59:20 +00:00
|
|
|
checksum = "b67380fd3b2fbe7527a606e18729d21c6f3951633d0500574c4dc22d2d638b9f"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"cfg-if",
|
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
2022-12-21 04:12:26 +00:00
|
|
|
[[package]]
|
|
|
|
name = "libm"
|
|
|
|
version = "0.1.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "7fc7aa29613bd6a620df431842069224d8bc9011086b1db4c0e0cd47fa03ec9a"
|
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "libm"
|
2022-11-11 04:59:20 +00:00
|
|
|
version = "0.2.6"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-11 04:59:20 +00:00
|
|
|
checksum = "348108ab3fba42ec82ff6e9564fc4ca0247bdccdc68dd8af9764bbc79c3c8ffb"
|
2022-07-16 21:49:35 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "libp2p"
|
2022-10-20 05:05:36 +00:00
|
|
|
version = "0.49.0"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-20 05:05:36 +00:00
|
|
|
checksum = "ec878fda12ebec479186b3914ebc48ff180fa4c51847e11a1a68bf65249e02c1"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"bytes",
|
|
|
|
"futures",
|
|
|
|
"futures-timer",
|
2022-10-22 01:40:50 +00:00
|
|
|
"getrandom 0.2.8",
|
2022-07-16 21:49:35 +00:00
|
|
|
"instant",
|
|
|
|
"lazy_static",
|
|
|
|
"libp2p-core",
|
|
|
|
"libp2p-dns",
|
|
|
|
"libp2p-identify",
|
|
|
|
"libp2p-kad",
|
|
|
|
"libp2p-mdns",
|
|
|
|
"libp2p-metrics",
|
|
|
|
"libp2p-mplex",
|
|
|
|
"libp2p-noise",
|
|
|
|
"libp2p-ping",
|
|
|
|
"libp2p-request-response",
|
|
|
|
"libp2p-swarm",
|
|
|
|
"libp2p-swarm-derive",
|
|
|
|
"libp2p-tcp",
|
|
|
|
"libp2p-wasm-ext",
|
|
|
|
"libp2p-websocket",
|
|
|
|
"libp2p-yamux",
|
|
|
|
"multiaddr",
|
|
|
|
"parking_lot 0.12.1",
|
|
|
|
"pin-project",
|
|
|
|
"smallvec",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "libp2p-core"
|
2022-10-20 05:05:36 +00:00
|
|
|
version = "0.37.0"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-20 05:05:36 +00:00
|
|
|
checksum = "799676bb0807c788065e57551c6527d461ad572162b0519d1958946ff9e0539d"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"asn1_der",
|
|
|
|
"bs58",
|
|
|
|
"ed25519-dalek",
|
|
|
|
"either",
|
|
|
|
"fnv",
|
|
|
|
"futures",
|
|
|
|
"futures-timer",
|
|
|
|
"instant",
|
|
|
|
"lazy_static",
|
|
|
|
"log",
|
|
|
|
"multiaddr",
|
|
|
|
"multihash",
|
|
|
|
"multistream-select",
|
|
|
|
"parking_lot 0.12.1",
|
|
|
|
"pin-project",
|
2022-10-20 05:05:36 +00:00
|
|
|
"prost",
|
|
|
|
"prost-build",
|
2022-07-16 21:49:35 +00:00
|
|
|
"rand 0.8.5",
|
|
|
|
"rw-stream-sink",
|
2022-09-18 19:30:38 +00:00
|
|
|
"sha2 0.10.6",
|
2022-07-16 21:49:35 +00:00
|
|
|
"smallvec",
|
|
|
|
"thiserror",
|
|
|
|
"unsigned-varint",
|
|
|
|
"void",
|
|
|
|
"zeroize",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "libp2p-dns"
|
2022-10-20 05:05:36 +00:00
|
|
|
version = "0.37.0"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-20 05:05:36 +00:00
|
|
|
checksum = "2322c9fb40d99101def6a01612ee30500c89abbbecb6297b3cd252903a4c1720"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"futures",
|
|
|
|
"libp2p-core",
|
|
|
|
"log",
|
|
|
|
"parking_lot 0.12.1",
|
|
|
|
"smallvec",
|
|
|
|
"trust-dns-resolver",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "libp2p-identify"
|
2022-10-20 05:05:36 +00:00
|
|
|
version = "0.40.0"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-20 05:05:36 +00:00
|
|
|
checksum = "dcf9a121f699e8719bda2e6e9e9b6ddafc6cff4602471d6481c1067930ccb29b"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"asynchronous-codec",
|
|
|
|
"futures",
|
|
|
|
"futures-timer",
|
|
|
|
"libp2p-core",
|
|
|
|
"libp2p-swarm",
|
|
|
|
"log",
|
2022-11-11 04:59:20 +00:00
|
|
|
"lru",
|
2022-10-20 05:05:36 +00:00
|
|
|
"prost",
|
|
|
|
"prost-build",
|
2022-07-16 21:49:35 +00:00
|
|
|
"prost-codec",
|
|
|
|
"smallvec",
|
|
|
|
"thiserror",
|
|
|
|
"void",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "libp2p-kad"
|
2022-10-20 05:05:36 +00:00
|
|
|
version = "0.41.0"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-20 05:05:36 +00:00
|
|
|
checksum = "6721c200e2021f6c3fab8b6cf0272ead8912d871610ee194ebd628cecf428f22"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"arrayvec 0.7.2",
|
|
|
|
"asynchronous-codec",
|
|
|
|
"bytes",
|
|
|
|
"either",
|
|
|
|
"fnv",
|
|
|
|
"futures",
|
|
|
|
"futures-timer",
|
|
|
|
"instant",
|
|
|
|
"libp2p-core",
|
|
|
|
"libp2p-swarm",
|
|
|
|
"log",
|
2022-10-20 05:05:36 +00:00
|
|
|
"prost",
|
|
|
|
"prost-build",
|
|
|
|
"rand 0.8.5",
|
2022-09-18 19:30:38 +00:00
|
|
|
"sha2 0.10.6",
|
2022-07-16 21:49:35 +00:00
|
|
|
"smallvec",
|
|
|
|
"thiserror",
|
|
|
|
"uint",
|
|
|
|
"unsigned-varint",
|
|
|
|
"void",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "libp2p-mdns"
|
2022-10-20 05:05:36 +00:00
|
|
|
version = "0.41.0"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-20 05:05:36 +00:00
|
|
|
checksum = "761704e727f7d68d58d7bc2231eafae5fc1b9814de24290f126df09d4bd37a15"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"data-encoding",
|
|
|
|
"dns-parser",
|
|
|
|
"futures",
|
|
|
|
"if-watch",
|
|
|
|
"libp2p-core",
|
|
|
|
"libp2p-swarm",
|
|
|
|
"log",
|
|
|
|
"rand 0.8.5",
|
|
|
|
"smallvec",
|
|
|
|
"socket2",
|
2023-01-04 08:17:36 +00:00
|
|
|
"tokio",
|
2022-07-16 21:49:35 +00:00
|
|
|
"void",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "libp2p-metrics"
|
2022-10-20 05:05:36 +00:00
|
|
|
version = "0.10.0"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-20 05:05:36 +00:00
|
|
|
checksum = "9ee31b08e78b7b8bfd1c4204a9dd8a87b4fcdf6dafc57eb51701c1c264a81cb9"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"libp2p-core",
|
|
|
|
"libp2p-identify",
|
|
|
|
"libp2p-kad",
|
|
|
|
"libp2p-ping",
|
|
|
|
"libp2p-swarm",
|
|
|
|
"prometheus-client",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "libp2p-mplex"
|
2022-10-20 05:05:36 +00:00
|
|
|
version = "0.37.0"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-20 05:05:36 +00:00
|
|
|
checksum = "692664acfd98652de739a8acbb0a0d670f1d67190a49be6b4395e22c37337d89"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"asynchronous-codec",
|
|
|
|
"bytes",
|
|
|
|
"futures",
|
|
|
|
"libp2p-core",
|
|
|
|
"log",
|
|
|
|
"nohash-hasher",
|
|
|
|
"parking_lot 0.12.1",
|
2022-10-20 05:05:36 +00:00
|
|
|
"rand 0.8.5",
|
2022-07-16 21:49:35 +00:00
|
|
|
"smallvec",
|
|
|
|
"unsigned-varint",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "libp2p-noise"
|
2022-10-20 05:05:36 +00:00
|
|
|
version = "0.40.0"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-20 05:05:36 +00:00
|
|
|
checksum = "048155686bd81fe6cb5efdef0c6290f25ad32a0a42e8f4f72625cf6a505a206f"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"bytes",
|
|
|
|
"curve25519-dalek 3.2.0",
|
|
|
|
"futures",
|
|
|
|
"lazy_static",
|
|
|
|
"libp2p-core",
|
|
|
|
"log",
|
2022-10-20 05:05:36 +00:00
|
|
|
"prost",
|
|
|
|
"prost-build",
|
2022-07-16 21:49:35 +00:00
|
|
|
"rand 0.8.5",
|
2022-09-18 19:30:38 +00:00
|
|
|
"sha2 0.10.6",
|
2022-07-16 21:49:35 +00:00
|
|
|
"snow",
|
|
|
|
"static_assertions",
|
|
|
|
"x25519-dalek",
|
|
|
|
"zeroize",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "libp2p-ping"
|
2022-10-20 05:05:36 +00:00
|
|
|
version = "0.40.1"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-20 05:05:36 +00:00
|
|
|
checksum = "7228b9318d34689521349a86eb39a3c3a802c9efc99a0568062ffb80913e3f91"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"futures",
|
|
|
|
"futures-timer",
|
|
|
|
"instant",
|
|
|
|
"libp2p-core",
|
|
|
|
"libp2p-swarm",
|
|
|
|
"log",
|
|
|
|
"rand 0.8.5",
|
|
|
|
"void",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "libp2p-request-response"
|
2022-10-20 05:05:36 +00:00
|
|
|
version = "0.22.1"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-20 05:05:36 +00:00
|
|
|
checksum = "8827af16a017b65311a410bb626205a9ad92ec0473967618425039fa5231adc1"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"async-trait",
|
|
|
|
"bytes",
|
|
|
|
"futures",
|
|
|
|
"instant",
|
|
|
|
"libp2p-core",
|
|
|
|
"libp2p-swarm",
|
|
|
|
"log",
|
2022-10-20 05:05:36 +00:00
|
|
|
"rand 0.8.5",
|
2022-07-16 21:49:35 +00:00
|
|
|
"smallvec",
|
|
|
|
"unsigned-varint",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "libp2p-swarm"
|
2022-10-20 05:05:36 +00:00
|
|
|
version = "0.40.1"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-20 05:05:36 +00:00
|
|
|
checksum = "46d13df7c37807965d82930c0e4b04a659efcb6cca237373b206043db5398ecf"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"either",
|
|
|
|
"fnv",
|
|
|
|
"futures",
|
|
|
|
"futures-timer",
|
|
|
|
"instant",
|
|
|
|
"libp2p-core",
|
|
|
|
"log",
|
|
|
|
"pin-project",
|
2022-10-20 05:05:36 +00:00
|
|
|
"rand 0.8.5",
|
2022-07-16 21:49:35 +00:00
|
|
|
"smallvec",
|
|
|
|
"thiserror",
|
|
|
|
"void",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "libp2p-swarm-derive"
|
2022-10-20 05:05:36 +00:00
|
|
|
version = "0.30.1"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-20 05:05:36 +00:00
|
|
|
checksum = "a0eddc4497a8b5a506013c40e8189864f9c3a00db2b25671f428ae9007f3ba32"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
2022-10-20 05:05:36 +00:00
|
|
|
"heck",
|
2022-07-16 21:49:35 +00:00
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "libp2p-tcp"
|
2022-10-20 05:05:36 +00:00
|
|
|
version = "0.37.0"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-20 05:05:36 +00:00
|
|
|
checksum = "9839d96761491c6d3e238e70554b856956fca0ab60feb9de2cd08eed4473fa92"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"futures",
|
|
|
|
"futures-timer",
|
|
|
|
"if-watch",
|
|
|
|
"libc",
|
|
|
|
"libp2p-core",
|
|
|
|
"log",
|
|
|
|
"socket2",
|
2023-01-04 08:17:36 +00:00
|
|
|
"tokio",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "libp2p-wasm-ext"
|
2022-10-20 05:05:36 +00:00
|
|
|
version = "0.37.0"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-20 05:05:36 +00:00
|
|
|
checksum = "a17b5b8e7a73e379e47b1b77f8a82c4721e97eca01abcd18e9cd91a23ca6ce97"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"futures",
|
|
|
|
"js-sys",
|
|
|
|
"libp2p-core",
|
|
|
|
"parity-send-wrapper",
|
|
|
|
"wasm-bindgen",
|
|
|
|
"wasm-bindgen-futures",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "libp2p-websocket"
|
2022-10-20 05:05:36 +00:00
|
|
|
version = "0.39.0"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-20 05:05:36 +00:00
|
|
|
checksum = "3758ae6f89b2531a24b6d9f5776bda6a626b60a57600d7185d43dfa75ca5ecc4"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"either",
|
|
|
|
"futures",
|
|
|
|
"futures-rustls",
|
|
|
|
"libp2p-core",
|
|
|
|
"log",
|
|
|
|
"parking_lot 0.12.1",
|
|
|
|
"quicksink",
|
|
|
|
"rw-stream-sink",
|
|
|
|
"soketto",
|
|
|
|
"url",
|
|
|
|
"webpki-roots",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "libp2p-yamux"
|
2022-11-21 07:23:38 +00:00
|
|
|
version = "0.41.1"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-21 07:23:38 +00:00
|
|
|
checksum = "0d6874d66543c4f7e26e3b8ca9a6bead351563a13ab4fafd43c7927f7c0d6c12"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"futures",
|
|
|
|
"libp2p-core",
|
2022-10-20 05:05:36 +00:00
|
|
|
"log",
|
2022-07-16 21:49:35 +00:00
|
|
|
"parking_lot 0.12.1",
|
|
|
|
"thiserror",
|
|
|
|
"yamux",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "librocksdb-sys"
|
2022-10-20 05:05:36 +00:00
|
|
|
version = "0.8.0+7.4.4"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-20 05:05:36 +00:00
|
|
|
checksum = "611804e4666a25136fcc5f8cf425ab4d26c7f74ea245ffe92ea23b85b6420b5d"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"bindgen",
|
|
|
|
"bzip2-sys",
|
|
|
|
"cc",
|
|
|
|
"glob",
|
|
|
|
"libc",
|
|
|
|
"libz-sys",
|
|
|
|
"tikv-jemalloc-sys",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "libsecp256k1"
|
|
|
|
version = "0.7.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "95b09eff1b35ed3b33b877ced3a691fc7a481919c7e29c53c906226fcf55e2a1"
|
|
|
|
dependencies = [
|
|
|
|
"arrayref",
|
2022-10-22 01:40:50 +00:00
|
|
|
"base64 0.13.1",
|
2022-07-16 21:49:35 +00:00
|
|
|
"digest 0.9.0",
|
|
|
|
"hmac-drbg",
|
|
|
|
"libsecp256k1-core",
|
|
|
|
"libsecp256k1-gen-ecmult",
|
|
|
|
"libsecp256k1-gen-genmult",
|
|
|
|
"rand 0.8.5",
|
|
|
|
"serde",
|
|
|
|
"sha2 0.9.9",
|
|
|
|
"typenum",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "libsecp256k1-core"
|
|
|
|
version = "0.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "5be9b9bb642d8522a44d533eab56c16c738301965504753b03ad1de3425d5451"
|
|
|
|
dependencies = [
|
|
|
|
"crunchy",
|
|
|
|
"digest 0.9.0",
|
|
|
|
"subtle",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "libsecp256k1-gen-ecmult"
|
|
|
|
version = "0.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "3038c808c55c87e8a172643a7d87187fc6c4174468159cb3090659d55bcb4809"
|
|
|
|
dependencies = [
|
|
|
|
"libsecp256k1-core",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "libsecp256k1-gen-genmult"
|
|
|
|
version = "0.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "3db8d6ba2cec9eacc40e6e8ccc98931840301f1006e95647ceb2dd5c3aa06f7c"
|
|
|
|
dependencies = [
|
|
|
|
"libsecp256k1-core",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "libz-sys"
|
|
|
|
version = "1.1.8"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "9702761c3935f8cc2f101793272e202c72b99da8f4224a19ddcf1279a6450bbf"
|
|
|
|
dependencies = [
|
|
|
|
"cc",
|
|
|
|
"pkg-config",
|
|
|
|
"vcpkg",
|
|
|
|
]
|
|
|
|
|
2022-10-20 05:05:36 +00:00
|
|
|
[[package]]
|
|
|
|
name = "link-cplusplus"
|
2022-12-21 04:12:26 +00:00
|
|
|
version = "1.0.8"
|
2022-10-20 05:05:36 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-21 04:12:26 +00:00
|
|
|
checksum = "ecd207c9c713c34f95a097a5b029ac2ce6010530c7b49d7fea24d977dede04f5"
|
2022-10-20 05:05:36 +00:00
|
|
|
dependencies = [
|
|
|
|
"cc",
|
|
|
|
]
|
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "linked-hash-map"
|
|
|
|
version = "0.5.6"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "linked_hash_set"
|
|
|
|
version = "0.1.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "47186c6da4d81ca383c7c47c1bfc80f4b95f4720514d860a5407aaf4233f9588"
|
|
|
|
dependencies = [
|
|
|
|
"linked-hash-map",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "linregress"
|
|
|
|
version = "0.4.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d6c601a85f5ecd1aba625247bca0031585fb1c446461b142878a16f8245ddeb8"
|
|
|
|
dependencies = [
|
|
|
|
"nalgebra",
|
|
|
|
"statrs",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "linux-raw-sys"
|
|
|
|
version = "0.0.46"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d4d2456c373231a208ad294c33dc5bff30051eafd954cd4caae83a712b12854d"
|
|
|
|
|
2022-11-11 04:59:20 +00:00
|
|
|
[[package]]
|
|
|
|
name = "linux-raw-sys"
|
2022-12-21 04:12:26 +00:00
|
|
|
version = "0.1.4"
|
2022-11-11 04:59:20 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-21 04:12:26 +00:00
|
|
|
checksum = "f051f77a7c8e6957c0696eac88f26b0117e54f52d3fc682ab19397a8812846a4"
|
2022-11-11 04:59:20 +00:00
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "lock_api"
|
2022-09-29 18:33:09 +00:00
|
|
|
version = "0.4.9"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-09-29 18:33:09 +00:00
|
|
|
checksum = "435011366fe56583b16cf956f9df0095b405b82d76425bc8981c0e22e60ec4df"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"autocfg",
|
|
|
|
"scopeguard",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "log"
|
|
|
|
version = "0.4.17"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e"
|
|
|
|
dependencies = [
|
2022-10-20 05:05:36 +00:00
|
|
|
"cfg-if",
|
|
|
|
]
|
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "lru"
|
2022-10-20 05:05:36 +00:00
|
|
|
version = "0.8.1"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-20 05:05:36 +00:00
|
|
|
checksum = "b6e8aaa3f231bb4bd57b84b2d5dc3ae7f350265df8aa96492e0bc394a1571909"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
2022-12-07 23:05:06 +00:00
|
|
|
"hashbrown",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "lru-cache"
|
|
|
|
version = "0.1.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "31e24f1ad8321ca0e8a1e0ac13f23cb668e6f5466c2c57319f6a5cf1cc8e3b1c"
|
|
|
|
dependencies = [
|
|
|
|
"linked-hash-map",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "lz4"
|
2022-09-18 19:30:38 +00:00
|
|
|
version = "1.24.0"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-09-18 19:30:38 +00:00
|
|
|
checksum = "7e9e2dd86df36ce760a60f6ff6ad526f7ba1f14ba0356f8254fb6905e6494df1"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
"lz4-sys",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "lz4-sys"
|
2022-09-18 19:30:38 +00:00
|
|
|
version = "1.9.4"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-09-18 19:30:38 +00:00
|
|
|
checksum = "57d27b317e207b10f69f5e75494119e391a96f48861ae870d1da6edac98ca900"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"cc",
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "mach"
|
|
|
|
version = "0.3.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b823e83b2affd8f40a9ee8c29dbc56404c1e34cd2710921f2801e2cf29527afa"
|
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "match_cfg"
|
|
|
|
version = "0.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "ffbee8634e0d45d258acb448e7eaab3fce7a0a467395d4d9f228e3c1f01fb2e4"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "matchers"
|
|
|
|
version = "0.0.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "f099785f7595cc4b4553a174ce30dd7589ef93391ff414dbb67f62392b9e0ce1"
|
|
|
|
dependencies = [
|
|
|
|
"regex-automata",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "matches"
|
|
|
|
version = "0.1.9"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "a3e378b66a060d48947b590737b30a1be76706c8dd7b8ba0f2fe3989c68a853f"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "matrixmultiply"
|
|
|
|
version = "0.3.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "add85d4dd35074e6fedc608f8c8f513a3548619a9024b751949ef0e8e45a4d84"
|
|
|
|
dependencies = [
|
|
|
|
"rawpointer",
|
|
|
|
]
|
|
|
|
|
2022-11-15 04:24:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "md-5"
|
|
|
|
version = "0.9.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "7b5a279bb9607f9f53c22d496eade00d138d1bdcccd07d74650387cf94942a15"
|
|
|
|
dependencies = [
|
|
|
|
"block-buffer 0.9.0",
|
|
|
|
"digest 0.9.0",
|
|
|
|
"opaque-debug 0.3.0",
|
|
|
|
]
|
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "md-5"
|
2022-09-29 18:33:09 +00:00
|
|
|
version = "0.10.5"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-09-29 18:33:09 +00:00
|
|
|
checksum = "6365506850d44bff6e2fbcb5176cf63650e48bd45ef2fe2665ae1570e0f4b9ca"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
2022-11-21 07:23:38 +00:00
|
|
|
"digest 0.10.6",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "memchr"
|
|
|
|
version = "2.5.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "memfd"
|
2022-11-11 04:59:20 +00:00
|
|
|
version = "0.6.2"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-11 04:59:20 +00:00
|
|
|
checksum = "b20a59d985586e4a5aef64564ac77299f8586d8be6cf9106a5a40207e8908efb"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
2023-01-04 08:17:36 +00:00
|
|
|
"rustix 0.36.6",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "memmap2"
|
2022-11-11 04:59:20 +00:00
|
|
|
version = "0.5.8"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-11 04:59:20 +00:00
|
|
|
checksum = "4b182332558b18d807c4ce1ca8ca983b34c3ee32765e47b3f0f69b90355cc1dc"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "memoffset"
|
|
|
|
version = "0.6.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "5aa361d4faea93603064a027415f07bd8e1d5c88c9fbf68bf56a285428fd79ce"
|
|
|
|
dependencies = [
|
|
|
|
"autocfg",
|
|
|
|
]
|
|
|
|
|
2022-11-21 07:23:38 +00:00
|
|
|
[[package]]
|
|
|
|
name = "memoffset"
|
|
|
|
version = "0.7.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "5de893c32cde5f383baa4c04c5d6dbdd735cfd4a794b0debdb2bb1b421da5ff4"
|
|
|
|
dependencies = [
|
|
|
|
"autocfg",
|
|
|
|
]
|
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "memory-db"
|
2023-01-04 08:17:36 +00:00
|
|
|
version = "0.31.0"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-01-04 08:17:36 +00:00
|
|
|
checksum = "5e0c7cba9ce19ac7ffd2053ac9f49843bbd3f4318feedfd74e85c19d5fb0ba66"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"hash-db",
|
2022-12-07 23:05:06 +00:00
|
|
|
"hashbrown",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "memory_units"
|
2022-09-29 18:33:09 +00:00
|
|
|
version = "0.4.0"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-09-29 18:33:09 +00:00
|
|
|
checksum = "8452105ba047068f40ff7093dd1d9da90898e63dd61736462e9cdda6a90ad3c3"
|
2022-07-16 21:49:35 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "merlin"
|
|
|
|
version = "2.0.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "4e261cf0f8b3c42ded9f7d2bb59dea03aa52bc8a1cbc7482f9fc3fd1229d3b42"
|
|
|
|
dependencies = [
|
|
|
|
"byteorder",
|
|
|
|
"keccak",
|
|
|
|
"rand_core 0.5.1",
|
|
|
|
"zeroize",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "merlin"
|
|
|
|
version = "3.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "58c38e2799fc0978b65dfff8023ec7843e2330bb462f19198840b34b6582397d"
|
|
|
|
dependencies = [
|
|
|
|
"byteorder",
|
|
|
|
"keccak",
|
2022-09-18 19:30:38 +00:00
|
|
|
"rand_core 0.6.4",
|
2022-07-16 21:49:35 +00:00
|
|
|
"zeroize",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "mime"
|
|
|
|
version = "0.3.16"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "2a60c7ce501c71e03a9c9c0d35b861413ae925bd979cc7a4e30d060069aaac8d"
|
|
|
|
|
2022-08-29 07:32:59 +00:00
|
|
|
[[package]]
|
|
|
|
name = "minimal-ed448"
|
2022-10-29 10:01:32 +00:00
|
|
|
version = "0.1.2"
|
2022-08-29 07:32:59 +00:00
|
|
|
dependencies = [
|
|
|
|
"crypto-bigint",
|
|
|
|
"dalek-ff-group",
|
2022-11-21 07:23:38 +00:00
|
|
|
"digest 0.10.6",
|
2022-08-29 07:32:59 +00:00
|
|
|
"ff",
|
2022-12-24 20:09:09 +00:00
|
|
|
"ff-group-tests",
|
2022-08-29 07:32:59 +00:00
|
|
|
"generic-array 0.14.6",
|
|
|
|
"group",
|
|
|
|
"hex",
|
|
|
|
"lazy_static",
|
2022-09-18 19:30:38 +00:00
|
|
|
"rand_core 0.6.4",
|
2022-08-29 07:32:59 +00:00
|
|
|
"subtle",
|
|
|
|
"zeroize",
|
|
|
|
]
|
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "minimal-lexical"
|
|
|
|
version = "0.2.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
|
|
|
|
|
2022-12-07 22:56:53 +00:00
|
|
|
[[package]]
|
|
|
|
name = "miniz_oxide"
|
|
|
|
version = "0.6.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b275950c28b37e794e8c55d88aeb5e139d0ce23fdbbeda68f8d7174abdf9e8fa"
|
|
|
|
dependencies = [
|
|
|
|
"adler",
|
|
|
|
]
|
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "mio"
|
2022-11-04 12:07:37 +00:00
|
|
|
version = "0.8.5"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-04 12:07:37 +00:00
|
|
|
checksum = "e5d732bc30207a6423068df043e3d02e0735b155ad7ce1a6f76fe2baa5b158de"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
"log",
|
|
|
|
"wasi 0.11.0+wasi-snapshot-preview1",
|
2022-11-04 12:07:37 +00:00
|
|
|
"windows-sys 0.42.0",
|
2022-10-20 05:05:36 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "mockall"
|
|
|
|
version = "0.11.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "50e4a1c770583dac7ab5e2f6c139153b783a53a1bbee9729613f193e59828326"
|
|
|
|
dependencies = [
|
|
|
|
"cfg-if",
|
|
|
|
"downcast",
|
|
|
|
"fragile",
|
|
|
|
"lazy_static",
|
|
|
|
"mockall_derive",
|
|
|
|
"predicates",
|
|
|
|
"predicates-tree",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "mockall_derive"
|
|
|
|
version = "0.11.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "832663583d5fa284ca8810bf7015e46c9fff9622d3cf34bd1eea5003fec06dd0"
|
|
|
|
dependencies = [
|
|
|
|
"cfg-if",
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "modular-frost"
|
2022-11-11 03:35:09 +00:00
|
|
|
version = "0.5.0"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
2022-10-29 08:54:42 +00:00
|
|
|
"chacha20 0.9.0",
|
|
|
|
"ciphersuite",
|
2022-07-16 21:49:35 +00:00
|
|
|
"dalek-ff-group",
|
2022-11-21 07:23:38 +00:00
|
|
|
"digest 0.10.6",
|
2022-10-29 08:54:42 +00:00
|
|
|
"dkg",
|
2022-07-30 22:35:39 +00:00
|
|
|
"dleq",
|
2022-07-16 21:49:35 +00:00
|
|
|
"flexible-transcript",
|
|
|
|
"group",
|
|
|
|
"hex",
|
2022-10-29 08:54:42 +00:00
|
|
|
"hkdf",
|
2022-08-29 07:32:59 +00:00
|
|
|
"minimal-ed448",
|
2022-07-16 21:49:35 +00:00
|
|
|
"multiexp",
|
2022-12-09 00:04:35 +00:00
|
|
|
"rand_chacha 0.3.1",
|
2022-12-14 01:25:32 +00:00
|
|
|
"rand_core 0.6.4",
|
2022-10-29 08:54:42 +00:00
|
|
|
"schnorr-signatures",
|
2022-10-13 04:38:36 +00:00
|
|
|
"serde_json",
|
|
|
|
"subtle",
|
2022-07-16 21:49:35 +00:00
|
|
|
"thiserror",
|
Utilize zeroize (#76)
* Apply Zeroize to nonces used in Bulletproofs
Also makes bit decomposition constant time for a given amount of
outputs.
* Fix nonce reuse for single-signer CLSAG
* Attach Zeroize to most structures in Monero, and ZOnDrop to anything with private data
* Zeroize private keys and nonces
* Merge prepare_outputs and prepare_transactions
* Ensure CLSAG is constant time
* Pass by borrow where needed, bug fixes
The past few commitments have been one in-progress chunk which I've
broken up as best read.
* Add Zeroize to FROST structs
Still needs to zeroize internally, yet next step. Not quite as
aggressive as Monero, partially due to the limitations of HashMaps,
partially due to less concern about metadata, yet does still delete a
few smaller items of metadata (group key, context string...).
* Remove Zeroize from most Monero multisig structs
These structs largely didn't have private data, just fields with private
data, yet those fields implemented ZeroizeOnDrop making them already
covered. While there is still traces of the transaction left in RAM,
fully purging that was never the intent.
* Use Zeroize within dleq
bitvec doesn't offer Zeroize, so a manual zeroing has been implemented.
* Use Zeroize for random_nonce
It isn't perfect, due to the inability to zeroize the digest, and due to
kp256 requiring a few transformations. It does the best it can though.
Does move the per-curve random_nonce to a provided one, which is allowed
as of https://github.com/cfrg/draft-irtf-cfrg-frost/pull/231.
* Use Zeroize on FROST keygen/signing
* Zeroize constant time multiexp.
* Correct when FROST keygen zeroizes
* Move the FROST keys Arc into FrostKeys
Reduces amount of instances in memory.
* Manually implement Debug for FrostCore to not leak the secret share
* Misc bug fixes
* clippy + multiexp test bug fixes
* Correct FROST key gen share summation
It leaked our own share for ourself.
* Fix cross-group DLEq tests
2022-08-03 08:25:18 +00:00
|
|
|
"zeroize",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "monero-epee-bin-serde"
|
|
|
|
version = "1.0.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "1f8a3f7f7ef5bb1fd6c953be9187e48df8cc1a0ffc7d94f9fbabd4a23e37321e"
|
|
|
|
dependencies = [
|
|
|
|
"byteorder",
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
2022-08-21 10:36:53 +00:00
|
|
|
[[package]]
|
|
|
|
name = "monero-generators"
|
2022-09-29 14:36:40 +00:00
|
|
|
version = "0.1.1"
|
2022-08-21 10:36:53 +00:00
|
|
|
dependencies = [
|
|
|
|
"curve25519-dalek 3.2.0",
|
|
|
|
"dalek-ff-group",
|
|
|
|
"group",
|
|
|
|
"lazy_static",
|
2022-10-20 05:05:36 +00:00
|
|
|
"sha3",
|
2022-08-21 10:36:53 +00:00
|
|
|
"subtle",
|
|
|
|
]
|
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "monero-serai"
|
2022-11-11 03:35:09 +00:00
|
|
|
version = "0.1.2-alpha"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
2022-08-21 12:41:19 +00:00
|
|
|
"base58-monero",
|
2022-07-16 21:49:35 +00:00
|
|
|
"blake2",
|
|
|
|
"curve25519-dalek 3.2.0",
|
|
|
|
"dalek-ff-group",
|
2022-11-15 04:24:35 +00:00
|
|
|
"digest_auth",
|
2022-07-30 22:35:39 +00:00
|
|
|
"dleq",
|
2022-07-16 21:49:35 +00:00
|
|
|
"flexible-transcript",
|
|
|
|
"group",
|
|
|
|
"hex",
|
|
|
|
"hex-literal",
|
|
|
|
"lazy_static",
|
|
|
|
"modular-frost",
|
|
|
|
"monero-epee-bin-serde",
|
2022-08-21 10:36:53 +00:00
|
|
|
"monero-generators",
|
2022-07-26 07:05:15 +00:00
|
|
|
"multiexp",
|
2022-07-16 21:49:35 +00:00
|
|
|
"rand 0.8.5",
|
|
|
|
"rand_chacha 0.3.1",
|
2022-09-18 19:30:38 +00:00
|
|
|
"rand_core 0.6.4",
|
2022-07-16 21:49:35 +00:00
|
|
|
"rand_distr",
|
|
|
|
"reqwest",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
2022-10-20 05:05:36 +00:00
|
|
|
"sha3",
|
2022-07-16 21:49:35 +00:00
|
|
|
"subtle",
|
|
|
|
"thiserror",
|
|
|
|
"tokio",
|
Utilize zeroize (#76)
* Apply Zeroize to nonces used in Bulletproofs
Also makes bit decomposition constant time for a given amount of
outputs.
* Fix nonce reuse for single-signer CLSAG
* Attach Zeroize to most structures in Monero, and ZOnDrop to anything with private data
* Zeroize private keys and nonces
* Merge prepare_outputs and prepare_transactions
* Ensure CLSAG is constant time
* Pass by borrow where needed, bug fixes
The past few commitments have been one in-progress chunk which I've
broken up as best read.
* Add Zeroize to FROST structs
Still needs to zeroize internally, yet next step. Not quite as
aggressive as Monero, partially due to the limitations of HashMaps,
partially due to less concern about metadata, yet does still delete a
few smaller items of metadata (group key, context string...).
* Remove Zeroize from most Monero multisig structs
These structs largely didn't have private data, just fields with private
data, yet those fields implemented ZeroizeOnDrop making them already
covered. While there is still traces of the transaction left in RAM,
fully purging that was never the intent.
* Use Zeroize within dleq
bitvec doesn't offer Zeroize, so a manual zeroing has been implemented.
* Use Zeroize for random_nonce
It isn't perfect, due to the inability to zeroize the digest, and due to
kp256 requiring a few transformations. It does the best it can though.
Does move the per-curve random_nonce to a provided one, which is allowed
as of https://github.com/cfrg/draft-irtf-cfrg-frost/pull/231.
* Use Zeroize on FROST keygen/signing
* Zeroize constant time multiexp.
* Correct when FROST keygen zeroizes
* Move the FROST keys Arc into FrostKeys
Reduces amount of instances in memory.
* Manually implement Debug for FrostCore to not leak the secret share
* Misc bug fixes
* clippy + multiexp test bug fixes
* Correct FROST key gen share summation
It leaked our own share for ourself.
* Fix cross-group DLEq tests
2022-08-03 08:25:18 +00:00
|
|
|
"zeroize",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "multiaddr"
|
|
|
|
version = "0.14.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "3c580bfdd8803cce319b047d239559a22f809094aaea4ac13902a1fdcfcd4261"
|
|
|
|
dependencies = [
|
|
|
|
"arrayref",
|
|
|
|
"bs58",
|
|
|
|
"byteorder",
|
|
|
|
"data-encoding",
|
|
|
|
"multihash",
|
|
|
|
"percent-encoding",
|
|
|
|
"serde",
|
|
|
|
"static_assertions",
|
|
|
|
"unsigned-varint",
|
|
|
|
"url",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "multibase"
|
|
|
|
version = "0.9.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "9b3539ec3c1f04ac9748a260728e855f261b4977f5c3406612c884564f329404"
|
|
|
|
dependencies = [
|
|
|
|
"base-x",
|
|
|
|
"data-encoding",
|
|
|
|
"data-encoding-macro",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "multiexp"
|
2022-11-07 23:31:20 +00:00
|
|
|
version = "0.2.2"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"dalek-ff-group",
|
|
|
|
"ff",
|
|
|
|
"group",
|
|
|
|
"k256",
|
2022-09-18 19:30:38 +00:00
|
|
|
"rand_core 0.6.4",
|
Utilize zeroize (#76)
* Apply Zeroize to nonces used in Bulletproofs
Also makes bit decomposition constant time for a given amount of
outputs.
* Fix nonce reuse for single-signer CLSAG
* Attach Zeroize to most structures in Monero, and ZOnDrop to anything with private data
* Zeroize private keys and nonces
* Merge prepare_outputs and prepare_transactions
* Ensure CLSAG is constant time
* Pass by borrow where needed, bug fixes
The past few commitments have been one in-progress chunk which I've
broken up as best read.
* Add Zeroize to FROST structs
Still needs to zeroize internally, yet next step. Not quite as
aggressive as Monero, partially due to the limitations of HashMaps,
partially due to less concern about metadata, yet does still delete a
few smaller items of metadata (group key, context string...).
* Remove Zeroize from most Monero multisig structs
These structs largely didn't have private data, just fields with private
data, yet those fields implemented ZeroizeOnDrop making them already
covered. While there is still traces of the transaction left in RAM,
fully purging that was never the intent.
* Use Zeroize within dleq
bitvec doesn't offer Zeroize, so a manual zeroing has been implemented.
* Use Zeroize for random_nonce
It isn't perfect, due to the inability to zeroize the digest, and due to
kp256 requiring a few transformations. It does the best it can though.
Does move the per-curve random_nonce to a provided one, which is allowed
as of https://github.com/cfrg/draft-irtf-cfrg-frost/pull/231.
* Use Zeroize on FROST keygen/signing
* Zeroize constant time multiexp.
* Correct when FROST keygen zeroizes
* Move the FROST keys Arc into FrostKeys
Reduces amount of instances in memory.
* Manually implement Debug for FrostCore to not leak the secret share
* Misc bug fixes
* clippy + multiexp test bug fixes
* Correct FROST key gen share summation
It leaked our own share for ourself.
* Fix cross-group DLEq tests
2022-08-03 08:25:18 +00:00
|
|
|
"zeroize",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "multihash"
|
2022-08-16 07:44:32 +00:00
|
|
|
version = "0.16.3"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-08-16 07:44:32 +00:00
|
|
|
checksum = "1c346cf9999c631f002d8f977c4eaeaa0e6386f16007202308d0b3757522c2cc"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"blake2b_simd",
|
|
|
|
"blake2s_simd",
|
|
|
|
"blake3",
|
|
|
|
"core2",
|
2022-11-21 07:23:38 +00:00
|
|
|
"digest 0.10.6",
|
2022-07-16 21:49:35 +00:00
|
|
|
"multihash-derive",
|
2022-09-18 19:30:38 +00:00
|
|
|
"sha2 0.10.6",
|
2022-10-20 05:05:36 +00:00
|
|
|
"sha3",
|
2022-07-16 21:49:35 +00:00
|
|
|
"unsigned-varint",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "multihash-derive"
|
|
|
|
version = "0.8.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "fc076939022111618a5026d3be019fd8b366e76314538ff9a1b59ffbcbf98bcd"
|
|
|
|
dependencies = [
|
2022-12-07 23:05:06 +00:00
|
|
|
"proc-macro-crate",
|
2022-07-16 21:49:35 +00:00
|
|
|
"proc-macro-error",
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
"synstructure",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "multimap"
|
|
|
|
version = "0.8.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "multistream-select"
|
2022-12-07 22:56:53 +00:00
|
|
|
version = "0.12.1"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-07 22:56:53 +00:00
|
|
|
checksum = "c8552ab875c1313b97b8d20cb857b9fd63e2d1d6a0a1b53ce9821e575405f27a"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"bytes",
|
|
|
|
"futures",
|
|
|
|
"log",
|
|
|
|
"pin-project",
|
|
|
|
"smallvec",
|
|
|
|
"unsigned-varint",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "nalgebra"
|
|
|
|
version = "0.27.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "462fffe4002f4f2e1f6a9dcf12cc1a6fc0e15989014efc02a941d3e0f5dc2120"
|
|
|
|
dependencies = [
|
|
|
|
"approx",
|
|
|
|
"matrixmultiply",
|
|
|
|
"nalgebra-macros",
|
|
|
|
"num-complex",
|
2022-09-29 18:33:09 +00:00
|
|
|
"num-rational",
|
2022-07-16 21:49:35 +00:00
|
|
|
"num-traits",
|
|
|
|
"rand 0.8.5",
|
|
|
|
"rand_distr",
|
|
|
|
"simba",
|
|
|
|
"typenum",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "nalgebra-macros"
|
|
|
|
version = "0.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "01fcc0b8149b4632adc89ac3b7b31a12fb6099a0317a4eb2ebff574ef7de7218"
|
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "names"
|
|
|
|
version = "0.13.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "e7d66043b25d4a6cccb23619d10c19c25304b355a7dccd4a8e11423dd2382146"
|
|
|
|
dependencies = [
|
|
|
|
"rand 0.8.5",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "native-tls"
|
2022-11-04 12:07:37 +00:00
|
|
|
version = "0.2.11"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-04 12:07:37 +00:00
|
|
|
checksum = "07226173c32f2926027b63cce4bcd8076c3552846cbe7925f3aaffeac0a3b92e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"lazy_static",
|
|
|
|
"libc",
|
|
|
|
"log",
|
|
|
|
"openssl",
|
|
|
|
"openssl-probe",
|
|
|
|
"openssl-sys",
|
|
|
|
"schannel",
|
|
|
|
"security-framework",
|
|
|
|
"security-framework-sys",
|
|
|
|
"tempfile",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "netlink-packet-core"
|
|
|
|
version = "0.4.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "345b8ab5bd4e71a2986663e88c56856699d060e78e152e6e9d7966fcd5491297"
|
|
|
|
dependencies = [
|
|
|
|
"anyhow",
|
|
|
|
"byteorder",
|
|
|
|
"libc",
|
|
|
|
"netlink-packet-utils",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "netlink-packet-route"
|
|
|
|
version = "0.12.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d9ea4302b9759a7a88242299225ea3688e63c85ea136371bb6cf94fd674efaab"
|
|
|
|
dependencies = [
|
|
|
|
"anyhow",
|
|
|
|
"bitflags",
|
|
|
|
"byteorder",
|
|
|
|
"libc",
|
|
|
|
"netlink-packet-core",
|
|
|
|
"netlink-packet-utils",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "netlink-packet-utils"
|
|
|
|
version = "0.5.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "25af9cf0dc55498b7bd94a1508af7a78706aa0ab715a73c5169273e03c84845e"
|
|
|
|
dependencies = [
|
|
|
|
"anyhow",
|
|
|
|
"byteorder",
|
|
|
|
"paste",
|
|
|
|
"thiserror",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "netlink-proto"
|
|
|
|
version = "0.10.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "65b4b14489ab424703c092062176d52ba55485a89c076b4f9db05092b7223aa6"
|
|
|
|
dependencies = [
|
|
|
|
"bytes",
|
|
|
|
"futures",
|
|
|
|
"log",
|
|
|
|
"netlink-packet-core",
|
|
|
|
"netlink-sys",
|
|
|
|
"thiserror",
|
|
|
|
"tokio",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "netlink-sys"
|
|
|
|
version = "0.8.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "92b654097027250401127914afb37cb1f311df6610a9891ff07a757e94199027"
|
|
|
|
dependencies = [
|
|
|
|
"async-io",
|
|
|
|
"bytes",
|
|
|
|
"futures",
|
|
|
|
"libc",
|
|
|
|
"log",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "new_debug_unreachable"
|
|
|
|
version = "1.0.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "e4a24736216ec316047a1fc4252e27dabb04218aa4a3f37c6e7ddbf1f9782b54"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "nix"
|
2022-12-07 22:56:53 +00:00
|
|
|
version = "0.24.3"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-07 22:56:53 +00:00
|
|
|
checksum = "fa52e972a9a719cecb6864fb88568781eb706bac2cd1d4f04a648542dbf78069"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"bitflags",
|
|
|
|
"cfg-if",
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "nohash-hasher"
|
|
|
|
version = "0.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "2bf50223579dc7cdcfb3bfcacf7069ff68243f8c363f62ffa99cf000a6b9c451"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "nom"
|
2023-01-04 08:17:36 +00:00
|
|
|
version = "7.1.2"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-01-04 08:17:36 +00:00
|
|
|
checksum = "e5507769c4919c998e69e49c839d9dc6e693ede4cc4290d6ad8b41d4f09c548c"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"memchr",
|
|
|
|
"minimal-lexical",
|
|
|
|
]
|
|
|
|
|
2022-10-20 05:05:36 +00:00
|
|
|
[[package]]
|
|
|
|
name = "normalize-line-endings"
|
|
|
|
version = "0.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "61807f77802ff30975e01f4f071c8ba10c022052f98b3294119f3e615d13e5be"
|
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "num-bigint"
|
2022-09-29 18:33:09 +00:00
|
|
|
version = "0.4.3"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-09-29 18:33:09 +00:00
|
|
|
checksum = "f93ab6289c7b344a8a9f60f88d80aa20032336fe78da341afc91c8a2341fc75f"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"autocfg",
|
|
|
|
"num-integer",
|
|
|
|
"num-traits",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "num-complex"
|
|
|
|
version = "0.4.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "7ae39348c8bc5fbd7f40c727a9925f03517afd2ab27d46702108b6a7e5414c19"
|
|
|
|
dependencies = [
|
|
|
|
"num-traits",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "num-format"
|
2022-12-07 22:56:53 +00:00
|
|
|
version = "0.4.4"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-07 22:56:53 +00:00
|
|
|
checksum = "a652d9771a63711fd3c3deb670acfbe5c30a4072e664d7a3bf5a9e1056ac72c3"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
2022-10-20 05:05:36 +00:00
|
|
|
"arrayvec 0.7.2",
|
|
|
|
"itoa",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "num-integer"
|
|
|
|
version = "0.1.45"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9"
|
|
|
|
dependencies = [
|
|
|
|
"autocfg",
|
|
|
|
"num-traits",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "num-rational"
|
|
|
|
version = "0.4.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "0638a1c9d0a3c0914158145bc76cff373a75a627e6ecbfb71cbe6f453a5a19b0"
|
|
|
|
dependencies = [
|
|
|
|
"autocfg",
|
2022-09-29 18:33:09 +00:00
|
|
|
"num-bigint",
|
2022-07-16 21:49:35 +00:00
|
|
|
"num-integer",
|
|
|
|
"num-traits",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "num-traits"
|
|
|
|
version = "0.2.15"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "578ede34cf02f8924ab9447f50c28075b4d3e5b269972345e7e0372b38c6cdcd"
|
|
|
|
dependencies = [
|
|
|
|
"autocfg",
|
2022-12-21 04:12:26 +00:00
|
|
|
"libm 0.2.6",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "num_cpus"
|
2022-12-21 04:12:26 +00:00
|
|
|
version = "1.15.0"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-21 04:12:26 +00:00
|
|
|
checksum = "0fac9e2da13b5eb447a6ce3d392f23a29d8694bff781bf03a16cd9ac8697593b"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
2022-12-21 04:12:26 +00:00
|
|
|
"hermit-abi 0.2.6",
|
2022-07-16 21:49:35 +00:00
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "number_prefix"
|
|
|
|
version = "0.4.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "830b246a0e5f20af87141b25c173cd1b609bd7779a4617d6ec582abaf90870f3"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "object"
|
|
|
|
version = "0.29.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "21158b2c33aa6d4561f1c0a6ea283ca92bc54802a93b263e910746d679a7eb53"
|
|
|
|
dependencies = [
|
2022-09-29 18:33:09 +00:00
|
|
|
"crc32fast",
|
2022-12-07 23:05:06 +00:00
|
|
|
"hashbrown",
|
2022-09-29 18:33:09 +00:00
|
|
|
"indexmap",
|
2022-07-16 21:49:35 +00:00
|
|
|
"memchr",
|
|
|
|
]
|
|
|
|
|
2022-12-21 04:12:26 +00:00
|
|
|
[[package]]
|
|
|
|
name = "object"
|
2023-01-04 08:17:36 +00:00
|
|
|
version = "0.30.1"
|
2022-12-21 04:12:26 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-01-04 08:17:36 +00:00
|
|
|
checksum = "8d864c91689fdc196779b98dba0aceac6118594c2df6ee5d943eb6a8df4d107a"
|
2022-12-21 04:12:26 +00:00
|
|
|
dependencies = [
|
|
|
|
"memchr",
|
|
|
|
]
|
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "once_cell"
|
2023-01-04 08:17:36 +00:00
|
|
|
version = "1.17.0"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-01-04 08:17:36 +00:00
|
|
|
checksum = "6f61fba1741ea2b3d6a1e3178721804bb716a68a6aeba1149b5d52e3d464ea66"
|
2022-07-16 21:49:35 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "opaque-debug"
|
|
|
|
version = "0.2.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "2839e79665f131bdb5782e51f2c6c9599c133c6098982a54c794358bf432529c"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "opaque-debug"
|
|
|
|
version = "0.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5"
|
|
|
|
|
2022-12-07 23:05:06 +00:00
|
|
|
[[package]]
|
|
|
|
name = "open-fastrlp"
|
|
|
|
version = "0.1.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "786393f80485445794f6043fd3138854dd109cc6c4bd1a6383db304c9ce9b9ce"
|
|
|
|
dependencies = [
|
|
|
|
"arrayvec 0.7.2",
|
|
|
|
"auto_impl 1.0.1",
|
|
|
|
"bytes",
|
|
|
|
"ethereum-types",
|
|
|
|
"open-fastrlp-derive",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "open-fastrlp-derive"
|
|
|
|
version = "0.1.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "003b2be5c6c53c1cfeb0a238b8a1c3915cd410feb684457a36c10038f764bb1c"
|
|
|
|
dependencies = [
|
|
|
|
"bytes",
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "openssl"
|
2022-12-21 04:12:26 +00:00
|
|
|
version = "0.10.45"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-21 04:12:26 +00:00
|
|
|
checksum = "b102428fd03bc5edf97f62620f7298614c45cedf287c271e7ed450bbaf83f2e1"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"bitflags",
|
|
|
|
"cfg-if",
|
|
|
|
"foreign-types",
|
|
|
|
"libc",
|
|
|
|
"once_cell",
|
|
|
|
"openssl-macros",
|
|
|
|
"openssl-sys",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "openssl-macros"
|
|
|
|
version = "0.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b501e44f11665960c7e7fcf062c7d96a14ade4aa98116c004b2e37b5be7d736c"
|
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "openssl-probe"
|
|
|
|
version = "0.1.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "openssl-sys"
|
2022-12-21 04:12:26 +00:00
|
|
|
version = "0.9.80"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-21 04:12:26 +00:00
|
|
|
checksum = "23bbbf7854cd45b83958ebe919f0e8e516793727652e27fda10a8384cfc790b7"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"autocfg",
|
|
|
|
"cc",
|
|
|
|
"libc",
|
|
|
|
"pkg-config",
|
|
|
|
"vcpkg",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "os_str_bytes"
|
2022-11-21 07:23:38 +00:00
|
|
|
version = "6.4.1"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-21 07:23:38 +00:00
|
|
|
checksum = "9b7820b9daea5457c9f21c69448905d723fbd21136ccf521748f23fd49e723ee"
|
2022-07-16 21:49:35 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "p256"
|
|
|
|
version = "0.11.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "51f44edd08f51e2ade572f141051021c5af22677e42b7dd28a88155151c33594"
|
|
|
|
dependencies = [
|
|
|
|
"ecdsa",
|
|
|
|
"elliptic-curve",
|
2022-09-18 19:30:38 +00:00
|
|
|
"sha2 0.10.6",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
2022-12-21 04:12:26 +00:00
|
|
|
[[package]]
|
|
|
|
name = "packed_simd_2"
|
|
|
|
version = "0.3.8"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "a1914cd452d8fccd6f9db48147b29fd4ae05bea9dc5d9ad578509f72415de282"
|
|
|
|
dependencies = [
|
|
|
|
"cfg-if",
|
|
|
|
"libm 0.1.4",
|
|
|
|
]
|
|
|
|
|
2023-01-06 00:36:49 +00:00
|
|
|
[[package]]
|
|
|
|
name = "pallet-assets"
|
|
|
|
version = "4.0.0-dev"
|
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
|
|
|
dependencies = [
|
|
|
|
"frame-benchmarking",
|
|
|
|
"frame-support",
|
|
|
|
"frame-system",
|
|
|
|
"parity-scale-codec",
|
|
|
|
"scale-info",
|
|
|
|
"sp-core",
|
|
|
|
"sp-runtime",
|
|
|
|
"sp-std",
|
|
|
|
]
|
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "pallet-balances"
|
|
|
|
version = "4.0.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"frame-benchmarking",
|
|
|
|
"frame-support",
|
|
|
|
"frame-system",
|
|
|
|
"log",
|
|
|
|
"parity-scale-codec",
|
|
|
|
"scale-info",
|
|
|
|
"sp-runtime",
|
|
|
|
"sp-std",
|
|
|
|
]
|
|
|
|
|
Initial Tendermint implementation (#145)
* Machine without timeouts
* Time code
* Move substrate/consensus/tendermint to substrate/tendermint
* Delete the old paper doc
* Refactor out external parts to generics
Also creates a dedicated file for the message log.
* Refactor <V, B> to type V, type B
* Successfully compiling
* Calculate timeouts
* Fix test
* Finish timeouts
* Misc cleanup
* Define a signature scheme trait
* Implement serialization via parity's scale codec
Ideally, this would be generic. Unfortunately, the generic API serde
doesn't natively support borsh, nor SCALE, and while there is a serde
SCALE crate, it's old. While it may be complete, it's not worth working
with.
While we could still grab bincode, and a variety of other formats, it
wasn't worth it to go custom and for Serai, we'll be using SCALE almost
everywhere anyways.
* Implement usage of the signature scheme
* Make the infinite test non-infinite
* Provide a dedicated signature in Precommit of just the block hash
Greatly simplifies verifying when syncing.
* Dedicated Commit object
Restores sig aggregation API.
* Tidy README
* Document tendermint
* Sign the ID directly instead of its SCALE encoding
For a hash, which is fixed-size, these should be the same yet this helps
move past the dependency on SCALE. It also, for any type where the two
values are different, smooths integration.
* Litany of bug fixes
Also attempts to make the code more readable while updating/correcting
documentation.
* Remove async recursion
Greatly increases safety as well by ensuring only one message is
processed at once.
* Correct timing issues
1) Commit didn't include the round, leaving the clock in question.
2) Machines started with a local time, instead of a proper start time.
3) Machines immediately started the next block instead of waiting for
the block time.
* Replace MultiSignature with sr25519::Signature
* Minor SignatureScheme API changes
* Map TM SignatureScheme to Substrate's sr25519
* Initial work on an import queue
* Properly use check_block
* Rename import to import_queue
* Implement tendermint_machine::Block for Substrate Blocks
Unfortunately, this immediately makes Tendermint machine capable of
deployment as crate since it uses a git reference. In the future, a
Cargo.toml patch section for serai/substrate should be investigated.
This is being done regardless as it's the quickest way forward and this
is for Serai.
* Dummy Weights
* Move documentation to the top of the file
* Move logic into TendermintImport itself
Multiple traits exist to verify/handle blocks. I'm unsure exactly when
each will be called in the pipeline, so the easiest solution is to have
every step run every check.
That would be extremely computationally expensive if we ran EVERY check,
yet we rely on Substrate for execution (and according checks), which are
limited to just the actual import function.
Since we're calling this code from many places, it makes sense for it to
be consolidated under TendermintImport.
* BlockImport, JustificationImport, Verifier, and import_queue function
* Update consensus/lib.rs from PoW to Tendermint
Not possible to be used as the previous consensus could. It will not
produce blocks nor does it currenly even instantiate a machine. This is
just he next step.
* Update Cargo.tomls for substrate packages
* Tendermint SelectChain
This is incompatible with Substrate's expectations, yet should be valid
for ours
* Move the node over to the new SelectChain
* Minor tweaks
* Update SelectChain documentation
* Remove substrate/node lib.rs
This shouldn't be used as a library AFAIK. While runtime should be, and
arguably should even be published, I have yet to see node in the same
way. Helps tighten API boundaries.
* Remove unused macro_use
* Replace panicking todos with stubs and // TODO
Enables progress.
* Reduce chain_spec and use more accurate naming
* Implement block proposal logic
* Modularize to get_proposal
* Trigger block importing
Doesn't wait for the response yet, which it needs to.
* Get the result of block importing
* Split import_queue into a series of files
* Provide a way to create the machine
The BasicQueue returned obscures the TendermintImport struct.
Accordingly, a Future scoped with access is returned upwards, which when
awaited will create the machine. This makes creating the machine
optional while maintaining scope boundaries.
Is sufficient to create a 1-node net which produces and finalizes
blocks.
* Don't import justifications multiple times
Also don't broadcast blocks which were solely proposed.
* Correct justication import pipeline
Removes JustificationImport as it should never be used.
* Announce blocks
By claiming File, they're not sent ovber the P2P network before they
have a justification, as desired. Unfortunately, they never were. This
works around that.
* Add an assert to verify proposed children aren't best
* Consolidate C and I generics into a TendermintClient trait alias
* Expand sanity checks
Substrate doesn't expect nor officially support children with less work
than their parents. It's a trick used here. Accordingly, ensure the
trick's validity.
* When resetting, use the end time of the round which was committed to
The machine reset to the end time of the current round. For a delayed
network connection, a machine may move ahead in rounds and only later
realize a prior round succeeded. Despite acknowledging that round's
success, it would maintain its delay when moving to the next block,
bricking it.
Done by tracking the end time for each round as they occur.
* Move Commit from including the round to including the round's end_time
The round was usable to build the current clock in an accumulated
fashion, relative to the previous round. The end time is the absolute
metric of it, which can be used to calculate the round number (with all
previous end times).
Substrate now builds off the best block, not genesis, using the end time
included in the justification to start its machine in a synchronized
state.
Knowing the end time of a round, or the round in which block was
committed to, is necessary for nodes to sync up with Tendermint.
Encoding it in the commit ensures it's long lasting and makes it readily
available, without the load of an entire transaction.
* Add a TODO on Tendermint
* Misc bug fixes
* More misc bug fixes
* Clean up lock acquisition
* Merge weights and signing scheme into validators, documenting needed changes
* Add pallet sessions to runtime, create pallet-tendermint
* Update node to use pallet sessions
* Update support URL
* Partial work on correcting pallet calls
* Redo Tendermint folder structure
* TendermintApi, compilation fixes
* Fix the stub round robin
At some point, the modulus was removed causing it to exceed the
validators list and stop proposing.
* Use the validators list from the session pallet
* Basic Gossip Validator
* Correct Substrate Tendermint start block
The Tendermint machine uses the passed in number as the block's being
worked on number. Substrate passed in the already finalized block's
number.
Also updates misc comments.
* Clean generics in Tendermint with a monolith with associated types
* Remove the Future triggering the machine for an async fn
Enables passing data in, such as the network.
* Move TendermintMachine from start_num, time to last_num, time
Provides an explicitly clear API clearer to program around.
Also adds additional time code to handle an edge case.
* Connect the Tendermint machine to a GossipEngine
* Connect broadcast
* Remove machine from TendermintImport
It's not used there at all.
* Merge Verifier into block_import.rs
These two files were largely the same, just hooking into sync structs
with almost identical imports. As this project shapes up, removing dead
weight is appreciated.
* Create a dedicated file for being a Tendermint authority
* Deleted comment code related to PoW
* Move serai_runtime specific code from tendermint/client to node
Renames serai-consensus to sc_tendermint
* Consolidate file structure in sc_tendermint
* Replace best_* with finalized_*
We test their equivalency yet still better to use finalized_* in
general.
* Consolidate references to sr25519 in sc_tendermint
* Add documentation to public structs/functions in sc_tendermint
* Add another missing comment
* Make sign asynchronous
Some relation to https://github.com/serai-dex/serai/issues/95.
* Move sc_tendermint to async sign
* Implement proper checking of inherents
* Take in a Keystore and validator ID
* Remove unnecessary PhantomDatas
* Update node to latest sc_tendermint
* Configure node for a multi-node testnet
* Fix handling of the GossipEngine
* Use a rounded genesis to obtain sufficient synchrony within the Docker env
* Correct Serai d-f names in Docker
* Remove an attempt at caching I don't believe would ever hit
* Add an already in chain check to block import
While the inner should do this for us, we call verify_order on our end
*before* inner to ensure sequential import. Accordingly, we need to
provide our own check.
Removes errors of "non-sequential import" when trying to re-import an
existing block.
* Update the consensus documentation
It was incredibly out of date.
* Add a _ to the validator arg in slash
* Make the dev profile a local testnet profile
Restores a dev profile which only has one validator, locally running.
* Reduce Arcs in TendermintMachine, split Signer from SignatureScheme
* Update sc_tendermint per previous commit
* Restore cache
* Remove error case which shouldn't be an error
* Stop returning errors on already existing blocks entirely
* Correct Dave, Eve, and Ferdie to not run as validators
* Rename dev to devnet
--dev still works thanks to the |. Acheieves a personal preference of
mine with some historical meaning.
* Add message expiry to the Tendermint gossip
* Localize the LibP2P protocol to the blockchain
Follows convention by doing so. Theoretically enables running multiple
blockchains over a single LibP2P connection.
* Add a version to sp-runtime in tendermint-machine
* Add missing trait
* Bump Substrate dependency
Fixes #147.
* Implement Schnorr half-aggregation from https://eprint.iacr.org/2021/350.pdf
Relevant to https://github.com/serai-dex/serai/issues/99.
* cargo update (tendermint)
* Move from polling loops to a pure IO model for sc_tendermint's gossip
* Correct protocol name handling
* Use futures mpsc instead of tokio
* Timeout futures
* Move from a yielding loop to select in tendermint-machine
* Update Substrate to the new TendermintHandle
* Use futures pin instead of tokio
* Only recheck blocks with non-fatal inherent transaction errors
* Update to the latest substrate
* Separate the block processing time from the latency
* Add notes to the runtime
* Don't spam slash
Also adds a slash condition of failing to propose.
* Support running TendermintMachine when not a validator
This supports validators who leave the current set, without crashing
their nodes, along with nodes trying to become validators (who will now
seamlessly transition in).
* Properly define and pass around the block size
* Correct the Duration timing
The proposer will build it, send it, then process it (on the first
round). Accordingly, it's / 3, not / 2, as / 2 only accounted for the
latter events.
* Correct time-adjustment code on round skip
* Have the machine respond to advances made by an external sync loop
* Clean up time code in tendermint-machine
* BlockData and RoundData structs
* Rename Round to RoundNumber
* Move BlockData to a new file
* Move Round to an Option due to the pseudo-uninitialized state we create
Before the addition of RoundData, we always created the round, and on
.round(0), simply created it again. With RoundData, and the changes to
the time code, we used round 0, time 0, the latter being incorrect yet
not an issue due to lack of misuse.
Now, if we do misuse it, it'll panic.
* Clear the Queue instead of draining and filtering
There shouldn't ever be a message which passes the filter under the
current design.
* BlockData::new
* Move more code into block.rs
Introduces type-aliases to obtain Data/Message/SignedMessage solely from
a Network object.
Fixes a bug regarding stepping when you're not an active validator.
* Have verify_precommit_signature return if it verified the signature
Also fixes a bug where invalid precommit signatures were left standing
and therefore contributing to commits.
* Remove the precommit signature hash
It cached signatures per-block. Precommit signatures are bound to each
round. This would lead to forming invalid commits when a commit should
be formed. Under debug, the machine would catch that and panic. On
release, it'd have everyone who wasn't a validator fail to continue
syncing.
* Slight doc changes
Also flattens the message handling function by replacing an if
containing all following code in the function with an early return for
the else case.
* Always produce notifications for finalized blocks via origin overrides
* Correct weird formatting
* Update to the latest tendermint-machine
* Manually step the Tendermint machine when we synced a block over the network
* Ignore finality notifications for old blocks
* Remove a TODO resolved in 8c51bc011d03c8d54ded05011e7f4d1a01e9f873
* Add a TODO comment to slash
Enables searching for the case-sensitive phrase and finding it.
* cargo fmt
* Use a tmp DB for Serai in Docker
* Remove panic on slash
As we move towards protonet, this can happen (if a node goes offline),
yet it happening brings down the entire net right now.
* Add log::error on slash
* created shared volume between containers
* Complete the sh scripts
* Pass in the genesis time to Substrate
* Correct block announcements
They were announced, yet not marked best.
* Correct pupulate_end_time
It was used as inclusive yet didn't work inclusively.
* Correct gossip channel jumping when a block is synced via Substrate
* Use a looser check in import_future
This triggered so it needs to be accordingly relaxed.
* Correct race conditions between add_block and step
Also corrects a <= to <.
* Update cargo deny
* rename genesis-service to genesis
* Update Cargo.lock
* Correct runtime Cargo.toml whitespace
* Correct typo
* Document recheck
* Misc lints
* Fix prev commit
* Resolve low-hanging review comments
* Mark genesis/entry-dev.sh as executable
* Prevent a commit from including the same signature multiple times
Yanks tendermint-machine 0.1.0 accordingly.
* Update to latest nightly clippy
* Improve documentation
* Use clearer variable names
* Add log statements
* Pair more log statements
* Clean TendermintAuthority::authority as possible
Merges it into new. It has way too many arguments, yet there's no clear path at
consolidation there, unfortunately.
Additionally provides better scoping within itself.
* Fix #158
Doesn't use lock_import_and_run for reasons commented (lack of async).
* Rename guard to lock
* Have the devnet use the current time as the genesis
Possible since it's only a single node, not requiring synchronization.
* Fix gossiping
I really don't know what side effect this avoids and I can't say I care at this
point.
* Misc lints
Co-authored-by: vrx00 <vrx00@proton.me>
Co-authored-by: TheArchitect108 <TheArchitect108@protonmail.com>
2022-12-03 23:38:02 +00:00
|
|
|
[[package]]
|
|
|
|
name = "pallet-session"
|
|
|
|
version = "4.0.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
Initial Tendermint implementation (#145)
* Machine without timeouts
* Time code
* Move substrate/consensus/tendermint to substrate/tendermint
* Delete the old paper doc
* Refactor out external parts to generics
Also creates a dedicated file for the message log.
* Refactor <V, B> to type V, type B
* Successfully compiling
* Calculate timeouts
* Fix test
* Finish timeouts
* Misc cleanup
* Define a signature scheme trait
* Implement serialization via parity's scale codec
Ideally, this would be generic. Unfortunately, the generic API serde
doesn't natively support borsh, nor SCALE, and while there is a serde
SCALE crate, it's old. While it may be complete, it's not worth working
with.
While we could still grab bincode, and a variety of other formats, it
wasn't worth it to go custom and for Serai, we'll be using SCALE almost
everywhere anyways.
* Implement usage of the signature scheme
* Make the infinite test non-infinite
* Provide a dedicated signature in Precommit of just the block hash
Greatly simplifies verifying when syncing.
* Dedicated Commit object
Restores sig aggregation API.
* Tidy README
* Document tendermint
* Sign the ID directly instead of its SCALE encoding
For a hash, which is fixed-size, these should be the same yet this helps
move past the dependency on SCALE. It also, for any type where the two
values are different, smooths integration.
* Litany of bug fixes
Also attempts to make the code more readable while updating/correcting
documentation.
* Remove async recursion
Greatly increases safety as well by ensuring only one message is
processed at once.
* Correct timing issues
1) Commit didn't include the round, leaving the clock in question.
2) Machines started with a local time, instead of a proper start time.
3) Machines immediately started the next block instead of waiting for
the block time.
* Replace MultiSignature with sr25519::Signature
* Minor SignatureScheme API changes
* Map TM SignatureScheme to Substrate's sr25519
* Initial work on an import queue
* Properly use check_block
* Rename import to import_queue
* Implement tendermint_machine::Block for Substrate Blocks
Unfortunately, this immediately makes Tendermint machine capable of
deployment as crate since it uses a git reference. In the future, a
Cargo.toml patch section for serai/substrate should be investigated.
This is being done regardless as it's the quickest way forward and this
is for Serai.
* Dummy Weights
* Move documentation to the top of the file
* Move logic into TendermintImport itself
Multiple traits exist to verify/handle blocks. I'm unsure exactly when
each will be called in the pipeline, so the easiest solution is to have
every step run every check.
That would be extremely computationally expensive if we ran EVERY check,
yet we rely on Substrate for execution (and according checks), which are
limited to just the actual import function.
Since we're calling this code from many places, it makes sense for it to
be consolidated under TendermintImport.
* BlockImport, JustificationImport, Verifier, and import_queue function
* Update consensus/lib.rs from PoW to Tendermint
Not possible to be used as the previous consensus could. It will not
produce blocks nor does it currenly even instantiate a machine. This is
just he next step.
* Update Cargo.tomls for substrate packages
* Tendermint SelectChain
This is incompatible with Substrate's expectations, yet should be valid
for ours
* Move the node over to the new SelectChain
* Minor tweaks
* Update SelectChain documentation
* Remove substrate/node lib.rs
This shouldn't be used as a library AFAIK. While runtime should be, and
arguably should even be published, I have yet to see node in the same
way. Helps tighten API boundaries.
* Remove unused macro_use
* Replace panicking todos with stubs and // TODO
Enables progress.
* Reduce chain_spec and use more accurate naming
* Implement block proposal logic
* Modularize to get_proposal
* Trigger block importing
Doesn't wait for the response yet, which it needs to.
* Get the result of block importing
* Split import_queue into a series of files
* Provide a way to create the machine
The BasicQueue returned obscures the TendermintImport struct.
Accordingly, a Future scoped with access is returned upwards, which when
awaited will create the machine. This makes creating the machine
optional while maintaining scope boundaries.
Is sufficient to create a 1-node net which produces and finalizes
blocks.
* Don't import justifications multiple times
Also don't broadcast blocks which were solely proposed.
* Correct justication import pipeline
Removes JustificationImport as it should never be used.
* Announce blocks
By claiming File, they're not sent ovber the P2P network before they
have a justification, as desired. Unfortunately, they never were. This
works around that.
* Add an assert to verify proposed children aren't best
* Consolidate C and I generics into a TendermintClient trait alias
* Expand sanity checks
Substrate doesn't expect nor officially support children with less work
than their parents. It's a trick used here. Accordingly, ensure the
trick's validity.
* When resetting, use the end time of the round which was committed to
The machine reset to the end time of the current round. For a delayed
network connection, a machine may move ahead in rounds and only later
realize a prior round succeeded. Despite acknowledging that round's
success, it would maintain its delay when moving to the next block,
bricking it.
Done by tracking the end time for each round as they occur.
* Move Commit from including the round to including the round's end_time
The round was usable to build the current clock in an accumulated
fashion, relative to the previous round. The end time is the absolute
metric of it, which can be used to calculate the round number (with all
previous end times).
Substrate now builds off the best block, not genesis, using the end time
included in the justification to start its machine in a synchronized
state.
Knowing the end time of a round, or the round in which block was
committed to, is necessary for nodes to sync up with Tendermint.
Encoding it in the commit ensures it's long lasting and makes it readily
available, without the load of an entire transaction.
* Add a TODO on Tendermint
* Misc bug fixes
* More misc bug fixes
* Clean up lock acquisition
* Merge weights and signing scheme into validators, documenting needed changes
* Add pallet sessions to runtime, create pallet-tendermint
* Update node to use pallet sessions
* Update support URL
* Partial work on correcting pallet calls
* Redo Tendermint folder structure
* TendermintApi, compilation fixes
* Fix the stub round robin
At some point, the modulus was removed causing it to exceed the
validators list and stop proposing.
* Use the validators list from the session pallet
* Basic Gossip Validator
* Correct Substrate Tendermint start block
The Tendermint machine uses the passed in number as the block's being
worked on number. Substrate passed in the already finalized block's
number.
Also updates misc comments.
* Clean generics in Tendermint with a monolith with associated types
* Remove the Future triggering the machine for an async fn
Enables passing data in, such as the network.
* Move TendermintMachine from start_num, time to last_num, time
Provides an explicitly clear API clearer to program around.
Also adds additional time code to handle an edge case.
* Connect the Tendermint machine to a GossipEngine
* Connect broadcast
* Remove machine from TendermintImport
It's not used there at all.
* Merge Verifier into block_import.rs
These two files were largely the same, just hooking into sync structs
with almost identical imports. As this project shapes up, removing dead
weight is appreciated.
* Create a dedicated file for being a Tendermint authority
* Deleted comment code related to PoW
* Move serai_runtime specific code from tendermint/client to node
Renames serai-consensus to sc_tendermint
* Consolidate file structure in sc_tendermint
* Replace best_* with finalized_*
We test their equivalency yet still better to use finalized_* in
general.
* Consolidate references to sr25519 in sc_tendermint
* Add documentation to public structs/functions in sc_tendermint
* Add another missing comment
* Make sign asynchronous
Some relation to https://github.com/serai-dex/serai/issues/95.
* Move sc_tendermint to async sign
* Implement proper checking of inherents
* Take in a Keystore and validator ID
* Remove unnecessary PhantomDatas
* Update node to latest sc_tendermint
* Configure node for a multi-node testnet
* Fix handling of the GossipEngine
* Use a rounded genesis to obtain sufficient synchrony within the Docker env
* Correct Serai d-f names in Docker
* Remove an attempt at caching I don't believe would ever hit
* Add an already in chain check to block import
While the inner should do this for us, we call verify_order on our end
*before* inner to ensure sequential import. Accordingly, we need to
provide our own check.
Removes errors of "non-sequential import" when trying to re-import an
existing block.
* Update the consensus documentation
It was incredibly out of date.
* Add a _ to the validator arg in slash
* Make the dev profile a local testnet profile
Restores a dev profile which only has one validator, locally running.
* Reduce Arcs in TendermintMachine, split Signer from SignatureScheme
* Update sc_tendermint per previous commit
* Restore cache
* Remove error case which shouldn't be an error
* Stop returning errors on already existing blocks entirely
* Correct Dave, Eve, and Ferdie to not run as validators
* Rename dev to devnet
--dev still works thanks to the |. Acheieves a personal preference of
mine with some historical meaning.
* Add message expiry to the Tendermint gossip
* Localize the LibP2P protocol to the blockchain
Follows convention by doing so. Theoretically enables running multiple
blockchains over a single LibP2P connection.
* Add a version to sp-runtime in tendermint-machine
* Add missing trait
* Bump Substrate dependency
Fixes #147.
* Implement Schnorr half-aggregation from https://eprint.iacr.org/2021/350.pdf
Relevant to https://github.com/serai-dex/serai/issues/99.
* cargo update (tendermint)
* Move from polling loops to a pure IO model for sc_tendermint's gossip
* Correct protocol name handling
* Use futures mpsc instead of tokio
* Timeout futures
* Move from a yielding loop to select in tendermint-machine
* Update Substrate to the new TendermintHandle
* Use futures pin instead of tokio
* Only recheck blocks with non-fatal inherent transaction errors
* Update to the latest substrate
* Separate the block processing time from the latency
* Add notes to the runtime
* Don't spam slash
Also adds a slash condition of failing to propose.
* Support running TendermintMachine when not a validator
This supports validators who leave the current set, without crashing
their nodes, along with nodes trying to become validators (who will now
seamlessly transition in).
* Properly define and pass around the block size
* Correct the Duration timing
The proposer will build it, send it, then process it (on the first
round). Accordingly, it's / 3, not / 2, as / 2 only accounted for the
latter events.
* Correct time-adjustment code on round skip
* Have the machine respond to advances made by an external sync loop
* Clean up time code in tendermint-machine
* BlockData and RoundData structs
* Rename Round to RoundNumber
* Move BlockData to a new file
* Move Round to an Option due to the pseudo-uninitialized state we create
Before the addition of RoundData, we always created the round, and on
.round(0), simply created it again. With RoundData, and the changes to
the time code, we used round 0, time 0, the latter being incorrect yet
not an issue due to lack of misuse.
Now, if we do misuse it, it'll panic.
* Clear the Queue instead of draining and filtering
There shouldn't ever be a message which passes the filter under the
current design.
* BlockData::new
* Move more code into block.rs
Introduces type-aliases to obtain Data/Message/SignedMessage solely from
a Network object.
Fixes a bug regarding stepping when you're not an active validator.
* Have verify_precommit_signature return if it verified the signature
Also fixes a bug where invalid precommit signatures were left standing
and therefore contributing to commits.
* Remove the precommit signature hash
It cached signatures per-block. Precommit signatures are bound to each
round. This would lead to forming invalid commits when a commit should
be formed. Under debug, the machine would catch that and panic. On
release, it'd have everyone who wasn't a validator fail to continue
syncing.
* Slight doc changes
Also flattens the message handling function by replacing an if
containing all following code in the function with an early return for
the else case.
* Always produce notifications for finalized blocks via origin overrides
* Correct weird formatting
* Update to the latest tendermint-machine
* Manually step the Tendermint machine when we synced a block over the network
* Ignore finality notifications for old blocks
* Remove a TODO resolved in 8c51bc011d03c8d54ded05011e7f4d1a01e9f873
* Add a TODO comment to slash
Enables searching for the case-sensitive phrase and finding it.
* cargo fmt
* Use a tmp DB for Serai in Docker
* Remove panic on slash
As we move towards protonet, this can happen (if a node goes offline),
yet it happening brings down the entire net right now.
* Add log::error on slash
* created shared volume between containers
* Complete the sh scripts
* Pass in the genesis time to Substrate
* Correct block announcements
They were announced, yet not marked best.
* Correct pupulate_end_time
It was used as inclusive yet didn't work inclusively.
* Correct gossip channel jumping when a block is synced via Substrate
* Use a looser check in import_future
This triggered so it needs to be accordingly relaxed.
* Correct race conditions between add_block and step
Also corrects a <= to <.
* Update cargo deny
* rename genesis-service to genesis
* Update Cargo.lock
* Correct runtime Cargo.toml whitespace
* Correct typo
* Document recheck
* Misc lints
* Fix prev commit
* Resolve low-hanging review comments
* Mark genesis/entry-dev.sh as executable
* Prevent a commit from including the same signature multiple times
Yanks tendermint-machine 0.1.0 accordingly.
* Update to latest nightly clippy
* Improve documentation
* Use clearer variable names
* Add log statements
* Pair more log statements
* Clean TendermintAuthority::authority as possible
Merges it into new. It has way too many arguments, yet there's no clear path at
consolidation there, unfortunately.
Additionally provides better scoping within itself.
* Fix #158
Doesn't use lock_import_and_run for reasons commented (lack of async).
* Rename guard to lock
* Have the devnet use the current time as the genesis
Possible since it's only a single node, not requiring synchronization.
* Fix gossiping
I really don't know what side effect this avoids and I can't say I care at this
point.
* Misc lints
Co-authored-by: vrx00 <vrx00@proton.me>
Co-authored-by: TheArchitect108 <TheArchitect108@protonmail.com>
2022-12-03 23:38:02 +00:00
|
|
|
dependencies = [
|
|
|
|
"frame-support",
|
|
|
|
"frame-system",
|
|
|
|
"impl-trait-for-tuples",
|
|
|
|
"log",
|
|
|
|
"pallet-timestamp",
|
|
|
|
"parity-scale-codec",
|
|
|
|
"scale-info",
|
|
|
|
"sp-core",
|
|
|
|
"sp-io",
|
|
|
|
"sp-runtime",
|
|
|
|
"sp-session",
|
|
|
|
"sp-staking",
|
|
|
|
"sp-std",
|
|
|
|
"sp-trie",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "pallet-tendermint"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
|
|
|
"frame-support",
|
|
|
|
"frame-system",
|
|
|
|
"parity-scale-codec",
|
|
|
|
"scale-info",
|
|
|
|
"sp-application-crypto",
|
|
|
|
"sp-core",
|
|
|
|
"sp-std",
|
|
|
|
]
|
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "pallet-timestamp"
|
|
|
|
version = "4.0.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"frame-benchmarking",
|
|
|
|
"frame-support",
|
|
|
|
"frame-system",
|
|
|
|
"log",
|
|
|
|
"parity-scale-codec",
|
|
|
|
"scale-info",
|
|
|
|
"sp-inherents",
|
|
|
|
"sp-io",
|
|
|
|
"sp-runtime",
|
|
|
|
"sp-std",
|
|
|
|
"sp-timestamp",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "pallet-transaction-payment"
|
|
|
|
version = "4.0.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"frame-support",
|
|
|
|
"frame-system",
|
|
|
|
"parity-scale-codec",
|
|
|
|
"scale-info",
|
|
|
|
"serde",
|
|
|
|
"sp-core",
|
|
|
|
"sp-io",
|
|
|
|
"sp-runtime",
|
|
|
|
"sp-std",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "pallet-transaction-payment-rpc"
|
|
|
|
version = "4.0.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"jsonrpsee",
|
|
|
|
"pallet-transaction-payment-rpc-runtime-api",
|
|
|
|
"parity-scale-codec",
|
|
|
|
"sp-api",
|
|
|
|
"sp-blockchain",
|
|
|
|
"sp-core",
|
|
|
|
"sp-rpc",
|
|
|
|
"sp-runtime",
|
2022-11-11 04:59:20 +00:00
|
|
|
"sp-weights",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "pallet-transaction-payment-rpc-runtime-api"
|
|
|
|
version = "4.0.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"pallet-transaction-payment",
|
|
|
|
"parity-scale-codec",
|
|
|
|
"sp-api",
|
|
|
|
"sp-runtime",
|
2022-11-11 04:59:20 +00:00
|
|
|
"sp-weights",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "parity-db"
|
2022-11-11 04:59:20 +00:00
|
|
|
version = "0.4.2"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-11 04:59:20 +00:00
|
|
|
checksum = "3a7511a0bec4a336b5929999d02b560d2439c993cccf98c26481484e811adc43"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
2022-11-11 04:59:20 +00:00
|
|
|
"blake2",
|
2022-07-16 21:49:35 +00:00
|
|
|
"crc32fast",
|
|
|
|
"fs2",
|
|
|
|
"hex",
|
|
|
|
"libc",
|
|
|
|
"log",
|
|
|
|
"lz4",
|
2022-09-18 19:30:38 +00:00
|
|
|
"memmap2",
|
|
|
|
"parking_lot 0.12.1",
|
2022-07-16 21:49:35 +00:00
|
|
|
"rand 0.8.5",
|
|
|
|
"snap",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "parity-scale-codec"
|
2022-09-18 19:30:38 +00:00
|
|
|
version = "3.2.1"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-09-18 19:30:38 +00:00
|
|
|
checksum = "366e44391a8af4cfd6002ef6ba072bae071a96aafca98d7d448a34c5dca38b6a"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"arrayvec 0.7.2",
|
|
|
|
"bitvec 1.0.1",
|
|
|
|
"byte-slice-cast",
|
2022-09-29 18:33:09 +00:00
|
|
|
"bytes",
|
2022-07-16 21:49:35 +00:00
|
|
|
"impl-trait-for-tuples",
|
|
|
|
"parity-scale-codec-derive",
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "parity-scale-codec-derive"
|
|
|
|
version = "3.1.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "9299338969a3d2f491d65f140b00ddec470858402f888af98e8642fb5e8965cd"
|
|
|
|
dependencies = [
|
2022-12-07 23:05:06 +00:00
|
|
|
"proc-macro-crate",
|
2022-07-16 21:49:35 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "parity-send-wrapper"
|
|
|
|
version = "0.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "aa9777aa91b8ad9dd5aaa04a9b6bcb02c7f1deb952fca5a66034d5e63afc5c6f"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "parity-wasm"
|
2022-09-29 18:33:09 +00:00
|
|
|
version = "0.45.0"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-09-29 18:33:09 +00:00
|
|
|
checksum = "e1ad0aff30c1da14b1254fcb2af73e1fa9a28670e584a626f53a369d0e157304"
|
2022-07-16 21:49:35 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "parking"
|
|
|
|
version = "2.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "427c3892f9e783d91cc128285287e70a59e206ca452770ece88a76f7a3eddd72"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "parking_lot"
|
|
|
|
version = "0.11.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "7d17b78036a60663b797adeaee46f5c9dfebb86948d1255007a1d6be0271ff99"
|
|
|
|
dependencies = [
|
|
|
|
"instant",
|
|
|
|
"lock_api",
|
2022-12-21 04:12:26 +00:00
|
|
|
"parking_lot_core 0.8.6",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "parking_lot"
|
|
|
|
version = "0.12.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f"
|
|
|
|
dependencies = [
|
|
|
|
"lock_api",
|
2022-12-07 22:56:53 +00:00
|
|
|
"parking_lot_core 0.9.5",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "parking_lot_core"
|
2022-12-21 04:12:26 +00:00
|
|
|
version = "0.8.6"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-21 04:12:26 +00:00
|
|
|
checksum = "60a2cfe6f0ad2bfc16aefa463b497d5c7a5ecd44a23efa72aa342d90177356dc"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"cfg-if",
|
|
|
|
"instant",
|
|
|
|
"libc",
|
|
|
|
"redox_syscall",
|
|
|
|
"smallvec",
|
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "parking_lot_core"
|
2022-12-07 22:56:53 +00:00
|
|
|
version = "0.9.5"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-07 22:56:53 +00:00
|
|
|
checksum = "7ff9f3fef3968a3ec5945535ed654cb38ff72d7495a25619e2247fb15a2ed9ba"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"cfg-if",
|
|
|
|
"libc",
|
|
|
|
"redox_syscall",
|
|
|
|
"smallvec",
|
2022-10-20 05:05:36 +00:00
|
|
|
"windows-sys 0.42.0",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "password-hash"
|
|
|
|
version = "0.4.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "7676374caaee8a325c9e7a2ae557f216c5563a171d6997b0ef8a65af35147700"
|
|
|
|
dependencies = [
|
|
|
|
"base64ct",
|
2022-09-18 19:30:38 +00:00
|
|
|
"rand_core 0.6.4",
|
2022-07-16 21:49:35 +00:00
|
|
|
"subtle",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "paste"
|
2022-12-21 04:12:26 +00:00
|
|
|
version = "1.0.11"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-21 04:12:26 +00:00
|
|
|
checksum = "d01a5bd0424d00070b0098dd17ebca6f961a959dead1dbcbbbc1d1cd8d3deeba"
|
2022-07-16 21:49:35 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "path-slash"
|
2022-08-16 07:44:32 +00:00
|
|
|
version = "0.2.1"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-08-16 07:44:32 +00:00
|
|
|
checksum = "1e91099d4268b0e11973f036e885d652fb0b21fedcf69738c627f94db6a44f42"
|
2022-07-16 21:49:35 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "pbkdf2"
|
|
|
|
version = "0.4.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "216eaa586a190f0a738f2f918511eecfa90f13295abec0e457cdebcceda80cbd"
|
|
|
|
dependencies = [
|
|
|
|
"crypto-mac 0.8.0",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "pbkdf2"
|
|
|
|
version = "0.8.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d95f5254224e617595d2cc3cc73ff0a5eaf2637519e25f03388154e9378b6ffa"
|
|
|
|
dependencies = [
|
|
|
|
"crypto-mac 0.11.1",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "pbkdf2"
|
|
|
|
version = "0.11.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "83a0692ec44e4cf1ef28ca317f14f8f07da2d95ec3fa01f86e4467b725e60917"
|
|
|
|
dependencies = [
|
2022-11-21 07:23:38 +00:00
|
|
|
"digest 0.10.6",
|
2022-07-16 21:49:35 +00:00
|
|
|
"hmac 0.12.1",
|
2022-12-07 23:05:06 +00:00
|
|
|
"password-hash",
|
2022-09-18 19:30:38 +00:00
|
|
|
"sha2 0.10.6",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "peeking_take_while"
|
|
|
|
version = "0.1.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "19b17cddbe7ec3f8bc800887bab5e717348c95ea2ca0b1bf0837fb964dc67099"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "percent-encoding"
|
2022-09-18 19:30:38 +00:00
|
|
|
version = "2.2.0"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-09-18 19:30:38 +00:00
|
|
|
checksum = "478c572c3d73181ff3c2539045f6eb99e5491218eae919370993b890cdbdd98e"
|
2022-07-16 21:49:35 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "pest"
|
2023-01-04 08:17:36 +00:00
|
|
|
version = "2.5.2"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-01-04 08:17:36 +00:00
|
|
|
checksum = "0f6e86fb9e7026527a0d46bc308b841d73170ef8f443e1807f6ef88526a816d4"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
2022-08-16 07:44:32 +00:00
|
|
|
"thiserror",
|
2022-07-16 21:49:35 +00:00
|
|
|
"ucd-trie",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "pest_derive"
|
2023-01-04 08:17:36 +00:00
|
|
|
version = "2.5.2"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-01-04 08:17:36 +00:00
|
|
|
checksum = "96504449aa860c8dcde14f9fba5c58dc6658688ca1fe363589d6327b8662c603"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"pest",
|
|
|
|
"pest_generator",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "pest_generator"
|
2023-01-04 08:17:36 +00:00
|
|
|
version = "2.5.2"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-01-04 08:17:36 +00:00
|
|
|
checksum = "798e0220d1111ae63d66cb66a5dcb3fc2d986d520b98e49e1852bfdb11d7c5e7"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"pest",
|
|
|
|
"pest_meta",
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "pest_meta"
|
2023-01-04 08:17:36 +00:00
|
|
|
version = "2.5.2"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-01-04 08:17:36 +00:00
|
|
|
checksum = "984298b75898e30a843e278a9f2452c31e349a073a0ce6fd950a12a74464e065"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
2022-08-16 07:44:32 +00:00
|
|
|
"once_cell",
|
2022-07-16 21:49:35 +00:00
|
|
|
"pest",
|
2022-09-18 19:30:38 +00:00
|
|
|
"sha1",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "petgraph"
|
|
|
|
version = "0.6.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "e6d5014253a1331579ce62aa67443b4a658c5e7dd03d4bc6d302b94474888143"
|
|
|
|
dependencies = [
|
|
|
|
"fixedbitset",
|
|
|
|
"indexmap",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "pharos"
|
|
|
|
version = "0.5.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "e9567389417feee6ce15dd6527a8a1ecac205ef62c2932bcf3d9f6fc5b78b414"
|
|
|
|
dependencies = [
|
|
|
|
"futures",
|
2023-01-05 03:52:41 +00:00
|
|
|
"rustc_version",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "phf"
|
|
|
|
version = "0.10.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "fabbf1ead8a5bcbc20f5f8b939ee3f5b0f6f281b6ad3468b84656b658b455259"
|
|
|
|
dependencies = [
|
|
|
|
"phf_macros",
|
|
|
|
"phf_shared",
|
|
|
|
"proc-macro-hack",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "phf_generator"
|
|
|
|
version = "0.10.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "5d5285893bb5eb82e6aaf5d59ee909a06a16737a8970984dd7746ba9283498d6"
|
|
|
|
dependencies = [
|
|
|
|
"phf_shared",
|
|
|
|
"rand 0.8.5",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "phf_macros"
|
|
|
|
version = "0.10.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "58fdf3184dd560f160dd73922bea2d5cd6e8f064bf4b13110abd81b03697b4e0"
|
|
|
|
dependencies = [
|
|
|
|
"phf_generator",
|
|
|
|
"phf_shared",
|
|
|
|
"proc-macro-hack",
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "phf_shared"
|
|
|
|
version = "0.10.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b6796ad771acdc0123d2a88dc428b5e38ef24456743ddb1744ed628f9815c096"
|
|
|
|
dependencies = [
|
|
|
|
"siphasher",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "pico-args"
|
|
|
|
version = "0.4.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "db8bcd96cb740d03149cbad5518db9fd87126a10ab519c011893b1754134c468"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "pin-project"
|
2022-08-16 07:44:32 +00:00
|
|
|
version = "1.0.12"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-08-16 07:44:32 +00:00
|
|
|
checksum = "ad29a609b6bcd67fee905812e544992d216af9d755757c05ed2d0e15a74c6ecc"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"pin-project-internal",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "pin-project-internal"
|
2022-08-16 07:44:32 +00:00
|
|
|
version = "1.0.12"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-08-16 07:44:32 +00:00
|
|
|
checksum = "069bdb1e05adc7a8990dce9cc75370895fbe4e3d58b9b73bf1aee56359344a55"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "pin-project-lite"
|
|
|
|
version = "0.1.12"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "257b64915a082f7811703966789728173279bdebb956b143dbcd23f6f970a777"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "pin-project-lite"
|
|
|
|
version = "0.2.9"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "e0a7ae3ac2f1173085d398531c705756c94a4c56843785df85a60c1a0afac116"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "pin-utils"
|
|
|
|
version = "0.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "pkcs8"
|
|
|
|
version = "0.9.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "9eca2c590a5f85da82668fa685c09ce2888b9430e83299debf1f34b65fd4a4ba"
|
|
|
|
dependencies = [
|
|
|
|
"der",
|
|
|
|
"spki",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "pkg-config"
|
2022-11-04 12:07:37 +00:00
|
|
|
version = "0.3.26"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-04 12:07:37 +00:00
|
|
|
checksum = "6ac9a59f73473f1b8d852421e59e64809f025994837ef743615c6d0c5b305160"
|
2022-07-16 21:49:35 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "platforms"
|
|
|
|
version = "2.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "e8d0eef3571242013a0d5dc84861c3ae4a652e56e12adf8bdc26ff5f8cb34c94"
|
|
|
|
|
2022-12-21 04:12:26 +00:00
|
|
|
[[package]]
|
|
|
|
name = "platforms"
|
|
|
|
version = "3.0.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "e3d7ddaed09e0eb771a79ab0fd64609ba0afb0a8366421957936ad14cbd13630"
|
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "polling"
|
2022-12-21 04:12:26 +00:00
|
|
|
version = "2.5.2"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-21 04:12:26 +00:00
|
|
|
checksum = "22122d5ec4f9fe1b3916419b76be1e80bcb93f618d071d2edf841b137b2a2bd6"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
2022-09-18 19:30:38 +00:00
|
|
|
"autocfg",
|
2022-07-16 21:49:35 +00:00
|
|
|
"cfg-if",
|
|
|
|
"libc",
|
|
|
|
"log",
|
|
|
|
"wepoll-ffi",
|
2022-12-07 22:56:53 +00:00
|
|
|
"windows-sys 0.42.0",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "poly1305"
|
|
|
|
version = "0.7.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "048aeb476be11a4b6ca432ca569e375810de9294ae78f4774e78ea98a9246ede"
|
|
|
|
dependencies = [
|
|
|
|
"cpufeatures",
|
|
|
|
"opaque-debug 0.3.0",
|
|
|
|
"universal-hash",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "polyval"
|
|
|
|
version = "0.5.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "8419d2b623c7c0896ff2d5d96e2cb4ede590fed28fcc34934f4c33c036e620a1"
|
|
|
|
dependencies = [
|
|
|
|
"cfg-if",
|
|
|
|
"cpufeatures",
|
|
|
|
"opaque-debug 0.3.0",
|
|
|
|
"universal-hash",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "ppv-lite86"
|
2022-11-11 04:59:20 +00:00
|
|
|
version = "0.2.17"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-11 04:59:20 +00:00
|
|
|
checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de"
|
2022-07-16 21:49:35 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "precomputed-hash"
|
|
|
|
version = "0.1.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "925383efa346730478fb4838dbe9137d2a47675ad789c546d150a6e1dd4ab31c"
|
|
|
|
|
2022-10-20 05:05:36 +00:00
|
|
|
[[package]]
|
|
|
|
name = "predicates"
|
2023-01-04 08:17:36 +00:00
|
|
|
version = "2.1.5"
|
2022-10-20 05:05:36 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-01-04 08:17:36 +00:00
|
|
|
checksum = "59230a63c37f3e18569bdb90e4a89cbf5bf8b06fea0b84e65ea10cc4df47addd"
|
2022-10-20 05:05:36 +00:00
|
|
|
dependencies = [
|
|
|
|
"difflib",
|
|
|
|
"float-cmp",
|
|
|
|
"itertools",
|
|
|
|
"normalize-line-endings",
|
|
|
|
"predicates-core",
|
|
|
|
"regex",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "predicates-core"
|
2022-11-14 09:55:00 +00:00
|
|
|
version = "1.0.5"
|
2022-10-20 05:05:36 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-14 09:55:00 +00:00
|
|
|
checksum = "72f883590242d3c6fc5bf50299011695fa6590c2c70eac95ee1bdb9a733ad1a2"
|
2022-10-20 05:05:36 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "predicates-tree"
|
2022-11-14 09:55:00 +00:00
|
|
|
version = "1.0.7"
|
2022-10-20 05:05:36 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-14 09:55:00 +00:00
|
|
|
checksum = "54ff541861505aabf6ea722d2131ee980b8276e10a1297b94e896dd8b621850d"
|
2022-10-20 05:05:36 +00:00
|
|
|
dependencies = [
|
|
|
|
"predicates-core",
|
|
|
|
"termtree",
|
|
|
|
]
|
|
|
|
|
2022-11-11 04:59:20 +00:00
|
|
|
[[package]]
|
|
|
|
name = "prettyplease"
|
2022-12-21 04:12:26 +00:00
|
|
|
version = "0.1.22"
|
2022-11-11 04:59:20 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-21 04:12:26 +00:00
|
|
|
checksum = "2c8992a85d8e93a28bdf76137db888d3874e3b230dee5ed8bebac4c9f7617773"
|
2022-11-11 04:59:20 +00:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
2022-10-20 05:05:36 +00:00
|
|
|
[[package]]
|
|
|
|
name = "primitive-types"
|
2022-11-04 12:07:37 +00:00
|
|
|
version = "0.12.1"
|
2022-10-20 05:05:36 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-04 12:07:37 +00:00
|
|
|
checksum = "9f3486ccba82358b11a77516035647c34ba167dfa53312630de83b12bd4f3d66"
|
2022-10-20 05:05:36 +00:00
|
|
|
dependencies = [
|
2022-12-07 23:05:06 +00:00
|
|
|
"fixed-hash",
|
2022-10-20 05:05:36 +00:00
|
|
|
"impl-codec",
|
2022-12-07 23:05:06 +00:00
|
|
|
"impl-rlp",
|
2023-01-05 03:52:41 +00:00
|
|
|
"impl-serde",
|
2022-07-16 21:49:35 +00:00
|
|
|
"scale-info",
|
|
|
|
"uint",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "proc-macro-crate"
|
2022-08-16 07:44:32 +00:00
|
|
|
version = "1.2.1"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-08-16 07:44:32 +00:00
|
|
|
checksum = "eda0fc3b0fb7c975631757e14d9049da17374063edb6ebbcbc54d880d4fe94e9"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
2022-08-16 07:44:32 +00:00
|
|
|
"once_cell",
|
2022-07-16 21:49:35 +00:00
|
|
|
"thiserror",
|
|
|
|
"toml",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "proc-macro-error"
|
|
|
|
version = "1.0.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c"
|
|
|
|
dependencies = [
|
|
|
|
"proc-macro-error-attr",
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
"version_check",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "proc-macro-error-attr"
|
|
|
|
version = "1.0.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869"
|
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"version_check",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "proc-macro-hack"
|
2022-12-21 04:12:26 +00:00
|
|
|
version = "0.5.20+deprecated"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-21 04:12:26 +00:00
|
|
|
checksum = "dc375e1527247fe1a97d8b7156678dfe7c1af2fc075c9a4db3690ecd2a148068"
|
2022-07-16 21:49:35 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "proc-macro2"
|
2022-12-21 04:12:26 +00:00
|
|
|
version = "1.0.49"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-21 04:12:26 +00:00
|
|
|
checksum = "57a8eca9f9c4ffde41714334dee777596264c7825420f521abc92b5b5deb63a5"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"unicode-ident",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "prometheus"
|
2022-10-22 01:40:50 +00:00
|
|
|
version = "0.13.3"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-22 01:40:50 +00:00
|
|
|
checksum = "449811d15fbdf5ceb5c1144416066429cf82316e2ec8ce0c1f6f8a02e7bbcf8c"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"cfg-if",
|
|
|
|
"fnv",
|
|
|
|
"lazy_static",
|
|
|
|
"memchr",
|
|
|
|
"parking_lot 0.12.1",
|
|
|
|
"thiserror",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "prometheus-client"
|
2022-10-20 05:05:36 +00:00
|
|
|
version = "0.18.1"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-20 05:05:36 +00:00
|
|
|
checksum = "83cd1b99916654a69008fd66b4f9397fbe08e6e51dfe23d4417acf5d3b8cb87c"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"dtoa",
|
2022-10-20 05:05:36 +00:00
|
|
|
"itoa",
|
|
|
|
"parking_lot 0.12.1",
|
2022-07-16 21:49:35 +00:00
|
|
|
"prometheus-client-derive-text-encode",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "prometheus-client-derive-text-encode"
|
2022-10-20 05:05:36 +00:00
|
|
|
version = "0.3.0"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-20 05:05:36 +00:00
|
|
|
checksum = "66a455fbcb954c1a7decf3c586e860fd7889cddf4b8e164be736dbac95a953cd"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
2022-09-29 18:33:09 +00:00
|
|
|
[[package]]
|
|
|
|
name = "prost"
|
2022-12-21 04:12:26 +00:00
|
|
|
version = "0.11.5"
|
2022-09-29 18:33:09 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-21 04:12:26 +00:00
|
|
|
checksum = "c01db6702aa05baa3f57dec92b8eeeeb4cb19e894e73996b32a4093289e54592"
|
2022-09-29 18:33:09 +00:00
|
|
|
dependencies = [
|
|
|
|
"bytes",
|
2022-10-20 05:05:36 +00:00
|
|
|
"prost-derive",
|
2022-09-29 18:33:09 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "prost-build"
|
2022-12-21 04:12:26 +00:00
|
|
|
version = "0.11.5"
|
2022-09-29 18:33:09 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-21 04:12:26 +00:00
|
|
|
checksum = "cb5320c680de74ba083512704acb90fe00f28f79207286a848e730c45dd73ed6"
|
2022-09-29 18:33:09 +00:00
|
|
|
dependencies = [
|
|
|
|
"bytes",
|
|
|
|
"heck",
|
|
|
|
"itertools",
|
|
|
|
"lazy_static",
|
|
|
|
"log",
|
|
|
|
"multimap",
|
|
|
|
"petgraph",
|
2022-11-11 04:59:20 +00:00
|
|
|
"prettyplease",
|
2022-10-20 05:05:36 +00:00
|
|
|
"prost",
|
|
|
|
"prost-types",
|
2022-07-16 21:49:35 +00:00
|
|
|
"regex",
|
2022-11-11 04:59:20 +00:00
|
|
|
"syn",
|
2022-07-16 21:49:35 +00:00
|
|
|
"tempfile",
|
|
|
|
"which",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "prost-codec"
|
2022-10-20 05:05:36 +00:00
|
|
|
version = "0.2.0"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-20 05:05:36 +00:00
|
|
|
checksum = "011ae9ff8359df7915f97302d591cdd9e0e27fbd5a4ddc5bd13b71079bb20987"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"asynchronous-codec",
|
|
|
|
"bytes",
|
2022-10-20 05:05:36 +00:00
|
|
|
"prost",
|
2022-07-16 21:49:35 +00:00
|
|
|
"thiserror",
|
|
|
|
"unsigned-varint",
|
|
|
|
]
|
|
|
|
|
2022-09-29 18:33:09 +00:00
|
|
|
[[package]]
|
|
|
|
name = "prost-derive"
|
2022-12-21 04:12:26 +00:00
|
|
|
version = "0.11.5"
|
2022-09-29 18:33:09 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-21 04:12:26 +00:00
|
|
|
checksum = "c8842bad1a5419bca14eac663ba798f6bc19c413c2fdceb5f3ba3b0932d96720"
|
2022-09-29 18:33:09 +00:00
|
|
|
dependencies = [
|
|
|
|
"anyhow",
|
|
|
|
"itertools",
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "prost-types"
|
2022-12-21 04:12:26 +00:00
|
|
|
version = "0.11.5"
|
2022-09-29 18:33:09 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-21 04:12:26 +00:00
|
|
|
checksum = "017f79637768cde62820bc2d4fe0e45daaa027755c323ad077767c6c5f173091"
|
2022-09-29 18:33:09 +00:00
|
|
|
dependencies = [
|
|
|
|
"bytes",
|
2022-10-20 05:05:36 +00:00
|
|
|
"prost",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "psm"
|
2022-09-29 18:33:09 +00:00
|
|
|
version = "0.1.21"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-09-29 18:33:09 +00:00
|
|
|
checksum = "5787f7cda34e3033a72192c018bc5883100330f362ef279a8cbccfce8bb4e874"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"cc",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "quick-error"
|
|
|
|
version = "1.2.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "quicksink"
|
|
|
|
version = "0.1.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "77de3c815e5a160b1539c6592796801df2043ae35e123b46d73380cfa57af858"
|
|
|
|
dependencies = [
|
|
|
|
"futures-core",
|
|
|
|
"futures-sink",
|
|
|
|
"pin-project-lite 0.1.12",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "quote"
|
2022-12-21 04:12:26 +00:00
|
|
|
version = "1.0.23"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-21 04:12:26 +00:00
|
|
|
checksum = "8856d8364d252a14d474036ea1358d63c9e6965c8e5c1885c18f73d70bff9c7b"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "radium"
|
|
|
|
version = "0.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "def50a86306165861203e7f84ecffbbdfdea79f0e51039b33de1e952358c47ac"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "radium"
|
|
|
|
version = "0.7.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rand"
|
|
|
|
version = "0.7.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03"
|
|
|
|
dependencies = [
|
|
|
|
"getrandom 0.1.16",
|
|
|
|
"libc",
|
|
|
|
"rand_chacha 0.2.2",
|
|
|
|
"rand_core 0.5.1",
|
|
|
|
"rand_hc",
|
|
|
|
"rand_pcg 0.2.1",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rand"
|
|
|
|
version = "0.8.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
|
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
"rand_chacha 0.3.1",
|
2022-09-18 19:30:38 +00:00
|
|
|
"rand_core 0.6.4",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rand_chacha"
|
|
|
|
version = "0.2.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402"
|
|
|
|
dependencies = [
|
|
|
|
"ppv-lite86",
|
|
|
|
"rand_core 0.5.1",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rand_chacha"
|
|
|
|
version = "0.3.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
|
|
|
|
dependencies = [
|
|
|
|
"ppv-lite86",
|
2022-09-18 19:30:38 +00:00
|
|
|
"rand_core 0.6.4",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rand_core"
|
|
|
|
version = "0.5.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19"
|
|
|
|
dependencies = [
|
|
|
|
"getrandom 0.1.16",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rand_core"
|
2022-09-18 19:30:38 +00:00
|
|
|
version = "0.6.4"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-09-18 19:30:38 +00:00
|
|
|
checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
2022-10-22 01:40:50 +00:00
|
|
|
"getrandom 0.2.8",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rand_distr"
|
|
|
|
version = "0.4.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "32cb0b9bc82b0a0876c2dd994a7e7a2683d3e7390ca40e6886785ef0c7e3ee31"
|
|
|
|
dependencies = [
|
|
|
|
"num-traits",
|
|
|
|
"rand 0.8.5",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rand_hc"
|
|
|
|
version = "0.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c"
|
|
|
|
dependencies = [
|
|
|
|
"rand_core 0.5.1",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rand_pcg"
|
|
|
|
version = "0.2.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "16abd0c1b639e9eb4d7c50c0b8100b0d0f849be2349829c740fe8e6eb4816429"
|
|
|
|
dependencies = [
|
|
|
|
"rand_core 0.5.1",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rand_pcg"
|
|
|
|
version = "0.3.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "59cad018caf63deb318e5a4586d99a24424a364f40f1e5778c29aca23f4fc73e"
|
|
|
|
dependencies = [
|
2022-09-18 19:30:38 +00:00
|
|
|
"rand_core 0.6.4",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rawpointer"
|
|
|
|
version = "0.2.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "60a357793950651c4ed0f3f52338f53b2f809f32d83a07f72909fa13e4c6c1e3"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rayon"
|
2022-12-21 04:12:26 +00:00
|
|
|
version = "1.6.1"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-21 04:12:26 +00:00
|
|
|
checksum = "6db3a213adf02b3bcfd2d3846bb41cb22857d131789e01df434fb7e7bc0759b7"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"either",
|
|
|
|
"rayon-core",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rayon-core"
|
2022-11-21 07:23:38 +00:00
|
|
|
version = "1.10.1"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-21 07:23:38 +00:00
|
|
|
checksum = "cac410af5d00ab6884528b4ab69d1e8e146e8d471201800fa1b4524126de6ad3"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"crossbeam-channel",
|
|
|
|
"crossbeam-deque",
|
|
|
|
"crossbeam-utils",
|
|
|
|
"num_cpus",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "redox_syscall"
|
2022-08-16 07:44:32 +00:00
|
|
|
version = "0.2.16"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-08-16 07:44:32 +00:00
|
|
|
checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"bitflags",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "redox_users"
|
|
|
|
version = "0.4.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b033d837a7cf162d7993aded9304e30a83213c648b6e389db233191f891e5c2b"
|
|
|
|
dependencies = [
|
2022-10-22 01:40:50 +00:00
|
|
|
"getrandom 0.2.8",
|
2022-07-16 21:49:35 +00:00
|
|
|
"redox_syscall",
|
|
|
|
"thiserror",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "ref-cast"
|
2022-12-21 04:12:26 +00:00
|
|
|
version = "1.0.14"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-21 04:12:26 +00:00
|
|
|
checksum = "8c78fb8c9293bcd48ef6fce7b4ca950ceaf21210de6e105a883ee280c0f7b9ed"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"ref-cast-impl",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "ref-cast-impl"
|
2022-12-21 04:12:26 +00:00
|
|
|
version = "1.0.14"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-21 04:12:26 +00:00
|
|
|
checksum = "9f9c0c92af03644e4806106281fe2e068ac5bc0ae74a707266d06ea27bccee5f"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "regalloc2"
|
2022-09-29 18:33:09 +00:00
|
|
|
version = "0.3.2"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-09-29 18:33:09 +00:00
|
|
|
checksum = "d43a209257d978ef079f3d446331d0f1794f5e0fc19b306a199983857833a779"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"fxhash",
|
|
|
|
"log",
|
|
|
|
"slice-group-by",
|
|
|
|
"smallvec",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "regex"
|
2022-11-11 04:59:20 +00:00
|
|
|
version = "1.7.0"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-11 04:59:20 +00:00
|
|
|
checksum = "e076559ef8e241f2ae3479e36f97bd5741c0330689e217ad51ce2c76808b868a"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"aho-corasick",
|
|
|
|
"memchr",
|
|
|
|
"regex-syntax",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "regex-automata"
|
|
|
|
version = "0.1.10"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132"
|
|
|
|
dependencies = [
|
|
|
|
"regex-syntax",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "regex-syntax"
|
2022-11-11 04:59:20 +00:00
|
|
|
version = "0.6.28"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-11 04:59:20 +00:00
|
|
|
checksum = "456c603be3e8d448b072f410900c09faf164fbce2d480456f50eea6e25f9c848"
|
2022-07-16 21:49:35 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "remove_dir_all"
|
|
|
|
version = "0.5.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "3acd125665422973a33ac9d3dd2df85edad0f4ae9b00dafb1a05e43a9f5ef8e7"
|
|
|
|
dependencies = [
|
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "reqwest"
|
2022-11-21 07:23:38 +00:00
|
|
|
version = "0.11.13"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-21 07:23:38 +00:00
|
|
|
checksum = "68cc60575865c7831548863cc02356512e3f1dc2f3f82cb837d7fc4cc8f3c97c"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
2022-10-22 01:40:50 +00:00
|
|
|
"base64 0.13.1",
|
2022-07-16 21:49:35 +00:00
|
|
|
"bytes",
|
|
|
|
"encoding_rs",
|
|
|
|
"futures-core",
|
|
|
|
"futures-util",
|
|
|
|
"h2",
|
|
|
|
"http",
|
|
|
|
"http-body",
|
|
|
|
"hyper",
|
|
|
|
"hyper-rustls",
|
|
|
|
"hyper-tls",
|
|
|
|
"ipnet",
|
|
|
|
"js-sys",
|
|
|
|
"log",
|
|
|
|
"mime",
|
|
|
|
"native-tls",
|
2022-09-29 18:33:09 +00:00
|
|
|
"once_cell",
|
2022-07-16 21:49:35 +00:00
|
|
|
"percent-encoding",
|
|
|
|
"pin-project-lite 0.2.9",
|
|
|
|
"rustls",
|
|
|
|
"rustls-pemfile",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
"serde_urlencoded",
|
|
|
|
"tokio",
|
|
|
|
"tokio-native-tls",
|
|
|
|
"tokio-rustls",
|
|
|
|
"tower-service",
|
|
|
|
"url",
|
|
|
|
"wasm-bindgen",
|
|
|
|
"wasm-bindgen-futures",
|
|
|
|
"web-sys",
|
|
|
|
"webpki-roots",
|
2022-11-14 09:55:00 +00:00
|
|
|
"winreg",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "resolv-conf"
|
|
|
|
version = "0.7.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "52e44394d2086d010551b14b53b1f24e31647570cd1deb0379e2c21b329aba00"
|
|
|
|
dependencies = [
|
|
|
|
"hostname",
|
|
|
|
"quick-error",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rfc6979"
|
2022-11-04 12:07:37 +00:00
|
|
|
version = "0.3.1"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-04 12:07:37 +00:00
|
|
|
checksum = "7743f17af12fa0b03b803ba12cd6a8d9483a587e89c69445e3909655c0b9fabb"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"crypto-bigint",
|
|
|
|
"hmac 0.12.1",
|
|
|
|
"zeroize",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "ring"
|
|
|
|
version = "0.16.20"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "3053cf52e236a3ed746dfc745aa9cacf1b791d846bdaf412f60a8d7d6e17c8fc"
|
|
|
|
dependencies = [
|
|
|
|
"cc",
|
|
|
|
"libc",
|
|
|
|
"once_cell",
|
2023-01-05 03:52:41 +00:00
|
|
|
"spin",
|
2022-07-16 21:49:35 +00:00
|
|
|
"untrusted",
|
|
|
|
"web-sys",
|
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "ripemd"
|
2022-09-29 18:33:09 +00:00
|
|
|
version = "0.1.3"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-09-29 18:33:09 +00:00
|
|
|
checksum = "bd124222d17ad93a644ed9d011a40f4fb64aa54275c08cc216524a9ea82fb09f"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
2022-11-21 07:23:38 +00:00
|
|
|
"digest 0.10.6",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rlp"
|
2022-10-22 01:40:50 +00:00
|
|
|
version = "0.5.2"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-22 01:40:50 +00:00
|
|
|
checksum = "bb919243f34364b6bd2fc10ef797edbfa75f33c252e7998527479c6d6b47e1ec"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"bytes",
|
|
|
|
"rustc-hex",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rlp-derive"
|
|
|
|
version = "0.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "e33d7b2abe0c340d8797fe2907d3f20d3b5ea5908683618bfe80df7f621f672a"
|
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rocksdb"
|
2022-10-20 05:05:36 +00:00
|
|
|
version = "0.19.0"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-20 05:05:36 +00:00
|
|
|
checksum = "7e9562ea1d70c0cc63a34a22d977753b50cca91cc6b6527750463bd5dd8697bc"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
"librocksdb-sys",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rpassword"
|
2022-12-07 22:56:53 +00:00
|
|
|
version = "7.2.0"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-07 22:56:53 +00:00
|
|
|
checksum = "6678cf63ab3491898c0d021b493c94c9b221d91295294a2a5746eacbe5928322"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
2022-12-07 22:56:53 +00:00
|
|
|
"rtoolbox",
|
2022-07-16 21:49:35 +00:00
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rtnetlink"
|
|
|
|
version = "0.10.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "322c53fd76a18698f1c27381d58091de3a043d356aa5bd0d510608b565f469a0"
|
|
|
|
dependencies = [
|
|
|
|
"async-global-executor",
|
|
|
|
"futures",
|
|
|
|
"log",
|
|
|
|
"netlink-packet-route",
|
|
|
|
"netlink-proto",
|
|
|
|
"nix",
|
|
|
|
"thiserror",
|
|
|
|
]
|
|
|
|
|
2022-12-07 22:56:53 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rtoolbox"
|
|
|
|
version = "0.0.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "034e22c514f5c0cb8a10ff341b9b048b5ceb21591f31c8f44c43b960f9b3524a"
|
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc-demangle"
|
|
|
|
version = "0.1.21"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "7ef03e0a2b150c7a90d01faf6254c9c48a41e95fb2a8c2ac1c6f0d2b9aefc342"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rustc-hash"
|
|
|
|
version = "1.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rustc-hex"
|
|
|
|
version = "2.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "3e75f6a532d0fd9f7f13144f392b6ad56a32696bfcd9c78f797f16bbb6f072d6"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rustc_version"
|
|
|
|
version = "0.4.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366"
|
|
|
|
dependencies = [
|
2022-12-21 04:12:26 +00:00
|
|
|
"semver 1.0.16",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rustix"
|
2022-11-04 12:07:37 +00:00
|
|
|
version = "0.35.13"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-04 12:07:37 +00:00
|
|
|
checksum = "727a1a6d65f786ec22df8a81ca3121107f235970dc1705ed681d3e6e8b9cd5f9"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"bitflags",
|
|
|
|
"errno",
|
2022-11-11 04:59:20 +00:00
|
|
|
"io-lifetimes 0.7.5",
|
|
|
|
"libc",
|
|
|
|
"linux-raw-sys 0.0.46",
|
|
|
|
"windows-sys 0.42.0",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rustix"
|
2023-01-04 08:17:36 +00:00
|
|
|
version = "0.36.6"
|
2022-11-11 04:59:20 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-01-04 08:17:36 +00:00
|
|
|
checksum = "4feacf7db682c6c329c4ede12649cd36ecab0f3be5b7d74e6a20304725db4549"
|
2022-11-11 04:59:20 +00:00
|
|
|
dependencies = [
|
|
|
|
"bitflags",
|
|
|
|
"errno",
|
2022-12-07 22:56:53 +00:00
|
|
|
"io-lifetimes 1.0.3",
|
2022-07-16 21:49:35 +00:00
|
|
|
"libc",
|
2022-12-21 04:12:26 +00:00
|
|
|
"linux-raw-sys 0.1.4",
|
2022-11-04 12:07:37 +00:00
|
|
|
"windows-sys 0.42.0",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rustls"
|
2022-10-20 05:05:36 +00:00
|
|
|
version = "0.20.7"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-20 05:05:36 +00:00
|
|
|
checksum = "539a2bfe908f471bfa933876bd1eb6a19cf2176d375f82ef7f99530a40e48c2c"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"log",
|
|
|
|
"ring",
|
|
|
|
"sct",
|
|
|
|
"webpki",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rustls-native-certs"
|
|
|
|
version = "0.6.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "0167bac7a9f490495f3c33013e7722b53cb087ecbe082fb0c6387c96f634ea50"
|
|
|
|
dependencies = [
|
|
|
|
"openssl-probe",
|
|
|
|
"rustls-pemfile",
|
|
|
|
"schannel",
|
|
|
|
"security-framework",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rustls-pemfile"
|
2022-08-16 07:44:32 +00:00
|
|
|
version = "1.0.1"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-08-16 07:44:32 +00:00
|
|
|
checksum = "0864aeff53f8c05aa08d86e5ef839d3dfcf07aeba2db32f12db0ef716e87bd55"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
2022-10-22 01:40:50 +00:00
|
|
|
"base64 0.13.1",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rustversion"
|
2022-12-21 04:12:26 +00:00
|
|
|
version = "1.0.11"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-21 04:12:26 +00:00
|
|
|
checksum = "5583e89e108996506031660fe09baa5011b9dd0341b89029313006d1fb508d70"
|
2022-07-16 21:49:35 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rw-stream-sink"
|
|
|
|
version = "0.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "26338f5e09bb721b85b135ea05af7767c90b52f6de4f087d4f4a3a9d64e7dc04"
|
|
|
|
dependencies = [
|
|
|
|
"futures",
|
|
|
|
"pin-project",
|
|
|
|
"static_assertions",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "ryu"
|
2022-12-21 04:12:26 +00:00
|
|
|
version = "1.0.12"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-21 04:12:26 +00:00
|
|
|
checksum = "7b4b9743ed687d4b4bcedf9ff5eaa7398495ae14e61cba0a295704edbc7decde"
|
2022-07-16 21:49:35 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "salsa20"
|
2022-12-07 23:05:06 +00:00
|
|
|
version = "0.10.2"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-07 23:05:06 +00:00
|
|
|
checksum = "97a22f5af31f73a954c10289c93e8a50cc23d971e80ee446f1f6f7137a088213"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
2022-12-07 23:05:06 +00:00
|
|
|
"cipher 0.4.3",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "same-file"
|
|
|
|
version = "1.0.6"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"
|
|
|
|
dependencies = [
|
|
|
|
"winapi-util",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sc-allocator"
|
|
|
|
version = "4.1.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"log",
|
|
|
|
"sp-core",
|
|
|
|
"sp-wasm-interface",
|
|
|
|
"thiserror",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sc-basic-authorship"
|
|
|
|
version = "0.10.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"futures",
|
|
|
|
"futures-timer",
|
|
|
|
"log",
|
|
|
|
"parity-scale-codec",
|
|
|
|
"sc-block-builder",
|
|
|
|
"sc-client-api",
|
|
|
|
"sc-proposer-metrics",
|
|
|
|
"sc-telemetry",
|
|
|
|
"sc-transaction-pool-api",
|
|
|
|
"sp-api",
|
|
|
|
"sp-blockchain",
|
|
|
|
"sp-consensus",
|
|
|
|
"sp-core",
|
|
|
|
"sp-inherents",
|
|
|
|
"sp-runtime",
|
|
|
|
"substrate-prometheus-endpoint",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sc-block-builder"
|
|
|
|
version = "0.10.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"parity-scale-codec",
|
|
|
|
"sc-client-api",
|
|
|
|
"sp-api",
|
|
|
|
"sp-block-builder",
|
|
|
|
"sp-blockchain",
|
|
|
|
"sp-core",
|
|
|
|
"sp-inherents",
|
|
|
|
"sp-runtime",
|
|
|
|
"sp-state-machine",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sc-chain-spec"
|
|
|
|
version = "4.0.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"impl-trait-for-tuples",
|
2022-09-18 19:30:38 +00:00
|
|
|
"memmap2",
|
2022-07-16 21:49:35 +00:00
|
|
|
"parity-scale-codec",
|
|
|
|
"sc-chain-spec-derive",
|
2022-09-29 18:33:09 +00:00
|
|
|
"sc-network-common",
|
2022-07-16 21:49:35 +00:00
|
|
|
"sc-telemetry",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
"sp-core",
|
|
|
|
"sp-runtime",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sc-chain-spec-derive"
|
|
|
|
version = "4.0.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
2022-12-07 23:05:06 +00:00
|
|
|
"proc-macro-crate",
|
2022-07-16 21:49:35 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sc-cli"
|
|
|
|
version = "0.10.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
2022-09-29 18:33:09 +00:00
|
|
|
"array-bytes",
|
2022-07-16 21:49:35 +00:00
|
|
|
"chrono",
|
2023-01-04 08:17:36 +00:00
|
|
|
"clap 4.0.32",
|
2022-07-16 21:49:35 +00:00
|
|
|
"fdlimit",
|
|
|
|
"futures",
|
|
|
|
"libp2p",
|
|
|
|
"log",
|
|
|
|
"names",
|
|
|
|
"parity-scale-codec",
|
|
|
|
"rand 0.7.3",
|
|
|
|
"regex",
|
|
|
|
"rpassword",
|
|
|
|
"sc-client-api",
|
|
|
|
"sc-client-db",
|
|
|
|
"sc-keystore",
|
|
|
|
"sc-network",
|
2022-09-29 18:33:09 +00:00
|
|
|
"sc-network-common",
|
2022-07-16 21:49:35 +00:00
|
|
|
"sc-service",
|
|
|
|
"sc-telemetry",
|
|
|
|
"sc-tracing",
|
|
|
|
"sc-utils",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
"sp-blockchain",
|
|
|
|
"sp-core",
|
|
|
|
"sp-keyring",
|
|
|
|
"sp-keystore",
|
|
|
|
"sp-panic-handler",
|
|
|
|
"sp-runtime",
|
|
|
|
"sp-version",
|
|
|
|
"thiserror",
|
|
|
|
"tiny-bip39",
|
|
|
|
"tokio",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sc-client-api"
|
|
|
|
version = "4.0.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"fnv",
|
|
|
|
"futures",
|
|
|
|
"hash-db",
|
|
|
|
"log",
|
|
|
|
"parity-scale-codec",
|
|
|
|
"parking_lot 0.12.1",
|
|
|
|
"sc-executor",
|
|
|
|
"sc-transaction-pool-api",
|
|
|
|
"sc-utils",
|
|
|
|
"sp-api",
|
|
|
|
"sp-blockchain",
|
|
|
|
"sp-consensus",
|
|
|
|
"sp-core",
|
|
|
|
"sp-database",
|
|
|
|
"sp-externalities",
|
|
|
|
"sp-keystore",
|
|
|
|
"sp-runtime",
|
|
|
|
"sp-state-machine",
|
|
|
|
"sp-storage",
|
|
|
|
"sp-trie",
|
|
|
|
"substrate-prometheus-endpoint",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sc-client-db"
|
|
|
|
version = "0.10.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"hash-db",
|
|
|
|
"kvdb",
|
|
|
|
"kvdb-memorydb",
|
|
|
|
"kvdb-rocksdb",
|
|
|
|
"linked-hash-map",
|
|
|
|
"log",
|
|
|
|
"parity-db",
|
|
|
|
"parity-scale-codec",
|
|
|
|
"parking_lot 0.12.1",
|
|
|
|
"sc-client-api",
|
|
|
|
"sc-state-db",
|
|
|
|
"sp-arithmetic",
|
|
|
|
"sp-blockchain",
|
|
|
|
"sp-core",
|
|
|
|
"sp-database",
|
|
|
|
"sp-runtime",
|
|
|
|
"sp-state-machine",
|
|
|
|
"sp-trie",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sc-consensus"
|
|
|
|
version = "0.10.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"async-trait",
|
|
|
|
"futures",
|
|
|
|
"futures-timer",
|
|
|
|
"libp2p",
|
|
|
|
"log",
|
2023-01-04 08:17:36 +00:00
|
|
|
"mockall",
|
2022-07-16 21:49:35 +00:00
|
|
|
"parking_lot 0.12.1",
|
|
|
|
"sc-client-api",
|
|
|
|
"sc-utils",
|
|
|
|
"serde",
|
|
|
|
"sp-api",
|
|
|
|
"sp-blockchain",
|
|
|
|
"sp-consensus",
|
|
|
|
"sp-core",
|
|
|
|
"sp-runtime",
|
|
|
|
"sp-state-machine",
|
|
|
|
"substrate-prometheus-endpoint",
|
|
|
|
"thiserror",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sc-executor"
|
|
|
|
version = "0.10.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
2022-11-11 04:59:20 +00:00
|
|
|
"lru",
|
2022-07-16 21:49:35 +00:00
|
|
|
"parity-scale-codec",
|
|
|
|
"parking_lot 0.12.1",
|
|
|
|
"sc-executor-common",
|
|
|
|
"sc-executor-wasmi",
|
|
|
|
"sc-executor-wasmtime",
|
|
|
|
"sp-api",
|
|
|
|
"sp-core",
|
|
|
|
"sp-externalities",
|
|
|
|
"sp-io",
|
|
|
|
"sp-panic-handler",
|
|
|
|
"sp-runtime-interface",
|
|
|
|
"sp-trie",
|
|
|
|
"sp-version",
|
|
|
|
"sp-wasm-interface",
|
|
|
|
"tracing",
|
2023-01-05 03:52:41 +00:00
|
|
|
"wasmi",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sc-executor-common"
|
|
|
|
version = "0.10.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"sc-allocator",
|
|
|
|
"sp-maybe-compressed-blob",
|
|
|
|
"sp-wasm-interface",
|
|
|
|
"thiserror",
|
2023-01-05 03:52:41 +00:00
|
|
|
"wasm-instrument",
|
|
|
|
"wasmi",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sc-executor-wasmi"
|
|
|
|
version = "0.10.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"log",
|
|
|
|
"sc-allocator",
|
|
|
|
"sc-executor-common",
|
|
|
|
"sp-runtime-interface",
|
|
|
|
"sp-wasm-interface",
|
2023-01-05 03:52:41 +00:00
|
|
|
"wasmi",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sc-executor-wasmtime"
|
|
|
|
version = "0.10.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"cfg-if",
|
|
|
|
"libc",
|
|
|
|
"log",
|
|
|
|
"once_cell",
|
2022-11-11 04:59:20 +00:00
|
|
|
"rustix 0.35.13",
|
2022-07-16 21:49:35 +00:00
|
|
|
"sc-allocator",
|
|
|
|
"sc-executor-common",
|
|
|
|
"sp-runtime-interface",
|
|
|
|
"sp-wasm-interface",
|
|
|
|
"wasmtime",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sc-informant"
|
|
|
|
version = "0.10.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"ansi_term",
|
|
|
|
"futures",
|
|
|
|
"futures-timer",
|
|
|
|
"log",
|
|
|
|
"sc-client-api",
|
2022-09-29 18:33:09 +00:00
|
|
|
"sc-network-common",
|
2022-07-16 21:49:35 +00:00
|
|
|
"sc-transaction-pool-api",
|
|
|
|
"sp-blockchain",
|
|
|
|
"sp-runtime",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sc-keystore"
|
|
|
|
version = "4.0.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
2022-09-29 18:33:09 +00:00
|
|
|
"array-bytes",
|
2022-07-16 21:49:35 +00:00
|
|
|
"async-trait",
|
|
|
|
"parking_lot 0.12.1",
|
|
|
|
"serde_json",
|
|
|
|
"sp-application-crypto",
|
|
|
|
"sp-core",
|
|
|
|
"sp-keystore",
|
|
|
|
"thiserror",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sc-network"
|
|
|
|
version = "0.10.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
2022-09-29 18:33:09 +00:00
|
|
|
"array-bytes",
|
2022-07-16 21:49:35 +00:00
|
|
|
"async-trait",
|
|
|
|
"asynchronous-codec",
|
|
|
|
"bitflags",
|
|
|
|
"bytes",
|
|
|
|
"cid",
|
|
|
|
"either",
|
|
|
|
"fnv",
|
|
|
|
"fork-tree",
|
|
|
|
"futures",
|
|
|
|
"futures-timer",
|
|
|
|
"ip_network",
|
|
|
|
"libp2p",
|
|
|
|
"linked-hash-map",
|
|
|
|
"linked_hash_set",
|
|
|
|
"log",
|
2022-11-11 04:59:20 +00:00
|
|
|
"lru",
|
2022-07-16 21:49:35 +00:00
|
|
|
"parity-scale-codec",
|
|
|
|
"parking_lot 0.12.1",
|
|
|
|
"pin-project",
|
2022-10-20 05:05:36 +00:00
|
|
|
"prost",
|
2022-07-16 21:49:35 +00:00
|
|
|
"rand 0.7.3",
|
|
|
|
"sc-block-builder",
|
|
|
|
"sc-client-api",
|
|
|
|
"sc-consensus",
|
|
|
|
"sc-network-common",
|
|
|
|
"sc-peerset",
|
|
|
|
"sc-utils",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
"smallvec",
|
|
|
|
"sp-arithmetic",
|
|
|
|
"sp-blockchain",
|
|
|
|
"sp-consensus",
|
|
|
|
"sp-core",
|
|
|
|
"sp-runtime",
|
|
|
|
"substrate-prometheus-endpoint",
|
|
|
|
"thiserror",
|
|
|
|
"unsigned-varint",
|
|
|
|
"zeroize",
|
|
|
|
]
|
|
|
|
|
2022-09-29 18:33:09 +00:00
|
|
|
[[package]]
|
|
|
|
name = "sc-network-bitswap"
|
|
|
|
version = "0.10.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-09-29 18:33:09 +00:00
|
|
|
dependencies = [
|
|
|
|
"cid",
|
|
|
|
"futures",
|
|
|
|
"libp2p",
|
|
|
|
"log",
|
2022-10-20 05:05:36 +00:00
|
|
|
"prost",
|
|
|
|
"prost-build",
|
2022-09-29 18:33:09 +00:00
|
|
|
"sc-client-api",
|
|
|
|
"sc-network-common",
|
|
|
|
"sp-blockchain",
|
|
|
|
"sp-runtime",
|
|
|
|
"thiserror",
|
|
|
|
"unsigned-varint",
|
|
|
|
"void",
|
|
|
|
]
|
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "sc-network-common"
|
|
|
|
version = "0.10.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
2022-09-29 18:33:09 +00:00
|
|
|
"async-trait",
|
2022-08-16 07:44:32 +00:00
|
|
|
"bitflags",
|
2022-09-29 18:33:09 +00:00
|
|
|
"bytes",
|
2022-07-16 21:49:35 +00:00
|
|
|
"futures",
|
2022-09-29 18:33:09 +00:00
|
|
|
"futures-timer",
|
2022-07-16 21:49:35 +00:00
|
|
|
"libp2p",
|
2022-09-29 18:33:09 +00:00
|
|
|
"linked_hash_set",
|
2022-07-16 21:49:35 +00:00
|
|
|
"parity-scale-codec",
|
2022-10-20 05:05:36 +00:00
|
|
|
"prost-build",
|
2022-08-16 07:44:32 +00:00
|
|
|
"sc-consensus",
|
2022-07-16 21:49:35 +00:00
|
|
|
"sc-peerset",
|
2022-09-29 18:33:09 +00:00
|
|
|
"serde",
|
2022-07-16 21:49:35 +00:00
|
|
|
"smallvec",
|
2022-09-29 18:33:09 +00:00
|
|
|
"sp-blockchain",
|
2022-08-16 07:44:32 +00:00
|
|
|
"sp-consensus",
|
|
|
|
"sp-finality-grandpa",
|
|
|
|
"sp-runtime",
|
2022-09-29 18:33:09 +00:00
|
|
|
"substrate-prometheus-endpoint",
|
|
|
|
"thiserror",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
Initial Tendermint implementation (#145)
* Machine without timeouts
* Time code
* Move substrate/consensus/tendermint to substrate/tendermint
* Delete the old paper doc
* Refactor out external parts to generics
Also creates a dedicated file for the message log.
* Refactor <V, B> to type V, type B
* Successfully compiling
* Calculate timeouts
* Fix test
* Finish timeouts
* Misc cleanup
* Define a signature scheme trait
* Implement serialization via parity's scale codec
Ideally, this would be generic. Unfortunately, the generic API serde
doesn't natively support borsh, nor SCALE, and while there is a serde
SCALE crate, it's old. While it may be complete, it's not worth working
with.
While we could still grab bincode, and a variety of other formats, it
wasn't worth it to go custom and for Serai, we'll be using SCALE almost
everywhere anyways.
* Implement usage of the signature scheme
* Make the infinite test non-infinite
* Provide a dedicated signature in Precommit of just the block hash
Greatly simplifies verifying when syncing.
* Dedicated Commit object
Restores sig aggregation API.
* Tidy README
* Document tendermint
* Sign the ID directly instead of its SCALE encoding
For a hash, which is fixed-size, these should be the same yet this helps
move past the dependency on SCALE. It also, for any type where the two
values are different, smooths integration.
* Litany of bug fixes
Also attempts to make the code more readable while updating/correcting
documentation.
* Remove async recursion
Greatly increases safety as well by ensuring only one message is
processed at once.
* Correct timing issues
1) Commit didn't include the round, leaving the clock in question.
2) Machines started with a local time, instead of a proper start time.
3) Machines immediately started the next block instead of waiting for
the block time.
* Replace MultiSignature with sr25519::Signature
* Minor SignatureScheme API changes
* Map TM SignatureScheme to Substrate's sr25519
* Initial work on an import queue
* Properly use check_block
* Rename import to import_queue
* Implement tendermint_machine::Block for Substrate Blocks
Unfortunately, this immediately makes Tendermint machine capable of
deployment as crate since it uses a git reference. In the future, a
Cargo.toml patch section for serai/substrate should be investigated.
This is being done regardless as it's the quickest way forward and this
is for Serai.
* Dummy Weights
* Move documentation to the top of the file
* Move logic into TendermintImport itself
Multiple traits exist to verify/handle blocks. I'm unsure exactly when
each will be called in the pipeline, so the easiest solution is to have
every step run every check.
That would be extremely computationally expensive if we ran EVERY check,
yet we rely on Substrate for execution (and according checks), which are
limited to just the actual import function.
Since we're calling this code from many places, it makes sense for it to
be consolidated under TendermintImport.
* BlockImport, JustificationImport, Verifier, and import_queue function
* Update consensus/lib.rs from PoW to Tendermint
Not possible to be used as the previous consensus could. It will not
produce blocks nor does it currenly even instantiate a machine. This is
just he next step.
* Update Cargo.tomls for substrate packages
* Tendermint SelectChain
This is incompatible with Substrate's expectations, yet should be valid
for ours
* Move the node over to the new SelectChain
* Minor tweaks
* Update SelectChain documentation
* Remove substrate/node lib.rs
This shouldn't be used as a library AFAIK. While runtime should be, and
arguably should even be published, I have yet to see node in the same
way. Helps tighten API boundaries.
* Remove unused macro_use
* Replace panicking todos with stubs and // TODO
Enables progress.
* Reduce chain_spec and use more accurate naming
* Implement block proposal logic
* Modularize to get_proposal
* Trigger block importing
Doesn't wait for the response yet, which it needs to.
* Get the result of block importing
* Split import_queue into a series of files
* Provide a way to create the machine
The BasicQueue returned obscures the TendermintImport struct.
Accordingly, a Future scoped with access is returned upwards, which when
awaited will create the machine. This makes creating the machine
optional while maintaining scope boundaries.
Is sufficient to create a 1-node net which produces and finalizes
blocks.
* Don't import justifications multiple times
Also don't broadcast blocks which were solely proposed.
* Correct justication import pipeline
Removes JustificationImport as it should never be used.
* Announce blocks
By claiming File, they're not sent ovber the P2P network before they
have a justification, as desired. Unfortunately, they never were. This
works around that.
* Add an assert to verify proposed children aren't best
* Consolidate C and I generics into a TendermintClient trait alias
* Expand sanity checks
Substrate doesn't expect nor officially support children with less work
than their parents. It's a trick used here. Accordingly, ensure the
trick's validity.
* When resetting, use the end time of the round which was committed to
The machine reset to the end time of the current round. For a delayed
network connection, a machine may move ahead in rounds and only later
realize a prior round succeeded. Despite acknowledging that round's
success, it would maintain its delay when moving to the next block,
bricking it.
Done by tracking the end time for each round as they occur.
* Move Commit from including the round to including the round's end_time
The round was usable to build the current clock in an accumulated
fashion, relative to the previous round. The end time is the absolute
metric of it, which can be used to calculate the round number (with all
previous end times).
Substrate now builds off the best block, not genesis, using the end time
included in the justification to start its machine in a synchronized
state.
Knowing the end time of a round, or the round in which block was
committed to, is necessary for nodes to sync up with Tendermint.
Encoding it in the commit ensures it's long lasting and makes it readily
available, without the load of an entire transaction.
* Add a TODO on Tendermint
* Misc bug fixes
* More misc bug fixes
* Clean up lock acquisition
* Merge weights and signing scheme into validators, documenting needed changes
* Add pallet sessions to runtime, create pallet-tendermint
* Update node to use pallet sessions
* Update support URL
* Partial work on correcting pallet calls
* Redo Tendermint folder structure
* TendermintApi, compilation fixes
* Fix the stub round robin
At some point, the modulus was removed causing it to exceed the
validators list and stop proposing.
* Use the validators list from the session pallet
* Basic Gossip Validator
* Correct Substrate Tendermint start block
The Tendermint machine uses the passed in number as the block's being
worked on number. Substrate passed in the already finalized block's
number.
Also updates misc comments.
* Clean generics in Tendermint with a monolith with associated types
* Remove the Future triggering the machine for an async fn
Enables passing data in, such as the network.
* Move TendermintMachine from start_num, time to last_num, time
Provides an explicitly clear API clearer to program around.
Also adds additional time code to handle an edge case.
* Connect the Tendermint machine to a GossipEngine
* Connect broadcast
* Remove machine from TendermintImport
It's not used there at all.
* Merge Verifier into block_import.rs
These two files were largely the same, just hooking into sync structs
with almost identical imports. As this project shapes up, removing dead
weight is appreciated.
* Create a dedicated file for being a Tendermint authority
* Deleted comment code related to PoW
* Move serai_runtime specific code from tendermint/client to node
Renames serai-consensus to sc_tendermint
* Consolidate file structure in sc_tendermint
* Replace best_* with finalized_*
We test their equivalency yet still better to use finalized_* in
general.
* Consolidate references to sr25519 in sc_tendermint
* Add documentation to public structs/functions in sc_tendermint
* Add another missing comment
* Make sign asynchronous
Some relation to https://github.com/serai-dex/serai/issues/95.
* Move sc_tendermint to async sign
* Implement proper checking of inherents
* Take in a Keystore and validator ID
* Remove unnecessary PhantomDatas
* Update node to latest sc_tendermint
* Configure node for a multi-node testnet
* Fix handling of the GossipEngine
* Use a rounded genesis to obtain sufficient synchrony within the Docker env
* Correct Serai d-f names in Docker
* Remove an attempt at caching I don't believe would ever hit
* Add an already in chain check to block import
While the inner should do this for us, we call verify_order on our end
*before* inner to ensure sequential import. Accordingly, we need to
provide our own check.
Removes errors of "non-sequential import" when trying to re-import an
existing block.
* Update the consensus documentation
It was incredibly out of date.
* Add a _ to the validator arg in slash
* Make the dev profile a local testnet profile
Restores a dev profile which only has one validator, locally running.
* Reduce Arcs in TendermintMachine, split Signer from SignatureScheme
* Update sc_tendermint per previous commit
* Restore cache
* Remove error case which shouldn't be an error
* Stop returning errors on already existing blocks entirely
* Correct Dave, Eve, and Ferdie to not run as validators
* Rename dev to devnet
--dev still works thanks to the |. Acheieves a personal preference of
mine with some historical meaning.
* Add message expiry to the Tendermint gossip
* Localize the LibP2P protocol to the blockchain
Follows convention by doing so. Theoretically enables running multiple
blockchains over a single LibP2P connection.
* Add a version to sp-runtime in tendermint-machine
* Add missing trait
* Bump Substrate dependency
Fixes #147.
* Implement Schnorr half-aggregation from https://eprint.iacr.org/2021/350.pdf
Relevant to https://github.com/serai-dex/serai/issues/99.
* cargo update (tendermint)
* Move from polling loops to a pure IO model for sc_tendermint's gossip
* Correct protocol name handling
* Use futures mpsc instead of tokio
* Timeout futures
* Move from a yielding loop to select in tendermint-machine
* Update Substrate to the new TendermintHandle
* Use futures pin instead of tokio
* Only recheck blocks with non-fatal inherent transaction errors
* Update to the latest substrate
* Separate the block processing time from the latency
* Add notes to the runtime
* Don't spam slash
Also adds a slash condition of failing to propose.
* Support running TendermintMachine when not a validator
This supports validators who leave the current set, without crashing
their nodes, along with nodes trying to become validators (who will now
seamlessly transition in).
* Properly define and pass around the block size
* Correct the Duration timing
The proposer will build it, send it, then process it (on the first
round). Accordingly, it's / 3, not / 2, as / 2 only accounted for the
latter events.
* Correct time-adjustment code on round skip
* Have the machine respond to advances made by an external sync loop
* Clean up time code in tendermint-machine
* BlockData and RoundData structs
* Rename Round to RoundNumber
* Move BlockData to a new file
* Move Round to an Option due to the pseudo-uninitialized state we create
Before the addition of RoundData, we always created the round, and on
.round(0), simply created it again. With RoundData, and the changes to
the time code, we used round 0, time 0, the latter being incorrect yet
not an issue due to lack of misuse.
Now, if we do misuse it, it'll panic.
* Clear the Queue instead of draining and filtering
There shouldn't ever be a message which passes the filter under the
current design.
* BlockData::new
* Move more code into block.rs
Introduces type-aliases to obtain Data/Message/SignedMessage solely from
a Network object.
Fixes a bug regarding stepping when you're not an active validator.
* Have verify_precommit_signature return if it verified the signature
Also fixes a bug where invalid precommit signatures were left standing
and therefore contributing to commits.
* Remove the precommit signature hash
It cached signatures per-block. Precommit signatures are bound to each
round. This would lead to forming invalid commits when a commit should
be formed. Under debug, the machine would catch that and panic. On
release, it'd have everyone who wasn't a validator fail to continue
syncing.
* Slight doc changes
Also flattens the message handling function by replacing an if
containing all following code in the function with an early return for
the else case.
* Always produce notifications for finalized blocks via origin overrides
* Correct weird formatting
* Update to the latest tendermint-machine
* Manually step the Tendermint machine when we synced a block over the network
* Ignore finality notifications for old blocks
* Remove a TODO resolved in 8c51bc011d03c8d54ded05011e7f4d1a01e9f873
* Add a TODO comment to slash
Enables searching for the case-sensitive phrase and finding it.
* cargo fmt
* Use a tmp DB for Serai in Docker
* Remove panic on slash
As we move towards protonet, this can happen (if a node goes offline),
yet it happening brings down the entire net right now.
* Add log::error on slash
* created shared volume between containers
* Complete the sh scripts
* Pass in the genesis time to Substrate
* Correct block announcements
They were announced, yet not marked best.
* Correct pupulate_end_time
It was used as inclusive yet didn't work inclusively.
* Correct gossip channel jumping when a block is synced via Substrate
* Use a looser check in import_future
This triggered so it needs to be accordingly relaxed.
* Correct race conditions between add_block and step
Also corrects a <= to <.
* Update cargo deny
* rename genesis-service to genesis
* Update Cargo.lock
* Correct runtime Cargo.toml whitespace
* Correct typo
* Document recheck
* Misc lints
* Fix prev commit
* Resolve low-hanging review comments
* Mark genesis/entry-dev.sh as executable
* Prevent a commit from including the same signature multiple times
Yanks tendermint-machine 0.1.0 accordingly.
* Update to latest nightly clippy
* Improve documentation
* Use clearer variable names
* Add log statements
* Pair more log statements
* Clean TendermintAuthority::authority as possible
Merges it into new. It has way too many arguments, yet there's no clear path at
consolidation there, unfortunately.
Additionally provides better scoping within itself.
* Fix #158
Doesn't use lock_import_and_run for reasons commented (lack of async).
* Rename guard to lock
* Have the devnet use the current time as the genesis
Possible since it's only a single node, not requiring synchronization.
* Fix gossiping
I really don't know what side effect this avoids and I can't say I care at this
point.
* Misc lints
Co-authored-by: vrx00 <vrx00@proton.me>
Co-authored-by: TheArchitect108 <TheArchitect108@protonmail.com>
2022-12-03 23:38:02 +00:00
|
|
|
[[package]]
|
|
|
|
name = "sc-network-gossip"
|
|
|
|
version = "0.10.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
Initial Tendermint implementation (#145)
* Machine without timeouts
* Time code
* Move substrate/consensus/tendermint to substrate/tendermint
* Delete the old paper doc
* Refactor out external parts to generics
Also creates a dedicated file for the message log.
* Refactor <V, B> to type V, type B
* Successfully compiling
* Calculate timeouts
* Fix test
* Finish timeouts
* Misc cleanup
* Define a signature scheme trait
* Implement serialization via parity's scale codec
Ideally, this would be generic. Unfortunately, the generic API serde
doesn't natively support borsh, nor SCALE, and while there is a serde
SCALE crate, it's old. While it may be complete, it's not worth working
with.
While we could still grab bincode, and a variety of other formats, it
wasn't worth it to go custom and for Serai, we'll be using SCALE almost
everywhere anyways.
* Implement usage of the signature scheme
* Make the infinite test non-infinite
* Provide a dedicated signature in Precommit of just the block hash
Greatly simplifies verifying when syncing.
* Dedicated Commit object
Restores sig aggregation API.
* Tidy README
* Document tendermint
* Sign the ID directly instead of its SCALE encoding
For a hash, which is fixed-size, these should be the same yet this helps
move past the dependency on SCALE. It also, for any type where the two
values are different, smooths integration.
* Litany of bug fixes
Also attempts to make the code more readable while updating/correcting
documentation.
* Remove async recursion
Greatly increases safety as well by ensuring only one message is
processed at once.
* Correct timing issues
1) Commit didn't include the round, leaving the clock in question.
2) Machines started with a local time, instead of a proper start time.
3) Machines immediately started the next block instead of waiting for
the block time.
* Replace MultiSignature with sr25519::Signature
* Minor SignatureScheme API changes
* Map TM SignatureScheme to Substrate's sr25519
* Initial work on an import queue
* Properly use check_block
* Rename import to import_queue
* Implement tendermint_machine::Block for Substrate Blocks
Unfortunately, this immediately makes Tendermint machine capable of
deployment as crate since it uses a git reference. In the future, a
Cargo.toml patch section for serai/substrate should be investigated.
This is being done regardless as it's the quickest way forward and this
is for Serai.
* Dummy Weights
* Move documentation to the top of the file
* Move logic into TendermintImport itself
Multiple traits exist to verify/handle blocks. I'm unsure exactly when
each will be called in the pipeline, so the easiest solution is to have
every step run every check.
That would be extremely computationally expensive if we ran EVERY check,
yet we rely on Substrate for execution (and according checks), which are
limited to just the actual import function.
Since we're calling this code from many places, it makes sense for it to
be consolidated under TendermintImport.
* BlockImport, JustificationImport, Verifier, and import_queue function
* Update consensus/lib.rs from PoW to Tendermint
Not possible to be used as the previous consensus could. It will not
produce blocks nor does it currenly even instantiate a machine. This is
just he next step.
* Update Cargo.tomls for substrate packages
* Tendermint SelectChain
This is incompatible with Substrate's expectations, yet should be valid
for ours
* Move the node over to the new SelectChain
* Minor tweaks
* Update SelectChain documentation
* Remove substrate/node lib.rs
This shouldn't be used as a library AFAIK. While runtime should be, and
arguably should even be published, I have yet to see node in the same
way. Helps tighten API boundaries.
* Remove unused macro_use
* Replace panicking todos with stubs and // TODO
Enables progress.
* Reduce chain_spec and use more accurate naming
* Implement block proposal logic
* Modularize to get_proposal
* Trigger block importing
Doesn't wait for the response yet, which it needs to.
* Get the result of block importing
* Split import_queue into a series of files
* Provide a way to create the machine
The BasicQueue returned obscures the TendermintImport struct.
Accordingly, a Future scoped with access is returned upwards, which when
awaited will create the machine. This makes creating the machine
optional while maintaining scope boundaries.
Is sufficient to create a 1-node net which produces and finalizes
blocks.
* Don't import justifications multiple times
Also don't broadcast blocks which were solely proposed.
* Correct justication import pipeline
Removes JustificationImport as it should never be used.
* Announce blocks
By claiming File, they're not sent ovber the P2P network before they
have a justification, as desired. Unfortunately, they never were. This
works around that.
* Add an assert to verify proposed children aren't best
* Consolidate C and I generics into a TendermintClient trait alias
* Expand sanity checks
Substrate doesn't expect nor officially support children with less work
than their parents. It's a trick used here. Accordingly, ensure the
trick's validity.
* When resetting, use the end time of the round which was committed to
The machine reset to the end time of the current round. For a delayed
network connection, a machine may move ahead in rounds and only later
realize a prior round succeeded. Despite acknowledging that round's
success, it would maintain its delay when moving to the next block,
bricking it.
Done by tracking the end time for each round as they occur.
* Move Commit from including the round to including the round's end_time
The round was usable to build the current clock in an accumulated
fashion, relative to the previous round. The end time is the absolute
metric of it, which can be used to calculate the round number (with all
previous end times).
Substrate now builds off the best block, not genesis, using the end time
included in the justification to start its machine in a synchronized
state.
Knowing the end time of a round, or the round in which block was
committed to, is necessary for nodes to sync up with Tendermint.
Encoding it in the commit ensures it's long lasting and makes it readily
available, without the load of an entire transaction.
* Add a TODO on Tendermint
* Misc bug fixes
* More misc bug fixes
* Clean up lock acquisition
* Merge weights and signing scheme into validators, documenting needed changes
* Add pallet sessions to runtime, create pallet-tendermint
* Update node to use pallet sessions
* Update support URL
* Partial work on correcting pallet calls
* Redo Tendermint folder structure
* TendermintApi, compilation fixes
* Fix the stub round robin
At some point, the modulus was removed causing it to exceed the
validators list and stop proposing.
* Use the validators list from the session pallet
* Basic Gossip Validator
* Correct Substrate Tendermint start block
The Tendermint machine uses the passed in number as the block's being
worked on number. Substrate passed in the already finalized block's
number.
Also updates misc comments.
* Clean generics in Tendermint with a monolith with associated types
* Remove the Future triggering the machine for an async fn
Enables passing data in, such as the network.
* Move TendermintMachine from start_num, time to last_num, time
Provides an explicitly clear API clearer to program around.
Also adds additional time code to handle an edge case.
* Connect the Tendermint machine to a GossipEngine
* Connect broadcast
* Remove machine from TendermintImport
It's not used there at all.
* Merge Verifier into block_import.rs
These two files were largely the same, just hooking into sync structs
with almost identical imports. As this project shapes up, removing dead
weight is appreciated.
* Create a dedicated file for being a Tendermint authority
* Deleted comment code related to PoW
* Move serai_runtime specific code from tendermint/client to node
Renames serai-consensus to sc_tendermint
* Consolidate file structure in sc_tendermint
* Replace best_* with finalized_*
We test their equivalency yet still better to use finalized_* in
general.
* Consolidate references to sr25519 in sc_tendermint
* Add documentation to public structs/functions in sc_tendermint
* Add another missing comment
* Make sign asynchronous
Some relation to https://github.com/serai-dex/serai/issues/95.
* Move sc_tendermint to async sign
* Implement proper checking of inherents
* Take in a Keystore and validator ID
* Remove unnecessary PhantomDatas
* Update node to latest sc_tendermint
* Configure node for a multi-node testnet
* Fix handling of the GossipEngine
* Use a rounded genesis to obtain sufficient synchrony within the Docker env
* Correct Serai d-f names in Docker
* Remove an attempt at caching I don't believe would ever hit
* Add an already in chain check to block import
While the inner should do this for us, we call verify_order on our end
*before* inner to ensure sequential import. Accordingly, we need to
provide our own check.
Removes errors of "non-sequential import" when trying to re-import an
existing block.
* Update the consensus documentation
It was incredibly out of date.
* Add a _ to the validator arg in slash
* Make the dev profile a local testnet profile
Restores a dev profile which only has one validator, locally running.
* Reduce Arcs in TendermintMachine, split Signer from SignatureScheme
* Update sc_tendermint per previous commit
* Restore cache
* Remove error case which shouldn't be an error
* Stop returning errors on already existing blocks entirely
* Correct Dave, Eve, and Ferdie to not run as validators
* Rename dev to devnet
--dev still works thanks to the |. Acheieves a personal preference of
mine with some historical meaning.
* Add message expiry to the Tendermint gossip
* Localize the LibP2P protocol to the blockchain
Follows convention by doing so. Theoretically enables running multiple
blockchains over a single LibP2P connection.
* Add a version to sp-runtime in tendermint-machine
* Add missing trait
* Bump Substrate dependency
Fixes #147.
* Implement Schnorr half-aggregation from https://eprint.iacr.org/2021/350.pdf
Relevant to https://github.com/serai-dex/serai/issues/99.
* cargo update (tendermint)
* Move from polling loops to a pure IO model for sc_tendermint's gossip
* Correct protocol name handling
* Use futures mpsc instead of tokio
* Timeout futures
* Move from a yielding loop to select in tendermint-machine
* Update Substrate to the new TendermintHandle
* Use futures pin instead of tokio
* Only recheck blocks with non-fatal inherent transaction errors
* Update to the latest substrate
* Separate the block processing time from the latency
* Add notes to the runtime
* Don't spam slash
Also adds a slash condition of failing to propose.
* Support running TendermintMachine when not a validator
This supports validators who leave the current set, without crashing
their nodes, along with nodes trying to become validators (who will now
seamlessly transition in).
* Properly define and pass around the block size
* Correct the Duration timing
The proposer will build it, send it, then process it (on the first
round). Accordingly, it's / 3, not / 2, as / 2 only accounted for the
latter events.
* Correct time-adjustment code on round skip
* Have the machine respond to advances made by an external sync loop
* Clean up time code in tendermint-machine
* BlockData and RoundData structs
* Rename Round to RoundNumber
* Move BlockData to a new file
* Move Round to an Option due to the pseudo-uninitialized state we create
Before the addition of RoundData, we always created the round, and on
.round(0), simply created it again. With RoundData, and the changes to
the time code, we used round 0, time 0, the latter being incorrect yet
not an issue due to lack of misuse.
Now, if we do misuse it, it'll panic.
* Clear the Queue instead of draining and filtering
There shouldn't ever be a message which passes the filter under the
current design.
* BlockData::new
* Move more code into block.rs
Introduces type-aliases to obtain Data/Message/SignedMessage solely from
a Network object.
Fixes a bug regarding stepping when you're not an active validator.
* Have verify_precommit_signature return if it verified the signature
Also fixes a bug where invalid precommit signatures were left standing
and therefore contributing to commits.
* Remove the precommit signature hash
It cached signatures per-block. Precommit signatures are bound to each
round. This would lead to forming invalid commits when a commit should
be formed. Under debug, the machine would catch that and panic. On
release, it'd have everyone who wasn't a validator fail to continue
syncing.
* Slight doc changes
Also flattens the message handling function by replacing an if
containing all following code in the function with an early return for
the else case.
* Always produce notifications for finalized blocks via origin overrides
* Correct weird formatting
* Update to the latest tendermint-machine
* Manually step the Tendermint machine when we synced a block over the network
* Ignore finality notifications for old blocks
* Remove a TODO resolved in 8c51bc011d03c8d54ded05011e7f4d1a01e9f873
* Add a TODO comment to slash
Enables searching for the case-sensitive phrase and finding it.
* cargo fmt
* Use a tmp DB for Serai in Docker
* Remove panic on slash
As we move towards protonet, this can happen (if a node goes offline),
yet it happening brings down the entire net right now.
* Add log::error on slash
* created shared volume between containers
* Complete the sh scripts
* Pass in the genesis time to Substrate
* Correct block announcements
They were announced, yet not marked best.
* Correct pupulate_end_time
It was used as inclusive yet didn't work inclusively.
* Correct gossip channel jumping when a block is synced via Substrate
* Use a looser check in import_future
This triggered so it needs to be accordingly relaxed.
* Correct race conditions between add_block and step
Also corrects a <= to <.
* Update cargo deny
* rename genesis-service to genesis
* Update Cargo.lock
* Correct runtime Cargo.toml whitespace
* Correct typo
* Document recheck
* Misc lints
* Fix prev commit
* Resolve low-hanging review comments
* Mark genesis/entry-dev.sh as executable
* Prevent a commit from including the same signature multiple times
Yanks tendermint-machine 0.1.0 accordingly.
* Update to latest nightly clippy
* Improve documentation
* Use clearer variable names
* Add log statements
* Pair more log statements
* Clean TendermintAuthority::authority as possible
Merges it into new. It has way too many arguments, yet there's no clear path at
consolidation there, unfortunately.
Additionally provides better scoping within itself.
* Fix #158
Doesn't use lock_import_and_run for reasons commented (lack of async).
* Rename guard to lock
* Have the devnet use the current time as the genesis
Possible since it's only a single node, not requiring synchronization.
* Fix gossiping
I really don't know what side effect this avoids and I can't say I care at this
point.
* Misc lints
Co-authored-by: vrx00 <vrx00@proton.me>
Co-authored-by: TheArchitect108 <TheArchitect108@protonmail.com>
2022-12-03 23:38:02 +00:00
|
|
|
dependencies = [
|
|
|
|
"ahash",
|
|
|
|
"futures",
|
|
|
|
"futures-timer",
|
|
|
|
"libp2p",
|
|
|
|
"log",
|
|
|
|
"lru",
|
|
|
|
"sc-network-common",
|
|
|
|
"sc-peerset",
|
|
|
|
"sp-runtime",
|
|
|
|
"substrate-prometheus-endpoint",
|
|
|
|
"tracing",
|
|
|
|
]
|
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "sc-network-light"
|
|
|
|
version = "0.10.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
2022-09-29 18:33:09 +00:00
|
|
|
"array-bytes",
|
2022-07-16 21:49:35 +00:00
|
|
|
"futures",
|
|
|
|
"libp2p",
|
|
|
|
"log",
|
|
|
|
"parity-scale-codec",
|
2022-10-20 05:05:36 +00:00
|
|
|
"prost",
|
|
|
|
"prost-build",
|
2022-07-16 21:49:35 +00:00
|
|
|
"sc-client-api",
|
|
|
|
"sc-network-common",
|
|
|
|
"sc-peerset",
|
|
|
|
"sp-blockchain",
|
|
|
|
"sp-core",
|
|
|
|
"sp-runtime",
|
|
|
|
"thiserror",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sc-network-sync"
|
|
|
|
version = "0.10.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
2022-09-29 18:33:09 +00:00
|
|
|
"array-bytes",
|
2023-01-04 08:17:36 +00:00
|
|
|
"async-trait",
|
2022-07-16 21:49:35 +00:00
|
|
|
"fork-tree",
|
|
|
|
"futures",
|
|
|
|
"libp2p",
|
|
|
|
"log",
|
2022-11-11 04:59:20 +00:00
|
|
|
"lru",
|
2022-10-20 05:05:36 +00:00
|
|
|
"mockall",
|
2022-07-16 21:49:35 +00:00
|
|
|
"parity-scale-codec",
|
2022-10-20 05:05:36 +00:00
|
|
|
"prost",
|
|
|
|
"prost-build",
|
2022-07-16 21:49:35 +00:00
|
|
|
"sc-client-api",
|
|
|
|
"sc-consensus",
|
|
|
|
"sc-network-common",
|
|
|
|
"sc-peerset",
|
2022-10-20 05:05:36 +00:00
|
|
|
"sc-utils",
|
2022-07-16 21:49:35 +00:00
|
|
|
"smallvec",
|
|
|
|
"sp-arithmetic",
|
|
|
|
"sp-blockchain",
|
|
|
|
"sp-consensus",
|
|
|
|
"sp-core",
|
|
|
|
"sp-finality-grandpa",
|
|
|
|
"sp-runtime",
|
2023-01-04 08:17:36 +00:00
|
|
|
"substrate-prometheus-endpoint",
|
2022-07-16 21:49:35 +00:00
|
|
|
"thiserror",
|
|
|
|
]
|
|
|
|
|
2022-09-29 18:33:09 +00:00
|
|
|
[[package]]
|
|
|
|
name = "sc-network-transactions"
|
|
|
|
version = "0.10.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-09-29 18:33:09 +00:00
|
|
|
dependencies = [
|
|
|
|
"array-bytes",
|
|
|
|
"futures",
|
|
|
|
"hex",
|
|
|
|
"libp2p",
|
|
|
|
"log",
|
|
|
|
"parity-scale-codec",
|
|
|
|
"pin-project",
|
|
|
|
"sc-network-common",
|
|
|
|
"sc-peerset",
|
|
|
|
"sp-consensus",
|
|
|
|
"sp-runtime",
|
|
|
|
"substrate-prometheus-endpoint",
|
|
|
|
]
|
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "sc-offchain"
|
|
|
|
version = "4.0.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
2022-09-29 18:33:09 +00:00
|
|
|
"array-bytes",
|
2022-07-16 21:49:35 +00:00
|
|
|
"bytes",
|
|
|
|
"fnv",
|
|
|
|
"futures",
|
|
|
|
"futures-timer",
|
|
|
|
"hyper",
|
|
|
|
"hyper-rustls",
|
2022-09-29 18:33:09 +00:00
|
|
|
"libp2p",
|
2022-07-16 21:49:35 +00:00
|
|
|
"num_cpus",
|
|
|
|
"once_cell",
|
|
|
|
"parity-scale-codec",
|
|
|
|
"parking_lot 0.12.1",
|
|
|
|
"rand 0.7.3",
|
|
|
|
"sc-client-api",
|
2022-09-29 18:33:09 +00:00
|
|
|
"sc-network-common",
|
|
|
|
"sc-peerset",
|
2022-07-16 21:49:35 +00:00
|
|
|
"sc-utils",
|
|
|
|
"sp-api",
|
|
|
|
"sp-core",
|
|
|
|
"sp-offchain",
|
|
|
|
"sp-runtime",
|
|
|
|
"threadpool",
|
|
|
|
"tracing",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sc-peerset"
|
|
|
|
version = "4.0.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"futures",
|
|
|
|
"libp2p",
|
|
|
|
"log",
|
|
|
|
"sc-utils",
|
|
|
|
"serde_json",
|
|
|
|
"wasm-timer",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sc-proposer-metrics"
|
|
|
|
version = "0.10.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"log",
|
|
|
|
"substrate-prometheus-endpoint",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sc-rpc"
|
|
|
|
version = "4.0.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"futures",
|
|
|
|
"hash-db",
|
|
|
|
"jsonrpsee",
|
|
|
|
"log",
|
|
|
|
"parity-scale-codec",
|
|
|
|
"parking_lot 0.12.1",
|
|
|
|
"sc-block-builder",
|
|
|
|
"sc-chain-spec",
|
|
|
|
"sc-client-api",
|
|
|
|
"sc-rpc-api",
|
|
|
|
"sc-tracing",
|
|
|
|
"sc-transaction-pool-api",
|
|
|
|
"sc-utils",
|
|
|
|
"serde_json",
|
|
|
|
"sp-api",
|
|
|
|
"sp-blockchain",
|
|
|
|
"sp-core",
|
|
|
|
"sp-keystore",
|
|
|
|
"sp-offchain",
|
|
|
|
"sp-rpc",
|
|
|
|
"sp-runtime",
|
|
|
|
"sp-session",
|
|
|
|
"sp-version",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sc-rpc-api"
|
|
|
|
version = "0.10.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"futures",
|
|
|
|
"jsonrpsee",
|
|
|
|
"log",
|
|
|
|
"parity-scale-codec",
|
|
|
|
"parking_lot 0.12.1",
|
|
|
|
"sc-chain-spec",
|
|
|
|
"sc-transaction-pool-api",
|
|
|
|
"scale-info",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
"sp-core",
|
|
|
|
"sp-rpc",
|
|
|
|
"sp-runtime",
|
|
|
|
"sp-tracing",
|
|
|
|
"sp-version",
|
|
|
|
"thiserror",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sc-rpc-server"
|
|
|
|
version = "4.0.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"futures",
|
2023-01-04 08:17:36 +00:00
|
|
|
"http",
|
2022-07-16 21:49:35 +00:00
|
|
|
"jsonrpsee",
|
|
|
|
"log",
|
|
|
|
"serde_json",
|
|
|
|
"substrate-prometheus-endpoint",
|
|
|
|
"tokio",
|
2023-01-04 08:17:36 +00:00
|
|
|
"tower",
|
|
|
|
"tower-http",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
2022-10-20 05:05:36 +00:00
|
|
|
[[package]]
|
|
|
|
name = "sc-rpc-spec-v2"
|
|
|
|
version = "0.10.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-10-20 05:05:36 +00:00
|
|
|
dependencies = [
|
|
|
|
"futures",
|
|
|
|
"hex",
|
|
|
|
"jsonrpsee",
|
|
|
|
"parity-scale-codec",
|
|
|
|
"sc-chain-spec",
|
|
|
|
"sc-transaction-pool-api",
|
|
|
|
"serde",
|
|
|
|
"sp-api",
|
|
|
|
"sp-blockchain",
|
|
|
|
"sp-core",
|
|
|
|
"sp-runtime",
|
|
|
|
"thiserror",
|
|
|
|
]
|
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "sc-service"
|
|
|
|
version = "0.10.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"async-trait",
|
|
|
|
"directories",
|
|
|
|
"exit-future",
|
|
|
|
"futures",
|
|
|
|
"futures-timer",
|
|
|
|
"hash-db",
|
|
|
|
"jsonrpsee",
|
|
|
|
"log",
|
|
|
|
"parity-scale-codec",
|
|
|
|
"parking_lot 0.12.1",
|
|
|
|
"pin-project",
|
|
|
|
"rand 0.7.3",
|
|
|
|
"sc-block-builder",
|
|
|
|
"sc-chain-spec",
|
|
|
|
"sc-client-api",
|
|
|
|
"sc-client-db",
|
|
|
|
"sc-consensus",
|
|
|
|
"sc-executor",
|
|
|
|
"sc-informant",
|
|
|
|
"sc-keystore",
|
|
|
|
"sc-network",
|
2022-09-29 18:33:09 +00:00
|
|
|
"sc-network-bitswap",
|
2022-07-16 21:49:35 +00:00
|
|
|
"sc-network-common",
|
2022-08-16 07:44:32 +00:00
|
|
|
"sc-network-light",
|
|
|
|
"sc-network-sync",
|
2022-09-29 18:33:09 +00:00
|
|
|
"sc-network-transactions",
|
2022-07-16 21:49:35 +00:00
|
|
|
"sc-offchain",
|
|
|
|
"sc-rpc",
|
|
|
|
"sc-rpc-server",
|
2022-10-20 05:05:36 +00:00
|
|
|
"sc-rpc-spec-v2",
|
2022-07-16 21:49:35 +00:00
|
|
|
"sc-sysinfo",
|
|
|
|
"sc-telemetry",
|
|
|
|
"sc-tracing",
|
|
|
|
"sc-transaction-pool",
|
|
|
|
"sc-transaction-pool-api",
|
|
|
|
"sc-utils",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
"sp-api",
|
|
|
|
"sp-application-crypto",
|
|
|
|
"sp-block-builder",
|
|
|
|
"sp-blockchain",
|
|
|
|
"sp-consensus",
|
|
|
|
"sp-core",
|
|
|
|
"sp-externalities",
|
|
|
|
"sp-inherents",
|
|
|
|
"sp-keystore",
|
|
|
|
"sp-runtime",
|
|
|
|
"sp-session",
|
|
|
|
"sp-state-machine",
|
|
|
|
"sp-storage",
|
|
|
|
"sp-tracing",
|
|
|
|
"sp-transaction-pool",
|
|
|
|
"sp-transaction-storage-proof",
|
|
|
|
"sp-trie",
|
|
|
|
"sp-version",
|
2022-09-29 18:33:09 +00:00
|
|
|
"static_init",
|
2022-07-16 21:49:35 +00:00
|
|
|
"substrate-prometheus-endpoint",
|
|
|
|
"tempfile",
|
|
|
|
"thiserror",
|
|
|
|
"tokio",
|
|
|
|
"tracing",
|
|
|
|
"tracing-futures",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sc-state-db"
|
|
|
|
version = "0.10.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"log",
|
|
|
|
"parity-scale-codec",
|
|
|
|
"parking_lot 0.12.1",
|
|
|
|
"sc-client-api",
|
|
|
|
"sp-core",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sc-sysinfo"
|
|
|
|
version = "6.0.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"futures",
|
|
|
|
"libc",
|
|
|
|
"log",
|
|
|
|
"rand 0.7.3",
|
|
|
|
"rand_pcg 0.2.1",
|
|
|
|
"regex",
|
|
|
|
"sc-telemetry",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
"sp-core",
|
|
|
|
"sp-io",
|
|
|
|
"sp-std",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sc-telemetry"
|
|
|
|
version = "4.0.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"chrono",
|
|
|
|
"futures",
|
|
|
|
"libp2p",
|
|
|
|
"log",
|
|
|
|
"parking_lot 0.12.1",
|
|
|
|
"pin-project",
|
|
|
|
"rand 0.7.3",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
"thiserror",
|
|
|
|
"wasm-timer",
|
|
|
|
]
|
|
|
|
|
Initial Tendermint implementation (#145)
* Machine without timeouts
* Time code
* Move substrate/consensus/tendermint to substrate/tendermint
* Delete the old paper doc
* Refactor out external parts to generics
Also creates a dedicated file for the message log.
* Refactor <V, B> to type V, type B
* Successfully compiling
* Calculate timeouts
* Fix test
* Finish timeouts
* Misc cleanup
* Define a signature scheme trait
* Implement serialization via parity's scale codec
Ideally, this would be generic. Unfortunately, the generic API serde
doesn't natively support borsh, nor SCALE, and while there is a serde
SCALE crate, it's old. While it may be complete, it's not worth working
with.
While we could still grab bincode, and a variety of other formats, it
wasn't worth it to go custom and for Serai, we'll be using SCALE almost
everywhere anyways.
* Implement usage of the signature scheme
* Make the infinite test non-infinite
* Provide a dedicated signature in Precommit of just the block hash
Greatly simplifies verifying when syncing.
* Dedicated Commit object
Restores sig aggregation API.
* Tidy README
* Document tendermint
* Sign the ID directly instead of its SCALE encoding
For a hash, which is fixed-size, these should be the same yet this helps
move past the dependency on SCALE. It also, for any type where the two
values are different, smooths integration.
* Litany of bug fixes
Also attempts to make the code more readable while updating/correcting
documentation.
* Remove async recursion
Greatly increases safety as well by ensuring only one message is
processed at once.
* Correct timing issues
1) Commit didn't include the round, leaving the clock in question.
2) Machines started with a local time, instead of a proper start time.
3) Machines immediately started the next block instead of waiting for
the block time.
* Replace MultiSignature with sr25519::Signature
* Minor SignatureScheme API changes
* Map TM SignatureScheme to Substrate's sr25519
* Initial work on an import queue
* Properly use check_block
* Rename import to import_queue
* Implement tendermint_machine::Block for Substrate Blocks
Unfortunately, this immediately makes Tendermint machine capable of
deployment as crate since it uses a git reference. In the future, a
Cargo.toml patch section for serai/substrate should be investigated.
This is being done regardless as it's the quickest way forward and this
is for Serai.
* Dummy Weights
* Move documentation to the top of the file
* Move logic into TendermintImport itself
Multiple traits exist to verify/handle blocks. I'm unsure exactly when
each will be called in the pipeline, so the easiest solution is to have
every step run every check.
That would be extremely computationally expensive if we ran EVERY check,
yet we rely on Substrate for execution (and according checks), which are
limited to just the actual import function.
Since we're calling this code from many places, it makes sense for it to
be consolidated under TendermintImport.
* BlockImport, JustificationImport, Verifier, and import_queue function
* Update consensus/lib.rs from PoW to Tendermint
Not possible to be used as the previous consensus could. It will not
produce blocks nor does it currenly even instantiate a machine. This is
just he next step.
* Update Cargo.tomls for substrate packages
* Tendermint SelectChain
This is incompatible with Substrate's expectations, yet should be valid
for ours
* Move the node over to the new SelectChain
* Minor tweaks
* Update SelectChain documentation
* Remove substrate/node lib.rs
This shouldn't be used as a library AFAIK. While runtime should be, and
arguably should even be published, I have yet to see node in the same
way. Helps tighten API boundaries.
* Remove unused macro_use
* Replace panicking todos with stubs and // TODO
Enables progress.
* Reduce chain_spec and use more accurate naming
* Implement block proposal logic
* Modularize to get_proposal
* Trigger block importing
Doesn't wait for the response yet, which it needs to.
* Get the result of block importing
* Split import_queue into a series of files
* Provide a way to create the machine
The BasicQueue returned obscures the TendermintImport struct.
Accordingly, a Future scoped with access is returned upwards, which when
awaited will create the machine. This makes creating the machine
optional while maintaining scope boundaries.
Is sufficient to create a 1-node net which produces and finalizes
blocks.
* Don't import justifications multiple times
Also don't broadcast blocks which were solely proposed.
* Correct justication import pipeline
Removes JustificationImport as it should never be used.
* Announce blocks
By claiming File, they're not sent ovber the P2P network before they
have a justification, as desired. Unfortunately, they never were. This
works around that.
* Add an assert to verify proposed children aren't best
* Consolidate C and I generics into a TendermintClient trait alias
* Expand sanity checks
Substrate doesn't expect nor officially support children with less work
than their parents. It's a trick used here. Accordingly, ensure the
trick's validity.
* When resetting, use the end time of the round which was committed to
The machine reset to the end time of the current round. For a delayed
network connection, a machine may move ahead in rounds and only later
realize a prior round succeeded. Despite acknowledging that round's
success, it would maintain its delay when moving to the next block,
bricking it.
Done by tracking the end time for each round as they occur.
* Move Commit from including the round to including the round's end_time
The round was usable to build the current clock in an accumulated
fashion, relative to the previous round. The end time is the absolute
metric of it, which can be used to calculate the round number (with all
previous end times).
Substrate now builds off the best block, not genesis, using the end time
included in the justification to start its machine in a synchronized
state.
Knowing the end time of a round, or the round in which block was
committed to, is necessary for nodes to sync up with Tendermint.
Encoding it in the commit ensures it's long lasting and makes it readily
available, without the load of an entire transaction.
* Add a TODO on Tendermint
* Misc bug fixes
* More misc bug fixes
* Clean up lock acquisition
* Merge weights and signing scheme into validators, documenting needed changes
* Add pallet sessions to runtime, create pallet-tendermint
* Update node to use pallet sessions
* Update support URL
* Partial work on correcting pallet calls
* Redo Tendermint folder structure
* TendermintApi, compilation fixes
* Fix the stub round robin
At some point, the modulus was removed causing it to exceed the
validators list and stop proposing.
* Use the validators list from the session pallet
* Basic Gossip Validator
* Correct Substrate Tendermint start block
The Tendermint machine uses the passed in number as the block's being
worked on number. Substrate passed in the already finalized block's
number.
Also updates misc comments.
* Clean generics in Tendermint with a monolith with associated types
* Remove the Future triggering the machine for an async fn
Enables passing data in, such as the network.
* Move TendermintMachine from start_num, time to last_num, time
Provides an explicitly clear API clearer to program around.
Also adds additional time code to handle an edge case.
* Connect the Tendermint machine to a GossipEngine
* Connect broadcast
* Remove machine from TendermintImport
It's not used there at all.
* Merge Verifier into block_import.rs
These two files were largely the same, just hooking into sync structs
with almost identical imports. As this project shapes up, removing dead
weight is appreciated.
* Create a dedicated file for being a Tendermint authority
* Deleted comment code related to PoW
* Move serai_runtime specific code from tendermint/client to node
Renames serai-consensus to sc_tendermint
* Consolidate file structure in sc_tendermint
* Replace best_* with finalized_*
We test their equivalency yet still better to use finalized_* in
general.
* Consolidate references to sr25519 in sc_tendermint
* Add documentation to public structs/functions in sc_tendermint
* Add another missing comment
* Make sign asynchronous
Some relation to https://github.com/serai-dex/serai/issues/95.
* Move sc_tendermint to async sign
* Implement proper checking of inherents
* Take in a Keystore and validator ID
* Remove unnecessary PhantomDatas
* Update node to latest sc_tendermint
* Configure node for a multi-node testnet
* Fix handling of the GossipEngine
* Use a rounded genesis to obtain sufficient synchrony within the Docker env
* Correct Serai d-f names in Docker
* Remove an attempt at caching I don't believe would ever hit
* Add an already in chain check to block import
While the inner should do this for us, we call verify_order on our end
*before* inner to ensure sequential import. Accordingly, we need to
provide our own check.
Removes errors of "non-sequential import" when trying to re-import an
existing block.
* Update the consensus documentation
It was incredibly out of date.
* Add a _ to the validator arg in slash
* Make the dev profile a local testnet profile
Restores a dev profile which only has one validator, locally running.
* Reduce Arcs in TendermintMachine, split Signer from SignatureScheme
* Update sc_tendermint per previous commit
* Restore cache
* Remove error case which shouldn't be an error
* Stop returning errors on already existing blocks entirely
* Correct Dave, Eve, and Ferdie to not run as validators
* Rename dev to devnet
--dev still works thanks to the |. Acheieves a personal preference of
mine with some historical meaning.
* Add message expiry to the Tendermint gossip
* Localize the LibP2P protocol to the blockchain
Follows convention by doing so. Theoretically enables running multiple
blockchains over a single LibP2P connection.
* Add a version to sp-runtime in tendermint-machine
* Add missing trait
* Bump Substrate dependency
Fixes #147.
* Implement Schnorr half-aggregation from https://eprint.iacr.org/2021/350.pdf
Relevant to https://github.com/serai-dex/serai/issues/99.
* cargo update (tendermint)
* Move from polling loops to a pure IO model for sc_tendermint's gossip
* Correct protocol name handling
* Use futures mpsc instead of tokio
* Timeout futures
* Move from a yielding loop to select in tendermint-machine
* Update Substrate to the new TendermintHandle
* Use futures pin instead of tokio
* Only recheck blocks with non-fatal inherent transaction errors
* Update to the latest substrate
* Separate the block processing time from the latency
* Add notes to the runtime
* Don't spam slash
Also adds a slash condition of failing to propose.
* Support running TendermintMachine when not a validator
This supports validators who leave the current set, without crashing
their nodes, along with nodes trying to become validators (who will now
seamlessly transition in).
* Properly define and pass around the block size
* Correct the Duration timing
The proposer will build it, send it, then process it (on the first
round). Accordingly, it's / 3, not / 2, as / 2 only accounted for the
latter events.
* Correct time-adjustment code on round skip
* Have the machine respond to advances made by an external sync loop
* Clean up time code in tendermint-machine
* BlockData and RoundData structs
* Rename Round to RoundNumber
* Move BlockData to a new file
* Move Round to an Option due to the pseudo-uninitialized state we create
Before the addition of RoundData, we always created the round, and on
.round(0), simply created it again. With RoundData, and the changes to
the time code, we used round 0, time 0, the latter being incorrect yet
not an issue due to lack of misuse.
Now, if we do misuse it, it'll panic.
* Clear the Queue instead of draining and filtering
There shouldn't ever be a message which passes the filter under the
current design.
* BlockData::new
* Move more code into block.rs
Introduces type-aliases to obtain Data/Message/SignedMessage solely from
a Network object.
Fixes a bug regarding stepping when you're not an active validator.
* Have verify_precommit_signature return if it verified the signature
Also fixes a bug where invalid precommit signatures were left standing
and therefore contributing to commits.
* Remove the precommit signature hash
It cached signatures per-block. Precommit signatures are bound to each
round. This would lead to forming invalid commits when a commit should
be formed. Under debug, the machine would catch that and panic. On
release, it'd have everyone who wasn't a validator fail to continue
syncing.
* Slight doc changes
Also flattens the message handling function by replacing an if
containing all following code in the function with an early return for
the else case.
* Always produce notifications for finalized blocks via origin overrides
* Correct weird formatting
* Update to the latest tendermint-machine
* Manually step the Tendermint machine when we synced a block over the network
* Ignore finality notifications for old blocks
* Remove a TODO resolved in 8c51bc011d03c8d54ded05011e7f4d1a01e9f873
* Add a TODO comment to slash
Enables searching for the case-sensitive phrase and finding it.
* cargo fmt
* Use a tmp DB for Serai in Docker
* Remove panic on slash
As we move towards protonet, this can happen (if a node goes offline),
yet it happening brings down the entire net right now.
* Add log::error on slash
* created shared volume between containers
* Complete the sh scripts
* Pass in the genesis time to Substrate
* Correct block announcements
They were announced, yet not marked best.
* Correct pupulate_end_time
It was used as inclusive yet didn't work inclusively.
* Correct gossip channel jumping when a block is synced via Substrate
* Use a looser check in import_future
This triggered so it needs to be accordingly relaxed.
* Correct race conditions between add_block and step
Also corrects a <= to <.
* Update cargo deny
* rename genesis-service to genesis
* Update Cargo.lock
* Correct runtime Cargo.toml whitespace
* Correct typo
* Document recheck
* Misc lints
* Fix prev commit
* Resolve low-hanging review comments
* Mark genesis/entry-dev.sh as executable
* Prevent a commit from including the same signature multiple times
Yanks tendermint-machine 0.1.0 accordingly.
* Update to latest nightly clippy
* Improve documentation
* Use clearer variable names
* Add log statements
* Pair more log statements
* Clean TendermintAuthority::authority as possible
Merges it into new. It has way too many arguments, yet there's no clear path at
consolidation there, unfortunately.
Additionally provides better scoping within itself.
* Fix #158
Doesn't use lock_import_and_run for reasons commented (lack of async).
* Rename guard to lock
* Have the devnet use the current time as the genesis
Possible since it's only a single node, not requiring synchronization.
* Fix gossiping
I really don't know what side effect this avoids and I can't say I care at this
point.
* Misc lints
Co-authored-by: vrx00 <vrx00@proton.me>
Co-authored-by: TheArchitect108 <TheArchitect108@protonmail.com>
2022-12-03 23:38:02 +00:00
|
|
|
[[package]]
|
|
|
|
name = "sc-tendermint"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
|
|
|
"async-trait",
|
|
|
|
"futures",
|
|
|
|
"hex",
|
|
|
|
"log",
|
|
|
|
"sc-block-builder",
|
|
|
|
"sc-client-api",
|
|
|
|
"sc-consensus",
|
|
|
|
"sc-executor",
|
|
|
|
"sc-network",
|
|
|
|
"sc-network-common",
|
|
|
|
"sc-network-gossip",
|
|
|
|
"sc-service",
|
|
|
|
"sc-transaction-pool",
|
|
|
|
"sp-api",
|
|
|
|
"sp-application-crypto",
|
|
|
|
"sp-blockchain",
|
|
|
|
"sp-consensus",
|
|
|
|
"sp-core",
|
|
|
|
"sp-inherents",
|
|
|
|
"sp-keystore",
|
|
|
|
"sp-runtime",
|
|
|
|
"sp-staking",
|
|
|
|
"sp-tendermint",
|
|
|
|
"substrate-prometheus-endpoint",
|
|
|
|
"tendermint-machine",
|
|
|
|
"tokio",
|
|
|
|
]
|
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "sc-tracing"
|
|
|
|
version = "4.0.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"ansi_term",
|
|
|
|
"atty",
|
|
|
|
"chrono",
|
|
|
|
"lazy_static",
|
|
|
|
"libc",
|
|
|
|
"log",
|
|
|
|
"once_cell",
|
|
|
|
"parking_lot 0.12.1",
|
|
|
|
"regex",
|
|
|
|
"rustc-hash",
|
|
|
|
"sc-client-api",
|
|
|
|
"sc-rpc-server",
|
|
|
|
"sc-tracing-proc-macro",
|
|
|
|
"serde",
|
|
|
|
"sp-api",
|
|
|
|
"sp-blockchain",
|
|
|
|
"sp-core",
|
|
|
|
"sp-rpc",
|
|
|
|
"sp-runtime",
|
|
|
|
"sp-tracing",
|
|
|
|
"thiserror",
|
|
|
|
"tracing",
|
|
|
|
"tracing-log",
|
|
|
|
"tracing-subscriber",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sc-tracing-proc-macro"
|
|
|
|
version = "4.0.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
2022-12-07 23:05:06 +00:00
|
|
|
"proc-macro-crate",
|
2022-07-16 21:49:35 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sc-transaction-pool"
|
|
|
|
version = "4.0.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
2022-10-20 05:05:36 +00:00
|
|
|
"async-trait",
|
2022-07-16 21:49:35 +00:00
|
|
|
"futures",
|
|
|
|
"futures-timer",
|
|
|
|
"linked-hash-map",
|
|
|
|
"log",
|
|
|
|
"parity-scale-codec",
|
|
|
|
"parking_lot 0.12.1",
|
|
|
|
"sc-client-api",
|
|
|
|
"sc-transaction-pool-api",
|
|
|
|
"sc-utils",
|
|
|
|
"serde",
|
|
|
|
"sp-api",
|
|
|
|
"sp-blockchain",
|
|
|
|
"sp-core",
|
|
|
|
"sp-runtime",
|
|
|
|
"sp-tracing",
|
|
|
|
"sp-transaction-pool",
|
|
|
|
"substrate-prometheus-endpoint",
|
|
|
|
"thiserror",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sc-transaction-pool-api"
|
|
|
|
version = "4.0.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
2022-10-20 05:05:36 +00:00
|
|
|
"async-trait",
|
2022-07-16 21:49:35 +00:00
|
|
|
"futures",
|
|
|
|
"log",
|
|
|
|
"serde",
|
|
|
|
"sp-blockchain",
|
|
|
|
"sp-runtime",
|
|
|
|
"thiserror",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sc-utils"
|
|
|
|
version = "4.0.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"futures",
|
|
|
|
"futures-timer",
|
|
|
|
"lazy_static",
|
|
|
|
"log",
|
|
|
|
"parking_lot 0.12.1",
|
|
|
|
"prometheus",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "scale-info"
|
2022-12-21 04:12:26 +00:00
|
|
|
version = "2.3.1"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-21 04:12:26 +00:00
|
|
|
checksum = "001cf62ece89779fd16105b5f515ad0e5cedcd5440d3dd806bb067978e7c3608"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"bitvec 1.0.1",
|
|
|
|
"cfg-if",
|
|
|
|
"derive_more",
|
|
|
|
"parity-scale-codec",
|
|
|
|
"scale-info-derive",
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "scale-info-derive"
|
2022-12-21 04:12:26 +00:00
|
|
|
version = "2.3.1"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-21 04:12:26 +00:00
|
|
|
checksum = "303959cf613a6f6efd19ed4b4ad5bf79966a13352716299ad532cfb115f4205c"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
2022-12-07 23:05:06 +00:00
|
|
|
"proc-macro-crate",
|
2022-07-16 21:49:35 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "schannel"
|
|
|
|
version = "0.1.20"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "88d6731146462ea25d9244b2ed5fd1d716d25c52e4d54aa4fb0f3c4e9854dbe2"
|
|
|
|
dependencies = [
|
|
|
|
"lazy_static",
|
2022-10-20 05:05:36 +00:00
|
|
|
"windows-sys 0.36.1",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
2022-10-29 08:54:42 +00:00
|
|
|
[[package]]
|
|
|
|
name = "schnorr-signatures"
|
2022-11-11 03:35:09 +00:00
|
|
|
version = "0.2.0"
|
2022-10-29 08:54:42 +00:00
|
|
|
dependencies = [
|
2022-11-04 11:54:18 +00:00
|
|
|
"blake2",
|
2022-10-29 08:54:42 +00:00
|
|
|
"ciphersuite",
|
|
|
|
"dalek-ff-group",
|
2022-11-21 07:23:38 +00:00
|
|
|
"digest 0.10.6",
|
2022-10-29 08:54:42 +00:00
|
|
|
"group",
|
|
|
|
"multiexp",
|
|
|
|
"rand_core 0.6.4",
|
|
|
|
"zeroize",
|
|
|
|
]
|
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "schnorrkel"
|
|
|
|
version = "0.9.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "021b403afe70d81eea68f6ea12f6b3c9588e5d536a94c3bf80f15e7faa267862"
|
|
|
|
dependencies = [
|
|
|
|
"arrayref",
|
|
|
|
"arrayvec 0.5.2",
|
|
|
|
"curve25519-dalek 2.1.3",
|
|
|
|
"getrandom 0.1.16",
|
|
|
|
"merlin 2.0.1",
|
|
|
|
"rand 0.7.3",
|
|
|
|
"rand_core 0.5.1",
|
|
|
|
"sha2 0.8.2",
|
|
|
|
"subtle",
|
|
|
|
"zeroize",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "scopeguard"
|
|
|
|
version = "1.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd"
|
|
|
|
|
2022-10-20 05:05:36 +00:00
|
|
|
[[package]]
|
|
|
|
name = "scratch"
|
2022-12-21 04:12:26 +00:00
|
|
|
version = "1.0.3"
|
2022-10-20 05:05:36 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-21 04:12:26 +00:00
|
|
|
checksum = "ddccb15bcce173023b3fedd9436f882a0739b8dfb45e4f6b6002bee5929f61b2"
|
2022-10-20 05:05:36 +00:00
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "scrypt"
|
2022-12-07 23:05:06 +00:00
|
|
|
version = "0.10.0"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-07 23:05:06 +00:00
|
|
|
checksum = "9f9e24d2b632954ded8ab2ef9fea0a0c769ea56ea98bddbafbad22caeeadf45d"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"hmac 0.12.1",
|
2022-12-07 23:05:06 +00:00
|
|
|
"pbkdf2 0.11.0",
|
2022-07-16 21:49:35 +00:00
|
|
|
"salsa20",
|
2022-09-18 19:30:38 +00:00
|
|
|
"sha2 0.10.6",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sct"
|
|
|
|
version = "0.7.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d53dcdb7c9f8158937a7981b48accfd39a43af418591a5d008c7b22b5e1b7ca4"
|
|
|
|
dependencies = [
|
|
|
|
"ring",
|
|
|
|
"untrusted",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sec1"
|
|
|
|
version = "0.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "3be24c1842290c45df0a7bf069e0c268a747ad05a192f2fd7dcfdbc1cba40928"
|
|
|
|
dependencies = [
|
|
|
|
"base16ct",
|
|
|
|
"der",
|
2022-08-16 07:44:32 +00:00
|
|
|
"generic-array 0.14.6",
|
2022-07-16 21:49:35 +00:00
|
|
|
"pkcs8",
|
|
|
|
"subtle",
|
|
|
|
"zeroize",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "secp256k1"
|
2022-12-07 22:56:53 +00:00
|
|
|
version = "0.24.2"
|
2022-07-17 21:17:23 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-07 22:56:53 +00:00
|
|
|
checksum = "d9512ffd81e3a3503ed401f79c33168b9148c75038956039166cd750eaa037c3"
|
2022-07-17 21:17:23 +00:00
|
|
|
dependencies = [
|
2022-08-16 07:44:32 +00:00
|
|
|
"secp256k1-sys",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "secp256k1-sys"
|
2022-10-20 05:05:36 +00:00
|
|
|
version = "0.6.1"
|
2022-07-17 21:17:23 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-20 05:05:36 +00:00
|
|
|
checksum = "83080e2c2fc1006e625be82e5d1eb6a43b7fd9578b617fcc55814daf286bba4b"
|
2022-07-17 21:17:23 +00:00
|
|
|
dependencies = [
|
|
|
|
"cc",
|
|
|
|
]
|
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "secrecy"
|
|
|
|
version = "0.8.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "9bd1c54ea06cfd2f6b63219704de0b9b4f72dcc2b8fdef820be6cd799780e91e"
|
|
|
|
dependencies = [
|
|
|
|
"zeroize",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "security-framework"
|
2022-09-18 19:30:38 +00:00
|
|
|
version = "2.7.0"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-09-18 19:30:38 +00:00
|
|
|
checksum = "2bc1bb97804af6631813c55739f771071e0f2ed33ee20b68c86ec505d906356c"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"bitflags",
|
|
|
|
"core-foundation",
|
|
|
|
"core-foundation-sys",
|
|
|
|
"libc",
|
|
|
|
"security-framework-sys",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "security-framework-sys"
|
|
|
|
version = "2.6.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "0160a13a177a45bfb43ce71c01580998474f556ad854dcbca936dd2841a5c556"
|
|
|
|
dependencies = [
|
|
|
|
"core-foundation-sys",
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "semver"
|
|
|
|
version = "0.6.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "7a3186ec9e65071a2095434b1f5bb24838d4e8e130f584c790f6033c79943537"
|
|
|
|
dependencies = [
|
|
|
|
"semver-parser",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "semver"
|
2022-12-21 04:12:26 +00:00
|
|
|
version = "1.0.16"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-21 04:12:26 +00:00
|
|
|
checksum = "58bc9567378fc7690d6b2addae4e60ac2eeea07becb2c64b9f218b53865cba2a"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "semver-parser"
|
|
|
|
version = "0.7.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "send_wrapper"
|
|
|
|
version = "0.5.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "930c0acf610d3fdb5e2ab6213019aaa04e227ebe9547b0649ba599b16d788bd7"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "serai-node"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
Initial Tendermint implementation (#145)
* Machine without timeouts
* Time code
* Move substrate/consensus/tendermint to substrate/tendermint
* Delete the old paper doc
* Refactor out external parts to generics
Also creates a dedicated file for the message log.
* Refactor <V, B> to type V, type B
* Successfully compiling
* Calculate timeouts
* Fix test
* Finish timeouts
* Misc cleanup
* Define a signature scheme trait
* Implement serialization via parity's scale codec
Ideally, this would be generic. Unfortunately, the generic API serde
doesn't natively support borsh, nor SCALE, and while there is a serde
SCALE crate, it's old. While it may be complete, it's not worth working
with.
While we could still grab bincode, and a variety of other formats, it
wasn't worth it to go custom and for Serai, we'll be using SCALE almost
everywhere anyways.
* Implement usage of the signature scheme
* Make the infinite test non-infinite
* Provide a dedicated signature in Precommit of just the block hash
Greatly simplifies verifying when syncing.
* Dedicated Commit object
Restores sig aggregation API.
* Tidy README
* Document tendermint
* Sign the ID directly instead of its SCALE encoding
For a hash, which is fixed-size, these should be the same yet this helps
move past the dependency on SCALE. It also, for any type where the two
values are different, smooths integration.
* Litany of bug fixes
Also attempts to make the code more readable while updating/correcting
documentation.
* Remove async recursion
Greatly increases safety as well by ensuring only one message is
processed at once.
* Correct timing issues
1) Commit didn't include the round, leaving the clock in question.
2) Machines started with a local time, instead of a proper start time.
3) Machines immediately started the next block instead of waiting for
the block time.
* Replace MultiSignature with sr25519::Signature
* Minor SignatureScheme API changes
* Map TM SignatureScheme to Substrate's sr25519
* Initial work on an import queue
* Properly use check_block
* Rename import to import_queue
* Implement tendermint_machine::Block for Substrate Blocks
Unfortunately, this immediately makes Tendermint machine capable of
deployment as crate since it uses a git reference. In the future, a
Cargo.toml patch section for serai/substrate should be investigated.
This is being done regardless as it's the quickest way forward and this
is for Serai.
* Dummy Weights
* Move documentation to the top of the file
* Move logic into TendermintImport itself
Multiple traits exist to verify/handle blocks. I'm unsure exactly when
each will be called in the pipeline, so the easiest solution is to have
every step run every check.
That would be extremely computationally expensive if we ran EVERY check,
yet we rely on Substrate for execution (and according checks), which are
limited to just the actual import function.
Since we're calling this code from many places, it makes sense for it to
be consolidated under TendermintImport.
* BlockImport, JustificationImport, Verifier, and import_queue function
* Update consensus/lib.rs from PoW to Tendermint
Not possible to be used as the previous consensus could. It will not
produce blocks nor does it currenly even instantiate a machine. This is
just he next step.
* Update Cargo.tomls for substrate packages
* Tendermint SelectChain
This is incompatible with Substrate's expectations, yet should be valid
for ours
* Move the node over to the new SelectChain
* Minor tweaks
* Update SelectChain documentation
* Remove substrate/node lib.rs
This shouldn't be used as a library AFAIK. While runtime should be, and
arguably should even be published, I have yet to see node in the same
way. Helps tighten API boundaries.
* Remove unused macro_use
* Replace panicking todos with stubs and // TODO
Enables progress.
* Reduce chain_spec and use more accurate naming
* Implement block proposal logic
* Modularize to get_proposal
* Trigger block importing
Doesn't wait for the response yet, which it needs to.
* Get the result of block importing
* Split import_queue into a series of files
* Provide a way to create the machine
The BasicQueue returned obscures the TendermintImport struct.
Accordingly, a Future scoped with access is returned upwards, which when
awaited will create the machine. This makes creating the machine
optional while maintaining scope boundaries.
Is sufficient to create a 1-node net which produces and finalizes
blocks.
* Don't import justifications multiple times
Also don't broadcast blocks which were solely proposed.
* Correct justication import pipeline
Removes JustificationImport as it should never be used.
* Announce blocks
By claiming File, they're not sent ovber the P2P network before they
have a justification, as desired. Unfortunately, they never were. This
works around that.
* Add an assert to verify proposed children aren't best
* Consolidate C and I generics into a TendermintClient trait alias
* Expand sanity checks
Substrate doesn't expect nor officially support children with less work
than their parents. It's a trick used here. Accordingly, ensure the
trick's validity.
* When resetting, use the end time of the round which was committed to
The machine reset to the end time of the current round. For a delayed
network connection, a machine may move ahead in rounds and only later
realize a prior round succeeded. Despite acknowledging that round's
success, it would maintain its delay when moving to the next block,
bricking it.
Done by tracking the end time for each round as they occur.
* Move Commit from including the round to including the round's end_time
The round was usable to build the current clock in an accumulated
fashion, relative to the previous round. The end time is the absolute
metric of it, which can be used to calculate the round number (with all
previous end times).
Substrate now builds off the best block, not genesis, using the end time
included in the justification to start its machine in a synchronized
state.
Knowing the end time of a round, or the round in which block was
committed to, is necessary for nodes to sync up with Tendermint.
Encoding it in the commit ensures it's long lasting and makes it readily
available, without the load of an entire transaction.
* Add a TODO on Tendermint
* Misc bug fixes
* More misc bug fixes
* Clean up lock acquisition
* Merge weights and signing scheme into validators, documenting needed changes
* Add pallet sessions to runtime, create pallet-tendermint
* Update node to use pallet sessions
* Update support URL
* Partial work on correcting pallet calls
* Redo Tendermint folder structure
* TendermintApi, compilation fixes
* Fix the stub round robin
At some point, the modulus was removed causing it to exceed the
validators list and stop proposing.
* Use the validators list from the session pallet
* Basic Gossip Validator
* Correct Substrate Tendermint start block
The Tendermint machine uses the passed in number as the block's being
worked on number. Substrate passed in the already finalized block's
number.
Also updates misc comments.
* Clean generics in Tendermint with a monolith with associated types
* Remove the Future triggering the machine for an async fn
Enables passing data in, such as the network.
* Move TendermintMachine from start_num, time to last_num, time
Provides an explicitly clear API clearer to program around.
Also adds additional time code to handle an edge case.
* Connect the Tendermint machine to a GossipEngine
* Connect broadcast
* Remove machine from TendermintImport
It's not used there at all.
* Merge Verifier into block_import.rs
These two files were largely the same, just hooking into sync structs
with almost identical imports. As this project shapes up, removing dead
weight is appreciated.
* Create a dedicated file for being a Tendermint authority
* Deleted comment code related to PoW
* Move serai_runtime specific code from tendermint/client to node
Renames serai-consensus to sc_tendermint
* Consolidate file structure in sc_tendermint
* Replace best_* with finalized_*
We test their equivalency yet still better to use finalized_* in
general.
* Consolidate references to sr25519 in sc_tendermint
* Add documentation to public structs/functions in sc_tendermint
* Add another missing comment
* Make sign asynchronous
Some relation to https://github.com/serai-dex/serai/issues/95.
* Move sc_tendermint to async sign
* Implement proper checking of inherents
* Take in a Keystore and validator ID
* Remove unnecessary PhantomDatas
* Update node to latest sc_tendermint
* Configure node for a multi-node testnet
* Fix handling of the GossipEngine
* Use a rounded genesis to obtain sufficient synchrony within the Docker env
* Correct Serai d-f names in Docker
* Remove an attempt at caching I don't believe would ever hit
* Add an already in chain check to block import
While the inner should do this for us, we call verify_order on our end
*before* inner to ensure sequential import. Accordingly, we need to
provide our own check.
Removes errors of "non-sequential import" when trying to re-import an
existing block.
* Update the consensus documentation
It was incredibly out of date.
* Add a _ to the validator arg in slash
* Make the dev profile a local testnet profile
Restores a dev profile which only has one validator, locally running.
* Reduce Arcs in TendermintMachine, split Signer from SignatureScheme
* Update sc_tendermint per previous commit
* Restore cache
* Remove error case which shouldn't be an error
* Stop returning errors on already existing blocks entirely
* Correct Dave, Eve, and Ferdie to not run as validators
* Rename dev to devnet
--dev still works thanks to the |. Acheieves a personal preference of
mine with some historical meaning.
* Add message expiry to the Tendermint gossip
* Localize the LibP2P protocol to the blockchain
Follows convention by doing so. Theoretically enables running multiple
blockchains over a single LibP2P connection.
* Add a version to sp-runtime in tendermint-machine
* Add missing trait
* Bump Substrate dependency
Fixes #147.
* Implement Schnorr half-aggregation from https://eprint.iacr.org/2021/350.pdf
Relevant to https://github.com/serai-dex/serai/issues/99.
* cargo update (tendermint)
* Move from polling loops to a pure IO model for sc_tendermint's gossip
* Correct protocol name handling
* Use futures mpsc instead of tokio
* Timeout futures
* Move from a yielding loop to select in tendermint-machine
* Update Substrate to the new TendermintHandle
* Use futures pin instead of tokio
* Only recheck blocks with non-fatal inherent transaction errors
* Update to the latest substrate
* Separate the block processing time from the latency
* Add notes to the runtime
* Don't spam slash
Also adds a slash condition of failing to propose.
* Support running TendermintMachine when not a validator
This supports validators who leave the current set, without crashing
their nodes, along with nodes trying to become validators (who will now
seamlessly transition in).
* Properly define and pass around the block size
* Correct the Duration timing
The proposer will build it, send it, then process it (on the first
round). Accordingly, it's / 3, not / 2, as / 2 only accounted for the
latter events.
* Correct time-adjustment code on round skip
* Have the machine respond to advances made by an external sync loop
* Clean up time code in tendermint-machine
* BlockData and RoundData structs
* Rename Round to RoundNumber
* Move BlockData to a new file
* Move Round to an Option due to the pseudo-uninitialized state we create
Before the addition of RoundData, we always created the round, and on
.round(0), simply created it again. With RoundData, and the changes to
the time code, we used round 0, time 0, the latter being incorrect yet
not an issue due to lack of misuse.
Now, if we do misuse it, it'll panic.
* Clear the Queue instead of draining and filtering
There shouldn't ever be a message which passes the filter under the
current design.
* BlockData::new
* Move more code into block.rs
Introduces type-aliases to obtain Data/Message/SignedMessage solely from
a Network object.
Fixes a bug regarding stepping when you're not an active validator.
* Have verify_precommit_signature return if it verified the signature
Also fixes a bug where invalid precommit signatures were left standing
and therefore contributing to commits.
* Remove the precommit signature hash
It cached signatures per-block. Precommit signatures are bound to each
round. This would lead to forming invalid commits when a commit should
be formed. Under debug, the machine would catch that and panic. On
release, it'd have everyone who wasn't a validator fail to continue
syncing.
* Slight doc changes
Also flattens the message handling function by replacing an if
containing all following code in the function with an early return for
the else case.
* Always produce notifications for finalized blocks via origin overrides
* Correct weird formatting
* Update to the latest tendermint-machine
* Manually step the Tendermint machine when we synced a block over the network
* Ignore finality notifications for old blocks
* Remove a TODO resolved in 8c51bc011d03c8d54ded05011e7f4d1a01e9f873
* Add a TODO comment to slash
Enables searching for the case-sensitive phrase and finding it.
* cargo fmt
* Use a tmp DB for Serai in Docker
* Remove panic on slash
As we move towards protonet, this can happen (if a node goes offline),
yet it happening brings down the entire net right now.
* Add log::error on slash
* created shared volume between containers
* Complete the sh scripts
* Pass in the genesis time to Substrate
* Correct block announcements
They were announced, yet not marked best.
* Correct pupulate_end_time
It was used as inclusive yet didn't work inclusively.
* Correct gossip channel jumping when a block is synced via Substrate
* Use a looser check in import_future
This triggered so it needs to be accordingly relaxed.
* Correct race conditions between add_block and step
Also corrects a <= to <.
* Update cargo deny
* rename genesis-service to genesis
* Update Cargo.lock
* Correct runtime Cargo.toml whitespace
* Correct typo
* Document recheck
* Misc lints
* Fix prev commit
* Resolve low-hanging review comments
* Mark genesis/entry-dev.sh as executable
* Prevent a commit from including the same signature multiple times
Yanks tendermint-machine 0.1.0 accordingly.
* Update to latest nightly clippy
* Improve documentation
* Use clearer variable names
* Add log statements
* Pair more log statements
* Clean TendermintAuthority::authority as possible
Merges it into new. It has way too many arguments, yet there's no clear path at
consolidation there, unfortunately.
Additionally provides better scoping within itself.
* Fix #158
Doesn't use lock_import_and_run for reasons commented (lack of async).
* Rename guard to lock
* Have the devnet use the current time as the genesis
Possible since it's only a single node, not requiring synchronization.
* Fix gossiping
I really don't know what side effect this avoids and I can't say I care at this
point.
* Misc lints
Co-authored-by: vrx00 <vrx00@proton.me>
Co-authored-by: TheArchitect108 <TheArchitect108@protonmail.com>
2022-12-03 23:38:02 +00:00
|
|
|
"async-trait",
|
2023-01-04 08:17:36 +00:00
|
|
|
"clap 4.0.32",
|
2022-07-16 21:49:35 +00:00
|
|
|
"frame-benchmarking",
|
|
|
|
"frame-benchmarking-cli",
|
|
|
|
"frame-system",
|
2023-01-04 08:17:36 +00:00
|
|
|
"futures",
|
2022-07-16 21:49:35 +00:00
|
|
|
"jsonrpsee",
|
Initial Tendermint implementation (#145)
* Machine without timeouts
* Time code
* Move substrate/consensus/tendermint to substrate/tendermint
* Delete the old paper doc
* Refactor out external parts to generics
Also creates a dedicated file for the message log.
* Refactor <V, B> to type V, type B
* Successfully compiling
* Calculate timeouts
* Fix test
* Finish timeouts
* Misc cleanup
* Define a signature scheme trait
* Implement serialization via parity's scale codec
Ideally, this would be generic. Unfortunately, the generic API serde
doesn't natively support borsh, nor SCALE, and while there is a serde
SCALE crate, it's old. While it may be complete, it's not worth working
with.
While we could still grab bincode, and a variety of other formats, it
wasn't worth it to go custom and for Serai, we'll be using SCALE almost
everywhere anyways.
* Implement usage of the signature scheme
* Make the infinite test non-infinite
* Provide a dedicated signature in Precommit of just the block hash
Greatly simplifies verifying when syncing.
* Dedicated Commit object
Restores sig aggregation API.
* Tidy README
* Document tendermint
* Sign the ID directly instead of its SCALE encoding
For a hash, which is fixed-size, these should be the same yet this helps
move past the dependency on SCALE. It also, for any type where the two
values are different, smooths integration.
* Litany of bug fixes
Also attempts to make the code more readable while updating/correcting
documentation.
* Remove async recursion
Greatly increases safety as well by ensuring only one message is
processed at once.
* Correct timing issues
1) Commit didn't include the round, leaving the clock in question.
2) Machines started with a local time, instead of a proper start time.
3) Machines immediately started the next block instead of waiting for
the block time.
* Replace MultiSignature with sr25519::Signature
* Minor SignatureScheme API changes
* Map TM SignatureScheme to Substrate's sr25519
* Initial work on an import queue
* Properly use check_block
* Rename import to import_queue
* Implement tendermint_machine::Block for Substrate Blocks
Unfortunately, this immediately makes Tendermint machine capable of
deployment as crate since it uses a git reference. In the future, a
Cargo.toml patch section for serai/substrate should be investigated.
This is being done regardless as it's the quickest way forward and this
is for Serai.
* Dummy Weights
* Move documentation to the top of the file
* Move logic into TendermintImport itself
Multiple traits exist to verify/handle blocks. I'm unsure exactly when
each will be called in the pipeline, so the easiest solution is to have
every step run every check.
That would be extremely computationally expensive if we ran EVERY check,
yet we rely on Substrate for execution (and according checks), which are
limited to just the actual import function.
Since we're calling this code from many places, it makes sense for it to
be consolidated under TendermintImport.
* BlockImport, JustificationImport, Verifier, and import_queue function
* Update consensus/lib.rs from PoW to Tendermint
Not possible to be used as the previous consensus could. It will not
produce blocks nor does it currenly even instantiate a machine. This is
just he next step.
* Update Cargo.tomls for substrate packages
* Tendermint SelectChain
This is incompatible with Substrate's expectations, yet should be valid
for ours
* Move the node over to the new SelectChain
* Minor tweaks
* Update SelectChain documentation
* Remove substrate/node lib.rs
This shouldn't be used as a library AFAIK. While runtime should be, and
arguably should even be published, I have yet to see node in the same
way. Helps tighten API boundaries.
* Remove unused macro_use
* Replace panicking todos with stubs and // TODO
Enables progress.
* Reduce chain_spec and use more accurate naming
* Implement block proposal logic
* Modularize to get_proposal
* Trigger block importing
Doesn't wait for the response yet, which it needs to.
* Get the result of block importing
* Split import_queue into a series of files
* Provide a way to create the machine
The BasicQueue returned obscures the TendermintImport struct.
Accordingly, a Future scoped with access is returned upwards, which when
awaited will create the machine. This makes creating the machine
optional while maintaining scope boundaries.
Is sufficient to create a 1-node net which produces and finalizes
blocks.
* Don't import justifications multiple times
Also don't broadcast blocks which were solely proposed.
* Correct justication import pipeline
Removes JustificationImport as it should never be used.
* Announce blocks
By claiming File, they're not sent ovber the P2P network before they
have a justification, as desired. Unfortunately, they never were. This
works around that.
* Add an assert to verify proposed children aren't best
* Consolidate C and I generics into a TendermintClient trait alias
* Expand sanity checks
Substrate doesn't expect nor officially support children with less work
than their parents. It's a trick used here. Accordingly, ensure the
trick's validity.
* When resetting, use the end time of the round which was committed to
The machine reset to the end time of the current round. For a delayed
network connection, a machine may move ahead in rounds and only later
realize a prior round succeeded. Despite acknowledging that round's
success, it would maintain its delay when moving to the next block,
bricking it.
Done by tracking the end time for each round as they occur.
* Move Commit from including the round to including the round's end_time
The round was usable to build the current clock in an accumulated
fashion, relative to the previous round. The end time is the absolute
metric of it, which can be used to calculate the round number (with all
previous end times).
Substrate now builds off the best block, not genesis, using the end time
included in the justification to start its machine in a synchronized
state.
Knowing the end time of a round, or the round in which block was
committed to, is necessary for nodes to sync up with Tendermint.
Encoding it in the commit ensures it's long lasting and makes it readily
available, without the load of an entire transaction.
* Add a TODO on Tendermint
* Misc bug fixes
* More misc bug fixes
* Clean up lock acquisition
* Merge weights and signing scheme into validators, documenting needed changes
* Add pallet sessions to runtime, create pallet-tendermint
* Update node to use pallet sessions
* Update support URL
* Partial work on correcting pallet calls
* Redo Tendermint folder structure
* TendermintApi, compilation fixes
* Fix the stub round robin
At some point, the modulus was removed causing it to exceed the
validators list and stop proposing.
* Use the validators list from the session pallet
* Basic Gossip Validator
* Correct Substrate Tendermint start block
The Tendermint machine uses the passed in number as the block's being
worked on number. Substrate passed in the already finalized block's
number.
Also updates misc comments.
* Clean generics in Tendermint with a monolith with associated types
* Remove the Future triggering the machine for an async fn
Enables passing data in, such as the network.
* Move TendermintMachine from start_num, time to last_num, time
Provides an explicitly clear API clearer to program around.
Also adds additional time code to handle an edge case.
* Connect the Tendermint machine to a GossipEngine
* Connect broadcast
* Remove machine from TendermintImport
It's not used there at all.
* Merge Verifier into block_import.rs
These two files were largely the same, just hooking into sync structs
with almost identical imports. As this project shapes up, removing dead
weight is appreciated.
* Create a dedicated file for being a Tendermint authority
* Deleted comment code related to PoW
* Move serai_runtime specific code from tendermint/client to node
Renames serai-consensus to sc_tendermint
* Consolidate file structure in sc_tendermint
* Replace best_* with finalized_*
We test their equivalency yet still better to use finalized_* in
general.
* Consolidate references to sr25519 in sc_tendermint
* Add documentation to public structs/functions in sc_tendermint
* Add another missing comment
* Make sign asynchronous
Some relation to https://github.com/serai-dex/serai/issues/95.
* Move sc_tendermint to async sign
* Implement proper checking of inherents
* Take in a Keystore and validator ID
* Remove unnecessary PhantomDatas
* Update node to latest sc_tendermint
* Configure node for a multi-node testnet
* Fix handling of the GossipEngine
* Use a rounded genesis to obtain sufficient synchrony within the Docker env
* Correct Serai d-f names in Docker
* Remove an attempt at caching I don't believe would ever hit
* Add an already in chain check to block import
While the inner should do this for us, we call verify_order on our end
*before* inner to ensure sequential import. Accordingly, we need to
provide our own check.
Removes errors of "non-sequential import" when trying to re-import an
existing block.
* Update the consensus documentation
It was incredibly out of date.
* Add a _ to the validator arg in slash
* Make the dev profile a local testnet profile
Restores a dev profile which only has one validator, locally running.
* Reduce Arcs in TendermintMachine, split Signer from SignatureScheme
* Update sc_tendermint per previous commit
* Restore cache
* Remove error case which shouldn't be an error
* Stop returning errors on already existing blocks entirely
* Correct Dave, Eve, and Ferdie to not run as validators
* Rename dev to devnet
--dev still works thanks to the |. Acheieves a personal preference of
mine with some historical meaning.
* Add message expiry to the Tendermint gossip
* Localize the LibP2P protocol to the blockchain
Follows convention by doing so. Theoretically enables running multiple
blockchains over a single LibP2P connection.
* Add a version to sp-runtime in tendermint-machine
* Add missing trait
* Bump Substrate dependency
Fixes #147.
* Implement Schnorr half-aggregation from https://eprint.iacr.org/2021/350.pdf
Relevant to https://github.com/serai-dex/serai/issues/99.
* cargo update (tendermint)
* Move from polling loops to a pure IO model for sc_tendermint's gossip
* Correct protocol name handling
* Use futures mpsc instead of tokio
* Timeout futures
* Move from a yielding loop to select in tendermint-machine
* Update Substrate to the new TendermintHandle
* Use futures pin instead of tokio
* Only recheck blocks with non-fatal inherent transaction errors
* Update to the latest substrate
* Separate the block processing time from the latency
* Add notes to the runtime
* Don't spam slash
Also adds a slash condition of failing to propose.
* Support running TendermintMachine when not a validator
This supports validators who leave the current set, without crashing
their nodes, along with nodes trying to become validators (who will now
seamlessly transition in).
* Properly define and pass around the block size
* Correct the Duration timing
The proposer will build it, send it, then process it (on the first
round). Accordingly, it's / 3, not / 2, as / 2 only accounted for the
latter events.
* Correct time-adjustment code on round skip
* Have the machine respond to advances made by an external sync loop
* Clean up time code in tendermint-machine
* BlockData and RoundData structs
* Rename Round to RoundNumber
* Move BlockData to a new file
* Move Round to an Option due to the pseudo-uninitialized state we create
Before the addition of RoundData, we always created the round, and on
.round(0), simply created it again. With RoundData, and the changes to
the time code, we used round 0, time 0, the latter being incorrect yet
not an issue due to lack of misuse.
Now, if we do misuse it, it'll panic.
* Clear the Queue instead of draining and filtering
There shouldn't ever be a message which passes the filter under the
current design.
* BlockData::new
* Move more code into block.rs
Introduces type-aliases to obtain Data/Message/SignedMessage solely from
a Network object.
Fixes a bug regarding stepping when you're not an active validator.
* Have verify_precommit_signature return if it verified the signature
Also fixes a bug where invalid precommit signatures were left standing
and therefore contributing to commits.
* Remove the precommit signature hash
It cached signatures per-block. Precommit signatures are bound to each
round. This would lead to forming invalid commits when a commit should
be formed. Under debug, the machine would catch that and panic. On
release, it'd have everyone who wasn't a validator fail to continue
syncing.
* Slight doc changes
Also flattens the message handling function by replacing an if
containing all following code in the function with an early return for
the else case.
* Always produce notifications for finalized blocks via origin overrides
* Correct weird formatting
* Update to the latest tendermint-machine
* Manually step the Tendermint machine when we synced a block over the network
* Ignore finality notifications for old blocks
* Remove a TODO resolved in 8c51bc011d03c8d54ded05011e7f4d1a01e9f873
* Add a TODO comment to slash
Enables searching for the case-sensitive phrase and finding it.
* cargo fmt
* Use a tmp DB for Serai in Docker
* Remove panic on slash
As we move towards protonet, this can happen (if a node goes offline),
yet it happening brings down the entire net right now.
* Add log::error on slash
* created shared volume between containers
* Complete the sh scripts
* Pass in the genesis time to Substrate
* Correct block announcements
They were announced, yet not marked best.
* Correct pupulate_end_time
It was used as inclusive yet didn't work inclusively.
* Correct gossip channel jumping when a block is synced via Substrate
* Use a looser check in import_future
This triggered so it needs to be accordingly relaxed.
* Correct race conditions between add_block and step
Also corrects a <= to <.
* Update cargo deny
* rename genesis-service to genesis
* Update Cargo.lock
* Correct runtime Cargo.toml whitespace
* Correct typo
* Document recheck
* Misc lints
* Fix prev commit
* Resolve low-hanging review comments
* Mark genesis/entry-dev.sh as executable
* Prevent a commit from including the same signature multiple times
Yanks tendermint-machine 0.1.0 accordingly.
* Update to latest nightly clippy
* Improve documentation
* Use clearer variable names
* Add log statements
* Pair more log statements
* Clean TendermintAuthority::authority as possible
Merges it into new. It has way too many arguments, yet there's no clear path at
consolidation there, unfortunately.
Additionally provides better scoping within itself.
* Fix #158
Doesn't use lock_import_and_run for reasons commented (lack of async).
* Rename guard to lock
* Have the devnet use the current time as the genesis
Possible since it's only a single node, not requiring synchronization.
* Fix gossiping
I really don't know what side effect this avoids and I can't say I care at this
point.
* Misc lints
Co-authored-by: vrx00 <vrx00@proton.me>
Co-authored-by: TheArchitect108 <TheArchitect108@protonmail.com>
2022-12-03 23:38:02 +00:00
|
|
|
"log",
|
|
|
|
"pallet-tendermint",
|
2022-07-16 21:49:35 +00:00
|
|
|
"pallet-transaction-payment",
|
|
|
|
"pallet-transaction-payment-rpc",
|
Initial Tendermint implementation (#145)
* Machine without timeouts
* Time code
* Move substrate/consensus/tendermint to substrate/tendermint
* Delete the old paper doc
* Refactor out external parts to generics
Also creates a dedicated file for the message log.
* Refactor <V, B> to type V, type B
* Successfully compiling
* Calculate timeouts
* Fix test
* Finish timeouts
* Misc cleanup
* Define a signature scheme trait
* Implement serialization via parity's scale codec
Ideally, this would be generic. Unfortunately, the generic API serde
doesn't natively support borsh, nor SCALE, and while there is a serde
SCALE crate, it's old. While it may be complete, it's not worth working
with.
While we could still grab bincode, and a variety of other formats, it
wasn't worth it to go custom and for Serai, we'll be using SCALE almost
everywhere anyways.
* Implement usage of the signature scheme
* Make the infinite test non-infinite
* Provide a dedicated signature in Precommit of just the block hash
Greatly simplifies verifying when syncing.
* Dedicated Commit object
Restores sig aggregation API.
* Tidy README
* Document tendermint
* Sign the ID directly instead of its SCALE encoding
For a hash, which is fixed-size, these should be the same yet this helps
move past the dependency on SCALE. It also, for any type where the two
values are different, smooths integration.
* Litany of bug fixes
Also attempts to make the code more readable while updating/correcting
documentation.
* Remove async recursion
Greatly increases safety as well by ensuring only one message is
processed at once.
* Correct timing issues
1) Commit didn't include the round, leaving the clock in question.
2) Machines started with a local time, instead of a proper start time.
3) Machines immediately started the next block instead of waiting for
the block time.
* Replace MultiSignature with sr25519::Signature
* Minor SignatureScheme API changes
* Map TM SignatureScheme to Substrate's sr25519
* Initial work on an import queue
* Properly use check_block
* Rename import to import_queue
* Implement tendermint_machine::Block for Substrate Blocks
Unfortunately, this immediately makes Tendermint machine capable of
deployment as crate since it uses a git reference. In the future, a
Cargo.toml patch section for serai/substrate should be investigated.
This is being done regardless as it's the quickest way forward and this
is for Serai.
* Dummy Weights
* Move documentation to the top of the file
* Move logic into TendermintImport itself
Multiple traits exist to verify/handle blocks. I'm unsure exactly when
each will be called in the pipeline, so the easiest solution is to have
every step run every check.
That would be extremely computationally expensive if we ran EVERY check,
yet we rely on Substrate for execution (and according checks), which are
limited to just the actual import function.
Since we're calling this code from many places, it makes sense for it to
be consolidated under TendermintImport.
* BlockImport, JustificationImport, Verifier, and import_queue function
* Update consensus/lib.rs from PoW to Tendermint
Not possible to be used as the previous consensus could. It will not
produce blocks nor does it currenly even instantiate a machine. This is
just he next step.
* Update Cargo.tomls for substrate packages
* Tendermint SelectChain
This is incompatible with Substrate's expectations, yet should be valid
for ours
* Move the node over to the new SelectChain
* Minor tweaks
* Update SelectChain documentation
* Remove substrate/node lib.rs
This shouldn't be used as a library AFAIK. While runtime should be, and
arguably should even be published, I have yet to see node in the same
way. Helps tighten API boundaries.
* Remove unused macro_use
* Replace panicking todos with stubs and // TODO
Enables progress.
* Reduce chain_spec and use more accurate naming
* Implement block proposal logic
* Modularize to get_proposal
* Trigger block importing
Doesn't wait for the response yet, which it needs to.
* Get the result of block importing
* Split import_queue into a series of files
* Provide a way to create the machine
The BasicQueue returned obscures the TendermintImport struct.
Accordingly, a Future scoped with access is returned upwards, which when
awaited will create the machine. This makes creating the machine
optional while maintaining scope boundaries.
Is sufficient to create a 1-node net which produces and finalizes
blocks.
* Don't import justifications multiple times
Also don't broadcast blocks which were solely proposed.
* Correct justication import pipeline
Removes JustificationImport as it should never be used.
* Announce blocks
By claiming File, they're not sent ovber the P2P network before they
have a justification, as desired. Unfortunately, they never were. This
works around that.
* Add an assert to verify proposed children aren't best
* Consolidate C and I generics into a TendermintClient trait alias
* Expand sanity checks
Substrate doesn't expect nor officially support children with less work
than their parents. It's a trick used here. Accordingly, ensure the
trick's validity.
* When resetting, use the end time of the round which was committed to
The machine reset to the end time of the current round. For a delayed
network connection, a machine may move ahead in rounds and only later
realize a prior round succeeded. Despite acknowledging that round's
success, it would maintain its delay when moving to the next block,
bricking it.
Done by tracking the end time for each round as they occur.
* Move Commit from including the round to including the round's end_time
The round was usable to build the current clock in an accumulated
fashion, relative to the previous round. The end time is the absolute
metric of it, which can be used to calculate the round number (with all
previous end times).
Substrate now builds off the best block, not genesis, using the end time
included in the justification to start its machine in a synchronized
state.
Knowing the end time of a round, or the round in which block was
committed to, is necessary for nodes to sync up with Tendermint.
Encoding it in the commit ensures it's long lasting and makes it readily
available, without the load of an entire transaction.
* Add a TODO on Tendermint
* Misc bug fixes
* More misc bug fixes
* Clean up lock acquisition
* Merge weights and signing scheme into validators, documenting needed changes
* Add pallet sessions to runtime, create pallet-tendermint
* Update node to use pallet sessions
* Update support URL
* Partial work on correcting pallet calls
* Redo Tendermint folder structure
* TendermintApi, compilation fixes
* Fix the stub round robin
At some point, the modulus was removed causing it to exceed the
validators list and stop proposing.
* Use the validators list from the session pallet
* Basic Gossip Validator
* Correct Substrate Tendermint start block
The Tendermint machine uses the passed in number as the block's being
worked on number. Substrate passed in the already finalized block's
number.
Also updates misc comments.
* Clean generics in Tendermint with a monolith with associated types
* Remove the Future triggering the machine for an async fn
Enables passing data in, such as the network.
* Move TendermintMachine from start_num, time to last_num, time
Provides an explicitly clear API clearer to program around.
Also adds additional time code to handle an edge case.
* Connect the Tendermint machine to a GossipEngine
* Connect broadcast
* Remove machine from TendermintImport
It's not used there at all.
* Merge Verifier into block_import.rs
These two files were largely the same, just hooking into sync structs
with almost identical imports. As this project shapes up, removing dead
weight is appreciated.
* Create a dedicated file for being a Tendermint authority
* Deleted comment code related to PoW
* Move serai_runtime specific code from tendermint/client to node
Renames serai-consensus to sc_tendermint
* Consolidate file structure in sc_tendermint
* Replace best_* with finalized_*
We test their equivalency yet still better to use finalized_* in
general.
* Consolidate references to sr25519 in sc_tendermint
* Add documentation to public structs/functions in sc_tendermint
* Add another missing comment
* Make sign asynchronous
Some relation to https://github.com/serai-dex/serai/issues/95.
* Move sc_tendermint to async sign
* Implement proper checking of inherents
* Take in a Keystore and validator ID
* Remove unnecessary PhantomDatas
* Update node to latest sc_tendermint
* Configure node for a multi-node testnet
* Fix handling of the GossipEngine
* Use a rounded genesis to obtain sufficient synchrony within the Docker env
* Correct Serai d-f names in Docker
* Remove an attempt at caching I don't believe would ever hit
* Add an already in chain check to block import
While the inner should do this for us, we call verify_order on our end
*before* inner to ensure sequential import. Accordingly, we need to
provide our own check.
Removes errors of "non-sequential import" when trying to re-import an
existing block.
* Update the consensus documentation
It was incredibly out of date.
* Add a _ to the validator arg in slash
* Make the dev profile a local testnet profile
Restores a dev profile which only has one validator, locally running.
* Reduce Arcs in TendermintMachine, split Signer from SignatureScheme
* Update sc_tendermint per previous commit
* Restore cache
* Remove error case which shouldn't be an error
* Stop returning errors on already existing blocks entirely
* Correct Dave, Eve, and Ferdie to not run as validators
* Rename dev to devnet
--dev still works thanks to the |. Acheieves a personal preference of
mine with some historical meaning.
* Add message expiry to the Tendermint gossip
* Localize the LibP2P protocol to the blockchain
Follows convention by doing so. Theoretically enables running multiple
blockchains over a single LibP2P connection.
* Add a version to sp-runtime in tendermint-machine
* Add missing trait
* Bump Substrate dependency
Fixes #147.
* Implement Schnorr half-aggregation from https://eprint.iacr.org/2021/350.pdf
Relevant to https://github.com/serai-dex/serai/issues/99.
* cargo update (tendermint)
* Move from polling loops to a pure IO model for sc_tendermint's gossip
* Correct protocol name handling
* Use futures mpsc instead of tokio
* Timeout futures
* Move from a yielding loop to select in tendermint-machine
* Update Substrate to the new TendermintHandle
* Use futures pin instead of tokio
* Only recheck blocks with non-fatal inherent transaction errors
* Update to the latest substrate
* Separate the block processing time from the latency
* Add notes to the runtime
* Don't spam slash
Also adds a slash condition of failing to propose.
* Support running TendermintMachine when not a validator
This supports validators who leave the current set, without crashing
their nodes, along with nodes trying to become validators (who will now
seamlessly transition in).
* Properly define and pass around the block size
* Correct the Duration timing
The proposer will build it, send it, then process it (on the first
round). Accordingly, it's / 3, not / 2, as / 2 only accounted for the
latter events.
* Correct time-adjustment code on round skip
* Have the machine respond to advances made by an external sync loop
* Clean up time code in tendermint-machine
* BlockData and RoundData structs
* Rename Round to RoundNumber
* Move BlockData to a new file
* Move Round to an Option due to the pseudo-uninitialized state we create
Before the addition of RoundData, we always created the round, and on
.round(0), simply created it again. With RoundData, and the changes to
the time code, we used round 0, time 0, the latter being incorrect yet
not an issue due to lack of misuse.
Now, if we do misuse it, it'll panic.
* Clear the Queue instead of draining and filtering
There shouldn't ever be a message which passes the filter under the
current design.
* BlockData::new
* Move more code into block.rs
Introduces type-aliases to obtain Data/Message/SignedMessage solely from
a Network object.
Fixes a bug regarding stepping when you're not an active validator.
* Have verify_precommit_signature return if it verified the signature
Also fixes a bug where invalid precommit signatures were left standing
and therefore contributing to commits.
* Remove the precommit signature hash
It cached signatures per-block. Precommit signatures are bound to each
round. This would lead to forming invalid commits when a commit should
be formed. Under debug, the machine would catch that and panic. On
release, it'd have everyone who wasn't a validator fail to continue
syncing.
* Slight doc changes
Also flattens the message handling function by replacing an if
containing all following code in the function with an early return for
the else case.
* Always produce notifications for finalized blocks via origin overrides
* Correct weird formatting
* Update to the latest tendermint-machine
* Manually step the Tendermint machine when we synced a block over the network
* Ignore finality notifications for old blocks
* Remove a TODO resolved in 8c51bc011d03c8d54ded05011e7f4d1a01e9f873
* Add a TODO comment to slash
Enables searching for the case-sensitive phrase and finding it.
* cargo fmt
* Use a tmp DB for Serai in Docker
* Remove panic on slash
As we move towards protonet, this can happen (if a node goes offline),
yet it happening brings down the entire net right now.
* Add log::error on slash
* created shared volume between containers
* Complete the sh scripts
* Pass in the genesis time to Substrate
* Correct block announcements
They were announced, yet not marked best.
* Correct pupulate_end_time
It was used as inclusive yet didn't work inclusively.
* Correct gossip channel jumping when a block is synced via Substrate
* Use a looser check in import_future
This triggered so it needs to be accordingly relaxed.
* Correct race conditions between add_block and step
Also corrects a <= to <.
* Update cargo deny
* rename genesis-service to genesis
* Update Cargo.lock
* Correct runtime Cargo.toml whitespace
* Correct typo
* Document recheck
* Misc lints
* Fix prev commit
* Resolve low-hanging review comments
* Mark genesis/entry-dev.sh as executable
* Prevent a commit from including the same signature multiple times
Yanks tendermint-machine 0.1.0 accordingly.
* Update to latest nightly clippy
* Improve documentation
* Use clearer variable names
* Add log statements
* Pair more log statements
* Clean TendermintAuthority::authority as possible
Merges it into new. It has way too many arguments, yet there's no clear path at
consolidation there, unfortunately.
Additionally provides better scoping within itself.
* Fix #158
Doesn't use lock_import_and_run for reasons commented (lack of async).
* Rename guard to lock
* Have the devnet use the current time as the genesis
Possible since it's only a single node, not requiring synchronization.
* Fix gossiping
I really don't know what side effect this avoids and I can't say I care at this
point.
* Misc lints
Co-authored-by: vrx00 <vrx00@proton.me>
Co-authored-by: TheArchitect108 <TheArchitect108@protonmail.com>
2022-12-03 23:38:02 +00:00
|
|
|
"sc-basic-authorship",
|
2022-07-16 21:49:35 +00:00
|
|
|
"sc-cli",
|
|
|
|
"sc-client-api",
|
Initial Tendermint implementation (#145)
* Machine without timeouts
* Time code
* Move substrate/consensus/tendermint to substrate/tendermint
* Delete the old paper doc
* Refactor out external parts to generics
Also creates a dedicated file for the message log.
* Refactor <V, B> to type V, type B
* Successfully compiling
* Calculate timeouts
* Fix test
* Finish timeouts
* Misc cleanup
* Define a signature scheme trait
* Implement serialization via parity's scale codec
Ideally, this would be generic. Unfortunately, the generic API serde
doesn't natively support borsh, nor SCALE, and while there is a serde
SCALE crate, it's old. While it may be complete, it's not worth working
with.
While we could still grab bincode, and a variety of other formats, it
wasn't worth it to go custom and for Serai, we'll be using SCALE almost
everywhere anyways.
* Implement usage of the signature scheme
* Make the infinite test non-infinite
* Provide a dedicated signature in Precommit of just the block hash
Greatly simplifies verifying when syncing.
* Dedicated Commit object
Restores sig aggregation API.
* Tidy README
* Document tendermint
* Sign the ID directly instead of its SCALE encoding
For a hash, which is fixed-size, these should be the same yet this helps
move past the dependency on SCALE. It also, for any type where the two
values are different, smooths integration.
* Litany of bug fixes
Also attempts to make the code more readable while updating/correcting
documentation.
* Remove async recursion
Greatly increases safety as well by ensuring only one message is
processed at once.
* Correct timing issues
1) Commit didn't include the round, leaving the clock in question.
2) Machines started with a local time, instead of a proper start time.
3) Machines immediately started the next block instead of waiting for
the block time.
* Replace MultiSignature with sr25519::Signature
* Minor SignatureScheme API changes
* Map TM SignatureScheme to Substrate's sr25519
* Initial work on an import queue
* Properly use check_block
* Rename import to import_queue
* Implement tendermint_machine::Block for Substrate Blocks
Unfortunately, this immediately makes Tendermint machine capable of
deployment as crate since it uses a git reference. In the future, a
Cargo.toml patch section for serai/substrate should be investigated.
This is being done regardless as it's the quickest way forward and this
is for Serai.
* Dummy Weights
* Move documentation to the top of the file
* Move logic into TendermintImport itself
Multiple traits exist to verify/handle blocks. I'm unsure exactly when
each will be called in the pipeline, so the easiest solution is to have
every step run every check.
That would be extremely computationally expensive if we ran EVERY check,
yet we rely on Substrate for execution (and according checks), which are
limited to just the actual import function.
Since we're calling this code from many places, it makes sense for it to
be consolidated under TendermintImport.
* BlockImport, JustificationImport, Verifier, and import_queue function
* Update consensus/lib.rs from PoW to Tendermint
Not possible to be used as the previous consensus could. It will not
produce blocks nor does it currenly even instantiate a machine. This is
just he next step.
* Update Cargo.tomls for substrate packages
* Tendermint SelectChain
This is incompatible with Substrate's expectations, yet should be valid
for ours
* Move the node over to the new SelectChain
* Minor tweaks
* Update SelectChain documentation
* Remove substrate/node lib.rs
This shouldn't be used as a library AFAIK. While runtime should be, and
arguably should even be published, I have yet to see node in the same
way. Helps tighten API boundaries.
* Remove unused macro_use
* Replace panicking todos with stubs and // TODO
Enables progress.
* Reduce chain_spec and use more accurate naming
* Implement block proposal logic
* Modularize to get_proposal
* Trigger block importing
Doesn't wait for the response yet, which it needs to.
* Get the result of block importing
* Split import_queue into a series of files
* Provide a way to create the machine
The BasicQueue returned obscures the TendermintImport struct.
Accordingly, a Future scoped with access is returned upwards, which when
awaited will create the machine. This makes creating the machine
optional while maintaining scope boundaries.
Is sufficient to create a 1-node net which produces and finalizes
blocks.
* Don't import justifications multiple times
Also don't broadcast blocks which were solely proposed.
* Correct justication import pipeline
Removes JustificationImport as it should never be used.
* Announce blocks
By claiming File, they're not sent ovber the P2P network before they
have a justification, as desired. Unfortunately, they never were. This
works around that.
* Add an assert to verify proposed children aren't best
* Consolidate C and I generics into a TendermintClient trait alias
* Expand sanity checks
Substrate doesn't expect nor officially support children with less work
than their parents. It's a trick used here. Accordingly, ensure the
trick's validity.
* When resetting, use the end time of the round which was committed to
The machine reset to the end time of the current round. For a delayed
network connection, a machine may move ahead in rounds and only later
realize a prior round succeeded. Despite acknowledging that round's
success, it would maintain its delay when moving to the next block,
bricking it.
Done by tracking the end time for each round as they occur.
* Move Commit from including the round to including the round's end_time
The round was usable to build the current clock in an accumulated
fashion, relative to the previous round. The end time is the absolute
metric of it, which can be used to calculate the round number (with all
previous end times).
Substrate now builds off the best block, not genesis, using the end time
included in the justification to start its machine in a synchronized
state.
Knowing the end time of a round, or the round in which block was
committed to, is necessary for nodes to sync up with Tendermint.
Encoding it in the commit ensures it's long lasting and makes it readily
available, without the load of an entire transaction.
* Add a TODO on Tendermint
* Misc bug fixes
* More misc bug fixes
* Clean up lock acquisition
* Merge weights and signing scheme into validators, documenting needed changes
* Add pallet sessions to runtime, create pallet-tendermint
* Update node to use pallet sessions
* Update support URL
* Partial work on correcting pallet calls
* Redo Tendermint folder structure
* TendermintApi, compilation fixes
* Fix the stub round robin
At some point, the modulus was removed causing it to exceed the
validators list and stop proposing.
* Use the validators list from the session pallet
* Basic Gossip Validator
* Correct Substrate Tendermint start block
The Tendermint machine uses the passed in number as the block's being
worked on number. Substrate passed in the already finalized block's
number.
Also updates misc comments.
* Clean generics in Tendermint with a monolith with associated types
* Remove the Future triggering the machine for an async fn
Enables passing data in, such as the network.
* Move TendermintMachine from start_num, time to last_num, time
Provides an explicitly clear API clearer to program around.
Also adds additional time code to handle an edge case.
* Connect the Tendermint machine to a GossipEngine
* Connect broadcast
* Remove machine from TendermintImport
It's not used there at all.
* Merge Verifier into block_import.rs
These two files were largely the same, just hooking into sync structs
with almost identical imports. As this project shapes up, removing dead
weight is appreciated.
* Create a dedicated file for being a Tendermint authority
* Deleted comment code related to PoW
* Move serai_runtime specific code from tendermint/client to node
Renames serai-consensus to sc_tendermint
* Consolidate file structure in sc_tendermint
* Replace best_* with finalized_*
We test their equivalency yet still better to use finalized_* in
general.
* Consolidate references to sr25519 in sc_tendermint
* Add documentation to public structs/functions in sc_tendermint
* Add another missing comment
* Make sign asynchronous
Some relation to https://github.com/serai-dex/serai/issues/95.
* Move sc_tendermint to async sign
* Implement proper checking of inherents
* Take in a Keystore and validator ID
* Remove unnecessary PhantomDatas
* Update node to latest sc_tendermint
* Configure node for a multi-node testnet
* Fix handling of the GossipEngine
* Use a rounded genesis to obtain sufficient synchrony within the Docker env
* Correct Serai d-f names in Docker
* Remove an attempt at caching I don't believe would ever hit
* Add an already in chain check to block import
While the inner should do this for us, we call verify_order on our end
*before* inner to ensure sequential import. Accordingly, we need to
provide our own check.
Removes errors of "non-sequential import" when trying to re-import an
existing block.
* Update the consensus documentation
It was incredibly out of date.
* Add a _ to the validator arg in slash
* Make the dev profile a local testnet profile
Restores a dev profile which only has one validator, locally running.
* Reduce Arcs in TendermintMachine, split Signer from SignatureScheme
* Update sc_tendermint per previous commit
* Restore cache
* Remove error case which shouldn't be an error
* Stop returning errors on already existing blocks entirely
* Correct Dave, Eve, and Ferdie to not run as validators
* Rename dev to devnet
--dev still works thanks to the |. Acheieves a personal preference of
mine with some historical meaning.
* Add message expiry to the Tendermint gossip
* Localize the LibP2P protocol to the blockchain
Follows convention by doing so. Theoretically enables running multiple
blockchains over a single LibP2P connection.
* Add a version to sp-runtime in tendermint-machine
* Add missing trait
* Bump Substrate dependency
Fixes #147.
* Implement Schnorr half-aggregation from https://eprint.iacr.org/2021/350.pdf
Relevant to https://github.com/serai-dex/serai/issues/99.
* cargo update (tendermint)
* Move from polling loops to a pure IO model for sc_tendermint's gossip
* Correct protocol name handling
* Use futures mpsc instead of tokio
* Timeout futures
* Move from a yielding loop to select in tendermint-machine
* Update Substrate to the new TendermintHandle
* Use futures pin instead of tokio
* Only recheck blocks with non-fatal inherent transaction errors
* Update to the latest substrate
* Separate the block processing time from the latency
* Add notes to the runtime
* Don't spam slash
Also adds a slash condition of failing to propose.
* Support running TendermintMachine when not a validator
This supports validators who leave the current set, without crashing
their nodes, along with nodes trying to become validators (who will now
seamlessly transition in).
* Properly define and pass around the block size
* Correct the Duration timing
The proposer will build it, send it, then process it (on the first
round). Accordingly, it's / 3, not / 2, as / 2 only accounted for the
latter events.
* Correct time-adjustment code on round skip
* Have the machine respond to advances made by an external sync loop
* Clean up time code in tendermint-machine
* BlockData and RoundData structs
* Rename Round to RoundNumber
* Move BlockData to a new file
* Move Round to an Option due to the pseudo-uninitialized state we create
Before the addition of RoundData, we always created the round, and on
.round(0), simply created it again. With RoundData, and the changes to
the time code, we used round 0, time 0, the latter being incorrect yet
not an issue due to lack of misuse.
Now, if we do misuse it, it'll panic.
* Clear the Queue instead of draining and filtering
There shouldn't ever be a message which passes the filter under the
current design.
* BlockData::new
* Move more code into block.rs
Introduces type-aliases to obtain Data/Message/SignedMessage solely from
a Network object.
Fixes a bug regarding stepping when you're not an active validator.
* Have verify_precommit_signature return if it verified the signature
Also fixes a bug where invalid precommit signatures were left standing
and therefore contributing to commits.
* Remove the precommit signature hash
It cached signatures per-block. Precommit signatures are bound to each
round. This would lead to forming invalid commits when a commit should
be formed. Under debug, the machine would catch that and panic. On
release, it'd have everyone who wasn't a validator fail to continue
syncing.
* Slight doc changes
Also flattens the message handling function by replacing an if
containing all following code in the function with an early return for
the else case.
* Always produce notifications for finalized blocks via origin overrides
* Correct weird formatting
* Update to the latest tendermint-machine
* Manually step the Tendermint machine when we synced a block over the network
* Ignore finality notifications for old blocks
* Remove a TODO resolved in 8c51bc011d03c8d54ded05011e7f4d1a01e9f873
* Add a TODO comment to slash
Enables searching for the case-sensitive phrase and finding it.
* cargo fmt
* Use a tmp DB for Serai in Docker
* Remove panic on slash
As we move towards protonet, this can happen (if a node goes offline),
yet it happening brings down the entire net right now.
* Add log::error on slash
* created shared volume between containers
* Complete the sh scripts
* Pass in the genesis time to Substrate
* Correct block announcements
They were announced, yet not marked best.
* Correct pupulate_end_time
It was used as inclusive yet didn't work inclusively.
* Correct gossip channel jumping when a block is synced via Substrate
* Use a looser check in import_future
This triggered so it needs to be accordingly relaxed.
* Correct race conditions between add_block and step
Also corrects a <= to <.
* Update cargo deny
* rename genesis-service to genesis
* Update Cargo.lock
* Correct runtime Cargo.toml whitespace
* Correct typo
* Document recheck
* Misc lints
* Fix prev commit
* Resolve low-hanging review comments
* Mark genesis/entry-dev.sh as executable
* Prevent a commit from including the same signature multiple times
Yanks tendermint-machine 0.1.0 accordingly.
* Update to latest nightly clippy
* Improve documentation
* Use clearer variable names
* Add log statements
* Pair more log statements
* Clean TendermintAuthority::authority as possible
Merges it into new. It has way too many arguments, yet there's no clear path at
consolidation there, unfortunately.
Additionally provides better scoping within itself.
* Fix #158
Doesn't use lock_import_and_run for reasons commented (lack of async).
* Rename guard to lock
* Have the devnet use the current time as the genesis
Possible since it's only a single node, not requiring synchronization.
* Fix gossiping
I really don't know what side effect this avoids and I can't say I care at this
point.
* Misc lints
Co-authored-by: vrx00 <vrx00@proton.me>
Co-authored-by: TheArchitect108 <TheArchitect108@protonmail.com>
2022-12-03 23:38:02 +00:00
|
|
|
"sc-client-db",
|
2022-07-16 21:49:35 +00:00
|
|
|
"sc-consensus",
|
|
|
|
"sc-executor",
|
|
|
|
"sc-keystore",
|
Initial Tendermint implementation (#145)
* Machine without timeouts
* Time code
* Move substrate/consensus/tendermint to substrate/tendermint
* Delete the old paper doc
* Refactor out external parts to generics
Also creates a dedicated file for the message log.
* Refactor <V, B> to type V, type B
* Successfully compiling
* Calculate timeouts
* Fix test
* Finish timeouts
* Misc cleanup
* Define a signature scheme trait
* Implement serialization via parity's scale codec
Ideally, this would be generic. Unfortunately, the generic API serde
doesn't natively support borsh, nor SCALE, and while there is a serde
SCALE crate, it's old. While it may be complete, it's not worth working
with.
While we could still grab bincode, and a variety of other formats, it
wasn't worth it to go custom and for Serai, we'll be using SCALE almost
everywhere anyways.
* Implement usage of the signature scheme
* Make the infinite test non-infinite
* Provide a dedicated signature in Precommit of just the block hash
Greatly simplifies verifying when syncing.
* Dedicated Commit object
Restores sig aggregation API.
* Tidy README
* Document tendermint
* Sign the ID directly instead of its SCALE encoding
For a hash, which is fixed-size, these should be the same yet this helps
move past the dependency on SCALE. It also, for any type where the two
values are different, smooths integration.
* Litany of bug fixes
Also attempts to make the code more readable while updating/correcting
documentation.
* Remove async recursion
Greatly increases safety as well by ensuring only one message is
processed at once.
* Correct timing issues
1) Commit didn't include the round, leaving the clock in question.
2) Machines started with a local time, instead of a proper start time.
3) Machines immediately started the next block instead of waiting for
the block time.
* Replace MultiSignature with sr25519::Signature
* Minor SignatureScheme API changes
* Map TM SignatureScheme to Substrate's sr25519
* Initial work on an import queue
* Properly use check_block
* Rename import to import_queue
* Implement tendermint_machine::Block for Substrate Blocks
Unfortunately, this immediately makes Tendermint machine capable of
deployment as crate since it uses a git reference. In the future, a
Cargo.toml patch section for serai/substrate should be investigated.
This is being done regardless as it's the quickest way forward and this
is for Serai.
* Dummy Weights
* Move documentation to the top of the file
* Move logic into TendermintImport itself
Multiple traits exist to verify/handle blocks. I'm unsure exactly when
each will be called in the pipeline, so the easiest solution is to have
every step run every check.
That would be extremely computationally expensive if we ran EVERY check,
yet we rely on Substrate for execution (and according checks), which are
limited to just the actual import function.
Since we're calling this code from many places, it makes sense for it to
be consolidated under TendermintImport.
* BlockImport, JustificationImport, Verifier, and import_queue function
* Update consensus/lib.rs from PoW to Tendermint
Not possible to be used as the previous consensus could. It will not
produce blocks nor does it currenly even instantiate a machine. This is
just he next step.
* Update Cargo.tomls for substrate packages
* Tendermint SelectChain
This is incompatible with Substrate's expectations, yet should be valid
for ours
* Move the node over to the new SelectChain
* Minor tweaks
* Update SelectChain documentation
* Remove substrate/node lib.rs
This shouldn't be used as a library AFAIK. While runtime should be, and
arguably should even be published, I have yet to see node in the same
way. Helps tighten API boundaries.
* Remove unused macro_use
* Replace panicking todos with stubs and // TODO
Enables progress.
* Reduce chain_spec and use more accurate naming
* Implement block proposal logic
* Modularize to get_proposal
* Trigger block importing
Doesn't wait for the response yet, which it needs to.
* Get the result of block importing
* Split import_queue into a series of files
* Provide a way to create the machine
The BasicQueue returned obscures the TendermintImport struct.
Accordingly, a Future scoped with access is returned upwards, which when
awaited will create the machine. This makes creating the machine
optional while maintaining scope boundaries.
Is sufficient to create a 1-node net which produces and finalizes
blocks.
* Don't import justifications multiple times
Also don't broadcast blocks which were solely proposed.
* Correct justication import pipeline
Removes JustificationImport as it should never be used.
* Announce blocks
By claiming File, they're not sent ovber the P2P network before they
have a justification, as desired. Unfortunately, they never were. This
works around that.
* Add an assert to verify proposed children aren't best
* Consolidate C and I generics into a TendermintClient trait alias
* Expand sanity checks
Substrate doesn't expect nor officially support children with less work
than their parents. It's a trick used here. Accordingly, ensure the
trick's validity.
* When resetting, use the end time of the round which was committed to
The machine reset to the end time of the current round. For a delayed
network connection, a machine may move ahead in rounds and only later
realize a prior round succeeded. Despite acknowledging that round's
success, it would maintain its delay when moving to the next block,
bricking it.
Done by tracking the end time for each round as they occur.
* Move Commit from including the round to including the round's end_time
The round was usable to build the current clock in an accumulated
fashion, relative to the previous round. The end time is the absolute
metric of it, which can be used to calculate the round number (with all
previous end times).
Substrate now builds off the best block, not genesis, using the end time
included in the justification to start its machine in a synchronized
state.
Knowing the end time of a round, or the round in which block was
committed to, is necessary for nodes to sync up with Tendermint.
Encoding it in the commit ensures it's long lasting and makes it readily
available, without the load of an entire transaction.
* Add a TODO on Tendermint
* Misc bug fixes
* More misc bug fixes
* Clean up lock acquisition
* Merge weights and signing scheme into validators, documenting needed changes
* Add pallet sessions to runtime, create pallet-tendermint
* Update node to use pallet sessions
* Update support URL
* Partial work on correcting pallet calls
* Redo Tendermint folder structure
* TendermintApi, compilation fixes
* Fix the stub round robin
At some point, the modulus was removed causing it to exceed the
validators list and stop proposing.
* Use the validators list from the session pallet
* Basic Gossip Validator
* Correct Substrate Tendermint start block
The Tendermint machine uses the passed in number as the block's being
worked on number. Substrate passed in the already finalized block's
number.
Also updates misc comments.
* Clean generics in Tendermint with a monolith with associated types
* Remove the Future triggering the machine for an async fn
Enables passing data in, such as the network.
* Move TendermintMachine from start_num, time to last_num, time
Provides an explicitly clear API clearer to program around.
Also adds additional time code to handle an edge case.
* Connect the Tendermint machine to a GossipEngine
* Connect broadcast
* Remove machine from TendermintImport
It's not used there at all.
* Merge Verifier into block_import.rs
These two files were largely the same, just hooking into sync structs
with almost identical imports. As this project shapes up, removing dead
weight is appreciated.
* Create a dedicated file for being a Tendermint authority
* Deleted comment code related to PoW
* Move serai_runtime specific code from tendermint/client to node
Renames serai-consensus to sc_tendermint
* Consolidate file structure in sc_tendermint
* Replace best_* with finalized_*
We test their equivalency yet still better to use finalized_* in
general.
* Consolidate references to sr25519 in sc_tendermint
* Add documentation to public structs/functions in sc_tendermint
* Add another missing comment
* Make sign asynchronous
Some relation to https://github.com/serai-dex/serai/issues/95.
* Move sc_tendermint to async sign
* Implement proper checking of inherents
* Take in a Keystore and validator ID
* Remove unnecessary PhantomDatas
* Update node to latest sc_tendermint
* Configure node for a multi-node testnet
* Fix handling of the GossipEngine
* Use a rounded genesis to obtain sufficient synchrony within the Docker env
* Correct Serai d-f names in Docker
* Remove an attempt at caching I don't believe would ever hit
* Add an already in chain check to block import
While the inner should do this for us, we call verify_order on our end
*before* inner to ensure sequential import. Accordingly, we need to
provide our own check.
Removes errors of "non-sequential import" when trying to re-import an
existing block.
* Update the consensus documentation
It was incredibly out of date.
* Add a _ to the validator arg in slash
* Make the dev profile a local testnet profile
Restores a dev profile which only has one validator, locally running.
* Reduce Arcs in TendermintMachine, split Signer from SignatureScheme
* Update sc_tendermint per previous commit
* Restore cache
* Remove error case which shouldn't be an error
* Stop returning errors on already existing blocks entirely
* Correct Dave, Eve, and Ferdie to not run as validators
* Rename dev to devnet
--dev still works thanks to the |. Acheieves a personal preference of
mine with some historical meaning.
* Add message expiry to the Tendermint gossip
* Localize the LibP2P protocol to the blockchain
Follows convention by doing so. Theoretically enables running multiple
blockchains over a single LibP2P connection.
* Add a version to sp-runtime in tendermint-machine
* Add missing trait
* Bump Substrate dependency
Fixes #147.
* Implement Schnorr half-aggregation from https://eprint.iacr.org/2021/350.pdf
Relevant to https://github.com/serai-dex/serai/issues/99.
* cargo update (tendermint)
* Move from polling loops to a pure IO model for sc_tendermint's gossip
* Correct protocol name handling
* Use futures mpsc instead of tokio
* Timeout futures
* Move from a yielding loop to select in tendermint-machine
* Update Substrate to the new TendermintHandle
* Use futures pin instead of tokio
* Only recheck blocks with non-fatal inherent transaction errors
* Update to the latest substrate
* Separate the block processing time from the latency
* Add notes to the runtime
* Don't spam slash
Also adds a slash condition of failing to propose.
* Support running TendermintMachine when not a validator
This supports validators who leave the current set, without crashing
their nodes, along with nodes trying to become validators (who will now
seamlessly transition in).
* Properly define and pass around the block size
* Correct the Duration timing
The proposer will build it, send it, then process it (on the first
round). Accordingly, it's / 3, not / 2, as / 2 only accounted for the
latter events.
* Correct time-adjustment code on round skip
* Have the machine respond to advances made by an external sync loop
* Clean up time code in tendermint-machine
* BlockData and RoundData structs
* Rename Round to RoundNumber
* Move BlockData to a new file
* Move Round to an Option due to the pseudo-uninitialized state we create
Before the addition of RoundData, we always created the round, and on
.round(0), simply created it again. With RoundData, and the changes to
the time code, we used round 0, time 0, the latter being incorrect yet
not an issue due to lack of misuse.
Now, if we do misuse it, it'll panic.
* Clear the Queue instead of draining and filtering
There shouldn't ever be a message which passes the filter under the
current design.
* BlockData::new
* Move more code into block.rs
Introduces type-aliases to obtain Data/Message/SignedMessage solely from
a Network object.
Fixes a bug regarding stepping when you're not an active validator.
* Have verify_precommit_signature return if it verified the signature
Also fixes a bug where invalid precommit signatures were left standing
and therefore contributing to commits.
* Remove the precommit signature hash
It cached signatures per-block. Precommit signatures are bound to each
round. This would lead to forming invalid commits when a commit should
be formed. Under debug, the machine would catch that and panic. On
release, it'd have everyone who wasn't a validator fail to continue
syncing.
* Slight doc changes
Also flattens the message handling function by replacing an if
containing all following code in the function with an early return for
the else case.
* Always produce notifications for finalized blocks via origin overrides
* Correct weird formatting
* Update to the latest tendermint-machine
* Manually step the Tendermint machine when we synced a block over the network
* Ignore finality notifications for old blocks
* Remove a TODO resolved in 8c51bc011d03c8d54ded05011e7f4d1a01e9f873
* Add a TODO comment to slash
Enables searching for the case-sensitive phrase and finding it.
* cargo fmt
* Use a tmp DB for Serai in Docker
* Remove panic on slash
As we move towards protonet, this can happen (if a node goes offline),
yet it happening brings down the entire net right now.
* Add log::error on slash
* created shared volume between containers
* Complete the sh scripts
* Pass in the genesis time to Substrate
* Correct block announcements
They were announced, yet not marked best.
* Correct pupulate_end_time
It was used as inclusive yet didn't work inclusively.
* Correct gossip channel jumping when a block is synced via Substrate
* Use a looser check in import_future
This triggered so it needs to be accordingly relaxed.
* Correct race conditions between add_block and step
Also corrects a <= to <.
* Update cargo deny
* rename genesis-service to genesis
* Update Cargo.lock
* Correct runtime Cargo.toml whitespace
* Correct typo
* Document recheck
* Misc lints
* Fix prev commit
* Resolve low-hanging review comments
* Mark genesis/entry-dev.sh as executable
* Prevent a commit from including the same signature multiple times
Yanks tendermint-machine 0.1.0 accordingly.
* Update to latest nightly clippy
* Improve documentation
* Use clearer variable names
* Add log statements
* Pair more log statements
* Clean TendermintAuthority::authority as possible
Merges it into new. It has way too many arguments, yet there's no clear path at
consolidation there, unfortunately.
Additionally provides better scoping within itself.
* Fix #158
Doesn't use lock_import_and_run for reasons commented (lack of async).
* Rename guard to lock
* Have the devnet use the current time as the genesis
Possible since it's only a single node, not requiring synchronization.
* Fix gossiping
I really don't know what side effect this avoids and I can't say I care at this
point.
* Misc lints
Co-authored-by: vrx00 <vrx00@proton.me>
Co-authored-by: TheArchitect108 <TheArchitect108@protonmail.com>
2022-12-03 23:38:02 +00:00
|
|
|
"sc-network",
|
2022-07-16 21:49:35 +00:00
|
|
|
"sc-rpc",
|
|
|
|
"sc-rpc-api",
|
|
|
|
"sc-service",
|
|
|
|
"sc-telemetry",
|
Initial Tendermint implementation (#145)
* Machine without timeouts
* Time code
* Move substrate/consensus/tendermint to substrate/tendermint
* Delete the old paper doc
* Refactor out external parts to generics
Also creates a dedicated file for the message log.
* Refactor <V, B> to type V, type B
* Successfully compiling
* Calculate timeouts
* Fix test
* Finish timeouts
* Misc cleanup
* Define a signature scheme trait
* Implement serialization via parity's scale codec
Ideally, this would be generic. Unfortunately, the generic API serde
doesn't natively support borsh, nor SCALE, and while there is a serde
SCALE crate, it's old. While it may be complete, it's not worth working
with.
While we could still grab bincode, and a variety of other formats, it
wasn't worth it to go custom and for Serai, we'll be using SCALE almost
everywhere anyways.
* Implement usage of the signature scheme
* Make the infinite test non-infinite
* Provide a dedicated signature in Precommit of just the block hash
Greatly simplifies verifying when syncing.
* Dedicated Commit object
Restores sig aggregation API.
* Tidy README
* Document tendermint
* Sign the ID directly instead of its SCALE encoding
For a hash, which is fixed-size, these should be the same yet this helps
move past the dependency on SCALE. It also, for any type where the two
values are different, smooths integration.
* Litany of bug fixes
Also attempts to make the code more readable while updating/correcting
documentation.
* Remove async recursion
Greatly increases safety as well by ensuring only one message is
processed at once.
* Correct timing issues
1) Commit didn't include the round, leaving the clock in question.
2) Machines started with a local time, instead of a proper start time.
3) Machines immediately started the next block instead of waiting for
the block time.
* Replace MultiSignature with sr25519::Signature
* Minor SignatureScheme API changes
* Map TM SignatureScheme to Substrate's sr25519
* Initial work on an import queue
* Properly use check_block
* Rename import to import_queue
* Implement tendermint_machine::Block for Substrate Blocks
Unfortunately, this immediately makes Tendermint machine capable of
deployment as crate since it uses a git reference. In the future, a
Cargo.toml patch section for serai/substrate should be investigated.
This is being done regardless as it's the quickest way forward and this
is for Serai.
* Dummy Weights
* Move documentation to the top of the file
* Move logic into TendermintImport itself
Multiple traits exist to verify/handle blocks. I'm unsure exactly when
each will be called in the pipeline, so the easiest solution is to have
every step run every check.
That would be extremely computationally expensive if we ran EVERY check,
yet we rely on Substrate for execution (and according checks), which are
limited to just the actual import function.
Since we're calling this code from many places, it makes sense for it to
be consolidated under TendermintImport.
* BlockImport, JustificationImport, Verifier, and import_queue function
* Update consensus/lib.rs from PoW to Tendermint
Not possible to be used as the previous consensus could. It will not
produce blocks nor does it currenly even instantiate a machine. This is
just he next step.
* Update Cargo.tomls for substrate packages
* Tendermint SelectChain
This is incompatible with Substrate's expectations, yet should be valid
for ours
* Move the node over to the new SelectChain
* Minor tweaks
* Update SelectChain documentation
* Remove substrate/node lib.rs
This shouldn't be used as a library AFAIK. While runtime should be, and
arguably should even be published, I have yet to see node in the same
way. Helps tighten API boundaries.
* Remove unused macro_use
* Replace panicking todos with stubs and // TODO
Enables progress.
* Reduce chain_spec and use more accurate naming
* Implement block proposal logic
* Modularize to get_proposal
* Trigger block importing
Doesn't wait for the response yet, which it needs to.
* Get the result of block importing
* Split import_queue into a series of files
* Provide a way to create the machine
The BasicQueue returned obscures the TendermintImport struct.
Accordingly, a Future scoped with access is returned upwards, which when
awaited will create the machine. This makes creating the machine
optional while maintaining scope boundaries.
Is sufficient to create a 1-node net which produces and finalizes
blocks.
* Don't import justifications multiple times
Also don't broadcast blocks which were solely proposed.
* Correct justication import pipeline
Removes JustificationImport as it should never be used.
* Announce blocks
By claiming File, they're not sent ovber the P2P network before they
have a justification, as desired. Unfortunately, they never were. This
works around that.
* Add an assert to verify proposed children aren't best
* Consolidate C and I generics into a TendermintClient trait alias
* Expand sanity checks
Substrate doesn't expect nor officially support children with less work
than their parents. It's a trick used here. Accordingly, ensure the
trick's validity.
* When resetting, use the end time of the round which was committed to
The machine reset to the end time of the current round. For a delayed
network connection, a machine may move ahead in rounds and only later
realize a prior round succeeded. Despite acknowledging that round's
success, it would maintain its delay when moving to the next block,
bricking it.
Done by tracking the end time for each round as they occur.
* Move Commit from including the round to including the round's end_time
The round was usable to build the current clock in an accumulated
fashion, relative to the previous round. The end time is the absolute
metric of it, which can be used to calculate the round number (with all
previous end times).
Substrate now builds off the best block, not genesis, using the end time
included in the justification to start its machine in a synchronized
state.
Knowing the end time of a round, or the round in which block was
committed to, is necessary for nodes to sync up with Tendermint.
Encoding it in the commit ensures it's long lasting and makes it readily
available, without the load of an entire transaction.
* Add a TODO on Tendermint
* Misc bug fixes
* More misc bug fixes
* Clean up lock acquisition
* Merge weights and signing scheme into validators, documenting needed changes
* Add pallet sessions to runtime, create pallet-tendermint
* Update node to use pallet sessions
* Update support URL
* Partial work on correcting pallet calls
* Redo Tendermint folder structure
* TendermintApi, compilation fixes
* Fix the stub round robin
At some point, the modulus was removed causing it to exceed the
validators list and stop proposing.
* Use the validators list from the session pallet
* Basic Gossip Validator
* Correct Substrate Tendermint start block
The Tendermint machine uses the passed in number as the block's being
worked on number. Substrate passed in the already finalized block's
number.
Also updates misc comments.
* Clean generics in Tendermint with a monolith with associated types
* Remove the Future triggering the machine for an async fn
Enables passing data in, such as the network.
* Move TendermintMachine from start_num, time to last_num, time
Provides an explicitly clear API clearer to program around.
Also adds additional time code to handle an edge case.
* Connect the Tendermint machine to a GossipEngine
* Connect broadcast
* Remove machine from TendermintImport
It's not used there at all.
* Merge Verifier into block_import.rs
These two files were largely the same, just hooking into sync structs
with almost identical imports. As this project shapes up, removing dead
weight is appreciated.
* Create a dedicated file for being a Tendermint authority
* Deleted comment code related to PoW
* Move serai_runtime specific code from tendermint/client to node
Renames serai-consensus to sc_tendermint
* Consolidate file structure in sc_tendermint
* Replace best_* with finalized_*
We test their equivalency yet still better to use finalized_* in
general.
* Consolidate references to sr25519 in sc_tendermint
* Add documentation to public structs/functions in sc_tendermint
* Add another missing comment
* Make sign asynchronous
Some relation to https://github.com/serai-dex/serai/issues/95.
* Move sc_tendermint to async sign
* Implement proper checking of inherents
* Take in a Keystore and validator ID
* Remove unnecessary PhantomDatas
* Update node to latest sc_tendermint
* Configure node for a multi-node testnet
* Fix handling of the GossipEngine
* Use a rounded genesis to obtain sufficient synchrony within the Docker env
* Correct Serai d-f names in Docker
* Remove an attempt at caching I don't believe would ever hit
* Add an already in chain check to block import
While the inner should do this for us, we call verify_order on our end
*before* inner to ensure sequential import. Accordingly, we need to
provide our own check.
Removes errors of "non-sequential import" when trying to re-import an
existing block.
* Update the consensus documentation
It was incredibly out of date.
* Add a _ to the validator arg in slash
* Make the dev profile a local testnet profile
Restores a dev profile which only has one validator, locally running.
* Reduce Arcs in TendermintMachine, split Signer from SignatureScheme
* Update sc_tendermint per previous commit
* Restore cache
* Remove error case which shouldn't be an error
* Stop returning errors on already existing blocks entirely
* Correct Dave, Eve, and Ferdie to not run as validators
* Rename dev to devnet
--dev still works thanks to the |. Acheieves a personal preference of
mine with some historical meaning.
* Add message expiry to the Tendermint gossip
* Localize the LibP2P protocol to the blockchain
Follows convention by doing so. Theoretically enables running multiple
blockchains over a single LibP2P connection.
* Add a version to sp-runtime in tendermint-machine
* Add missing trait
* Bump Substrate dependency
Fixes #147.
* Implement Schnorr half-aggregation from https://eprint.iacr.org/2021/350.pdf
Relevant to https://github.com/serai-dex/serai/issues/99.
* cargo update (tendermint)
* Move from polling loops to a pure IO model for sc_tendermint's gossip
* Correct protocol name handling
* Use futures mpsc instead of tokio
* Timeout futures
* Move from a yielding loop to select in tendermint-machine
* Update Substrate to the new TendermintHandle
* Use futures pin instead of tokio
* Only recheck blocks with non-fatal inherent transaction errors
* Update to the latest substrate
* Separate the block processing time from the latency
* Add notes to the runtime
* Don't spam slash
Also adds a slash condition of failing to propose.
* Support running TendermintMachine when not a validator
This supports validators who leave the current set, without crashing
their nodes, along with nodes trying to become validators (who will now
seamlessly transition in).
* Properly define and pass around the block size
* Correct the Duration timing
The proposer will build it, send it, then process it (on the first
round). Accordingly, it's / 3, not / 2, as / 2 only accounted for the
latter events.
* Correct time-adjustment code on round skip
* Have the machine respond to advances made by an external sync loop
* Clean up time code in tendermint-machine
* BlockData and RoundData structs
* Rename Round to RoundNumber
* Move BlockData to a new file
* Move Round to an Option due to the pseudo-uninitialized state we create
Before the addition of RoundData, we always created the round, and on
.round(0), simply created it again. With RoundData, and the changes to
the time code, we used round 0, time 0, the latter being incorrect yet
not an issue due to lack of misuse.
Now, if we do misuse it, it'll panic.
* Clear the Queue instead of draining and filtering
There shouldn't ever be a message which passes the filter under the
current design.
* BlockData::new
* Move more code into block.rs
Introduces type-aliases to obtain Data/Message/SignedMessage solely from
a Network object.
Fixes a bug regarding stepping when you're not an active validator.
* Have verify_precommit_signature return if it verified the signature
Also fixes a bug where invalid precommit signatures were left standing
and therefore contributing to commits.
* Remove the precommit signature hash
It cached signatures per-block. Precommit signatures are bound to each
round. This would lead to forming invalid commits when a commit should
be formed. Under debug, the machine would catch that and panic. On
release, it'd have everyone who wasn't a validator fail to continue
syncing.
* Slight doc changes
Also flattens the message handling function by replacing an if
containing all following code in the function with an early return for
the else case.
* Always produce notifications for finalized blocks via origin overrides
* Correct weird formatting
* Update to the latest tendermint-machine
* Manually step the Tendermint machine when we synced a block over the network
* Ignore finality notifications for old blocks
* Remove a TODO resolved in 8c51bc011d03c8d54ded05011e7f4d1a01e9f873
* Add a TODO comment to slash
Enables searching for the case-sensitive phrase and finding it.
* cargo fmt
* Use a tmp DB for Serai in Docker
* Remove panic on slash
As we move towards protonet, this can happen (if a node goes offline),
yet it happening brings down the entire net right now.
* Add log::error on slash
* created shared volume between containers
* Complete the sh scripts
* Pass in the genesis time to Substrate
* Correct block announcements
They were announced, yet not marked best.
* Correct pupulate_end_time
It was used as inclusive yet didn't work inclusively.
* Correct gossip channel jumping when a block is synced via Substrate
* Use a looser check in import_future
This triggered so it needs to be accordingly relaxed.
* Correct race conditions between add_block and step
Also corrects a <= to <.
* Update cargo deny
* rename genesis-service to genesis
* Update Cargo.lock
* Correct runtime Cargo.toml whitespace
* Correct typo
* Document recheck
* Misc lints
* Fix prev commit
* Resolve low-hanging review comments
* Mark genesis/entry-dev.sh as executable
* Prevent a commit from including the same signature multiple times
Yanks tendermint-machine 0.1.0 accordingly.
* Update to latest nightly clippy
* Improve documentation
* Use clearer variable names
* Add log statements
* Pair more log statements
* Clean TendermintAuthority::authority as possible
Merges it into new. It has way too many arguments, yet there's no clear path at
consolidation there, unfortunately.
Additionally provides better scoping within itself.
* Fix #158
Doesn't use lock_import_and_run for reasons commented (lack of async).
* Rename guard to lock
* Have the devnet use the current time as the genesis
Possible since it's only a single node, not requiring synchronization.
* Fix gossiping
I really don't know what side effect this avoids and I can't say I care at this
point.
* Misc lints
Co-authored-by: vrx00 <vrx00@proton.me>
Co-authored-by: TheArchitect108 <TheArchitect108@protonmail.com>
2022-12-03 23:38:02 +00:00
|
|
|
"sc-tendermint",
|
2022-07-16 21:49:35 +00:00
|
|
|
"sc-transaction-pool",
|
|
|
|
"sc-transaction-pool-api",
|
2023-01-05 03:52:41 +00:00
|
|
|
"serai-primitives",
|
2022-07-16 21:49:35 +00:00
|
|
|
"serai-runtime",
|
|
|
|
"sp-api",
|
Initial Tendermint implementation (#145)
* Machine without timeouts
* Time code
* Move substrate/consensus/tendermint to substrate/tendermint
* Delete the old paper doc
* Refactor out external parts to generics
Also creates a dedicated file for the message log.
* Refactor <V, B> to type V, type B
* Successfully compiling
* Calculate timeouts
* Fix test
* Finish timeouts
* Misc cleanup
* Define a signature scheme trait
* Implement serialization via parity's scale codec
Ideally, this would be generic. Unfortunately, the generic API serde
doesn't natively support borsh, nor SCALE, and while there is a serde
SCALE crate, it's old. While it may be complete, it's not worth working
with.
While we could still grab bincode, and a variety of other formats, it
wasn't worth it to go custom and for Serai, we'll be using SCALE almost
everywhere anyways.
* Implement usage of the signature scheme
* Make the infinite test non-infinite
* Provide a dedicated signature in Precommit of just the block hash
Greatly simplifies verifying when syncing.
* Dedicated Commit object
Restores sig aggregation API.
* Tidy README
* Document tendermint
* Sign the ID directly instead of its SCALE encoding
For a hash, which is fixed-size, these should be the same yet this helps
move past the dependency on SCALE. It also, for any type where the two
values are different, smooths integration.
* Litany of bug fixes
Also attempts to make the code more readable while updating/correcting
documentation.
* Remove async recursion
Greatly increases safety as well by ensuring only one message is
processed at once.
* Correct timing issues
1) Commit didn't include the round, leaving the clock in question.
2) Machines started with a local time, instead of a proper start time.
3) Machines immediately started the next block instead of waiting for
the block time.
* Replace MultiSignature with sr25519::Signature
* Minor SignatureScheme API changes
* Map TM SignatureScheme to Substrate's sr25519
* Initial work on an import queue
* Properly use check_block
* Rename import to import_queue
* Implement tendermint_machine::Block for Substrate Blocks
Unfortunately, this immediately makes Tendermint machine capable of
deployment as crate since it uses a git reference. In the future, a
Cargo.toml patch section for serai/substrate should be investigated.
This is being done regardless as it's the quickest way forward and this
is for Serai.
* Dummy Weights
* Move documentation to the top of the file
* Move logic into TendermintImport itself
Multiple traits exist to verify/handle blocks. I'm unsure exactly when
each will be called in the pipeline, so the easiest solution is to have
every step run every check.
That would be extremely computationally expensive if we ran EVERY check,
yet we rely on Substrate for execution (and according checks), which are
limited to just the actual import function.
Since we're calling this code from many places, it makes sense for it to
be consolidated under TendermintImport.
* BlockImport, JustificationImport, Verifier, and import_queue function
* Update consensus/lib.rs from PoW to Tendermint
Not possible to be used as the previous consensus could. It will not
produce blocks nor does it currenly even instantiate a machine. This is
just he next step.
* Update Cargo.tomls for substrate packages
* Tendermint SelectChain
This is incompatible with Substrate's expectations, yet should be valid
for ours
* Move the node over to the new SelectChain
* Minor tweaks
* Update SelectChain documentation
* Remove substrate/node lib.rs
This shouldn't be used as a library AFAIK. While runtime should be, and
arguably should even be published, I have yet to see node in the same
way. Helps tighten API boundaries.
* Remove unused macro_use
* Replace panicking todos with stubs and // TODO
Enables progress.
* Reduce chain_spec and use more accurate naming
* Implement block proposal logic
* Modularize to get_proposal
* Trigger block importing
Doesn't wait for the response yet, which it needs to.
* Get the result of block importing
* Split import_queue into a series of files
* Provide a way to create the machine
The BasicQueue returned obscures the TendermintImport struct.
Accordingly, a Future scoped with access is returned upwards, which when
awaited will create the machine. This makes creating the machine
optional while maintaining scope boundaries.
Is sufficient to create a 1-node net which produces and finalizes
blocks.
* Don't import justifications multiple times
Also don't broadcast blocks which were solely proposed.
* Correct justication import pipeline
Removes JustificationImport as it should never be used.
* Announce blocks
By claiming File, they're not sent ovber the P2P network before they
have a justification, as desired. Unfortunately, they never were. This
works around that.
* Add an assert to verify proposed children aren't best
* Consolidate C and I generics into a TendermintClient trait alias
* Expand sanity checks
Substrate doesn't expect nor officially support children with less work
than their parents. It's a trick used here. Accordingly, ensure the
trick's validity.
* When resetting, use the end time of the round which was committed to
The machine reset to the end time of the current round. For a delayed
network connection, a machine may move ahead in rounds and only later
realize a prior round succeeded. Despite acknowledging that round's
success, it would maintain its delay when moving to the next block,
bricking it.
Done by tracking the end time for each round as they occur.
* Move Commit from including the round to including the round's end_time
The round was usable to build the current clock in an accumulated
fashion, relative to the previous round. The end time is the absolute
metric of it, which can be used to calculate the round number (with all
previous end times).
Substrate now builds off the best block, not genesis, using the end time
included in the justification to start its machine in a synchronized
state.
Knowing the end time of a round, or the round in which block was
committed to, is necessary for nodes to sync up with Tendermint.
Encoding it in the commit ensures it's long lasting and makes it readily
available, without the load of an entire transaction.
* Add a TODO on Tendermint
* Misc bug fixes
* More misc bug fixes
* Clean up lock acquisition
* Merge weights and signing scheme into validators, documenting needed changes
* Add pallet sessions to runtime, create pallet-tendermint
* Update node to use pallet sessions
* Update support URL
* Partial work on correcting pallet calls
* Redo Tendermint folder structure
* TendermintApi, compilation fixes
* Fix the stub round robin
At some point, the modulus was removed causing it to exceed the
validators list and stop proposing.
* Use the validators list from the session pallet
* Basic Gossip Validator
* Correct Substrate Tendermint start block
The Tendermint machine uses the passed in number as the block's being
worked on number. Substrate passed in the already finalized block's
number.
Also updates misc comments.
* Clean generics in Tendermint with a monolith with associated types
* Remove the Future triggering the machine for an async fn
Enables passing data in, such as the network.
* Move TendermintMachine from start_num, time to last_num, time
Provides an explicitly clear API clearer to program around.
Also adds additional time code to handle an edge case.
* Connect the Tendermint machine to a GossipEngine
* Connect broadcast
* Remove machine from TendermintImport
It's not used there at all.
* Merge Verifier into block_import.rs
These two files were largely the same, just hooking into sync structs
with almost identical imports. As this project shapes up, removing dead
weight is appreciated.
* Create a dedicated file for being a Tendermint authority
* Deleted comment code related to PoW
* Move serai_runtime specific code from tendermint/client to node
Renames serai-consensus to sc_tendermint
* Consolidate file structure in sc_tendermint
* Replace best_* with finalized_*
We test their equivalency yet still better to use finalized_* in
general.
* Consolidate references to sr25519 in sc_tendermint
* Add documentation to public structs/functions in sc_tendermint
* Add another missing comment
* Make sign asynchronous
Some relation to https://github.com/serai-dex/serai/issues/95.
* Move sc_tendermint to async sign
* Implement proper checking of inherents
* Take in a Keystore and validator ID
* Remove unnecessary PhantomDatas
* Update node to latest sc_tendermint
* Configure node for a multi-node testnet
* Fix handling of the GossipEngine
* Use a rounded genesis to obtain sufficient synchrony within the Docker env
* Correct Serai d-f names in Docker
* Remove an attempt at caching I don't believe would ever hit
* Add an already in chain check to block import
While the inner should do this for us, we call verify_order on our end
*before* inner to ensure sequential import. Accordingly, we need to
provide our own check.
Removes errors of "non-sequential import" when trying to re-import an
existing block.
* Update the consensus documentation
It was incredibly out of date.
* Add a _ to the validator arg in slash
* Make the dev profile a local testnet profile
Restores a dev profile which only has one validator, locally running.
* Reduce Arcs in TendermintMachine, split Signer from SignatureScheme
* Update sc_tendermint per previous commit
* Restore cache
* Remove error case which shouldn't be an error
* Stop returning errors on already existing blocks entirely
* Correct Dave, Eve, and Ferdie to not run as validators
* Rename dev to devnet
--dev still works thanks to the |. Acheieves a personal preference of
mine with some historical meaning.
* Add message expiry to the Tendermint gossip
* Localize the LibP2P protocol to the blockchain
Follows convention by doing so. Theoretically enables running multiple
blockchains over a single LibP2P connection.
* Add a version to sp-runtime in tendermint-machine
* Add missing trait
* Bump Substrate dependency
Fixes #147.
* Implement Schnorr half-aggregation from https://eprint.iacr.org/2021/350.pdf
Relevant to https://github.com/serai-dex/serai/issues/99.
* cargo update (tendermint)
* Move from polling loops to a pure IO model for sc_tendermint's gossip
* Correct protocol name handling
* Use futures mpsc instead of tokio
* Timeout futures
* Move from a yielding loop to select in tendermint-machine
* Update Substrate to the new TendermintHandle
* Use futures pin instead of tokio
* Only recheck blocks with non-fatal inherent transaction errors
* Update to the latest substrate
* Separate the block processing time from the latency
* Add notes to the runtime
* Don't spam slash
Also adds a slash condition of failing to propose.
* Support running TendermintMachine when not a validator
This supports validators who leave the current set, without crashing
their nodes, along with nodes trying to become validators (who will now
seamlessly transition in).
* Properly define and pass around the block size
* Correct the Duration timing
The proposer will build it, send it, then process it (on the first
round). Accordingly, it's / 3, not / 2, as / 2 only accounted for the
latter events.
* Correct time-adjustment code on round skip
* Have the machine respond to advances made by an external sync loop
* Clean up time code in tendermint-machine
* BlockData and RoundData structs
* Rename Round to RoundNumber
* Move BlockData to a new file
* Move Round to an Option due to the pseudo-uninitialized state we create
Before the addition of RoundData, we always created the round, and on
.round(0), simply created it again. With RoundData, and the changes to
the time code, we used round 0, time 0, the latter being incorrect yet
not an issue due to lack of misuse.
Now, if we do misuse it, it'll panic.
* Clear the Queue instead of draining and filtering
There shouldn't ever be a message which passes the filter under the
current design.
* BlockData::new
* Move more code into block.rs
Introduces type-aliases to obtain Data/Message/SignedMessage solely from
a Network object.
Fixes a bug regarding stepping when you're not an active validator.
* Have verify_precommit_signature return if it verified the signature
Also fixes a bug where invalid precommit signatures were left standing
and therefore contributing to commits.
* Remove the precommit signature hash
It cached signatures per-block. Precommit signatures are bound to each
round. This would lead to forming invalid commits when a commit should
be formed. Under debug, the machine would catch that and panic. On
release, it'd have everyone who wasn't a validator fail to continue
syncing.
* Slight doc changes
Also flattens the message handling function by replacing an if
containing all following code in the function with an early return for
the else case.
* Always produce notifications for finalized blocks via origin overrides
* Correct weird formatting
* Update to the latest tendermint-machine
* Manually step the Tendermint machine when we synced a block over the network
* Ignore finality notifications for old blocks
* Remove a TODO resolved in 8c51bc011d03c8d54ded05011e7f4d1a01e9f873
* Add a TODO comment to slash
Enables searching for the case-sensitive phrase and finding it.
* cargo fmt
* Use a tmp DB for Serai in Docker
* Remove panic on slash
As we move towards protonet, this can happen (if a node goes offline),
yet it happening brings down the entire net right now.
* Add log::error on slash
* created shared volume between containers
* Complete the sh scripts
* Pass in the genesis time to Substrate
* Correct block announcements
They were announced, yet not marked best.
* Correct pupulate_end_time
It was used as inclusive yet didn't work inclusively.
* Correct gossip channel jumping when a block is synced via Substrate
* Use a looser check in import_future
This triggered so it needs to be accordingly relaxed.
* Correct race conditions between add_block and step
Also corrects a <= to <.
* Update cargo deny
* rename genesis-service to genesis
* Update Cargo.lock
* Correct runtime Cargo.toml whitespace
* Correct typo
* Document recheck
* Misc lints
* Fix prev commit
* Resolve low-hanging review comments
* Mark genesis/entry-dev.sh as executable
* Prevent a commit from including the same signature multiple times
Yanks tendermint-machine 0.1.0 accordingly.
* Update to latest nightly clippy
* Improve documentation
* Use clearer variable names
* Add log statements
* Pair more log statements
* Clean TendermintAuthority::authority as possible
Merges it into new. It has way too many arguments, yet there's no clear path at
consolidation there, unfortunately.
Additionally provides better scoping within itself.
* Fix #158
Doesn't use lock_import_and_run for reasons commented (lack of async).
* Rename guard to lock
* Have the devnet use the current time as the genesis
Possible since it's only a single node, not requiring synchronization.
* Fix gossiping
I really don't know what side effect this avoids and I can't say I care at this
point.
* Misc lints
Co-authored-by: vrx00 <vrx00@proton.me>
Co-authored-by: TheArchitect108 <TheArchitect108@protonmail.com>
2022-12-03 23:38:02 +00:00
|
|
|
"sp-application-crypto",
|
2022-07-16 21:49:35 +00:00
|
|
|
"sp-block-builder",
|
|
|
|
"sp-blockchain",
|
Initial Tendermint implementation (#145)
* Machine without timeouts
* Time code
* Move substrate/consensus/tendermint to substrate/tendermint
* Delete the old paper doc
* Refactor out external parts to generics
Also creates a dedicated file for the message log.
* Refactor <V, B> to type V, type B
* Successfully compiling
* Calculate timeouts
* Fix test
* Finish timeouts
* Misc cleanup
* Define a signature scheme trait
* Implement serialization via parity's scale codec
Ideally, this would be generic. Unfortunately, the generic API serde
doesn't natively support borsh, nor SCALE, and while there is a serde
SCALE crate, it's old. While it may be complete, it's not worth working
with.
While we could still grab bincode, and a variety of other formats, it
wasn't worth it to go custom and for Serai, we'll be using SCALE almost
everywhere anyways.
* Implement usage of the signature scheme
* Make the infinite test non-infinite
* Provide a dedicated signature in Precommit of just the block hash
Greatly simplifies verifying when syncing.
* Dedicated Commit object
Restores sig aggregation API.
* Tidy README
* Document tendermint
* Sign the ID directly instead of its SCALE encoding
For a hash, which is fixed-size, these should be the same yet this helps
move past the dependency on SCALE. It also, for any type where the two
values are different, smooths integration.
* Litany of bug fixes
Also attempts to make the code more readable while updating/correcting
documentation.
* Remove async recursion
Greatly increases safety as well by ensuring only one message is
processed at once.
* Correct timing issues
1) Commit didn't include the round, leaving the clock in question.
2) Machines started with a local time, instead of a proper start time.
3) Machines immediately started the next block instead of waiting for
the block time.
* Replace MultiSignature with sr25519::Signature
* Minor SignatureScheme API changes
* Map TM SignatureScheme to Substrate's sr25519
* Initial work on an import queue
* Properly use check_block
* Rename import to import_queue
* Implement tendermint_machine::Block for Substrate Blocks
Unfortunately, this immediately makes Tendermint machine capable of
deployment as crate since it uses a git reference. In the future, a
Cargo.toml patch section for serai/substrate should be investigated.
This is being done regardless as it's the quickest way forward and this
is for Serai.
* Dummy Weights
* Move documentation to the top of the file
* Move logic into TendermintImport itself
Multiple traits exist to verify/handle blocks. I'm unsure exactly when
each will be called in the pipeline, so the easiest solution is to have
every step run every check.
That would be extremely computationally expensive if we ran EVERY check,
yet we rely on Substrate for execution (and according checks), which are
limited to just the actual import function.
Since we're calling this code from many places, it makes sense for it to
be consolidated under TendermintImport.
* BlockImport, JustificationImport, Verifier, and import_queue function
* Update consensus/lib.rs from PoW to Tendermint
Not possible to be used as the previous consensus could. It will not
produce blocks nor does it currenly even instantiate a machine. This is
just he next step.
* Update Cargo.tomls for substrate packages
* Tendermint SelectChain
This is incompatible with Substrate's expectations, yet should be valid
for ours
* Move the node over to the new SelectChain
* Minor tweaks
* Update SelectChain documentation
* Remove substrate/node lib.rs
This shouldn't be used as a library AFAIK. While runtime should be, and
arguably should even be published, I have yet to see node in the same
way. Helps tighten API boundaries.
* Remove unused macro_use
* Replace panicking todos with stubs and // TODO
Enables progress.
* Reduce chain_spec and use more accurate naming
* Implement block proposal logic
* Modularize to get_proposal
* Trigger block importing
Doesn't wait for the response yet, which it needs to.
* Get the result of block importing
* Split import_queue into a series of files
* Provide a way to create the machine
The BasicQueue returned obscures the TendermintImport struct.
Accordingly, a Future scoped with access is returned upwards, which when
awaited will create the machine. This makes creating the machine
optional while maintaining scope boundaries.
Is sufficient to create a 1-node net which produces and finalizes
blocks.
* Don't import justifications multiple times
Also don't broadcast blocks which were solely proposed.
* Correct justication import pipeline
Removes JustificationImport as it should never be used.
* Announce blocks
By claiming File, they're not sent ovber the P2P network before they
have a justification, as desired. Unfortunately, they never were. This
works around that.
* Add an assert to verify proposed children aren't best
* Consolidate C and I generics into a TendermintClient trait alias
* Expand sanity checks
Substrate doesn't expect nor officially support children with less work
than their parents. It's a trick used here. Accordingly, ensure the
trick's validity.
* When resetting, use the end time of the round which was committed to
The machine reset to the end time of the current round. For a delayed
network connection, a machine may move ahead in rounds and only later
realize a prior round succeeded. Despite acknowledging that round's
success, it would maintain its delay when moving to the next block,
bricking it.
Done by tracking the end time for each round as they occur.
* Move Commit from including the round to including the round's end_time
The round was usable to build the current clock in an accumulated
fashion, relative to the previous round. The end time is the absolute
metric of it, which can be used to calculate the round number (with all
previous end times).
Substrate now builds off the best block, not genesis, using the end time
included in the justification to start its machine in a synchronized
state.
Knowing the end time of a round, or the round in which block was
committed to, is necessary for nodes to sync up with Tendermint.
Encoding it in the commit ensures it's long lasting and makes it readily
available, without the load of an entire transaction.
* Add a TODO on Tendermint
* Misc bug fixes
* More misc bug fixes
* Clean up lock acquisition
* Merge weights and signing scheme into validators, documenting needed changes
* Add pallet sessions to runtime, create pallet-tendermint
* Update node to use pallet sessions
* Update support URL
* Partial work on correcting pallet calls
* Redo Tendermint folder structure
* TendermintApi, compilation fixes
* Fix the stub round robin
At some point, the modulus was removed causing it to exceed the
validators list and stop proposing.
* Use the validators list from the session pallet
* Basic Gossip Validator
* Correct Substrate Tendermint start block
The Tendermint machine uses the passed in number as the block's being
worked on number. Substrate passed in the already finalized block's
number.
Also updates misc comments.
* Clean generics in Tendermint with a monolith with associated types
* Remove the Future triggering the machine for an async fn
Enables passing data in, such as the network.
* Move TendermintMachine from start_num, time to last_num, time
Provides an explicitly clear API clearer to program around.
Also adds additional time code to handle an edge case.
* Connect the Tendermint machine to a GossipEngine
* Connect broadcast
* Remove machine from TendermintImport
It's not used there at all.
* Merge Verifier into block_import.rs
These two files were largely the same, just hooking into sync structs
with almost identical imports. As this project shapes up, removing dead
weight is appreciated.
* Create a dedicated file for being a Tendermint authority
* Deleted comment code related to PoW
* Move serai_runtime specific code from tendermint/client to node
Renames serai-consensus to sc_tendermint
* Consolidate file structure in sc_tendermint
* Replace best_* with finalized_*
We test their equivalency yet still better to use finalized_* in
general.
* Consolidate references to sr25519 in sc_tendermint
* Add documentation to public structs/functions in sc_tendermint
* Add another missing comment
* Make sign asynchronous
Some relation to https://github.com/serai-dex/serai/issues/95.
* Move sc_tendermint to async sign
* Implement proper checking of inherents
* Take in a Keystore and validator ID
* Remove unnecessary PhantomDatas
* Update node to latest sc_tendermint
* Configure node for a multi-node testnet
* Fix handling of the GossipEngine
* Use a rounded genesis to obtain sufficient synchrony within the Docker env
* Correct Serai d-f names in Docker
* Remove an attempt at caching I don't believe would ever hit
* Add an already in chain check to block import
While the inner should do this for us, we call verify_order on our end
*before* inner to ensure sequential import. Accordingly, we need to
provide our own check.
Removes errors of "non-sequential import" when trying to re-import an
existing block.
* Update the consensus documentation
It was incredibly out of date.
* Add a _ to the validator arg in slash
* Make the dev profile a local testnet profile
Restores a dev profile which only has one validator, locally running.
* Reduce Arcs in TendermintMachine, split Signer from SignatureScheme
* Update sc_tendermint per previous commit
* Restore cache
* Remove error case which shouldn't be an error
* Stop returning errors on already existing blocks entirely
* Correct Dave, Eve, and Ferdie to not run as validators
* Rename dev to devnet
--dev still works thanks to the |. Acheieves a personal preference of
mine with some historical meaning.
* Add message expiry to the Tendermint gossip
* Localize the LibP2P protocol to the blockchain
Follows convention by doing so. Theoretically enables running multiple
blockchains over a single LibP2P connection.
* Add a version to sp-runtime in tendermint-machine
* Add missing trait
* Bump Substrate dependency
Fixes #147.
* Implement Schnorr half-aggregation from https://eprint.iacr.org/2021/350.pdf
Relevant to https://github.com/serai-dex/serai/issues/99.
* cargo update (tendermint)
* Move from polling loops to a pure IO model for sc_tendermint's gossip
* Correct protocol name handling
* Use futures mpsc instead of tokio
* Timeout futures
* Move from a yielding loop to select in tendermint-machine
* Update Substrate to the new TendermintHandle
* Use futures pin instead of tokio
* Only recheck blocks with non-fatal inherent transaction errors
* Update to the latest substrate
* Separate the block processing time from the latency
* Add notes to the runtime
* Don't spam slash
Also adds a slash condition of failing to propose.
* Support running TendermintMachine when not a validator
This supports validators who leave the current set, without crashing
their nodes, along with nodes trying to become validators (who will now
seamlessly transition in).
* Properly define and pass around the block size
* Correct the Duration timing
The proposer will build it, send it, then process it (on the first
round). Accordingly, it's / 3, not / 2, as / 2 only accounted for the
latter events.
* Correct time-adjustment code on round skip
* Have the machine respond to advances made by an external sync loop
* Clean up time code in tendermint-machine
* BlockData and RoundData structs
* Rename Round to RoundNumber
* Move BlockData to a new file
* Move Round to an Option due to the pseudo-uninitialized state we create
Before the addition of RoundData, we always created the round, and on
.round(0), simply created it again. With RoundData, and the changes to
the time code, we used round 0, time 0, the latter being incorrect yet
not an issue due to lack of misuse.
Now, if we do misuse it, it'll panic.
* Clear the Queue instead of draining and filtering
There shouldn't ever be a message which passes the filter under the
current design.
* BlockData::new
* Move more code into block.rs
Introduces type-aliases to obtain Data/Message/SignedMessage solely from
a Network object.
Fixes a bug regarding stepping when you're not an active validator.
* Have verify_precommit_signature return if it verified the signature
Also fixes a bug where invalid precommit signatures were left standing
and therefore contributing to commits.
* Remove the precommit signature hash
It cached signatures per-block. Precommit signatures are bound to each
round. This would lead to forming invalid commits when a commit should
be formed. Under debug, the machine would catch that and panic. On
release, it'd have everyone who wasn't a validator fail to continue
syncing.
* Slight doc changes
Also flattens the message handling function by replacing an if
containing all following code in the function with an early return for
the else case.
* Always produce notifications for finalized blocks via origin overrides
* Correct weird formatting
* Update to the latest tendermint-machine
* Manually step the Tendermint machine when we synced a block over the network
* Ignore finality notifications for old blocks
* Remove a TODO resolved in 8c51bc011d03c8d54ded05011e7f4d1a01e9f873
* Add a TODO comment to slash
Enables searching for the case-sensitive phrase and finding it.
* cargo fmt
* Use a tmp DB for Serai in Docker
* Remove panic on slash
As we move towards protonet, this can happen (if a node goes offline),
yet it happening brings down the entire net right now.
* Add log::error on slash
* created shared volume between containers
* Complete the sh scripts
* Pass in the genesis time to Substrate
* Correct block announcements
They were announced, yet not marked best.
* Correct pupulate_end_time
It was used as inclusive yet didn't work inclusively.
* Correct gossip channel jumping when a block is synced via Substrate
* Use a looser check in import_future
This triggered so it needs to be accordingly relaxed.
* Correct race conditions between add_block and step
Also corrects a <= to <.
* Update cargo deny
* rename genesis-service to genesis
* Update Cargo.lock
* Correct runtime Cargo.toml whitespace
* Correct typo
* Document recheck
* Misc lints
* Fix prev commit
* Resolve low-hanging review comments
* Mark genesis/entry-dev.sh as executable
* Prevent a commit from including the same signature multiple times
Yanks tendermint-machine 0.1.0 accordingly.
* Update to latest nightly clippy
* Improve documentation
* Use clearer variable names
* Add log statements
* Pair more log statements
* Clean TendermintAuthority::authority as possible
Merges it into new. It has way too many arguments, yet there's no clear path at
consolidation there, unfortunately.
Additionally provides better scoping within itself.
* Fix #158
Doesn't use lock_import_and_run for reasons commented (lack of async).
* Rename guard to lock
* Have the devnet use the current time as the genesis
Possible since it's only a single node, not requiring synchronization.
* Fix gossiping
I really don't know what side effect this avoids and I can't say I care at this
point.
* Misc lints
Co-authored-by: vrx00 <vrx00@proton.me>
Co-authored-by: TheArchitect108 <TheArchitect108@protonmail.com>
2022-12-03 23:38:02 +00:00
|
|
|
"sp-consensus",
|
2022-07-16 21:49:35 +00:00
|
|
|
"sp-core",
|
|
|
|
"sp-inherents",
|
|
|
|
"sp-keyring",
|
Initial Tendermint implementation (#145)
* Machine without timeouts
* Time code
* Move substrate/consensus/tendermint to substrate/tendermint
* Delete the old paper doc
* Refactor out external parts to generics
Also creates a dedicated file for the message log.
* Refactor <V, B> to type V, type B
* Successfully compiling
* Calculate timeouts
* Fix test
* Finish timeouts
* Misc cleanup
* Define a signature scheme trait
* Implement serialization via parity's scale codec
Ideally, this would be generic. Unfortunately, the generic API serde
doesn't natively support borsh, nor SCALE, and while there is a serde
SCALE crate, it's old. While it may be complete, it's not worth working
with.
While we could still grab bincode, and a variety of other formats, it
wasn't worth it to go custom and for Serai, we'll be using SCALE almost
everywhere anyways.
* Implement usage of the signature scheme
* Make the infinite test non-infinite
* Provide a dedicated signature in Precommit of just the block hash
Greatly simplifies verifying when syncing.
* Dedicated Commit object
Restores sig aggregation API.
* Tidy README
* Document tendermint
* Sign the ID directly instead of its SCALE encoding
For a hash, which is fixed-size, these should be the same yet this helps
move past the dependency on SCALE. It also, for any type where the two
values are different, smooths integration.
* Litany of bug fixes
Also attempts to make the code more readable while updating/correcting
documentation.
* Remove async recursion
Greatly increases safety as well by ensuring only one message is
processed at once.
* Correct timing issues
1) Commit didn't include the round, leaving the clock in question.
2) Machines started with a local time, instead of a proper start time.
3) Machines immediately started the next block instead of waiting for
the block time.
* Replace MultiSignature with sr25519::Signature
* Minor SignatureScheme API changes
* Map TM SignatureScheme to Substrate's sr25519
* Initial work on an import queue
* Properly use check_block
* Rename import to import_queue
* Implement tendermint_machine::Block for Substrate Blocks
Unfortunately, this immediately makes Tendermint machine capable of
deployment as crate since it uses a git reference. In the future, a
Cargo.toml patch section for serai/substrate should be investigated.
This is being done regardless as it's the quickest way forward and this
is for Serai.
* Dummy Weights
* Move documentation to the top of the file
* Move logic into TendermintImport itself
Multiple traits exist to verify/handle blocks. I'm unsure exactly when
each will be called in the pipeline, so the easiest solution is to have
every step run every check.
That would be extremely computationally expensive if we ran EVERY check,
yet we rely on Substrate for execution (and according checks), which are
limited to just the actual import function.
Since we're calling this code from many places, it makes sense for it to
be consolidated under TendermintImport.
* BlockImport, JustificationImport, Verifier, and import_queue function
* Update consensus/lib.rs from PoW to Tendermint
Not possible to be used as the previous consensus could. It will not
produce blocks nor does it currenly even instantiate a machine. This is
just he next step.
* Update Cargo.tomls for substrate packages
* Tendermint SelectChain
This is incompatible with Substrate's expectations, yet should be valid
for ours
* Move the node over to the new SelectChain
* Minor tweaks
* Update SelectChain documentation
* Remove substrate/node lib.rs
This shouldn't be used as a library AFAIK. While runtime should be, and
arguably should even be published, I have yet to see node in the same
way. Helps tighten API boundaries.
* Remove unused macro_use
* Replace panicking todos with stubs and // TODO
Enables progress.
* Reduce chain_spec and use more accurate naming
* Implement block proposal logic
* Modularize to get_proposal
* Trigger block importing
Doesn't wait for the response yet, which it needs to.
* Get the result of block importing
* Split import_queue into a series of files
* Provide a way to create the machine
The BasicQueue returned obscures the TendermintImport struct.
Accordingly, a Future scoped with access is returned upwards, which when
awaited will create the machine. This makes creating the machine
optional while maintaining scope boundaries.
Is sufficient to create a 1-node net which produces and finalizes
blocks.
* Don't import justifications multiple times
Also don't broadcast blocks which were solely proposed.
* Correct justication import pipeline
Removes JustificationImport as it should never be used.
* Announce blocks
By claiming File, they're not sent ovber the P2P network before they
have a justification, as desired. Unfortunately, they never were. This
works around that.
* Add an assert to verify proposed children aren't best
* Consolidate C and I generics into a TendermintClient trait alias
* Expand sanity checks
Substrate doesn't expect nor officially support children with less work
than their parents. It's a trick used here. Accordingly, ensure the
trick's validity.
* When resetting, use the end time of the round which was committed to
The machine reset to the end time of the current round. For a delayed
network connection, a machine may move ahead in rounds and only later
realize a prior round succeeded. Despite acknowledging that round's
success, it would maintain its delay when moving to the next block,
bricking it.
Done by tracking the end time for each round as they occur.
* Move Commit from including the round to including the round's end_time
The round was usable to build the current clock in an accumulated
fashion, relative to the previous round. The end time is the absolute
metric of it, which can be used to calculate the round number (with all
previous end times).
Substrate now builds off the best block, not genesis, using the end time
included in the justification to start its machine in a synchronized
state.
Knowing the end time of a round, or the round in which block was
committed to, is necessary for nodes to sync up with Tendermint.
Encoding it in the commit ensures it's long lasting and makes it readily
available, without the load of an entire transaction.
* Add a TODO on Tendermint
* Misc bug fixes
* More misc bug fixes
* Clean up lock acquisition
* Merge weights and signing scheme into validators, documenting needed changes
* Add pallet sessions to runtime, create pallet-tendermint
* Update node to use pallet sessions
* Update support URL
* Partial work on correcting pallet calls
* Redo Tendermint folder structure
* TendermintApi, compilation fixes
* Fix the stub round robin
At some point, the modulus was removed causing it to exceed the
validators list and stop proposing.
* Use the validators list from the session pallet
* Basic Gossip Validator
* Correct Substrate Tendermint start block
The Tendermint machine uses the passed in number as the block's being
worked on number. Substrate passed in the already finalized block's
number.
Also updates misc comments.
* Clean generics in Tendermint with a monolith with associated types
* Remove the Future triggering the machine for an async fn
Enables passing data in, such as the network.
* Move TendermintMachine from start_num, time to last_num, time
Provides an explicitly clear API clearer to program around.
Also adds additional time code to handle an edge case.
* Connect the Tendermint machine to a GossipEngine
* Connect broadcast
* Remove machine from TendermintImport
It's not used there at all.
* Merge Verifier into block_import.rs
These two files were largely the same, just hooking into sync structs
with almost identical imports. As this project shapes up, removing dead
weight is appreciated.
* Create a dedicated file for being a Tendermint authority
* Deleted comment code related to PoW
* Move serai_runtime specific code from tendermint/client to node
Renames serai-consensus to sc_tendermint
* Consolidate file structure in sc_tendermint
* Replace best_* with finalized_*
We test their equivalency yet still better to use finalized_* in
general.
* Consolidate references to sr25519 in sc_tendermint
* Add documentation to public structs/functions in sc_tendermint
* Add another missing comment
* Make sign asynchronous
Some relation to https://github.com/serai-dex/serai/issues/95.
* Move sc_tendermint to async sign
* Implement proper checking of inherents
* Take in a Keystore and validator ID
* Remove unnecessary PhantomDatas
* Update node to latest sc_tendermint
* Configure node for a multi-node testnet
* Fix handling of the GossipEngine
* Use a rounded genesis to obtain sufficient synchrony within the Docker env
* Correct Serai d-f names in Docker
* Remove an attempt at caching I don't believe would ever hit
* Add an already in chain check to block import
While the inner should do this for us, we call verify_order on our end
*before* inner to ensure sequential import. Accordingly, we need to
provide our own check.
Removes errors of "non-sequential import" when trying to re-import an
existing block.
* Update the consensus documentation
It was incredibly out of date.
* Add a _ to the validator arg in slash
* Make the dev profile a local testnet profile
Restores a dev profile which only has one validator, locally running.
* Reduce Arcs in TendermintMachine, split Signer from SignatureScheme
* Update sc_tendermint per previous commit
* Restore cache
* Remove error case which shouldn't be an error
* Stop returning errors on already existing blocks entirely
* Correct Dave, Eve, and Ferdie to not run as validators
* Rename dev to devnet
--dev still works thanks to the |. Acheieves a personal preference of
mine with some historical meaning.
* Add message expiry to the Tendermint gossip
* Localize the LibP2P protocol to the blockchain
Follows convention by doing so. Theoretically enables running multiple
blockchains over a single LibP2P connection.
* Add a version to sp-runtime in tendermint-machine
* Add missing trait
* Bump Substrate dependency
Fixes #147.
* Implement Schnorr half-aggregation from https://eprint.iacr.org/2021/350.pdf
Relevant to https://github.com/serai-dex/serai/issues/99.
* cargo update (tendermint)
* Move from polling loops to a pure IO model for sc_tendermint's gossip
* Correct protocol name handling
* Use futures mpsc instead of tokio
* Timeout futures
* Move from a yielding loop to select in tendermint-machine
* Update Substrate to the new TendermintHandle
* Use futures pin instead of tokio
* Only recheck blocks with non-fatal inherent transaction errors
* Update to the latest substrate
* Separate the block processing time from the latency
* Add notes to the runtime
* Don't spam slash
Also adds a slash condition of failing to propose.
* Support running TendermintMachine when not a validator
This supports validators who leave the current set, without crashing
their nodes, along with nodes trying to become validators (who will now
seamlessly transition in).
* Properly define and pass around the block size
* Correct the Duration timing
The proposer will build it, send it, then process it (on the first
round). Accordingly, it's / 3, not / 2, as / 2 only accounted for the
latter events.
* Correct time-adjustment code on round skip
* Have the machine respond to advances made by an external sync loop
* Clean up time code in tendermint-machine
* BlockData and RoundData structs
* Rename Round to RoundNumber
* Move BlockData to a new file
* Move Round to an Option due to the pseudo-uninitialized state we create
Before the addition of RoundData, we always created the round, and on
.round(0), simply created it again. With RoundData, and the changes to
the time code, we used round 0, time 0, the latter being incorrect yet
not an issue due to lack of misuse.
Now, if we do misuse it, it'll panic.
* Clear the Queue instead of draining and filtering
There shouldn't ever be a message which passes the filter under the
current design.
* BlockData::new
* Move more code into block.rs
Introduces type-aliases to obtain Data/Message/SignedMessage solely from
a Network object.
Fixes a bug regarding stepping when you're not an active validator.
* Have verify_precommit_signature return if it verified the signature
Also fixes a bug where invalid precommit signatures were left standing
and therefore contributing to commits.
* Remove the precommit signature hash
It cached signatures per-block. Precommit signatures are bound to each
round. This would lead to forming invalid commits when a commit should
be formed. Under debug, the machine would catch that and panic. On
release, it'd have everyone who wasn't a validator fail to continue
syncing.
* Slight doc changes
Also flattens the message handling function by replacing an if
containing all following code in the function with an early return for
the else case.
* Always produce notifications for finalized blocks via origin overrides
* Correct weird formatting
* Update to the latest tendermint-machine
* Manually step the Tendermint machine when we synced a block over the network
* Ignore finality notifications for old blocks
* Remove a TODO resolved in 8c51bc011d03c8d54ded05011e7f4d1a01e9f873
* Add a TODO comment to slash
Enables searching for the case-sensitive phrase and finding it.
* cargo fmt
* Use a tmp DB for Serai in Docker
* Remove panic on slash
As we move towards protonet, this can happen (if a node goes offline),
yet it happening brings down the entire net right now.
* Add log::error on slash
* created shared volume between containers
* Complete the sh scripts
* Pass in the genesis time to Substrate
* Correct block announcements
They were announced, yet not marked best.
* Correct pupulate_end_time
It was used as inclusive yet didn't work inclusively.
* Correct gossip channel jumping when a block is synced via Substrate
* Use a looser check in import_future
This triggered so it needs to be accordingly relaxed.
* Correct race conditions between add_block and step
Also corrects a <= to <.
* Update cargo deny
* rename genesis-service to genesis
* Update Cargo.lock
* Correct runtime Cargo.toml whitespace
* Correct typo
* Document recheck
* Misc lints
* Fix prev commit
* Resolve low-hanging review comments
* Mark genesis/entry-dev.sh as executable
* Prevent a commit from including the same signature multiple times
Yanks tendermint-machine 0.1.0 accordingly.
* Update to latest nightly clippy
* Improve documentation
* Use clearer variable names
* Add log statements
* Pair more log statements
* Clean TendermintAuthority::authority as possible
Merges it into new. It has way too many arguments, yet there's no clear path at
consolidation there, unfortunately.
Additionally provides better scoping within itself.
* Fix #158
Doesn't use lock_import_and_run for reasons commented (lack of async).
* Rename guard to lock
* Have the devnet use the current time as the genesis
Possible since it's only a single node, not requiring synchronization.
* Fix gossiping
I really don't know what side effect this avoids and I can't say I care at this
point.
* Misc lints
Co-authored-by: vrx00 <vrx00@proton.me>
Co-authored-by: TheArchitect108 <TheArchitect108@protonmail.com>
2022-12-03 23:38:02 +00:00
|
|
|
"sp-keystore",
|
2022-07-16 21:49:35 +00:00
|
|
|
"sp-runtime",
|
Initial Tendermint implementation (#145)
* Machine without timeouts
* Time code
* Move substrate/consensus/tendermint to substrate/tendermint
* Delete the old paper doc
* Refactor out external parts to generics
Also creates a dedicated file for the message log.
* Refactor <V, B> to type V, type B
* Successfully compiling
* Calculate timeouts
* Fix test
* Finish timeouts
* Misc cleanup
* Define a signature scheme trait
* Implement serialization via parity's scale codec
Ideally, this would be generic. Unfortunately, the generic API serde
doesn't natively support borsh, nor SCALE, and while there is a serde
SCALE crate, it's old. While it may be complete, it's not worth working
with.
While we could still grab bincode, and a variety of other formats, it
wasn't worth it to go custom and for Serai, we'll be using SCALE almost
everywhere anyways.
* Implement usage of the signature scheme
* Make the infinite test non-infinite
* Provide a dedicated signature in Precommit of just the block hash
Greatly simplifies verifying when syncing.
* Dedicated Commit object
Restores sig aggregation API.
* Tidy README
* Document tendermint
* Sign the ID directly instead of its SCALE encoding
For a hash, which is fixed-size, these should be the same yet this helps
move past the dependency on SCALE. It also, for any type where the two
values are different, smooths integration.
* Litany of bug fixes
Also attempts to make the code more readable while updating/correcting
documentation.
* Remove async recursion
Greatly increases safety as well by ensuring only one message is
processed at once.
* Correct timing issues
1) Commit didn't include the round, leaving the clock in question.
2) Machines started with a local time, instead of a proper start time.
3) Machines immediately started the next block instead of waiting for
the block time.
* Replace MultiSignature with sr25519::Signature
* Minor SignatureScheme API changes
* Map TM SignatureScheme to Substrate's sr25519
* Initial work on an import queue
* Properly use check_block
* Rename import to import_queue
* Implement tendermint_machine::Block for Substrate Blocks
Unfortunately, this immediately makes Tendermint machine capable of
deployment as crate since it uses a git reference. In the future, a
Cargo.toml patch section for serai/substrate should be investigated.
This is being done regardless as it's the quickest way forward and this
is for Serai.
* Dummy Weights
* Move documentation to the top of the file
* Move logic into TendermintImport itself
Multiple traits exist to verify/handle blocks. I'm unsure exactly when
each will be called in the pipeline, so the easiest solution is to have
every step run every check.
That would be extremely computationally expensive if we ran EVERY check,
yet we rely on Substrate for execution (and according checks), which are
limited to just the actual import function.
Since we're calling this code from many places, it makes sense for it to
be consolidated under TendermintImport.
* BlockImport, JustificationImport, Verifier, and import_queue function
* Update consensus/lib.rs from PoW to Tendermint
Not possible to be used as the previous consensus could. It will not
produce blocks nor does it currenly even instantiate a machine. This is
just he next step.
* Update Cargo.tomls for substrate packages
* Tendermint SelectChain
This is incompatible with Substrate's expectations, yet should be valid
for ours
* Move the node over to the new SelectChain
* Minor tweaks
* Update SelectChain documentation
* Remove substrate/node lib.rs
This shouldn't be used as a library AFAIK. While runtime should be, and
arguably should even be published, I have yet to see node in the same
way. Helps tighten API boundaries.
* Remove unused macro_use
* Replace panicking todos with stubs and // TODO
Enables progress.
* Reduce chain_spec and use more accurate naming
* Implement block proposal logic
* Modularize to get_proposal
* Trigger block importing
Doesn't wait for the response yet, which it needs to.
* Get the result of block importing
* Split import_queue into a series of files
* Provide a way to create the machine
The BasicQueue returned obscures the TendermintImport struct.
Accordingly, a Future scoped with access is returned upwards, which when
awaited will create the machine. This makes creating the machine
optional while maintaining scope boundaries.
Is sufficient to create a 1-node net which produces and finalizes
blocks.
* Don't import justifications multiple times
Also don't broadcast blocks which were solely proposed.
* Correct justication import pipeline
Removes JustificationImport as it should never be used.
* Announce blocks
By claiming File, they're not sent ovber the P2P network before they
have a justification, as desired. Unfortunately, they never were. This
works around that.
* Add an assert to verify proposed children aren't best
* Consolidate C and I generics into a TendermintClient trait alias
* Expand sanity checks
Substrate doesn't expect nor officially support children with less work
than their parents. It's a trick used here. Accordingly, ensure the
trick's validity.
* When resetting, use the end time of the round which was committed to
The machine reset to the end time of the current round. For a delayed
network connection, a machine may move ahead in rounds and only later
realize a prior round succeeded. Despite acknowledging that round's
success, it would maintain its delay when moving to the next block,
bricking it.
Done by tracking the end time for each round as they occur.
* Move Commit from including the round to including the round's end_time
The round was usable to build the current clock in an accumulated
fashion, relative to the previous round. The end time is the absolute
metric of it, which can be used to calculate the round number (with all
previous end times).
Substrate now builds off the best block, not genesis, using the end time
included in the justification to start its machine in a synchronized
state.
Knowing the end time of a round, or the round in which block was
committed to, is necessary for nodes to sync up with Tendermint.
Encoding it in the commit ensures it's long lasting and makes it readily
available, without the load of an entire transaction.
* Add a TODO on Tendermint
* Misc bug fixes
* More misc bug fixes
* Clean up lock acquisition
* Merge weights and signing scheme into validators, documenting needed changes
* Add pallet sessions to runtime, create pallet-tendermint
* Update node to use pallet sessions
* Update support URL
* Partial work on correcting pallet calls
* Redo Tendermint folder structure
* TendermintApi, compilation fixes
* Fix the stub round robin
At some point, the modulus was removed causing it to exceed the
validators list and stop proposing.
* Use the validators list from the session pallet
* Basic Gossip Validator
* Correct Substrate Tendermint start block
The Tendermint machine uses the passed in number as the block's being
worked on number. Substrate passed in the already finalized block's
number.
Also updates misc comments.
* Clean generics in Tendermint with a monolith with associated types
* Remove the Future triggering the machine for an async fn
Enables passing data in, such as the network.
* Move TendermintMachine from start_num, time to last_num, time
Provides an explicitly clear API clearer to program around.
Also adds additional time code to handle an edge case.
* Connect the Tendermint machine to a GossipEngine
* Connect broadcast
* Remove machine from TendermintImport
It's not used there at all.
* Merge Verifier into block_import.rs
These two files were largely the same, just hooking into sync structs
with almost identical imports. As this project shapes up, removing dead
weight is appreciated.
* Create a dedicated file for being a Tendermint authority
* Deleted comment code related to PoW
* Move serai_runtime specific code from tendermint/client to node
Renames serai-consensus to sc_tendermint
* Consolidate file structure in sc_tendermint
* Replace best_* with finalized_*
We test their equivalency yet still better to use finalized_* in
general.
* Consolidate references to sr25519 in sc_tendermint
* Add documentation to public structs/functions in sc_tendermint
* Add another missing comment
* Make sign asynchronous
Some relation to https://github.com/serai-dex/serai/issues/95.
* Move sc_tendermint to async sign
* Implement proper checking of inherents
* Take in a Keystore and validator ID
* Remove unnecessary PhantomDatas
* Update node to latest sc_tendermint
* Configure node for a multi-node testnet
* Fix handling of the GossipEngine
* Use a rounded genesis to obtain sufficient synchrony within the Docker env
* Correct Serai d-f names in Docker
* Remove an attempt at caching I don't believe would ever hit
* Add an already in chain check to block import
While the inner should do this for us, we call verify_order on our end
*before* inner to ensure sequential import. Accordingly, we need to
provide our own check.
Removes errors of "non-sequential import" when trying to re-import an
existing block.
* Update the consensus documentation
It was incredibly out of date.
* Add a _ to the validator arg in slash
* Make the dev profile a local testnet profile
Restores a dev profile which only has one validator, locally running.
* Reduce Arcs in TendermintMachine, split Signer from SignatureScheme
* Update sc_tendermint per previous commit
* Restore cache
* Remove error case which shouldn't be an error
* Stop returning errors on already existing blocks entirely
* Correct Dave, Eve, and Ferdie to not run as validators
* Rename dev to devnet
--dev still works thanks to the |. Acheieves a personal preference of
mine with some historical meaning.
* Add message expiry to the Tendermint gossip
* Localize the LibP2P protocol to the blockchain
Follows convention by doing so. Theoretically enables running multiple
blockchains over a single LibP2P connection.
* Add a version to sp-runtime in tendermint-machine
* Add missing trait
* Bump Substrate dependency
Fixes #147.
* Implement Schnorr half-aggregation from https://eprint.iacr.org/2021/350.pdf
Relevant to https://github.com/serai-dex/serai/issues/99.
* cargo update (tendermint)
* Move from polling loops to a pure IO model for sc_tendermint's gossip
* Correct protocol name handling
* Use futures mpsc instead of tokio
* Timeout futures
* Move from a yielding loop to select in tendermint-machine
* Update Substrate to the new TendermintHandle
* Use futures pin instead of tokio
* Only recheck blocks with non-fatal inherent transaction errors
* Update to the latest substrate
* Separate the block processing time from the latency
* Add notes to the runtime
* Don't spam slash
Also adds a slash condition of failing to propose.
* Support running TendermintMachine when not a validator
This supports validators who leave the current set, without crashing
their nodes, along with nodes trying to become validators (who will now
seamlessly transition in).
* Properly define and pass around the block size
* Correct the Duration timing
The proposer will build it, send it, then process it (on the first
round). Accordingly, it's / 3, not / 2, as / 2 only accounted for the
latter events.
* Correct time-adjustment code on round skip
* Have the machine respond to advances made by an external sync loop
* Clean up time code in tendermint-machine
* BlockData and RoundData structs
* Rename Round to RoundNumber
* Move BlockData to a new file
* Move Round to an Option due to the pseudo-uninitialized state we create
Before the addition of RoundData, we always created the round, and on
.round(0), simply created it again. With RoundData, and the changes to
the time code, we used round 0, time 0, the latter being incorrect yet
not an issue due to lack of misuse.
Now, if we do misuse it, it'll panic.
* Clear the Queue instead of draining and filtering
There shouldn't ever be a message which passes the filter under the
current design.
* BlockData::new
* Move more code into block.rs
Introduces type-aliases to obtain Data/Message/SignedMessage solely from
a Network object.
Fixes a bug regarding stepping when you're not an active validator.
* Have verify_precommit_signature return if it verified the signature
Also fixes a bug where invalid precommit signatures were left standing
and therefore contributing to commits.
* Remove the precommit signature hash
It cached signatures per-block. Precommit signatures are bound to each
round. This would lead to forming invalid commits when a commit should
be formed. Under debug, the machine would catch that and panic. On
release, it'd have everyone who wasn't a validator fail to continue
syncing.
* Slight doc changes
Also flattens the message handling function by replacing an if
containing all following code in the function with an early return for
the else case.
* Always produce notifications for finalized blocks via origin overrides
* Correct weird formatting
* Update to the latest tendermint-machine
* Manually step the Tendermint machine when we synced a block over the network
* Ignore finality notifications for old blocks
* Remove a TODO resolved in 8c51bc011d03c8d54ded05011e7f4d1a01e9f873
* Add a TODO comment to slash
Enables searching for the case-sensitive phrase and finding it.
* cargo fmt
* Use a tmp DB for Serai in Docker
* Remove panic on slash
As we move towards protonet, this can happen (if a node goes offline),
yet it happening brings down the entire net right now.
* Add log::error on slash
* created shared volume between containers
* Complete the sh scripts
* Pass in the genesis time to Substrate
* Correct block announcements
They were announced, yet not marked best.
* Correct pupulate_end_time
It was used as inclusive yet didn't work inclusively.
* Correct gossip channel jumping when a block is synced via Substrate
* Use a looser check in import_future
This triggered so it needs to be accordingly relaxed.
* Correct race conditions between add_block and step
Also corrects a <= to <.
* Update cargo deny
* rename genesis-service to genesis
* Update Cargo.lock
* Correct runtime Cargo.toml whitespace
* Correct typo
* Document recheck
* Misc lints
* Fix prev commit
* Resolve low-hanging review comments
* Mark genesis/entry-dev.sh as executable
* Prevent a commit from including the same signature multiple times
Yanks tendermint-machine 0.1.0 accordingly.
* Update to latest nightly clippy
* Improve documentation
* Use clearer variable names
* Add log statements
* Pair more log statements
* Clean TendermintAuthority::authority as possible
Merges it into new. It has way too many arguments, yet there's no clear path at
consolidation there, unfortunately.
Additionally provides better scoping within itself.
* Fix #158
Doesn't use lock_import_and_run for reasons commented (lack of async).
* Rename guard to lock
* Have the devnet use the current time as the genesis
Possible since it's only a single node, not requiring synchronization.
* Fix gossiping
I really don't know what side effect this avoids and I can't say I care at this
point.
* Misc lints
Co-authored-by: vrx00 <vrx00@proton.me>
Co-authored-by: TheArchitect108 <TheArchitect108@protonmail.com>
2022-12-03 23:38:02 +00:00
|
|
|
"sp-tendermint",
|
2022-07-16 21:49:35 +00:00
|
|
|
"substrate-build-script-utils",
|
|
|
|
"substrate-frame-rpc-system",
|
2023-01-05 03:52:41 +00:00
|
|
|
"validator-sets-pallet",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "serai-primitives"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
|
|
|
"parity-scale-codec",
|
|
|
|
"scale-info",
|
|
|
|
"serde",
|
|
|
|
"sp-core",
|
|
|
|
"sp-std",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "serai-processor"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
|
|
|
"async-trait",
|
2022-10-16 17:11:32 +00:00
|
|
|
"curve25519-dalek 3.2.0",
|
|
|
|
"dalek-ff-group",
|
2022-07-16 21:49:35 +00:00
|
|
|
"flexible-transcript",
|
|
|
|
"futures",
|
|
|
|
"group",
|
|
|
|
"hex",
|
|
|
|
"modular-frost",
|
2022-10-16 17:11:32 +00:00
|
|
|
"monero-serai",
|
2022-09-18 19:30:38 +00:00
|
|
|
"rand_core 0.6.4",
|
2022-10-16 17:11:32 +00:00
|
|
|
"serde",
|
|
|
|
"serde_json",
|
2022-07-16 21:49:35 +00:00
|
|
|
"thiserror",
|
|
|
|
"tokio",
|
2022-11-11 03:35:09 +00:00
|
|
|
"zeroize",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "serai-runtime"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
|
|
|
"frame-benchmarking",
|
|
|
|
"frame-executive",
|
|
|
|
"frame-support",
|
|
|
|
"frame-system",
|
|
|
|
"frame-system-rpc-runtime-api",
|
|
|
|
"hex-literal",
|
2023-01-06 00:36:49 +00:00
|
|
|
"pallet-assets",
|
2022-07-16 21:49:35 +00:00
|
|
|
"pallet-balances",
|
Initial Tendermint implementation (#145)
* Machine without timeouts
* Time code
* Move substrate/consensus/tendermint to substrate/tendermint
* Delete the old paper doc
* Refactor out external parts to generics
Also creates a dedicated file for the message log.
* Refactor <V, B> to type V, type B
* Successfully compiling
* Calculate timeouts
* Fix test
* Finish timeouts
* Misc cleanup
* Define a signature scheme trait
* Implement serialization via parity's scale codec
Ideally, this would be generic. Unfortunately, the generic API serde
doesn't natively support borsh, nor SCALE, and while there is a serde
SCALE crate, it's old. While it may be complete, it's not worth working
with.
While we could still grab bincode, and a variety of other formats, it
wasn't worth it to go custom and for Serai, we'll be using SCALE almost
everywhere anyways.
* Implement usage of the signature scheme
* Make the infinite test non-infinite
* Provide a dedicated signature in Precommit of just the block hash
Greatly simplifies verifying when syncing.
* Dedicated Commit object
Restores sig aggregation API.
* Tidy README
* Document tendermint
* Sign the ID directly instead of its SCALE encoding
For a hash, which is fixed-size, these should be the same yet this helps
move past the dependency on SCALE. It also, for any type where the two
values are different, smooths integration.
* Litany of bug fixes
Also attempts to make the code more readable while updating/correcting
documentation.
* Remove async recursion
Greatly increases safety as well by ensuring only one message is
processed at once.
* Correct timing issues
1) Commit didn't include the round, leaving the clock in question.
2) Machines started with a local time, instead of a proper start time.
3) Machines immediately started the next block instead of waiting for
the block time.
* Replace MultiSignature with sr25519::Signature
* Minor SignatureScheme API changes
* Map TM SignatureScheme to Substrate's sr25519
* Initial work on an import queue
* Properly use check_block
* Rename import to import_queue
* Implement tendermint_machine::Block for Substrate Blocks
Unfortunately, this immediately makes Tendermint machine capable of
deployment as crate since it uses a git reference. In the future, a
Cargo.toml patch section for serai/substrate should be investigated.
This is being done regardless as it's the quickest way forward and this
is for Serai.
* Dummy Weights
* Move documentation to the top of the file
* Move logic into TendermintImport itself
Multiple traits exist to verify/handle blocks. I'm unsure exactly when
each will be called in the pipeline, so the easiest solution is to have
every step run every check.
That would be extremely computationally expensive if we ran EVERY check,
yet we rely on Substrate for execution (and according checks), which are
limited to just the actual import function.
Since we're calling this code from many places, it makes sense for it to
be consolidated under TendermintImport.
* BlockImport, JustificationImport, Verifier, and import_queue function
* Update consensus/lib.rs from PoW to Tendermint
Not possible to be used as the previous consensus could. It will not
produce blocks nor does it currenly even instantiate a machine. This is
just he next step.
* Update Cargo.tomls for substrate packages
* Tendermint SelectChain
This is incompatible with Substrate's expectations, yet should be valid
for ours
* Move the node over to the new SelectChain
* Minor tweaks
* Update SelectChain documentation
* Remove substrate/node lib.rs
This shouldn't be used as a library AFAIK. While runtime should be, and
arguably should even be published, I have yet to see node in the same
way. Helps tighten API boundaries.
* Remove unused macro_use
* Replace panicking todos with stubs and // TODO
Enables progress.
* Reduce chain_spec and use more accurate naming
* Implement block proposal logic
* Modularize to get_proposal
* Trigger block importing
Doesn't wait for the response yet, which it needs to.
* Get the result of block importing
* Split import_queue into a series of files
* Provide a way to create the machine
The BasicQueue returned obscures the TendermintImport struct.
Accordingly, a Future scoped with access is returned upwards, which when
awaited will create the machine. This makes creating the machine
optional while maintaining scope boundaries.
Is sufficient to create a 1-node net which produces and finalizes
blocks.
* Don't import justifications multiple times
Also don't broadcast blocks which were solely proposed.
* Correct justication import pipeline
Removes JustificationImport as it should never be used.
* Announce blocks
By claiming File, they're not sent ovber the P2P network before they
have a justification, as desired. Unfortunately, they never were. This
works around that.
* Add an assert to verify proposed children aren't best
* Consolidate C and I generics into a TendermintClient trait alias
* Expand sanity checks
Substrate doesn't expect nor officially support children with less work
than their parents. It's a trick used here. Accordingly, ensure the
trick's validity.
* When resetting, use the end time of the round which was committed to
The machine reset to the end time of the current round. For a delayed
network connection, a machine may move ahead in rounds and only later
realize a prior round succeeded. Despite acknowledging that round's
success, it would maintain its delay when moving to the next block,
bricking it.
Done by tracking the end time for each round as they occur.
* Move Commit from including the round to including the round's end_time
The round was usable to build the current clock in an accumulated
fashion, relative to the previous round. The end time is the absolute
metric of it, which can be used to calculate the round number (with all
previous end times).
Substrate now builds off the best block, not genesis, using the end time
included in the justification to start its machine in a synchronized
state.
Knowing the end time of a round, or the round in which block was
committed to, is necessary for nodes to sync up with Tendermint.
Encoding it in the commit ensures it's long lasting and makes it readily
available, without the load of an entire transaction.
* Add a TODO on Tendermint
* Misc bug fixes
* More misc bug fixes
* Clean up lock acquisition
* Merge weights and signing scheme into validators, documenting needed changes
* Add pallet sessions to runtime, create pallet-tendermint
* Update node to use pallet sessions
* Update support URL
* Partial work on correcting pallet calls
* Redo Tendermint folder structure
* TendermintApi, compilation fixes
* Fix the stub round robin
At some point, the modulus was removed causing it to exceed the
validators list and stop proposing.
* Use the validators list from the session pallet
* Basic Gossip Validator
* Correct Substrate Tendermint start block
The Tendermint machine uses the passed in number as the block's being
worked on number. Substrate passed in the already finalized block's
number.
Also updates misc comments.
* Clean generics in Tendermint with a monolith with associated types
* Remove the Future triggering the machine for an async fn
Enables passing data in, such as the network.
* Move TendermintMachine from start_num, time to last_num, time
Provides an explicitly clear API clearer to program around.
Also adds additional time code to handle an edge case.
* Connect the Tendermint machine to a GossipEngine
* Connect broadcast
* Remove machine from TendermintImport
It's not used there at all.
* Merge Verifier into block_import.rs
These two files were largely the same, just hooking into sync structs
with almost identical imports. As this project shapes up, removing dead
weight is appreciated.
* Create a dedicated file for being a Tendermint authority
* Deleted comment code related to PoW
* Move serai_runtime specific code from tendermint/client to node
Renames serai-consensus to sc_tendermint
* Consolidate file structure in sc_tendermint
* Replace best_* with finalized_*
We test their equivalency yet still better to use finalized_* in
general.
* Consolidate references to sr25519 in sc_tendermint
* Add documentation to public structs/functions in sc_tendermint
* Add another missing comment
* Make sign asynchronous
Some relation to https://github.com/serai-dex/serai/issues/95.
* Move sc_tendermint to async sign
* Implement proper checking of inherents
* Take in a Keystore and validator ID
* Remove unnecessary PhantomDatas
* Update node to latest sc_tendermint
* Configure node for a multi-node testnet
* Fix handling of the GossipEngine
* Use a rounded genesis to obtain sufficient synchrony within the Docker env
* Correct Serai d-f names in Docker
* Remove an attempt at caching I don't believe would ever hit
* Add an already in chain check to block import
While the inner should do this for us, we call verify_order on our end
*before* inner to ensure sequential import. Accordingly, we need to
provide our own check.
Removes errors of "non-sequential import" when trying to re-import an
existing block.
* Update the consensus documentation
It was incredibly out of date.
* Add a _ to the validator arg in slash
* Make the dev profile a local testnet profile
Restores a dev profile which only has one validator, locally running.
* Reduce Arcs in TendermintMachine, split Signer from SignatureScheme
* Update sc_tendermint per previous commit
* Restore cache
* Remove error case which shouldn't be an error
* Stop returning errors on already existing blocks entirely
* Correct Dave, Eve, and Ferdie to not run as validators
* Rename dev to devnet
--dev still works thanks to the |. Acheieves a personal preference of
mine with some historical meaning.
* Add message expiry to the Tendermint gossip
* Localize the LibP2P protocol to the blockchain
Follows convention by doing so. Theoretically enables running multiple
blockchains over a single LibP2P connection.
* Add a version to sp-runtime in tendermint-machine
* Add missing trait
* Bump Substrate dependency
Fixes #147.
* Implement Schnorr half-aggregation from https://eprint.iacr.org/2021/350.pdf
Relevant to https://github.com/serai-dex/serai/issues/99.
* cargo update (tendermint)
* Move from polling loops to a pure IO model for sc_tendermint's gossip
* Correct protocol name handling
* Use futures mpsc instead of tokio
* Timeout futures
* Move from a yielding loop to select in tendermint-machine
* Update Substrate to the new TendermintHandle
* Use futures pin instead of tokio
* Only recheck blocks with non-fatal inherent transaction errors
* Update to the latest substrate
* Separate the block processing time from the latency
* Add notes to the runtime
* Don't spam slash
Also adds a slash condition of failing to propose.
* Support running TendermintMachine when not a validator
This supports validators who leave the current set, without crashing
their nodes, along with nodes trying to become validators (who will now
seamlessly transition in).
* Properly define and pass around the block size
* Correct the Duration timing
The proposer will build it, send it, then process it (on the first
round). Accordingly, it's / 3, not / 2, as / 2 only accounted for the
latter events.
* Correct time-adjustment code on round skip
* Have the machine respond to advances made by an external sync loop
* Clean up time code in tendermint-machine
* BlockData and RoundData structs
* Rename Round to RoundNumber
* Move BlockData to a new file
* Move Round to an Option due to the pseudo-uninitialized state we create
Before the addition of RoundData, we always created the round, and on
.round(0), simply created it again. With RoundData, and the changes to
the time code, we used round 0, time 0, the latter being incorrect yet
not an issue due to lack of misuse.
Now, if we do misuse it, it'll panic.
* Clear the Queue instead of draining and filtering
There shouldn't ever be a message which passes the filter under the
current design.
* BlockData::new
* Move more code into block.rs
Introduces type-aliases to obtain Data/Message/SignedMessage solely from
a Network object.
Fixes a bug regarding stepping when you're not an active validator.
* Have verify_precommit_signature return if it verified the signature
Also fixes a bug where invalid precommit signatures were left standing
and therefore contributing to commits.
* Remove the precommit signature hash
It cached signatures per-block. Precommit signatures are bound to each
round. This would lead to forming invalid commits when a commit should
be formed. Under debug, the machine would catch that and panic. On
release, it'd have everyone who wasn't a validator fail to continue
syncing.
* Slight doc changes
Also flattens the message handling function by replacing an if
containing all following code in the function with an early return for
the else case.
* Always produce notifications for finalized blocks via origin overrides
* Correct weird formatting
* Update to the latest tendermint-machine
* Manually step the Tendermint machine when we synced a block over the network
* Ignore finality notifications for old blocks
* Remove a TODO resolved in 8c51bc011d03c8d54ded05011e7f4d1a01e9f873
* Add a TODO comment to slash
Enables searching for the case-sensitive phrase and finding it.
* cargo fmt
* Use a tmp DB for Serai in Docker
* Remove panic on slash
As we move towards protonet, this can happen (if a node goes offline),
yet it happening brings down the entire net right now.
* Add log::error on slash
* created shared volume between containers
* Complete the sh scripts
* Pass in the genesis time to Substrate
* Correct block announcements
They were announced, yet not marked best.
* Correct pupulate_end_time
It was used as inclusive yet didn't work inclusively.
* Correct gossip channel jumping when a block is synced via Substrate
* Use a looser check in import_future
This triggered so it needs to be accordingly relaxed.
* Correct race conditions between add_block and step
Also corrects a <= to <.
* Update cargo deny
* rename genesis-service to genesis
* Update Cargo.lock
* Correct runtime Cargo.toml whitespace
* Correct typo
* Document recheck
* Misc lints
* Fix prev commit
* Resolve low-hanging review comments
* Mark genesis/entry-dev.sh as executable
* Prevent a commit from including the same signature multiple times
Yanks tendermint-machine 0.1.0 accordingly.
* Update to latest nightly clippy
* Improve documentation
* Use clearer variable names
* Add log statements
* Pair more log statements
* Clean TendermintAuthority::authority as possible
Merges it into new. It has way too many arguments, yet there's no clear path at
consolidation there, unfortunately.
Additionally provides better scoping within itself.
* Fix #158
Doesn't use lock_import_and_run for reasons commented (lack of async).
* Rename guard to lock
* Have the devnet use the current time as the genesis
Possible since it's only a single node, not requiring synchronization.
* Fix gossiping
I really don't know what side effect this avoids and I can't say I care at this
point.
* Misc lints
Co-authored-by: vrx00 <vrx00@proton.me>
Co-authored-by: TheArchitect108 <TheArchitect108@protonmail.com>
2022-12-03 23:38:02 +00:00
|
|
|
"pallet-session",
|
|
|
|
"pallet-tendermint",
|
2022-07-16 21:49:35 +00:00
|
|
|
"pallet-transaction-payment",
|
|
|
|
"pallet-transaction-payment-rpc-runtime-api",
|
|
|
|
"parity-scale-codec",
|
|
|
|
"scale-info",
|
2023-01-06 00:36:49 +00:00
|
|
|
"serai-primitives",
|
2022-07-16 21:49:35 +00:00
|
|
|
"sp-api",
|
Initial Tendermint implementation (#145)
* Machine without timeouts
* Time code
* Move substrate/consensus/tendermint to substrate/tendermint
* Delete the old paper doc
* Refactor out external parts to generics
Also creates a dedicated file for the message log.
* Refactor <V, B> to type V, type B
* Successfully compiling
* Calculate timeouts
* Fix test
* Finish timeouts
* Misc cleanup
* Define a signature scheme trait
* Implement serialization via parity's scale codec
Ideally, this would be generic. Unfortunately, the generic API serde
doesn't natively support borsh, nor SCALE, and while there is a serde
SCALE crate, it's old. While it may be complete, it's not worth working
with.
While we could still grab bincode, and a variety of other formats, it
wasn't worth it to go custom and for Serai, we'll be using SCALE almost
everywhere anyways.
* Implement usage of the signature scheme
* Make the infinite test non-infinite
* Provide a dedicated signature in Precommit of just the block hash
Greatly simplifies verifying when syncing.
* Dedicated Commit object
Restores sig aggregation API.
* Tidy README
* Document tendermint
* Sign the ID directly instead of its SCALE encoding
For a hash, which is fixed-size, these should be the same yet this helps
move past the dependency on SCALE. It also, for any type where the two
values are different, smooths integration.
* Litany of bug fixes
Also attempts to make the code more readable while updating/correcting
documentation.
* Remove async recursion
Greatly increases safety as well by ensuring only one message is
processed at once.
* Correct timing issues
1) Commit didn't include the round, leaving the clock in question.
2) Machines started with a local time, instead of a proper start time.
3) Machines immediately started the next block instead of waiting for
the block time.
* Replace MultiSignature with sr25519::Signature
* Minor SignatureScheme API changes
* Map TM SignatureScheme to Substrate's sr25519
* Initial work on an import queue
* Properly use check_block
* Rename import to import_queue
* Implement tendermint_machine::Block for Substrate Blocks
Unfortunately, this immediately makes Tendermint machine capable of
deployment as crate since it uses a git reference. In the future, a
Cargo.toml patch section for serai/substrate should be investigated.
This is being done regardless as it's the quickest way forward and this
is for Serai.
* Dummy Weights
* Move documentation to the top of the file
* Move logic into TendermintImport itself
Multiple traits exist to verify/handle blocks. I'm unsure exactly when
each will be called in the pipeline, so the easiest solution is to have
every step run every check.
That would be extremely computationally expensive if we ran EVERY check,
yet we rely on Substrate for execution (and according checks), which are
limited to just the actual import function.
Since we're calling this code from many places, it makes sense for it to
be consolidated under TendermintImport.
* BlockImport, JustificationImport, Verifier, and import_queue function
* Update consensus/lib.rs from PoW to Tendermint
Not possible to be used as the previous consensus could. It will not
produce blocks nor does it currenly even instantiate a machine. This is
just he next step.
* Update Cargo.tomls for substrate packages
* Tendermint SelectChain
This is incompatible with Substrate's expectations, yet should be valid
for ours
* Move the node over to the new SelectChain
* Minor tweaks
* Update SelectChain documentation
* Remove substrate/node lib.rs
This shouldn't be used as a library AFAIK. While runtime should be, and
arguably should even be published, I have yet to see node in the same
way. Helps tighten API boundaries.
* Remove unused macro_use
* Replace panicking todos with stubs and // TODO
Enables progress.
* Reduce chain_spec and use more accurate naming
* Implement block proposal logic
* Modularize to get_proposal
* Trigger block importing
Doesn't wait for the response yet, which it needs to.
* Get the result of block importing
* Split import_queue into a series of files
* Provide a way to create the machine
The BasicQueue returned obscures the TendermintImport struct.
Accordingly, a Future scoped with access is returned upwards, which when
awaited will create the machine. This makes creating the machine
optional while maintaining scope boundaries.
Is sufficient to create a 1-node net which produces and finalizes
blocks.
* Don't import justifications multiple times
Also don't broadcast blocks which were solely proposed.
* Correct justication import pipeline
Removes JustificationImport as it should never be used.
* Announce blocks
By claiming File, they're not sent ovber the P2P network before they
have a justification, as desired. Unfortunately, they never were. This
works around that.
* Add an assert to verify proposed children aren't best
* Consolidate C and I generics into a TendermintClient trait alias
* Expand sanity checks
Substrate doesn't expect nor officially support children with less work
than their parents. It's a trick used here. Accordingly, ensure the
trick's validity.
* When resetting, use the end time of the round which was committed to
The machine reset to the end time of the current round. For a delayed
network connection, a machine may move ahead in rounds and only later
realize a prior round succeeded. Despite acknowledging that round's
success, it would maintain its delay when moving to the next block,
bricking it.
Done by tracking the end time for each round as they occur.
* Move Commit from including the round to including the round's end_time
The round was usable to build the current clock in an accumulated
fashion, relative to the previous round. The end time is the absolute
metric of it, which can be used to calculate the round number (with all
previous end times).
Substrate now builds off the best block, not genesis, using the end time
included in the justification to start its machine in a synchronized
state.
Knowing the end time of a round, or the round in which block was
committed to, is necessary for nodes to sync up with Tendermint.
Encoding it in the commit ensures it's long lasting and makes it readily
available, without the load of an entire transaction.
* Add a TODO on Tendermint
* Misc bug fixes
* More misc bug fixes
* Clean up lock acquisition
* Merge weights and signing scheme into validators, documenting needed changes
* Add pallet sessions to runtime, create pallet-tendermint
* Update node to use pallet sessions
* Update support URL
* Partial work on correcting pallet calls
* Redo Tendermint folder structure
* TendermintApi, compilation fixes
* Fix the stub round robin
At some point, the modulus was removed causing it to exceed the
validators list and stop proposing.
* Use the validators list from the session pallet
* Basic Gossip Validator
* Correct Substrate Tendermint start block
The Tendermint machine uses the passed in number as the block's being
worked on number. Substrate passed in the already finalized block's
number.
Also updates misc comments.
* Clean generics in Tendermint with a monolith with associated types
* Remove the Future triggering the machine for an async fn
Enables passing data in, such as the network.
* Move TendermintMachine from start_num, time to last_num, time
Provides an explicitly clear API clearer to program around.
Also adds additional time code to handle an edge case.
* Connect the Tendermint machine to a GossipEngine
* Connect broadcast
* Remove machine from TendermintImport
It's not used there at all.
* Merge Verifier into block_import.rs
These two files were largely the same, just hooking into sync structs
with almost identical imports. As this project shapes up, removing dead
weight is appreciated.
* Create a dedicated file for being a Tendermint authority
* Deleted comment code related to PoW
* Move serai_runtime specific code from tendermint/client to node
Renames serai-consensus to sc_tendermint
* Consolidate file structure in sc_tendermint
* Replace best_* with finalized_*
We test their equivalency yet still better to use finalized_* in
general.
* Consolidate references to sr25519 in sc_tendermint
* Add documentation to public structs/functions in sc_tendermint
* Add another missing comment
* Make sign asynchronous
Some relation to https://github.com/serai-dex/serai/issues/95.
* Move sc_tendermint to async sign
* Implement proper checking of inherents
* Take in a Keystore and validator ID
* Remove unnecessary PhantomDatas
* Update node to latest sc_tendermint
* Configure node for a multi-node testnet
* Fix handling of the GossipEngine
* Use a rounded genesis to obtain sufficient synchrony within the Docker env
* Correct Serai d-f names in Docker
* Remove an attempt at caching I don't believe would ever hit
* Add an already in chain check to block import
While the inner should do this for us, we call verify_order on our end
*before* inner to ensure sequential import. Accordingly, we need to
provide our own check.
Removes errors of "non-sequential import" when trying to re-import an
existing block.
* Update the consensus documentation
It was incredibly out of date.
* Add a _ to the validator arg in slash
* Make the dev profile a local testnet profile
Restores a dev profile which only has one validator, locally running.
* Reduce Arcs in TendermintMachine, split Signer from SignatureScheme
* Update sc_tendermint per previous commit
* Restore cache
* Remove error case which shouldn't be an error
* Stop returning errors on already existing blocks entirely
* Correct Dave, Eve, and Ferdie to not run as validators
* Rename dev to devnet
--dev still works thanks to the |. Acheieves a personal preference of
mine with some historical meaning.
* Add message expiry to the Tendermint gossip
* Localize the LibP2P protocol to the blockchain
Follows convention by doing so. Theoretically enables running multiple
blockchains over a single LibP2P connection.
* Add a version to sp-runtime in tendermint-machine
* Add missing trait
* Bump Substrate dependency
Fixes #147.
* Implement Schnorr half-aggregation from https://eprint.iacr.org/2021/350.pdf
Relevant to https://github.com/serai-dex/serai/issues/99.
* cargo update (tendermint)
* Move from polling loops to a pure IO model for sc_tendermint's gossip
* Correct protocol name handling
* Use futures mpsc instead of tokio
* Timeout futures
* Move from a yielding loop to select in tendermint-machine
* Update Substrate to the new TendermintHandle
* Use futures pin instead of tokio
* Only recheck blocks with non-fatal inherent transaction errors
* Update to the latest substrate
* Separate the block processing time from the latency
* Add notes to the runtime
* Don't spam slash
Also adds a slash condition of failing to propose.
* Support running TendermintMachine when not a validator
This supports validators who leave the current set, without crashing
their nodes, along with nodes trying to become validators (who will now
seamlessly transition in).
* Properly define and pass around the block size
* Correct the Duration timing
The proposer will build it, send it, then process it (on the first
round). Accordingly, it's / 3, not / 2, as / 2 only accounted for the
latter events.
* Correct time-adjustment code on round skip
* Have the machine respond to advances made by an external sync loop
* Clean up time code in tendermint-machine
* BlockData and RoundData structs
* Rename Round to RoundNumber
* Move BlockData to a new file
* Move Round to an Option due to the pseudo-uninitialized state we create
Before the addition of RoundData, we always created the round, and on
.round(0), simply created it again. With RoundData, and the changes to
the time code, we used round 0, time 0, the latter being incorrect yet
not an issue due to lack of misuse.
Now, if we do misuse it, it'll panic.
* Clear the Queue instead of draining and filtering
There shouldn't ever be a message which passes the filter under the
current design.
* BlockData::new
* Move more code into block.rs
Introduces type-aliases to obtain Data/Message/SignedMessage solely from
a Network object.
Fixes a bug regarding stepping when you're not an active validator.
* Have verify_precommit_signature return if it verified the signature
Also fixes a bug where invalid precommit signatures were left standing
and therefore contributing to commits.
* Remove the precommit signature hash
It cached signatures per-block. Precommit signatures are bound to each
round. This would lead to forming invalid commits when a commit should
be formed. Under debug, the machine would catch that and panic. On
release, it'd have everyone who wasn't a validator fail to continue
syncing.
* Slight doc changes
Also flattens the message handling function by replacing an if
containing all following code in the function with an early return for
the else case.
* Always produce notifications for finalized blocks via origin overrides
* Correct weird formatting
* Update to the latest tendermint-machine
* Manually step the Tendermint machine when we synced a block over the network
* Ignore finality notifications for old blocks
* Remove a TODO resolved in 8c51bc011d03c8d54ded05011e7f4d1a01e9f873
* Add a TODO comment to slash
Enables searching for the case-sensitive phrase and finding it.
* cargo fmt
* Use a tmp DB for Serai in Docker
* Remove panic on slash
As we move towards protonet, this can happen (if a node goes offline),
yet it happening brings down the entire net right now.
* Add log::error on slash
* created shared volume between containers
* Complete the sh scripts
* Pass in the genesis time to Substrate
* Correct block announcements
They were announced, yet not marked best.
* Correct pupulate_end_time
It was used as inclusive yet didn't work inclusively.
* Correct gossip channel jumping when a block is synced via Substrate
* Use a looser check in import_future
This triggered so it needs to be accordingly relaxed.
* Correct race conditions between add_block and step
Also corrects a <= to <.
* Update cargo deny
* rename genesis-service to genesis
* Update Cargo.lock
* Correct runtime Cargo.toml whitespace
* Correct typo
* Document recheck
* Misc lints
* Fix prev commit
* Resolve low-hanging review comments
* Mark genesis/entry-dev.sh as executable
* Prevent a commit from including the same signature multiple times
Yanks tendermint-machine 0.1.0 accordingly.
* Update to latest nightly clippy
* Improve documentation
* Use clearer variable names
* Add log statements
* Pair more log statements
* Clean TendermintAuthority::authority as possible
Merges it into new. It has way too many arguments, yet there's no clear path at
consolidation there, unfortunately.
Additionally provides better scoping within itself.
* Fix #158
Doesn't use lock_import_and_run for reasons commented (lack of async).
* Rename guard to lock
* Have the devnet use the current time as the genesis
Possible since it's only a single node, not requiring synchronization.
* Fix gossiping
I really don't know what side effect this avoids and I can't say I care at this
point.
* Misc lints
Co-authored-by: vrx00 <vrx00@proton.me>
Co-authored-by: TheArchitect108 <TheArchitect108@protonmail.com>
2022-12-03 23:38:02 +00:00
|
|
|
"sp-application-crypto",
|
2022-07-16 21:49:35 +00:00
|
|
|
"sp-block-builder",
|
|
|
|
"sp-core",
|
|
|
|
"sp-inherents",
|
|
|
|
"sp-offchain",
|
|
|
|
"sp-runtime",
|
|
|
|
"sp-session",
|
|
|
|
"sp-std",
|
Initial Tendermint implementation (#145)
* Machine without timeouts
* Time code
* Move substrate/consensus/tendermint to substrate/tendermint
* Delete the old paper doc
* Refactor out external parts to generics
Also creates a dedicated file for the message log.
* Refactor <V, B> to type V, type B
* Successfully compiling
* Calculate timeouts
* Fix test
* Finish timeouts
* Misc cleanup
* Define a signature scheme trait
* Implement serialization via parity's scale codec
Ideally, this would be generic. Unfortunately, the generic API serde
doesn't natively support borsh, nor SCALE, and while there is a serde
SCALE crate, it's old. While it may be complete, it's not worth working
with.
While we could still grab bincode, and a variety of other formats, it
wasn't worth it to go custom and for Serai, we'll be using SCALE almost
everywhere anyways.
* Implement usage of the signature scheme
* Make the infinite test non-infinite
* Provide a dedicated signature in Precommit of just the block hash
Greatly simplifies verifying when syncing.
* Dedicated Commit object
Restores sig aggregation API.
* Tidy README
* Document tendermint
* Sign the ID directly instead of its SCALE encoding
For a hash, which is fixed-size, these should be the same yet this helps
move past the dependency on SCALE. It also, for any type where the two
values are different, smooths integration.
* Litany of bug fixes
Also attempts to make the code more readable while updating/correcting
documentation.
* Remove async recursion
Greatly increases safety as well by ensuring only one message is
processed at once.
* Correct timing issues
1) Commit didn't include the round, leaving the clock in question.
2) Machines started with a local time, instead of a proper start time.
3) Machines immediately started the next block instead of waiting for
the block time.
* Replace MultiSignature with sr25519::Signature
* Minor SignatureScheme API changes
* Map TM SignatureScheme to Substrate's sr25519
* Initial work on an import queue
* Properly use check_block
* Rename import to import_queue
* Implement tendermint_machine::Block for Substrate Blocks
Unfortunately, this immediately makes Tendermint machine capable of
deployment as crate since it uses a git reference. In the future, a
Cargo.toml patch section for serai/substrate should be investigated.
This is being done regardless as it's the quickest way forward and this
is for Serai.
* Dummy Weights
* Move documentation to the top of the file
* Move logic into TendermintImport itself
Multiple traits exist to verify/handle blocks. I'm unsure exactly when
each will be called in the pipeline, so the easiest solution is to have
every step run every check.
That would be extremely computationally expensive if we ran EVERY check,
yet we rely on Substrate for execution (and according checks), which are
limited to just the actual import function.
Since we're calling this code from many places, it makes sense for it to
be consolidated under TendermintImport.
* BlockImport, JustificationImport, Verifier, and import_queue function
* Update consensus/lib.rs from PoW to Tendermint
Not possible to be used as the previous consensus could. It will not
produce blocks nor does it currenly even instantiate a machine. This is
just he next step.
* Update Cargo.tomls for substrate packages
* Tendermint SelectChain
This is incompatible with Substrate's expectations, yet should be valid
for ours
* Move the node over to the new SelectChain
* Minor tweaks
* Update SelectChain documentation
* Remove substrate/node lib.rs
This shouldn't be used as a library AFAIK. While runtime should be, and
arguably should even be published, I have yet to see node in the same
way. Helps tighten API boundaries.
* Remove unused macro_use
* Replace panicking todos with stubs and // TODO
Enables progress.
* Reduce chain_spec and use more accurate naming
* Implement block proposal logic
* Modularize to get_proposal
* Trigger block importing
Doesn't wait for the response yet, which it needs to.
* Get the result of block importing
* Split import_queue into a series of files
* Provide a way to create the machine
The BasicQueue returned obscures the TendermintImport struct.
Accordingly, a Future scoped with access is returned upwards, which when
awaited will create the machine. This makes creating the machine
optional while maintaining scope boundaries.
Is sufficient to create a 1-node net which produces and finalizes
blocks.
* Don't import justifications multiple times
Also don't broadcast blocks which were solely proposed.
* Correct justication import pipeline
Removes JustificationImport as it should never be used.
* Announce blocks
By claiming File, they're not sent ovber the P2P network before they
have a justification, as desired. Unfortunately, they never were. This
works around that.
* Add an assert to verify proposed children aren't best
* Consolidate C and I generics into a TendermintClient trait alias
* Expand sanity checks
Substrate doesn't expect nor officially support children with less work
than their parents. It's a trick used here. Accordingly, ensure the
trick's validity.
* When resetting, use the end time of the round which was committed to
The machine reset to the end time of the current round. For a delayed
network connection, a machine may move ahead in rounds and only later
realize a prior round succeeded. Despite acknowledging that round's
success, it would maintain its delay when moving to the next block,
bricking it.
Done by tracking the end time for each round as they occur.
* Move Commit from including the round to including the round's end_time
The round was usable to build the current clock in an accumulated
fashion, relative to the previous round. The end time is the absolute
metric of it, which can be used to calculate the round number (with all
previous end times).
Substrate now builds off the best block, not genesis, using the end time
included in the justification to start its machine in a synchronized
state.
Knowing the end time of a round, or the round in which block was
committed to, is necessary for nodes to sync up with Tendermint.
Encoding it in the commit ensures it's long lasting and makes it readily
available, without the load of an entire transaction.
* Add a TODO on Tendermint
* Misc bug fixes
* More misc bug fixes
* Clean up lock acquisition
* Merge weights and signing scheme into validators, documenting needed changes
* Add pallet sessions to runtime, create pallet-tendermint
* Update node to use pallet sessions
* Update support URL
* Partial work on correcting pallet calls
* Redo Tendermint folder structure
* TendermintApi, compilation fixes
* Fix the stub round robin
At some point, the modulus was removed causing it to exceed the
validators list and stop proposing.
* Use the validators list from the session pallet
* Basic Gossip Validator
* Correct Substrate Tendermint start block
The Tendermint machine uses the passed in number as the block's being
worked on number. Substrate passed in the already finalized block's
number.
Also updates misc comments.
* Clean generics in Tendermint with a monolith with associated types
* Remove the Future triggering the machine for an async fn
Enables passing data in, such as the network.
* Move TendermintMachine from start_num, time to last_num, time
Provides an explicitly clear API clearer to program around.
Also adds additional time code to handle an edge case.
* Connect the Tendermint machine to a GossipEngine
* Connect broadcast
* Remove machine from TendermintImport
It's not used there at all.
* Merge Verifier into block_import.rs
These two files were largely the same, just hooking into sync structs
with almost identical imports. As this project shapes up, removing dead
weight is appreciated.
* Create a dedicated file for being a Tendermint authority
* Deleted comment code related to PoW
* Move serai_runtime specific code from tendermint/client to node
Renames serai-consensus to sc_tendermint
* Consolidate file structure in sc_tendermint
* Replace best_* with finalized_*
We test their equivalency yet still better to use finalized_* in
general.
* Consolidate references to sr25519 in sc_tendermint
* Add documentation to public structs/functions in sc_tendermint
* Add another missing comment
* Make sign asynchronous
Some relation to https://github.com/serai-dex/serai/issues/95.
* Move sc_tendermint to async sign
* Implement proper checking of inherents
* Take in a Keystore and validator ID
* Remove unnecessary PhantomDatas
* Update node to latest sc_tendermint
* Configure node for a multi-node testnet
* Fix handling of the GossipEngine
* Use a rounded genesis to obtain sufficient synchrony within the Docker env
* Correct Serai d-f names in Docker
* Remove an attempt at caching I don't believe would ever hit
* Add an already in chain check to block import
While the inner should do this for us, we call verify_order on our end
*before* inner to ensure sequential import. Accordingly, we need to
provide our own check.
Removes errors of "non-sequential import" when trying to re-import an
existing block.
* Update the consensus documentation
It was incredibly out of date.
* Add a _ to the validator arg in slash
* Make the dev profile a local testnet profile
Restores a dev profile which only has one validator, locally running.
* Reduce Arcs in TendermintMachine, split Signer from SignatureScheme
* Update sc_tendermint per previous commit
* Restore cache
* Remove error case which shouldn't be an error
* Stop returning errors on already existing blocks entirely
* Correct Dave, Eve, and Ferdie to not run as validators
* Rename dev to devnet
--dev still works thanks to the |. Acheieves a personal preference of
mine with some historical meaning.
* Add message expiry to the Tendermint gossip
* Localize the LibP2P protocol to the blockchain
Follows convention by doing so. Theoretically enables running multiple
blockchains over a single LibP2P connection.
* Add a version to sp-runtime in tendermint-machine
* Add missing trait
* Bump Substrate dependency
Fixes #147.
* Implement Schnorr half-aggregation from https://eprint.iacr.org/2021/350.pdf
Relevant to https://github.com/serai-dex/serai/issues/99.
* cargo update (tendermint)
* Move from polling loops to a pure IO model for sc_tendermint's gossip
* Correct protocol name handling
* Use futures mpsc instead of tokio
* Timeout futures
* Move from a yielding loop to select in tendermint-machine
* Update Substrate to the new TendermintHandle
* Use futures pin instead of tokio
* Only recheck blocks with non-fatal inherent transaction errors
* Update to the latest substrate
* Separate the block processing time from the latency
* Add notes to the runtime
* Don't spam slash
Also adds a slash condition of failing to propose.
* Support running TendermintMachine when not a validator
This supports validators who leave the current set, without crashing
their nodes, along with nodes trying to become validators (who will now
seamlessly transition in).
* Properly define and pass around the block size
* Correct the Duration timing
The proposer will build it, send it, then process it (on the first
round). Accordingly, it's / 3, not / 2, as / 2 only accounted for the
latter events.
* Correct time-adjustment code on round skip
* Have the machine respond to advances made by an external sync loop
* Clean up time code in tendermint-machine
* BlockData and RoundData structs
* Rename Round to RoundNumber
* Move BlockData to a new file
* Move Round to an Option due to the pseudo-uninitialized state we create
Before the addition of RoundData, we always created the round, and on
.round(0), simply created it again. With RoundData, and the changes to
the time code, we used round 0, time 0, the latter being incorrect yet
not an issue due to lack of misuse.
Now, if we do misuse it, it'll panic.
* Clear the Queue instead of draining and filtering
There shouldn't ever be a message which passes the filter under the
current design.
* BlockData::new
* Move more code into block.rs
Introduces type-aliases to obtain Data/Message/SignedMessage solely from
a Network object.
Fixes a bug regarding stepping when you're not an active validator.
* Have verify_precommit_signature return if it verified the signature
Also fixes a bug where invalid precommit signatures were left standing
and therefore contributing to commits.
* Remove the precommit signature hash
It cached signatures per-block. Precommit signatures are bound to each
round. This would lead to forming invalid commits when a commit should
be formed. Under debug, the machine would catch that and panic. On
release, it'd have everyone who wasn't a validator fail to continue
syncing.
* Slight doc changes
Also flattens the message handling function by replacing an if
containing all following code in the function with an early return for
the else case.
* Always produce notifications for finalized blocks via origin overrides
* Correct weird formatting
* Update to the latest tendermint-machine
* Manually step the Tendermint machine when we synced a block over the network
* Ignore finality notifications for old blocks
* Remove a TODO resolved in 8c51bc011d03c8d54ded05011e7f4d1a01e9f873
* Add a TODO comment to slash
Enables searching for the case-sensitive phrase and finding it.
* cargo fmt
* Use a tmp DB for Serai in Docker
* Remove panic on slash
As we move towards protonet, this can happen (if a node goes offline),
yet it happening brings down the entire net right now.
* Add log::error on slash
* created shared volume between containers
* Complete the sh scripts
* Pass in the genesis time to Substrate
* Correct block announcements
They were announced, yet not marked best.
* Correct pupulate_end_time
It was used as inclusive yet didn't work inclusively.
* Correct gossip channel jumping when a block is synced via Substrate
* Use a looser check in import_future
This triggered so it needs to be accordingly relaxed.
* Correct race conditions between add_block and step
Also corrects a <= to <.
* Update cargo deny
* rename genesis-service to genesis
* Update Cargo.lock
* Correct runtime Cargo.toml whitespace
* Correct typo
* Document recheck
* Misc lints
* Fix prev commit
* Resolve low-hanging review comments
* Mark genesis/entry-dev.sh as executable
* Prevent a commit from including the same signature multiple times
Yanks tendermint-machine 0.1.0 accordingly.
* Update to latest nightly clippy
* Improve documentation
* Use clearer variable names
* Add log statements
* Pair more log statements
* Clean TendermintAuthority::authority as possible
Merges it into new. It has way too many arguments, yet there's no clear path at
consolidation there, unfortunately.
Additionally provides better scoping within itself.
* Fix #158
Doesn't use lock_import_and_run for reasons commented (lack of async).
* Rename guard to lock
* Have the devnet use the current time as the genesis
Possible since it's only a single node, not requiring synchronization.
* Fix gossiping
I really don't know what side effect this avoids and I can't say I care at this
point.
* Misc lints
Co-authored-by: vrx00 <vrx00@proton.me>
Co-authored-by: TheArchitect108 <TheArchitect108@protonmail.com>
2022-12-03 23:38:02 +00:00
|
|
|
"sp-tendermint",
|
2022-07-16 21:49:35 +00:00
|
|
|
"sp-transaction-pool",
|
|
|
|
"sp-version",
|
|
|
|
"substrate-wasm-builder",
|
2023-01-05 03:52:41 +00:00
|
|
|
"validator-sets-pallet",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "serde"
|
2023-01-04 08:17:36 +00:00
|
|
|
version = "1.0.152"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-01-04 08:17:36 +00:00
|
|
|
checksum = "bb7d1f0d3021d347a83e556fc4683dea2ea09d87bccdf88ff5c12545d89d5efb"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"serde_derive",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "serde-aux"
|
2022-12-07 23:05:06 +00:00
|
|
|
version = "4.1.2"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-07 23:05:06 +00:00
|
|
|
checksum = "c599b3fd89a75e0c18d6d2be693ddb12cccaf771db4ff9e39097104808a014c0"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "serde_derive"
|
2023-01-04 08:17:36 +00:00
|
|
|
version = "1.0.152"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-01-04 08:17:36 +00:00
|
|
|
checksum = "af487d118eecd09402d70a5d72551860e788df87b464af30e5ea6a38c75c541e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "serde_json"
|
2022-12-21 04:12:26 +00:00
|
|
|
version = "1.0.91"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-21 04:12:26 +00:00
|
|
|
checksum = "877c235533714907a8c2464236f5c4b2a17262ef1bd71f38f35ea592c8da6883"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
2022-10-20 05:05:36 +00:00
|
|
|
"itoa",
|
2022-07-16 21:49:35 +00:00
|
|
|
"ryu",
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "serde_nanos"
|
|
|
|
version = "0.1.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "e44969a61f5d316be20a42ff97816efb3b407a924d06824c3d8a49fa8450de0e"
|
|
|
|
dependencies = [
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "serde_urlencoded"
|
|
|
|
version = "0.7.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd"
|
|
|
|
dependencies = [
|
|
|
|
"form_urlencoded",
|
2022-10-20 05:05:36 +00:00
|
|
|
"itoa",
|
2022-07-16 21:49:35 +00:00
|
|
|
"ryu",
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sha-1"
|
2022-08-16 07:44:32 +00:00
|
|
|
version = "0.9.8"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-08-16 07:44:32 +00:00
|
|
|
checksum = "99cd6713db3cf16b6c84e06321e049a9b9f699826e16096d23bbcc44d15d51a6"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
2022-08-16 07:44:32 +00:00
|
|
|
"block-buffer 0.9.0",
|
|
|
|
"cfg-if",
|
|
|
|
"cpufeatures",
|
|
|
|
"digest 0.9.0",
|
|
|
|
"opaque-debug 0.3.0",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sha1"
|
2022-09-18 19:30:38 +00:00
|
|
|
version = "0.10.5"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-09-18 19:30:38 +00:00
|
|
|
checksum = "f04293dc80c3993519f2d7f6f511707ee7094fe0c6d3406feb330cdb3540eba3"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"cfg-if",
|
|
|
|
"cpufeatures",
|
2022-11-21 07:23:38 +00:00
|
|
|
"digest 0.10.6",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sha2"
|
|
|
|
version = "0.8.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "a256f46ea78a0c0d9ff00077504903ac881a1dafdc20da66545699e7776b3e69"
|
|
|
|
dependencies = [
|
|
|
|
"block-buffer 0.7.3",
|
|
|
|
"digest 0.8.1",
|
|
|
|
"fake-simd",
|
|
|
|
"opaque-debug 0.2.3",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sha2"
|
|
|
|
version = "0.9.9"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "4d58a1e1bf39749807d89cf2d98ac2dfa0ff1cb3faa38fbb64dd88ac8013d800"
|
|
|
|
dependencies = [
|
|
|
|
"block-buffer 0.9.0",
|
|
|
|
"cfg-if",
|
|
|
|
"cpufeatures",
|
|
|
|
"digest 0.9.0",
|
|
|
|
"opaque-debug 0.3.0",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sha2"
|
2022-09-18 19:30:38 +00:00
|
|
|
version = "0.10.6"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-09-18 19:30:38 +00:00
|
|
|
checksum = "82e6b795fe2e3b1e845bafcb27aa35405c4d47cdfc92af5fc8d3002f76cebdc0"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"cfg-if",
|
|
|
|
"cpufeatures",
|
2022-11-21 07:23:38 +00:00
|
|
|
"digest 0.10.6",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sha3"
|
2022-10-20 05:05:36 +00:00
|
|
|
version = "0.10.6"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-20 05:05:36 +00:00
|
|
|
checksum = "bdf0c33fae925bdc080598b84bc15c55e7b9a4a43b3c704da051f977469691c9"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
2022-11-21 07:23:38 +00:00
|
|
|
"digest 0.10.6",
|
2022-07-16 21:49:35 +00:00
|
|
|
"keccak",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sharded-slab"
|
|
|
|
version = "0.1.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "900fba806f70c630b0a382d0d825e17a0f19fcd059a2ade1ff237bcddf446b31"
|
|
|
|
dependencies = [
|
|
|
|
"lazy_static",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "shlex"
|
|
|
|
version = "1.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "43b2853a4d09f215c24cc5489c992ce46052d359b5109343cbafbf26bc62f8a3"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "signal-hook-registry"
|
|
|
|
version = "1.4.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "e51e73328dc4ac0c7ccbda3a494dfa03df1de2f46018127f60c693f2648455b0"
|
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "signature"
|
2022-10-20 05:05:36 +00:00
|
|
|
version = "1.6.4"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-20 05:05:36 +00:00
|
|
|
checksum = "74233d3b3b2f6d4b006dc19dee745e73e2a6bfb6f93607cd3b02bd5b00797d7c"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
2022-11-21 07:23:38 +00:00
|
|
|
"digest 0.10.6",
|
2022-09-18 19:30:38 +00:00
|
|
|
"rand_core 0.6.4",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "simba"
|
|
|
|
version = "0.5.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "8e82063457853d00243beda9952e910b82593e4b07ae9f721b9278a99a0d3d5c"
|
|
|
|
dependencies = [
|
|
|
|
"approx",
|
|
|
|
"num-complex",
|
|
|
|
"num-traits",
|
|
|
|
"paste",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "siphasher"
|
|
|
|
version = "0.3.10"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "7bd3e3206899af3f8b12af284fafc038cc1dc2b41d1b89dd17297221c5d225de"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "slab"
|
2022-07-22 16:36:30 +00:00
|
|
|
version = "0.4.7"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-07-22 16:36:30 +00:00
|
|
|
checksum = "4614a76b2a8be0058caa9dbbaf66d988527d86d003c11a94fbd335d7661edcef"
|
|
|
|
dependencies = [
|
|
|
|
"autocfg",
|
|
|
|
]
|
2022-07-16 21:49:35 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "slice-group-by"
|
|
|
|
version = "0.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "03b634d87b960ab1a38c4fe143b508576f075e7c978bfad18217645ebfdfa2ec"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "smallvec"
|
2022-10-20 05:05:36 +00:00
|
|
|
version = "1.10.0"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-20 05:05:36 +00:00
|
|
|
checksum = "a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0"
|
2022-07-16 21:49:35 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "snap"
|
2022-11-21 07:23:38 +00:00
|
|
|
version = "1.1.0"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-21 07:23:38 +00:00
|
|
|
checksum = "5e9f0ab6ef7eb7353d9119c170a436d1bf248eea575ac42d19d12f4e34130831"
|
2022-07-16 21:49:35 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "snow"
|
|
|
|
version = "0.9.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "774d05a3edae07ce6d68ea6984f3c05e9bba8927e3dd591e3b479e5b03213d0d"
|
|
|
|
dependencies = [
|
|
|
|
"aes-gcm",
|
|
|
|
"blake2",
|
|
|
|
"chacha20poly1305",
|
2022-12-21 04:12:26 +00:00
|
|
|
"curve25519-dalek 4.0.0-pre.5",
|
2022-09-18 19:30:38 +00:00
|
|
|
"rand_core 0.6.4",
|
2022-07-16 21:49:35 +00:00
|
|
|
"ring",
|
2023-01-05 03:52:41 +00:00
|
|
|
"rustc_version",
|
2022-09-18 19:30:38 +00:00
|
|
|
"sha2 0.10.6",
|
2022-07-16 21:49:35 +00:00
|
|
|
"subtle",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "socket2"
|
2022-09-18 19:30:38 +00:00
|
|
|
version = "0.4.7"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-09-18 19:30:38 +00:00
|
|
|
checksum = "02e2d2db9033d13a1567121ddd7a095ee144db4e1ca1b1bda3419bc0da294ebd"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "soketto"
|
|
|
|
version = "0.7.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "41d1c5305e39e09653383c2c7244f2f78b3bcae37cf50c64cb4789c9f5096ec2"
|
|
|
|
dependencies = [
|
2022-10-22 01:40:50 +00:00
|
|
|
"base64 0.13.1",
|
2022-07-16 21:49:35 +00:00
|
|
|
"bytes",
|
|
|
|
"flate2",
|
|
|
|
"futures",
|
2023-01-04 08:17:36 +00:00
|
|
|
"http",
|
2022-07-16 21:49:35 +00:00
|
|
|
"httparse",
|
|
|
|
"log",
|
|
|
|
"rand 0.8.5",
|
2022-09-18 19:30:38 +00:00
|
|
|
"sha-1",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "solang-parser"
|
2022-12-07 23:05:06 +00:00
|
|
|
version = "0.1.18"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-07 23:05:06 +00:00
|
|
|
checksum = "ac8ac4bfef383f368bd9bb045107a501cd9cd0b64ad1983e1b7e839d6a44ecad"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"itertools",
|
|
|
|
"lalrpop",
|
|
|
|
"lalrpop-util",
|
|
|
|
"phf",
|
|
|
|
"unicode-xid",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sp-api"
|
|
|
|
version = "4.0.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"hash-db",
|
|
|
|
"log",
|
|
|
|
"parity-scale-codec",
|
|
|
|
"sp-api-proc-macro",
|
|
|
|
"sp-core",
|
|
|
|
"sp-runtime",
|
|
|
|
"sp-state-machine",
|
|
|
|
"sp-std",
|
2022-09-29 18:33:09 +00:00
|
|
|
"sp-trie",
|
2022-07-16 21:49:35 +00:00
|
|
|
"sp-version",
|
|
|
|
"thiserror",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sp-api-proc-macro"
|
|
|
|
version = "4.0.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"blake2",
|
2022-12-07 23:05:06 +00:00
|
|
|
"proc-macro-crate",
|
2022-07-16 21:49:35 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sp-application-crypto"
|
2023-01-04 08:17:36 +00:00
|
|
|
version = "7.0.0"
|
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"parity-scale-codec",
|
|
|
|
"scale-info",
|
|
|
|
"serde",
|
|
|
|
"sp-core",
|
|
|
|
"sp-io",
|
|
|
|
"sp-std",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sp-arithmetic"
|
2023-01-04 08:17:36 +00:00
|
|
|
version = "6.0.0"
|
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"integer-sqrt",
|
|
|
|
"num-traits",
|
|
|
|
"parity-scale-codec",
|
|
|
|
"scale-info",
|
|
|
|
"serde",
|
|
|
|
"sp-debug-derive",
|
|
|
|
"sp-std",
|
|
|
|
"static_assertions",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sp-block-builder"
|
|
|
|
version = "4.0.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"parity-scale-codec",
|
|
|
|
"sp-api",
|
|
|
|
"sp-inherents",
|
|
|
|
"sp-runtime",
|
|
|
|
"sp-std",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sp-blockchain"
|
|
|
|
version = "4.0.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"futures",
|
|
|
|
"log",
|
2022-11-11 04:59:20 +00:00
|
|
|
"lru",
|
2022-07-16 21:49:35 +00:00
|
|
|
"parity-scale-codec",
|
|
|
|
"parking_lot 0.12.1",
|
|
|
|
"sp-api",
|
|
|
|
"sp-consensus",
|
|
|
|
"sp-database",
|
|
|
|
"sp-runtime",
|
|
|
|
"sp-state-machine",
|
|
|
|
"thiserror",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sp-consensus"
|
|
|
|
version = "0.10.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"async-trait",
|
|
|
|
"futures",
|
|
|
|
"futures-timer",
|
|
|
|
"log",
|
|
|
|
"parity-scale-codec",
|
|
|
|
"sp-core",
|
|
|
|
"sp-inherents",
|
|
|
|
"sp-runtime",
|
|
|
|
"sp-state-machine",
|
|
|
|
"sp-std",
|
|
|
|
"sp-version",
|
|
|
|
"thiserror",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sp-core"
|
2023-01-04 08:17:36 +00:00
|
|
|
version = "7.0.0"
|
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
2022-09-29 18:33:09 +00:00
|
|
|
"array-bytes",
|
2022-07-16 21:49:35 +00:00
|
|
|
"base58 0.2.0",
|
|
|
|
"bitflags",
|
2022-09-29 18:33:09 +00:00
|
|
|
"blake2",
|
2022-07-16 21:49:35 +00:00
|
|
|
"byteorder",
|
|
|
|
"dyn-clonable",
|
2022-09-29 18:33:09 +00:00
|
|
|
"ed25519-zebra",
|
2022-07-16 21:49:35 +00:00
|
|
|
"futures",
|
|
|
|
"hash-db",
|
|
|
|
"hash256-std-hasher",
|
2023-01-05 03:52:41 +00:00
|
|
|
"impl-serde",
|
2022-07-16 21:49:35 +00:00
|
|
|
"lazy_static",
|
|
|
|
"libsecp256k1",
|
|
|
|
"log",
|
|
|
|
"merlin 2.0.1",
|
|
|
|
"num-traits",
|
|
|
|
"parity-scale-codec",
|
|
|
|
"parking_lot 0.12.1",
|
2022-12-07 23:05:06 +00:00
|
|
|
"primitive-types",
|
2022-07-16 21:49:35 +00:00
|
|
|
"rand 0.7.3",
|
|
|
|
"regex",
|
|
|
|
"scale-info",
|
|
|
|
"schnorrkel",
|
2022-08-16 07:44:32 +00:00
|
|
|
"secp256k1",
|
2022-07-16 21:49:35 +00:00
|
|
|
"secrecy",
|
|
|
|
"serde",
|
|
|
|
"sp-core-hashing",
|
|
|
|
"sp-debug-derive",
|
|
|
|
"sp-externalities",
|
|
|
|
"sp-runtime-interface",
|
|
|
|
"sp-std",
|
|
|
|
"sp-storage",
|
|
|
|
"ss58-registry",
|
|
|
|
"substrate-bip39",
|
|
|
|
"thiserror",
|
|
|
|
"tiny-bip39",
|
2023-01-05 03:52:41 +00:00
|
|
|
"wasmi",
|
2022-07-16 21:49:35 +00:00
|
|
|
"zeroize",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sp-core-hashing"
|
2023-01-04 08:17:36 +00:00
|
|
|
version = "5.0.0"
|
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"blake2",
|
|
|
|
"byteorder",
|
2022-11-21 07:23:38 +00:00
|
|
|
"digest 0.10.6",
|
2022-09-18 19:30:38 +00:00
|
|
|
"sha2 0.10.6",
|
2022-10-20 05:05:36 +00:00
|
|
|
"sha3",
|
2022-07-16 21:49:35 +00:00
|
|
|
"sp-std",
|
|
|
|
"twox-hash",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sp-core-hashing-proc-macro"
|
|
|
|
version = "5.0.0"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"sp-core-hashing",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sp-database"
|
|
|
|
version = "4.0.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"kvdb",
|
|
|
|
"parking_lot 0.12.1",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sp-debug-derive"
|
2023-01-04 08:17:36 +00:00
|
|
|
version = "5.0.0"
|
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sp-externalities"
|
2023-01-04 08:17:36 +00:00
|
|
|
version = "0.13.0"
|
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"environmental",
|
|
|
|
"parity-scale-codec",
|
|
|
|
"sp-std",
|
|
|
|
"sp-storage",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sp-finality-grandpa"
|
|
|
|
version = "4.0.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"finality-grandpa",
|
|
|
|
"log",
|
|
|
|
"parity-scale-codec",
|
|
|
|
"scale-info",
|
|
|
|
"serde",
|
|
|
|
"sp-api",
|
|
|
|
"sp-application-crypto",
|
|
|
|
"sp-core",
|
|
|
|
"sp-keystore",
|
|
|
|
"sp-runtime",
|
|
|
|
"sp-std",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sp-inherents"
|
|
|
|
version = "4.0.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"async-trait",
|
|
|
|
"impl-trait-for-tuples",
|
|
|
|
"parity-scale-codec",
|
|
|
|
"sp-core",
|
|
|
|
"sp-runtime",
|
|
|
|
"sp-std",
|
|
|
|
"thiserror",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sp-io"
|
2023-01-04 08:17:36 +00:00
|
|
|
version = "7.0.0"
|
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
2022-09-29 18:33:09 +00:00
|
|
|
"bytes",
|
2023-01-04 08:17:36 +00:00
|
|
|
"ed25519-dalek",
|
2022-07-16 21:49:35 +00:00
|
|
|
"futures",
|
|
|
|
"hash-db",
|
|
|
|
"libsecp256k1",
|
|
|
|
"log",
|
|
|
|
"parity-scale-codec",
|
|
|
|
"parking_lot 0.12.1",
|
2022-08-16 07:44:32 +00:00
|
|
|
"secp256k1",
|
2022-07-16 21:49:35 +00:00
|
|
|
"sp-core",
|
|
|
|
"sp-externalities",
|
|
|
|
"sp-keystore",
|
|
|
|
"sp-runtime-interface",
|
|
|
|
"sp-state-machine",
|
|
|
|
"sp-std",
|
|
|
|
"sp-tracing",
|
|
|
|
"sp-trie",
|
|
|
|
"sp-wasm-interface",
|
|
|
|
"tracing",
|
|
|
|
"tracing-core",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sp-keyring"
|
2023-01-04 08:17:36 +00:00
|
|
|
version = "7.0.0"
|
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"lazy_static",
|
|
|
|
"sp-core",
|
|
|
|
"sp-runtime",
|
2022-08-16 07:44:32 +00:00
|
|
|
"strum",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sp-keystore"
|
2023-01-04 08:17:36 +00:00
|
|
|
version = "0.13.0"
|
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"async-trait",
|
|
|
|
"futures",
|
|
|
|
"merlin 2.0.1",
|
|
|
|
"parity-scale-codec",
|
|
|
|
"parking_lot 0.12.1",
|
|
|
|
"schnorrkel",
|
|
|
|
"serde",
|
|
|
|
"sp-core",
|
|
|
|
"sp-externalities",
|
|
|
|
"thiserror",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sp-maybe-compressed-blob"
|
|
|
|
version = "4.1.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"thiserror",
|
|
|
|
"zstd",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sp-offchain"
|
|
|
|
version = "4.0.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"sp-api",
|
|
|
|
"sp-core",
|
|
|
|
"sp-runtime",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sp-panic-handler"
|
2023-01-04 08:17:36 +00:00
|
|
|
version = "5.0.0"
|
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"backtrace",
|
|
|
|
"lazy_static",
|
|
|
|
"regex",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sp-rpc"
|
|
|
|
version = "6.0.0"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"rustc-hash",
|
|
|
|
"serde",
|
|
|
|
"sp-core",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sp-runtime"
|
2023-01-04 08:17:36 +00:00
|
|
|
version = "7.0.0"
|
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"either",
|
|
|
|
"hash256-std-hasher",
|
|
|
|
"impl-trait-for-tuples",
|
|
|
|
"log",
|
|
|
|
"parity-scale-codec",
|
|
|
|
"paste",
|
|
|
|
"rand 0.7.3",
|
|
|
|
"scale-info",
|
|
|
|
"serde",
|
|
|
|
"sp-application-crypto",
|
|
|
|
"sp-arithmetic",
|
|
|
|
"sp-core",
|
|
|
|
"sp-io",
|
|
|
|
"sp-std",
|
2022-09-29 18:33:09 +00:00
|
|
|
"sp-weights",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sp-runtime-interface"
|
2023-01-04 08:17:36 +00:00
|
|
|
version = "7.0.0"
|
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
2022-09-29 18:33:09 +00:00
|
|
|
"bytes",
|
2022-07-16 21:49:35 +00:00
|
|
|
"impl-trait-for-tuples",
|
|
|
|
"parity-scale-codec",
|
2022-12-07 23:05:06 +00:00
|
|
|
"primitive-types",
|
2022-07-16 21:49:35 +00:00
|
|
|
"sp-externalities",
|
|
|
|
"sp-runtime-interface-proc-macro",
|
|
|
|
"sp-std",
|
|
|
|
"sp-storage",
|
|
|
|
"sp-tracing",
|
|
|
|
"sp-wasm-interface",
|
|
|
|
"static_assertions",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sp-runtime-interface-proc-macro"
|
2023-01-04 08:17:36 +00:00
|
|
|
version = "6.0.0"
|
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"Inflector",
|
2022-12-07 23:05:06 +00:00
|
|
|
"proc-macro-crate",
|
2022-07-16 21:49:35 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sp-session"
|
|
|
|
version = "4.0.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"parity-scale-codec",
|
|
|
|
"scale-info",
|
|
|
|
"sp-api",
|
|
|
|
"sp-core",
|
|
|
|
"sp-runtime",
|
|
|
|
"sp-staking",
|
|
|
|
"sp-std",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sp-staking"
|
|
|
|
version = "4.0.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"parity-scale-codec",
|
|
|
|
"scale-info",
|
2023-01-04 08:17:36 +00:00
|
|
|
"sp-core",
|
2022-07-16 21:49:35 +00:00
|
|
|
"sp-runtime",
|
|
|
|
"sp-std",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sp-state-machine"
|
2023-01-04 08:17:36 +00:00
|
|
|
version = "0.13.0"
|
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"hash-db",
|
|
|
|
"log",
|
|
|
|
"num-traits",
|
|
|
|
"parity-scale-codec",
|
|
|
|
"parking_lot 0.12.1",
|
|
|
|
"rand 0.7.3",
|
|
|
|
"smallvec",
|
|
|
|
"sp-core",
|
|
|
|
"sp-externalities",
|
|
|
|
"sp-panic-handler",
|
|
|
|
"sp-std",
|
|
|
|
"sp-trie",
|
|
|
|
"thiserror",
|
|
|
|
"tracing",
|
|
|
|
"trie-root",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sp-std"
|
2023-01-04 08:17:36 +00:00
|
|
|
version = "5.0.0"
|
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sp-storage"
|
2023-01-04 08:17:36 +00:00
|
|
|
version = "7.0.0"
|
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
2023-01-05 03:52:41 +00:00
|
|
|
"impl-serde",
|
2022-07-16 21:49:35 +00:00
|
|
|
"parity-scale-codec",
|
|
|
|
"ref-cast",
|
|
|
|
"serde",
|
|
|
|
"sp-debug-derive",
|
|
|
|
"sp-std",
|
|
|
|
]
|
|
|
|
|
Initial Tendermint implementation (#145)
* Machine without timeouts
* Time code
* Move substrate/consensus/tendermint to substrate/tendermint
* Delete the old paper doc
* Refactor out external parts to generics
Also creates a dedicated file for the message log.
* Refactor <V, B> to type V, type B
* Successfully compiling
* Calculate timeouts
* Fix test
* Finish timeouts
* Misc cleanup
* Define a signature scheme trait
* Implement serialization via parity's scale codec
Ideally, this would be generic. Unfortunately, the generic API serde
doesn't natively support borsh, nor SCALE, and while there is a serde
SCALE crate, it's old. While it may be complete, it's not worth working
with.
While we could still grab bincode, and a variety of other formats, it
wasn't worth it to go custom and for Serai, we'll be using SCALE almost
everywhere anyways.
* Implement usage of the signature scheme
* Make the infinite test non-infinite
* Provide a dedicated signature in Precommit of just the block hash
Greatly simplifies verifying when syncing.
* Dedicated Commit object
Restores sig aggregation API.
* Tidy README
* Document tendermint
* Sign the ID directly instead of its SCALE encoding
For a hash, which is fixed-size, these should be the same yet this helps
move past the dependency on SCALE. It also, for any type where the two
values are different, smooths integration.
* Litany of bug fixes
Also attempts to make the code more readable while updating/correcting
documentation.
* Remove async recursion
Greatly increases safety as well by ensuring only one message is
processed at once.
* Correct timing issues
1) Commit didn't include the round, leaving the clock in question.
2) Machines started with a local time, instead of a proper start time.
3) Machines immediately started the next block instead of waiting for
the block time.
* Replace MultiSignature with sr25519::Signature
* Minor SignatureScheme API changes
* Map TM SignatureScheme to Substrate's sr25519
* Initial work on an import queue
* Properly use check_block
* Rename import to import_queue
* Implement tendermint_machine::Block for Substrate Blocks
Unfortunately, this immediately makes Tendermint machine capable of
deployment as crate since it uses a git reference. In the future, a
Cargo.toml patch section for serai/substrate should be investigated.
This is being done regardless as it's the quickest way forward and this
is for Serai.
* Dummy Weights
* Move documentation to the top of the file
* Move logic into TendermintImport itself
Multiple traits exist to verify/handle blocks. I'm unsure exactly when
each will be called in the pipeline, so the easiest solution is to have
every step run every check.
That would be extremely computationally expensive if we ran EVERY check,
yet we rely on Substrate for execution (and according checks), which are
limited to just the actual import function.
Since we're calling this code from many places, it makes sense for it to
be consolidated under TendermintImport.
* BlockImport, JustificationImport, Verifier, and import_queue function
* Update consensus/lib.rs from PoW to Tendermint
Not possible to be used as the previous consensus could. It will not
produce blocks nor does it currenly even instantiate a machine. This is
just he next step.
* Update Cargo.tomls for substrate packages
* Tendermint SelectChain
This is incompatible with Substrate's expectations, yet should be valid
for ours
* Move the node over to the new SelectChain
* Minor tweaks
* Update SelectChain documentation
* Remove substrate/node lib.rs
This shouldn't be used as a library AFAIK. While runtime should be, and
arguably should even be published, I have yet to see node in the same
way. Helps tighten API boundaries.
* Remove unused macro_use
* Replace panicking todos with stubs and // TODO
Enables progress.
* Reduce chain_spec and use more accurate naming
* Implement block proposal logic
* Modularize to get_proposal
* Trigger block importing
Doesn't wait for the response yet, which it needs to.
* Get the result of block importing
* Split import_queue into a series of files
* Provide a way to create the machine
The BasicQueue returned obscures the TendermintImport struct.
Accordingly, a Future scoped with access is returned upwards, which when
awaited will create the machine. This makes creating the machine
optional while maintaining scope boundaries.
Is sufficient to create a 1-node net which produces and finalizes
blocks.
* Don't import justifications multiple times
Also don't broadcast blocks which were solely proposed.
* Correct justication import pipeline
Removes JustificationImport as it should never be used.
* Announce blocks
By claiming File, they're not sent ovber the P2P network before they
have a justification, as desired. Unfortunately, they never were. This
works around that.
* Add an assert to verify proposed children aren't best
* Consolidate C and I generics into a TendermintClient trait alias
* Expand sanity checks
Substrate doesn't expect nor officially support children with less work
than their parents. It's a trick used here. Accordingly, ensure the
trick's validity.
* When resetting, use the end time of the round which was committed to
The machine reset to the end time of the current round. For a delayed
network connection, a machine may move ahead in rounds and only later
realize a prior round succeeded. Despite acknowledging that round's
success, it would maintain its delay when moving to the next block,
bricking it.
Done by tracking the end time for each round as they occur.
* Move Commit from including the round to including the round's end_time
The round was usable to build the current clock in an accumulated
fashion, relative to the previous round. The end time is the absolute
metric of it, which can be used to calculate the round number (with all
previous end times).
Substrate now builds off the best block, not genesis, using the end time
included in the justification to start its machine in a synchronized
state.
Knowing the end time of a round, or the round in which block was
committed to, is necessary for nodes to sync up with Tendermint.
Encoding it in the commit ensures it's long lasting and makes it readily
available, without the load of an entire transaction.
* Add a TODO on Tendermint
* Misc bug fixes
* More misc bug fixes
* Clean up lock acquisition
* Merge weights and signing scheme into validators, documenting needed changes
* Add pallet sessions to runtime, create pallet-tendermint
* Update node to use pallet sessions
* Update support URL
* Partial work on correcting pallet calls
* Redo Tendermint folder structure
* TendermintApi, compilation fixes
* Fix the stub round robin
At some point, the modulus was removed causing it to exceed the
validators list and stop proposing.
* Use the validators list from the session pallet
* Basic Gossip Validator
* Correct Substrate Tendermint start block
The Tendermint machine uses the passed in number as the block's being
worked on number. Substrate passed in the already finalized block's
number.
Also updates misc comments.
* Clean generics in Tendermint with a monolith with associated types
* Remove the Future triggering the machine for an async fn
Enables passing data in, such as the network.
* Move TendermintMachine from start_num, time to last_num, time
Provides an explicitly clear API clearer to program around.
Also adds additional time code to handle an edge case.
* Connect the Tendermint machine to a GossipEngine
* Connect broadcast
* Remove machine from TendermintImport
It's not used there at all.
* Merge Verifier into block_import.rs
These two files were largely the same, just hooking into sync structs
with almost identical imports. As this project shapes up, removing dead
weight is appreciated.
* Create a dedicated file for being a Tendermint authority
* Deleted comment code related to PoW
* Move serai_runtime specific code from tendermint/client to node
Renames serai-consensus to sc_tendermint
* Consolidate file structure in sc_tendermint
* Replace best_* with finalized_*
We test their equivalency yet still better to use finalized_* in
general.
* Consolidate references to sr25519 in sc_tendermint
* Add documentation to public structs/functions in sc_tendermint
* Add another missing comment
* Make sign asynchronous
Some relation to https://github.com/serai-dex/serai/issues/95.
* Move sc_tendermint to async sign
* Implement proper checking of inherents
* Take in a Keystore and validator ID
* Remove unnecessary PhantomDatas
* Update node to latest sc_tendermint
* Configure node for a multi-node testnet
* Fix handling of the GossipEngine
* Use a rounded genesis to obtain sufficient synchrony within the Docker env
* Correct Serai d-f names in Docker
* Remove an attempt at caching I don't believe would ever hit
* Add an already in chain check to block import
While the inner should do this for us, we call verify_order on our end
*before* inner to ensure sequential import. Accordingly, we need to
provide our own check.
Removes errors of "non-sequential import" when trying to re-import an
existing block.
* Update the consensus documentation
It was incredibly out of date.
* Add a _ to the validator arg in slash
* Make the dev profile a local testnet profile
Restores a dev profile which only has one validator, locally running.
* Reduce Arcs in TendermintMachine, split Signer from SignatureScheme
* Update sc_tendermint per previous commit
* Restore cache
* Remove error case which shouldn't be an error
* Stop returning errors on already existing blocks entirely
* Correct Dave, Eve, and Ferdie to not run as validators
* Rename dev to devnet
--dev still works thanks to the |. Acheieves a personal preference of
mine with some historical meaning.
* Add message expiry to the Tendermint gossip
* Localize the LibP2P protocol to the blockchain
Follows convention by doing so. Theoretically enables running multiple
blockchains over a single LibP2P connection.
* Add a version to sp-runtime in tendermint-machine
* Add missing trait
* Bump Substrate dependency
Fixes #147.
* Implement Schnorr half-aggregation from https://eprint.iacr.org/2021/350.pdf
Relevant to https://github.com/serai-dex/serai/issues/99.
* cargo update (tendermint)
* Move from polling loops to a pure IO model for sc_tendermint's gossip
* Correct protocol name handling
* Use futures mpsc instead of tokio
* Timeout futures
* Move from a yielding loop to select in tendermint-machine
* Update Substrate to the new TendermintHandle
* Use futures pin instead of tokio
* Only recheck blocks with non-fatal inherent transaction errors
* Update to the latest substrate
* Separate the block processing time from the latency
* Add notes to the runtime
* Don't spam slash
Also adds a slash condition of failing to propose.
* Support running TendermintMachine when not a validator
This supports validators who leave the current set, without crashing
their nodes, along with nodes trying to become validators (who will now
seamlessly transition in).
* Properly define and pass around the block size
* Correct the Duration timing
The proposer will build it, send it, then process it (on the first
round). Accordingly, it's / 3, not / 2, as / 2 only accounted for the
latter events.
* Correct time-adjustment code on round skip
* Have the machine respond to advances made by an external sync loop
* Clean up time code in tendermint-machine
* BlockData and RoundData structs
* Rename Round to RoundNumber
* Move BlockData to a new file
* Move Round to an Option due to the pseudo-uninitialized state we create
Before the addition of RoundData, we always created the round, and on
.round(0), simply created it again. With RoundData, and the changes to
the time code, we used round 0, time 0, the latter being incorrect yet
not an issue due to lack of misuse.
Now, if we do misuse it, it'll panic.
* Clear the Queue instead of draining and filtering
There shouldn't ever be a message which passes the filter under the
current design.
* BlockData::new
* Move more code into block.rs
Introduces type-aliases to obtain Data/Message/SignedMessage solely from
a Network object.
Fixes a bug regarding stepping when you're not an active validator.
* Have verify_precommit_signature return if it verified the signature
Also fixes a bug where invalid precommit signatures were left standing
and therefore contributing to commits.
* Remove the precommit signature hash
It cached signatures per-block. Precommit signatures are bound to each
round. This would lead to forming invalid commits when a commit should
be formed. Under debug, the machine would catch that and panic. On
release, it'd have everyone who wasn't a validator fail to continue
syncing.
* Slight doc changes
Also flattens the message handling function by replacing an if
containing all following code in the function with an early return for
the else case.
* Always produce notifications for finalized blocks via origin overrides
* Correct weird formatting
* Update to the latest tendermint-machine
* Manually step the Tendermint machine when we synced a block over the network
* Ignore finality notifications for old blocks
* Remove a TODO resolved in 8c51bc011d03c8d54ded05011e7f4d1a01e9f873
* Add a TODO comment to slash
Enables searching for the case-sensitive phrase and finding it.
* cargo fmt
* Use a tmp DB for Serai in Docker
* Remove panic on slash
As we move towards protonet, this can happen (if a node goes offline),
yet it happening brings down the entire net right now.
* Add log::error on slash
* created shared volume between containers
* Complete the sh scripts
* Pass in the genesis time to Substrate
* Correct block announcements
They were announced, yet not marked best.
* Correct pupulate_end_time
It was used as inclusive yet didn't work inclusively.
* Correct gossip channel jumping when a block is synced via Substrate
* Use a looser check in import_future
This triggered so it needs to be accordingly relaxed.
* Correct race conditions between add_block and step
Also corrects a <= to <.
* Update cargo deny
* rename genesis-service to genesis
* Update Cargo.lock
* Correct runtime Cargo.toml whitespace
* Correct typo
* Document recheck
* Misc lints
* Fix prev commit
* Resolve low-hanging review comments
* Mark genesis/entry-dev.sh as executable
* Prevent a commit from including the same signature multiple times
Yanks tendermint-machine 0.1.0 accordingly.
* Update to latest nightly clippy
* Improve documentation
* Use clearer variable names
* Add log statements
* Pair more log statements
* Clean TendermintAuthority::authority as possible
Merges it into new. It has way too many arguments, yet there's no clear path at
consolidation there, unfortunately.
Additionally provides better scoping within itself.
* Fix #158
Doesn't use lock_import_and_run for reasons commented (lack of async).
* Rename guard to lock
* Have the devnet use the current time as the genesis
Possible since it's only a single node, not requiring synchronization.
* Fix gossiping
I really don't know what side effect this avoids and I can't say I care at this
point.
* Misc lints
Co-authored-by: vrx00 <vrx00@proton.me>
Co-authored-by: TheArchitect108 <TheArchitect108@protonmail.com>
2022-12-03 23:38:02 +00:00
|
|
|
[[package]]
|
|
|
|
name = "sp-tendermint"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
|
|
|
"sp-api",
|
|
|
|
"sp-core",
|
|
|
|
"sp-std",
|
|
|
|
]
|
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "sp-timestamp"
|
|
|
|
version = "4.0.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"async-trait",
|
|
|
|
"futures-timer",
|
|
|
|
"log",
|
|
|
|
"parity-scale-codec",
|
|
|
|
"sp-api",
|
|
|
|
"sp-inherents",
|
|
|
|
"sp-runtime",
|
|
|
|
"sp-std",
|
|
|
|
"thiserror",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sp-tracing"
|
2023-01-04 08:17:36 +00:00
|
|
|
version = "6.0.0"
|
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"parity-scale-codec",
|
|
|
|
"sp-std",
|
|
|
|
"tracing",
|
|
|
|
"tracing-core",
|
|
|
|
"tracing-subscriber",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sp-transaction-pool"
|
|
|
|
version = "4.0.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"sp-api",
|
|
|
|
"sp-runtime",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sp-transaction-storage-proof"
|
|
|
|
version = "4.0.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"async-trait",
|
|
|
|
"log",
|
|
|
|
"parity-scale-codec",
|
|
|
|
"scale-info",
|
|
|
|
"sp-core",
|
|
|
|
"sp-inherents",
|
|
|
|
"sp-runtime",
|
|
|
|
"sp-std",
|
|
|
|
"sp-trie",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sp-trie"
|
2023-01-04 08:17:36 +00:00
|
|
|
version = "7.0.0"
|
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
2022-09-29 18:33:09 +00:00
|
|
|
"ahash",
|
2022-07-16 21:49:35 +00:00
|
|
|
"hash-db",
|
2022-12-07 23:05:06 +00:00
|
|
|
"hashbrown",
|
2022-09-29 18:33:09 +00:00
|
|
|
"lazy_static",
|
2022-11-11 04:59:20 +00:00
|
|
|
"lru",
|
2022-07-16 21:49:35 +00:00
|
|
|
"memory-db",
|
2022-09-29 18:33:09 +00:00
|
|
|
"nohash-hasher",
|
2022-07-16 21:49:35 +00:00
|
|
|
"parity-scale-codec",
|
2022-09-29 18:33:09 +00:00
|
|
|
"parking_lot 0.12.1",
|
2022-07-16 21:49:35 +00:00
|
|
|
"scale-info",
|
|
|
|
"sp-core",
|
|
|
|
"sp-std",
|
|
|
|
"thiserror",
|
2022-09-29 18:33:09 +00:00
|
|
|
"tracing",
|
2022-07-16 21:49:35 +00:00
|
|
|
"trie-db",
|
|
|
|
"trie-root",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sp-version"
|
|
|
|
version = "5.0.0"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
2023-01-05 03:52:41 +00:00
|
|
|
"impl-serde",
|
2022-07-16 21:49:35 +00:00
|
|
|
"parity-scale-codec",
|
2022-11-11 04:59:20 +00:00
|
|
|
"parity-wasm",
|
2022-07-16 21:49:35 +00:00
|
|
|
"scale-info",
|
|
|
|
"serde",
|
|
|
|
"sp-core-hashing-proc-macro",
|
|
|
|
"sp-runtime",
|
|
|
|
"sp-std",
|
|
|
|
"sp-version-proc-macro",
|
|
|
|
"thiserror",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sp-version-proc-macro"
|
|
|
|
version = "4.0.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"parity-scale-codec",
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sp-wasm-interface"
|
2023-01-04 08:17:36 +00:00
|
|
|
version = "7.0.0"
|
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"impl-trait-for-tuples",
|
|
|
|
"log",
|
|
|
|
"parity-scale-codec",
|
|
|
|
"sp-std",
|
2023-01-05 03:52:41 +00:00
|
|
|
"wasmi",
|
2022-07-16 21:49:35 +00:00
|
|
|
"wasmtime",
|
|
|
|
]
|
|
|
|
|
2022-09-29 18:33:09 +00:00
|
|
|
[[package]]
|
|
|
|
name = "sp-weights"
|
|
|
|
version = "4.0.0"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-09-29 18:33:09 +00:00
|
|
|
dependencies = [
|
|
|
|
"impl-trait-for-tuples",
|
|
|
|
"parity-scale-codec",
|
|
|
|
"scale-info",
|
|
|
|
"serde",
|
|
|
|
"smallvec",
|
|
|
|
"sp-arithmetic",
|
|
|
|
"sp-core",
|
|
|
|
"sp-debug-derive",
|
|
|
|
"sp-std",
|
|
|
|
]
|
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "spin"
|
|
|
|
version = "0.5.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "spki"
|
|
|
|
version = "0.6.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "67cf02bbac7a337dc36e4f5a693db6c21e7863f45070f7064577eb4367a3212b"
|
|
|
|
dependencies = [
|
|
|
|
"base64ct",
|
|
|
|
"der",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "ss58-registry"
|
2022-12-07 22:56:53 +00:00
|
|
|
version = "1.36.0"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-07 22:56:53 +00:00
|
|
|
checksum = "23d92659e7d18d82b803824a9ba5a6022cff101c3491d027c1c1d8d30e749284"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"Inflector",
|
|
|
|
"num-format",
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
"unicode-xid",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "stable_deref_trait"
|
|
|
|
version = "1.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "static_assertions"
|
|
|
|
version = "1.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
|
|
|
|
|
2022-09-29 18:33:09 +00:00
|
|
|
[[package]]
|
|
|
|
name = "static_init"
|
|
|
|
version = "1.0.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "8a2a1c578e98c1c16fc3b8ec1328f7659a500737d7a0c6d625e73e830ff9c1f6"
|
|
|
|
dependencies = [
|
|
|
|
"bitflags",
|
|
|
|
"cfg_aliases",
|
|
|
|
"libc",
|
|
|
|
"parking_lot 0.11.2",
|
2022-12-21 04:12:26 +00:00
|
|
|
"parking_lot_core 0.8.6",
|
2022-09-29 18:33:09 +00:00
|
|
|
"static_init_macro",
|
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "static_init_macro"
|
|
|
|
version = "1.0.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "70a2595fc3aa78f2d0e45dd425b22282dd863273761cc77780914b2cf3003acf"
|
|
|
|
dependencies = [
|
|
|
|
"cfg_aliases",
|
|
|
|
"memchr",
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "statrs"
|
|
|
|
version = "0.15.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "05bdbb8e4e78216a85785a85d3ec3183144f98d0097b9281802c019bb07a6f05"
|
|
|
|
dependencies = [
|
|
|
|
"approx",
|
|
|
|
"lazy_static",
|
|
|
|
"nalgebra",
|
|
|
|
"num-traits",
|
|
|
|
"rand 0.8.5",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "string_cache"
|
|
|
|
version = "0.8.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "213494b7a2b503146286049378ce02b482200519accc31872ee8be91fa820a08"
|
|
|
|
dependencies = [
|
|
|
|
"new_debug_unreachable",
|
|
|
|
"once_cell",
|
|
|
|
"parking_lot 0.12.1",
|
|
|
|
"phf_shared",
|
|
|
|
"precomputed-hash",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "strsim"
|
|
|
|
version = "0.10.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "strum"
|
|
|
|
version = "0.24.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "063e6045c0e62079840579a7e47a355ae92f60eb74daaf156fb1e84ba164e63f"
|
|
|
|
dependencies = [
|
2022-08-16 07:44:32 +00:00
|
|
|
"strum_macros",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "strum_macros"
|
2022-08-16 07:44:32 +00:00
|
|
|
version = "0.24.3"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-08-16 07:44:32 +00:00
|
|
|
checksum = "1e385be0d24f186b4ce2f9982191e7101bb737312ad61c1f2f984f34bcf85d59"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
2022-08-21 12:41:19 +00:00
|
|
|
"heck",
|
2022-07-16 21:49:35 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"rustversion",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "substrate-bip39"
|
|
|
|
version = "0.4.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "49eee6965196b32f882dd2ee85a92b1dbead41b04e53907f269de3b0dc04733c"
|
|
|
|
dependencies = [
|
|
|
|
"hmac 0.11.0",
|
|
|
|
"pbkdf2 0.8.0",
|
|
|
|
"schnorrkel",
|
|
|
|
"sha2 0.9.9",
|
|
|
|
"zeroize",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "substrate-build-script-utils"
|
|
|
|
version = "3.0.0"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
2022-12-21 04:12:26 +00:00
|
|
|
"platforms 2.0.0",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "substrate-frame-rpc-system"
|
|
|
|
version = "4.0.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"frame-system-rpc-runtime-api",
|
|
|
|
"futures",
|
|
|
|
"jsonrpsee",
|
|
|
|
"log",
|
|
|
|
"parity-scale-codec",
|
|
|
|
"sc-client-api",
|
|
|
|
"sc-rpc-api",
|
|
|
|
"sc-transaction-pool-api",
|
|
|
|
"serde_json",
|
|
|
|
"sp-api",
|
|
|
|
"sp-block-builder",
|
|
|
|
"sp-blockchain",
|
|
|
|
"sp-core",
|
|
|
|
"sp-runtime",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "substrate-prometheus-endpoint"
|
|
|
|
version = "0.10.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"futures-util",
|
|
|
|
"hyper",
|
|
|
|
"log",
|
|
|
|
"prometheus",
|
|
|
|
"thiserror",
|
|
|
|
"tokio",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "substrate-wasm-builder"
|
|
|
|
version = "5.0.0-dev"
|
2023-01-04 08:17:36 +00:00
|
|
|
source = "git+https://github.com/serai-dex/substrate#6dc38b0ba11dff62c1042ab0fa21d0b55a64bf6e"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"ansi_term",
|
|
|
|
"build-helper",
|
|
|
|
"cargo_metadata 0.14.2",
|
|
|
|
"filetime",
|
|
|
|
"sp-maybe-compressed-blob",
|
2022-08-16 07:44:32 +00:00
|
|
|
"strum",
|
2022-07-16 21:49:35 +00:00
|
|
|
"tempfile",
|
|
|
|
"toml",
|
|
|
|
"walkdir",
|
2022-11-11 04:59:20 +00:00
|
|
|
"wasm-opt",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "subtle"
|
|
|
|
version = "2.4.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "svm-rs"
|
2022-09-18 19:30:38 +00:00
|
|
|
version = "0.2.18"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-09-18 19:30:38 +00:00
|
|
|
checksum = "4e4cdcf91153dc0e4e0637f26f042ada32a3b552bc8115935c7bf96f80132b0a"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"anyhow",
|
|
|
|
"cfg-if",
|
2022-11-04 12:07:37 +00:00
|
|
|
"clap 3.2.23",
|
2022-07-16 21:49:35 +00:00
|
|
|
"console 0.14.1",
|
|
|
|
"dialoguer",
|
|
|
|
"fs2",
|
|
|
|
"hex",
|
|
|
|
"home",
|
|
|
|
"indicatif",
|
|
|
|
"itertools",
|
|
|
|
"once_cell",
|
|
|
|
"rand 0.8.5",
|
|
|
|
"reqwest",
|
2022-12-21 04:12:26 +00:00
|
|
|
"semver 1.0.16",
|
2022-07-16 21:49:35 +00:00
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
"sha2 0.9.9",
|
|
|
|
"tempfile",
|
|
|
|
"thiserror",
|
|
|
|
"tokio",
|
|
|
|
"tracing",
|
|
|
|
"url",
|
|
|
|
"zip",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "syn"
|
2022-12-21 04:12:26 +00:00
|
|
|
version = "1.0.107"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-21 04:12:26 +00:00
|
|
|
checksum = "1f4064b5b16e03ae50984a5a8ed5d4f8803e6bc1fd170a3cda91a1be4b18e3f5"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"unicode-ident",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "synstructure"
|
|
|
|
version = "0.12.6"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "f36bdaa60a83aca3921b5259d5400cbf5e90fc51931376a9bd4a0eb79aa7210f"
|
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
"unicode-xid",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "system-configuration"
|
|
|
|
version = "0.5.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d75182f12f490e953596550b65ee31bda7c8e043d9386174b353bda50838c3fd"
|
|
|
|
dependencies = [
|
|
|
|
"bitflags",
|
|
|
|
"core-foundation",
|
|
|
|
"system-configuration-sys",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "system-configuration-sys"
|
|
|
|
version = "0.5.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "a75fb188eb626b924683e3b95e3a48e63551fcfb51949de2f06a9d91dbee93c9"
|
|
|
|
dependencies = [
|
|
|
|
"core-foundation-sys",
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "tap"
|
|
|
|
version = "1.0.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "target-lexicon"
|
2022-11-11 04:59:20 +00:00
|
|
|
version = "0.12.5"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-11 04:59:20 +00:00
|
|
|
checksum = "9410d0f6853b1d94f0e519fb95df60f29d2c1eff2d921ffdf01a4c8a3b54f12d"
|
2022-07-16 21:49:35 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "tempfile"
|
|
|
|
version = "3.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "5cdb1ef4eaeeaddc8fbd371e5017057064af0911902ef36b39801f67cc6d79e4"
|
|
|
|
dependencies = [
|
|
|
|
"cfg-if",
|
|
|
|
"fastrand",
|
|
|
|
"libc",
|
|
|
|
"redox_syscall",
|
|
|
|
"remove_dir_all",
|
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
Initial Tendermint implementation (#145)
* Machine without timeouts
* Time code
* Move substrate/consensus/tendermint to substrate/tendermint
* Delete the old paper doc
* Refactor out external parts to generics
Also creates a dedicated file for the message log.
* Refactor <V, B> to type V, type B
* Successfully compiling
* Calculate timeouts
* Fix test
* Finish timeouts
* Misc cleanup
* Define a signature scheme trait
* Implement serialization via parity's scale codec
Ideally, this would be generic. Unfortunately, the generic API serde
doesn't natively support borsh, nor SCALE, and while there is a serde
SCALE crate, it's old. While it may be complete, it's not worth working
with.
While we could still grab bincode, and a variety of other formats, it
wasn't worth it to go custom and for Serai, we'll be using SCALE almost
everywhere anyways.
* Implement usage of the signature scheme
* Make the infinite test non-infinite
* Provide a dedicated signature in Precommit of just the block hash
Greatly simplifies verifying when syncing.
* Dedicated Commit object
Restores sig aggregation API.
* Tidy README
* Document tendermint
* Sign the ID directly instead of its SCALE encoding
For a hash, which is fixed-size, these should be the same yet this helps
move past the dependency on SCALE. It also, for any type where the two
values are different, smooths integration.
* Litany of bug fixes
Also attempts to make the code more readable while updating/correcting
documentation.
* Remove async recursion
Greatly increases safety as well by ensuring only one message is
processed at once.
* Correct timing issues
1) Commit didn't include the round, leaving the clock in question.
2) Machines started with a local time, instead of a proper start time.
3) Machines immediately started the next block instead of waiting for
the block time.
* Replace MultiSignature with sr25519::Signature
* Minor SignatureScheme API changes
* Map TM SignatureScheme to Substrate's sr25519
* Initial work on an import queue
* Properly use check_block
* Rename import to import_queue
* Implement tendermint_machine::Block for Substrate Blocks
Unfortunately, this immediately makes Tendermint machine capable of
deployment as crate since it uses a git reference. In the future, a
Cargo.toml patch section for serai/substrate should be investigated.
This is being done regardless as it's the quickest way forward and this
is for Serai.
* Dummy Weights
* Move documentation to the top of the file
* Move logic into TendermintImport itself
Multiple traits exist to verify/handle blocks. I'm unsure exactly when
each will be called in the pipeline, so the easiest solution is to have
every step run every check.
That would be extremely computationally expensive if we ran EVERY check,
yet we rely on Substrate for execution (and according checks), which are
limited to just the actual import function.
Since we're calling this code from many places, it makes sense for it to
be consolidated under TendermintImport.
* BlockImport, JustificationImport, Verifier, and import_queue function
* Update consensus/lib.rs from PoW to Tendermint
Not possible to be used as the previous consensus could. It will not
produce blocks nor does it currenly even instantiate a machine. This is
just he next step.
* Update Cargo.tomls for substrate packages
* Tendermint SelectChain
This is incompatible with Substrate's expectations, yet should be valid
for ours
* Move the node over to the new SelectChain
* Minor tweaks
* Update SelectChain documentation
* Remove substrate/node lib.rs
This shouldn't be used as a library AFAIK. While runtime should be, and
arguably should even be published, I have yet to see node in the same
way. Helps tighten API boundaries.
* Remove unused macro_use
* Replace panicking todos with stubs and // TODO
Enables progress.
* Reduce chain_spec and use more accurate naming
* Implement block proposal logic
* Modularize to get_proposal
* Trigger block importing
Doesn't wait for the response yet, which it needs to.
* Get the result of block importing
* Split import_queue into a series of files
* Provide a way to create the machine
The BasicQueue returned obscures the TendermintImport struct.
Accordingly, a Future scoped with access is returned upwards, which when
awaited will create the machine. This makes creating the machine
optional while maintaining scope boundaries.
Is sufficient to create a 1-node net which produces and finalizes
blocks.
* Don't import justifications multiple times
Also don't broadcast blocks which were solely proposed.
* Correct justication import pipeline
Removes JustificationImport as it should never be used.
* Announce blocks
By claiming File, they're not sent ovber the P2P network before they
have a justification, as desired. Unfortunately, they never were. This
works around that.
* Add an assert to verify proposed children aren't best
* Consolidate C and I generics into a TendermintClient trait alias
* Expand sanity checks
Substrate doesn't expect nor officially support children with less work
than their parents. It's a trick used here. Accordingly, ensure the
trick's validity.
* When resetting, use the end time of the round which was committed to
The machine reset to the end time of the current round. For a delayed
network connection, a machine may move ahead in rounds and only later
realize a prior round succeeded. Despite acknowledging that round's
success, it would maintain its delay when moving to the next block,
bricking it.
Done by tracking the end time for each round as they occur.
* Move Commit from including the round to including the round's end_time
The round was usable to build the current clock in an accumulated
fashion, relative to the previous round. The end time is the absolute
metric of it, which can be used to calculate the round number (with all
previous end times).
Substrate now builds off the best block, not genesis, using the end time
included in the justification to start its machine in a synchronized
state.
Knowing the end time of a round, or the round in which block was
committed to, is necessary for nodes to sync up with Tendermint.
Encoding it in the commit ensures it's long lasting and makes it readily
available, without the load of an entire transaction.
* Add a TODO on Tendermint
* Misc bug fixes
* More misc bug fixes
* Clean up lock acquisition
* Merge weights and signing scheme into validators, documenting needed changes
* Add pallet sessions to runtime, create pallet-tendermint
* Update node to use pallet sessions
* Update support URL
* Partial work on correcting pallet calls
* Redo Tendermint folder structure
* TendermintApi, compilation fixes
* Fix the stub round robin
At some point, the modulus was removed causing it to exceed the
validators list and stop proposing.
* Use the validators list from the session pallet
* Basic Gossip Validator
* Correct Substrate Tendermint start block
The Tendermint machine uses the passed in number as the block's being
worked on number. Substrate passed in the already finalized block's
number.
Also updates misc comments.
* Clean generics in Tendermint with a monolith with associated types
* Remove the Future triggering the machine for an async fn
Enables passing data in, such as the network.
* Move TendermintMachine from start_num, time to last_num, time
Provides an explicitly clear API clearer to program around.
Also adds additional time code to handle an edge case.
* Connect the Tendermint machine to a GossipEngine
* Connect broadcast
* Remove machine from TendermintImport
It's not used there at all.
* Merge Verifier into block_import.rs
These two files were largely the same, just hooking into sync structs
with almost identical imports. As this project shapes up, removing dead
weight is appreciated.
* Create a dedicated file for being a Tendermint authority
* Deleted comment code related to PoW
* Move serai_runtime specific code from tendermint/client to node
Renames serai-consensus to sc_tendermint
* Consolidate file structure in sc_tendermint
* Replace best_* with finalized_*
We test their equivalency yet still better to use finalized_* in
general.
* Consolidate references to sr25519 in sc_tendermint
* Add documentation to public structs/functions in sc_tendermint
* Add another missing comment
* Make sign asynchronous
Some relation to https://github.com/serai-dex/serai/issues/95.
* Move sc_tendermint to async sign
* Implement proper checking of inherents
* Take in a Keystore and validator ID
* Remove unnecessary PhantomDatas
* Update node to latest sc_tendermint
* Configure node for a multi-node testnet
* Fix handling of the GossipEngine
* Use a rounded genesis to obtain sufficient synchrony within the Docker env
* Correct Serai d-f names in Docker
* Remove an attempt at caching I don't believe would ever hit
* Add an already in chain check to block import
While the inner should do this for us, we call verify_order on our end
*before* inner to ensure sequential import. Accordingly, we need to
provide our own check.
Removes errors of "non-sequential import" when trying to re-import an
existing block.
* Update the consensus documentation
It was incredibly out of date.
* Add a _ to the validator arg in slash
* Make the dev profile a local testnet profile
Restores a dev profile which only has one validator, locally running.
* Reduce Arcs in TendermintMachine, split Signer from SignatureScheme
* Update sc_tendermint per previous commit
* Restore cache
* Remove error case which shouldn't be an error
* Stop returning errors on already existing blocks entirely
* Correct Dave, Eve, and Ferdie to not run as validators
* Rename dev to devnet
--dev still works thanks to the |. Acheieves a personal preference of
mine with some historical meaning.
* Add message expiry to the Tendermint gossip
* Localize the LibP2P protocol to the blockchain
Follows convention by doing so. Theoretically enables running multiple
blockchains over a single LibP2P connection.
* Add a version to sp-runtime in tendermint-machine
* Add missing trait
* Bump Substrate dependency
Fixes #147.
* Implement Schnorr half-aggregation from https://eprint.iacr.org/2021/350.pdf
Relevant to https://github.com/serai-dex/serai/issues/99.
* cargo update (tendermint)
* Move from polling loops to a pure IO model for sc_tendermint's gossip
* Correct protocol name handling
* Use futures mpsc instead of tokio
* Timeout futures
* Move from a yielding loop to select in tendermint-machine
* Update Substrate to the new TendermintHandle
* Use futures pin instead of tokio
* Only recheck blocks with non-fatal inherent transaction errors
* Update to the latest substrate
* Separate the block processing time from the latency
* Add notes to the runtime
* Don't spam slash
Also adds a slash condition of failing to propose.
* Support running TendermintMachine when not a validator
This supports validators who leave the current set, without crashing
their nodes, along with nodes trying to become validators (who will now
seamlessly transition in).
* Properly define and pass around the block size
* Correct the Duration timing
The proposer will build it, send it, then process it (on the first
round). Accordingly, it's / 3, not / 2, as / 2 only accounted for the
latter events.
* Correct time-adjustment code on round skip
* Have the machine respond to advances made by an external sync loop
* Clean up time code in tendermint-machine
* BlockData and RoundData structs
* Rename Round to RoundNumber
* Move BlockData to a new file
* Move Round to an Option due to the pseudo-uninitialized state we create
Before the addition of RoundData, we always created the round, and on
.round(0), simply created it again. With RoundData, and the changes to
the time code, we used round 0, time 0, the latter being incorrect yet
not an issue due to lack of misuse.
Now, if we do misuse it, it'll panic.
* Clear the Queue instead of draining and filtering
There shouldn't ever be a message which passes the filter under the
current design.
* BlockData::new
* Move more code into block.rs
Introduces type-aliases to obtain Data/Message/SignedMessage solely from
a Network object.
Fixes a bug regarding stepping when you're not an active validator.
* Have verify_precommit_signature return if it verified the signature
Also fixes a bug where invalid precommit signatures were left standing
and therefore contributing to commits.
* Remove the precommit signature hash
It cached signatures per-block. Precommit signatures are bound to each
round. This would lead to forming invalid commits when a commit should
be formed. Under debug, the machine would catch that and panic. On
release, it'd have everyone who wasn't a validator fail to continue
syncing.
* Slight doc changes
Also flattens the message handling function by replacing an if
containing all following code in the function with an early return for
the else case.
* Always produce notifications for finalized blocks via origin overrides
* Correct weird formatting
* Update to the latest tendermint-machine
* Manually step the Tendermint machine when we synced a block over the network
* Ignore finality notifications for old blocks
* Remove a TODO resolved in 8c51bc011d03c8d54ded05011e7f4d1a01e9f873
* Add a TODO comment to slash
Enables searching for the case-sensitive phrase and finding it.
* cargo fmt
* Use a tmp DB for Serai in Docker
* Remove panic on slash
As we move towards protonet, this can happen (if a node goes offline),
yet it happening brings down the entire net right now.
* Add log::error on slash
* created shared volume between containers
* Complete the sh scripts
* Pass in the genesis time to Substrate
* Correct block announcements
They were announced, yet not marked best.
* Correct pupulate_end_time
It was used as inclusive yet didn't work inclusively.
* Correct gossip channel jumping when a block is synced via Substrate
* Use a looser check in import_future
This triggered so it needs to be accordingly relaxed.
* Correct race conditions between add_block and step
Also corrects a <= to <.
* Update cargo deny
* rename genesis-service to genesis
* Update Cargo.lock
* Correct runtime Cargo.toml whitespace
* Correct typo
* Document recheck
* Misc lints
* Fix prev commit
* Resolve low-hanging review comments
* Mark genesis/entry-dev.sh as executable
* Prevent a commit from including the same signature multiple times
Yanks tendermint-machine 0.1.0 accordingly.
* Update to latest nightly clippy
* Improve documentation
* Use clearer variable names
* Add log statements
* Pair more log statements
* Clean TendermintAuthority::authority as possible
Merges it into new. It has way too many arguments, yet there's no clear path at
consolidation there, unfortunately.
Additionally provides better scoping within itself.
* Fix #158
Doesn't use lock_import_and_run for reasons commented (lack of async).
* Rename guard to lock
* Have the devnet use the current time as the genesis
Possible since it's only a single node, not requiring synchronization.
* Fix gossiping
I really don't know what side effect this avoids and I can't say I care at this
point.
* Misc lints
Co-authored-by: vrx00 <vrx00@proton.me>
Co-authored-by: TheArchitect108 <TheArchitect108@protonmail.com>
2022-12-03 23:38:02 +00:00
|
|
|
[[package]]
|
|
|
|
name = "tendermint-machine"
|
2022-12-05 22:26:28 +00:00
|
|
|
version = "0.2.0"
|
Initial Tendermint implementation (#145)
* Machine without timeouts
* Time code
* Move substrate/consensus/tendermint to substrate/tendermint
* Delete the old paper doc
* Refactor out external parts to generics
Also creates a dedicated file for the message log.
* Refactor <V, B> to type V, type B
* Successfully compiling
* Calculate timeouts
* Fix test
* Finish timeouts
* Misc cleanup
* Define a signature scheme trait
* Implement serialization via parity's scale codec
Ideally, this would be generic. Unfortunately, the generic API serde
doesn't natively support borsh, nor SCALE, and while there is a serde
SCALE crate, it's old. While it may be complete, it's not worth working
with.
While we could still grab bincode, and a variety of other formats, it
wasn't worth it to go custom and for Serai, we'll be using SCALE almost
everywhere anyways.
* Implement usage of the signature scheme
* Make the infinite test non-infinite
* Provide a dedicated signature in Precommit of just the block hash
Greatly simplifies verifying when syncing.
* Dedicated Commit object
Restores sig aggregation API.
* Tidy README
* Document tendermint
* Sign the ID directly instead of its SCALE encoding
For a hash, which is fixed-size, these should be the same yet this helps
move past the dependency on SCALE. It also, for any type where the two
values are different, smooths integration.
* Litany of bug fixes
Also attempts to make the code more readable while updating/correcting
documentation.
* Remove async recursion
Greatly increases safety as well by ensuring only one message is
processed at once.
* Correct timing issues
1) Commit didn't include the round, leaving the clock in question.
2) Machines started with a local time, instead of a proper start time.
3) Machines immediately started the next block instead of waiting for
the block time.
* Replace MultiSignature with sr25519::Signature
* Minor SignatureScheme API changes
* Map TM SignatureScheme to Substrate's sr25519
* Initial work on an import queue
* Properly use check_block
* Rename import to import_queue
* Implement tendermint_machine::Block for Substrate Blocks
Unfortunately, this immediately makes Tendermint machine capable of
deployment as crate since it uses a git reference. In the future, a
Cargo.toml patch section for serai/substrate should be investigated.
This is being done regardless as it's the quickest way forward and this
is for Serai.
* Dummy Weights
* Move documentation to the top of the file
* Move logic into TendermintImport itself
Multiple traits exist to verify/handle blocks. I'm unsure exactly when
each will be called in the pipeline, so the easiest solution is to have
every step run every check.
That would be extremely computationally expensive if we ran EVERY check,
yet we rely on Substrate for execution (and according checks), which are
limited to just the actual import function.
Since we're calling this code from many places, it makes sense for it to
be consolidated under TendermintImport.
* BlockImport, JustificationImport, Verifier, and import_queue function
* Update consensus/lib.rs from PoW to Tendermint
Not possible to be used as the previous consensus could. It will not
produce blocks nor does it currenly even instantiate a machine. This is
just he next step.
* Update Cargo.tomls for substrate packages
* Tendermint SelectChain
This is incompatible with Substrate's expectations, yet should be valid
for ours
* Move the node over to the new SelectChain
* Minor tweaks
* Update SelectChain documentation
* Remove substrate/node lib.rs
This shouldn't be used as a library AFAIK. While runtime should be, and
arguably should even be published, I have yet to see node in the same
way. Helps tighten API boundaries.
* Remove unused macro_use
* Replace panicking todos with stubs and // TODO
Enables progress.
* Reduce chain_spec and use more accurate naming
* Implement block proposal logic
* Modularize to get_proposal
* Trigger block importing
Doesn't wait for the response yet, which it needs to.
* Get the result of block importing
* Split import_queue into a series of files
* Provide a way to create the machine
The BasicQueue returned obscures the TendermintImport struct.
Accordingly, a Future scoped with access is returned upwards, which when
awaited will create the machine. This makes creating the machine
optional while maintaining scope boundaries.
Is sufficient to create a 1-node net which produces and finalizes
blocks.
* Don't import justifications multiple times
Also don't broadcast blocks which were solely proposed.
* Correct justication import pipeline
Removes JustificationImport as it should never be used.
* Announce blocks
By claiming File, they're not sent ovber the P2P network before they
have a justification, as desired. Unfortunately, they never were. This
works around that.
* Add an assert to verify proposed children aren't best
* Consolidate C and I generics into a TendermintClient trait alias
* Expand sanity checks
Substrate doesn't expect nor officially support children with less work
than their parents. It's a trick used here. Accordingly, ensure the
trick's validity.
* When resetting, use the end time of the round which was committed to
The machine reset to the end time of the current round. For a delayed
network connection, a machine may move ahead in rounds and only later
realize a prior round succeeded. Despite acknowledging that round's
success, it would maintain its delay when moving to the next block,
bricking it.
Done by tracking the end time for each round as they occur.
* Move Commit from including the round to including the round's end_time
The round was usable to build the current clock in an accumulated
fashion, relative to the previous round. The end time is the absolute
metric of it, which can be used to calculate the round number (with all
previous end times).
Substrate now builds off the best block, not genesis, using the end time
included in the justification to start its machine in a synchronized
state.
Knowing the end time of a round, or the round in which block was
committed to, is necessary for nodes to sync up with Tendermint.
Encoding it in the commit ensures it's long lasting and makes it readily
available, without the load of an entire transaction.
* Add a TODO on Tendermint
* Misc bug fixes
* More misc bug fixes
* Clean up lock acquisition
* Merge weights and signing scheme into validators, documenting needed changes
* Add pallet sessions to runtime, create pallet-tendermint
* Update node to use pallet sessions
* Update support URL
* Partial work on correcting pallet calls
* Redo Tendermint folder structure
* TendermintApi, compilation fixes
* Fix the stub round robin
At some point, the modulus was removed causing it to exceed the
validators list and stop proposing.
* Use the validators list from the session pallet
* Basic Gossip Validator
* Correct Substrate Tendermint start block
The Tendermint machine uses the passed in number as the block's being
worked on number. Substrate passed in the already finalized block's
number.
Also updates misc comments.
* Clean generics in Tendermint with a monolith with associated types
* Remove the Future triggering the machine for an async fn
Enables passing data in, such as the network.
* Move TendermintMachine from start_num, time to last_num, time
Provides an explicitly clear API clearer to program around.
Also adds additional time code to handle an edge case.
* Connect the Tendermint machine to a GossipEngine
* Connect broadcast
* Remove machine from TendermintImport
It's not used there at all.
* Merge Verifier into block_import.rs
These two files were largely the same, just hooking into sync structs
with almost identical imports. As this project shapes up, removing dead
weight is appreciated.
* Create a dedicated file for being a Tendermint authority
* Deleted comment code related to PoW
* Move serai_runtime specific code from tendermint/client to node
Renames serai-consensus to sc_tendermint
* Consolidate file structure in sc_tendermint
* Replace best_* with finalized_*
We test their equivalency yet still better to use finalized_* in
general.
* Consolidate references to sr25519 in sc_tendermint
* Add documentation to public structs/functions in sc_tendermint
* Add another missing comment
* Make sign asynchronous
Some relation to https://github.com/serai-dex/serai/issues/95.
* Move sc_tendermint to async sign
* Implement proper checking of inherents
* Take in a Keystore and validator ID
* Remove unnecessary PhantomDatas
* Update node to latest sc_tendermint
* Configure node for a multi-node testnet
* Fix handling of the GossipEngine
* Use a rounded genesis to obtain sufficient synchrony within the Docker env
* Correct Serai d-f names in Docker
* Remove an attempt at caching I don't believe would ever hit
* Add an already in chain check to block import
While the inner should do this for us, we call verify_order on our end
*before* inner to ensure sequential import. Accordingly, we need to
provide our own check.
Removes errors of "non-sequential import" when trying to re-import an
existing block.
* Update the consensus documentation
It was incredibly out of date.
* Add a _ to the validator arg in slash
* Make the dev profile a local testnet profile
Restores a dev profile which only has one validator, locally running.
* Reduce Arcs in TendermintMachine, split Signer from SignatureScheme
* Update sc_tendermint per previous commit
* Restore cache
* Remove error case which shouldn't be an error
* Stop returning errors on already existing blocks entirely
* Correct Dave, Eve, and Ferdie to not run as validators
* Rename dev to devnet
--dev still works thanks to the |. Acheieves a personal preference of
mine with some historical meaning.
* Add message expiry to the Tendermint gossip
* Localize the LibP2P protocol to the blockchain
Follows convention by doing so. Theoretically enables running multiple
blockchains over a single LibP2P connection.
* Add a version to sp-runtime in tendermint-machine
* Add missing trait
* Bump Substrate dependency
Fixes #147.
* Implement Schnorr half-aggregation from https://eprint.iacr.org/2021/350.pdf
Relevant to https://github.com/serai-dex/serai/issues/99.
* cargo update (tendermint)
* Move from polling loops to a pure IO model for sc_tendermint's gossip
* Correct protocol name handling
* Use futures mpsc instead of tokio
* Timeout futures
* Move from a yielding loop to select in tendermint-machine
* Update Substrate to the new TendermintHandle
* Use futures pin instead of tokio
* Only recheck blocks with non-fatal inherent transaction errors
* Update to the latest substrate
* Separate the block processing time from the latency
* Add notes to the runtime
* Don't spam slash
Also adds a slash condition of failing to propose.
* Support running TendermintMachine when not a validator
This supports validators who leave the current set, without crashing
their nodes, along with nodes trying to become validators (who will now
seamlessly transition in).
* Properly define and pass around the block size
* Correct the Duration timing
The proposer will build it, send it, then process it (on the first
round). Accordingly, it's / 3, not / 2, as / 2 only accounted for the
latter events.
* Correct time-adjustment code on round skip
* Have the machine respond to advances made by an external sync loop
* Clean up time code in tendermint-machine
* BlockData and RoundData structs
* Rename Round to RoundNumber
* Move BlockData to a new file
* Move Round to an Option due to the pseudo-uninitialized state we create
Before the addition of RoundData, we always created the round, and on
.round(0), simply created it again. With RoundData, and the changes to
the time code, we used round 0, time 0, the latter being incorrect yet
not an issue due to lack of misuse.
Now, if we do misuse it, it'll panic.
* Clear the Queue instead of draining and filtering
There shouldn't ever be a message which passes the filter under the
current design.
* BlockData::new
* Move more code into block.rs
Introduces type-aliases to obtain Data/Message/SignedMessage solely from
a Network object.
Fixes a bug regarding stepping when you're not an active validator.
* Have verify_precommit_signature return if it verified the signature
Also fixes a bug where invalid precommit signatures were left standing
and therefore contributing to commits.
* Remove the precommit signature hash
It cached signatures per-block. Precommit signatures are bound to each
round. This would lead to forming invalid commits when a commit should
be formed. Under debug, the machine would catch that and panic. On
release, it'd have everyone who wasn't a validator fail to continue
syncing.
* Slight doc changes
Also flattens the message handling function by replacing an if
containing all following code in the function with an early return for
the else case.
* Always produce notifications for finalized blocks via origin overrides
* Correct weird formatting
* Update to the latest tendermint-machine
* Manually step the Tendermint machine when we synced a block over the network
* Ignore finality notifications for old blocks
* Remove a TODO resolved in 8c51bc011d03c8d54ded05011e7f4d1a01e9f873
* Add a TODO comment to slash
Enables searching for the case-sensitive phrase and finding it.
* cargo fmt
* Use a tmp DB for Serai in Docker
* Remove panic on slash
As we move towards protonet, this can happen (if a node goes offline),
yet it happening brings down the entire net right now.
* Add log::error on slash
* created shared volume between containers
* Complete the sh scripts
* Pass in the genesis time to Substrate
* Correct block announcements
They were announced, yet not marked best.
* Correct pupulate_end_time
It was used as inclusive yet didn't work inclusively.
* Correct gossip channel jumping when a block is synced via Substrate
* Use a looser check in import_future
This triggered so it needs to be accordingly relaxed.
* Correct race conditions between add_block and step
Also corrects a <= to <.
* Update cargo deny
* rename genesis-service to genesis
* Update Cargo.lock
* Correct runtime Cargo.toml whitespace
* Correct typo
* Document recheck
* Misc lints
* Fix prev commit
* Resolve low-hanging review comments
* Mark genesis/entry-dev.sh as executable
* Prevent a commit from including the same signature multiple times
Yanks tendermint-machine 0.1.0 accordingly.
* Update to latest nightly clippy
* Improve documentation
* Use clearer variable names
* Add log statements
* Pair more log statements
* Clean TendermintAuthority::authority as possible
Merges it into new. It has way too many arguments, yet there's no clear path at
consolidation there, unfortunately.
Additionally provides better scoping within itself.
* Fix #158
Doesn't use lock_import_and_run for reasons commented (lack of async).
* Rename guard to lock
* Have the devnet use the current time as the genesis
Possible since it's only a single node, not requiring synchronization.
* Fix gossiping
I really don't know what side effect this avoids and I can't say I care at this
point.
* Misc lints
Co-authored-by: vrx00 <vrx00@proton.me>
Co-authored-by: TheArchitect108 <TheArchitect108@protonmail.com>
2022-12-03 23:38:02 +00:00
|
|
|
dependencies = [
|
|
|
|
"async-trait",
|
|
|
|
"futures",
|
|
|
|
"log",
|
|
|
|
"parity-scale-codec",
|
|
|
|
"sp-runtime",
|
|
|
|
"thiserror",
|
|
|
|
"tokio",
|
|
|
|
]
|
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "term"
|
|
|
|
version = "0.7.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "c59df8ac95d96ff9bede18eb7300b0fda5e5d8d90960e76f8e14ae765eedbf1f"
|
|
|
|
dependencies = [
|
|
|
|
"dirs-next",
|
|
|
|
"rustversion",
|
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "termcolor"
|
|
|
|
version = "1.1.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "bab24d30b911b2376f3a13cc2cd443142f0c81dda04c118693e35b3835757755"
|
|
|
|
dependencies = [
|
|
|
|
"winapi-util",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "terminal_size"
|
|
|
|
version = "0.1.17"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "633c1a546cee861a1a6d0dc69ebeca693bf4296661ba7852b9d21d159e0506df"
|
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
2022-10-20 05:05:36 +00:00
|
|
|
[[package]]
|
|
|
|
name = "termtree"
|
2022-11-11 04:59:20 +00:00
|
|
|
version = "0.4.0"
|
2022-10-20 05:05:36 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-11 04:59:20 +00:00
|
|
|
checksum = "95059e91184749cb66be6dc994f67f182b6d897cb3df74a5bf66b5e709295fd8"
|
2022-10-20 05:05:36 +00:00
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "textwrap"
|
2022-11-04 12:07:37 +00:00
|
|
|
version = "0.16.0"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-04 12:07:37 +00:00
|
|
|
checksum = "222a222a5bfe1bba4a77b45ec488a741b3cb8872e5e499451fd7d0129c9c7c3d"
|
2022-07-16 21:49:35 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "thiserror"
|
2022-12-21 04:12:26 +00:00
|
|
|
version = "1.0.38"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-21 04:12:26 +00:00
|
|
|
checksum = "6a9cd18aa97d5c45c6603caea1da6628790b37f7a34b6ca89522331c5180fed0"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"thiserror-impl",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "thiserror-impl"
|
2022-12-21 04:12:26 +00:00
|
|
|
version = "1.0.38"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-21 04:12:26 +00:00
|
|
|
checksum = "1fb327af4685e4d03fa8cbcf1716380da910eeb2bb8be417e7f9fd3fb164f36f"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "thousands"
|
|
|
|
version = "0.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "3bf63baf9f5039dadc247375c29eb13706706cfde997d0330d05aa63a77d8820"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "thread_local"
|
|
|
|
version = "1.1.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "5516c27b78311c50bf42c071425c560ac799b11c30b31f87e3081965fe5e0180"
|
|
|
|
dependencies = [
|
|
|
|
"once_cell",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "threadpool"
|
|
|
|
version = "1.8.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d050e60b33d41c19108b32cea32164033a9013fe3b46cbd4457559bfbf77afaa"
|
|
|
|
dependencies = [
|
|
|
|
"num_cpus",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "tikv-jemalloc-sys"
|
2022-10-20 05:05:36 +00:00
|
|
|
version = "0.5.2+5.3.0-patched"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-20 05:05:36 +00:00
|
|
|
checksum = "ec45c14da997d0925c7835883e4d5c181f196fa142f8c19d7643d1e9af2592c3"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"cc",
|
|
|
|
"fs_extra",
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "time"
|
2022-12-07 22:56:53 +00:00
|
|
|
version = "0.1.45"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-07 22:56:53 +00:00
|
|
|
checksum = "1b797afad3f312d1c66a56d11d0316f916356d11bd158fbc6ca6389ff6bf805a"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
"wasi 0.10.0+wasi-snapshot-preview1",
|
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "time"
|
2022-11-11 04:59:20 +00:00
|
|
|
version = "0.3.17"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-11 04:59:20 +00:00
|
|
|
checksum = "a561bf4617eebd33bca6434b988f39ed798e527f51a1e797d0ee4f61c0a38376"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
2022-10-20 05:05:36 +00:00
|
|
|
"itoa",
|
2022-11-04 12:07:37 +00:00
|
|
|
"serde",
|
|
|
|
"time-core",
|
2022-07-16 21:49:35 +00:00
|
|
|
"time-macros",
|
|
|
|
]
|
|
|
|
|
2022-11-04 12:07:37 +00:00
|
|
|
[[package]]
|
|
|
|
name = "time-core"
|
|
|
|
version = "0.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "2e153e1f1acaef8acc537e68b44906d2db6436e2b35ac2c6b42640fff91f00fd"
|
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "time-macros"
|
2022-11-11 04:59:20 +00:00
|
|
|
version = "0.2.6"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-11 04:59:20 +00:00
|
|
|
checksum = "d967f99f534ca7e495c575c62638eebc2898a8c84c119b89e250477bc4ba16b2"
|
2022-11-04 12:07:37 +00:00
|
|
|
dependencies = [
|
|
|
|
"time-core",
|
|
|
|
]
|
2022-07-16 21:49:35 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "tiny-bip39"
|
|
|
|
version = "0.8.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "ffc59cb9dfc85bb312c3a78fd6aa8a8582e310b0fa885d5bb877f6dcc601839d"
|
|
|
|
dependencies = [
|
|
|
|
"anyhow",
|
|
|
|
"hmac 0.8.1",
|
|
|
|
"once_cell",
|
|
|
|
"pbkdf2 0.4.0",
|
|
|
|
"rand 0.7.3",
|
|
|
|
"rustc-hash",
|
|
|
|
"sha2 0.9.9",
|
|
|
|
"thiserror",
|
|
|
|
"unicode-normalization",
|
|
|
|
"wasm-bindgen",
|
|
|
|
"zeroize",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "tiny-keccak"
|
|
|
|
version = "2.0.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "2c9d3793400a45f954c52e73d068316d76b6f4e36977e3fcebb13a2721e80237"
|
|
|
|
dependencies = [
|
|
|
|
"crunchy",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "tinyvec"
|
|
|
|
version = "1.6.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50"
|
|
|
|
dependencies = [
|
|
|
|
"tinyvec_macros",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "tinyvec_macros"
|
|
|
|
version = "0.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "tokio"
|
2022-12-07 22:56:53 +00:00
|
|
|
version = "1.23.0"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-07 22:56:53 +00:00
|
|
|
checksum = "eab6d665857cc6ca78d6e80303a02cea7a7851e85dfbd77cbdc09bd129f1ef46"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"autocfg",
|
|
|
|
"bytes",
|
|
|
|
"libc",
|
|
|
|
"memchr",
|
|
|
|
"mio",
|
|
|
|
"num_cpus",
|
|
|
|
"parking_lot 0.12.1",
|
|
|
|
"pin-project-lite 0.2.9",
|
|
|
|
"signal-hook-registry",
|
|
|
|
"socket2",
|
|
|
|
"tokio-macros",
|
2022-12-07 22:56:53 +00:00
|
|
|
"windows-sys 0.42.0",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "tokio-macros"
|
2022-12-07 22:56:53 +00:00
|
|
|
version = "1.8.2"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-07 22:56:53 +00:00
|
|
|
checksum = "d266c00fde287f55d3f1c3e96c500c362a2b8c695076ec180f27918820bc6df8"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "tokio-native-tls"
|
|
|
|
version = "0.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "f7d995660bd2b7f8c1568414c1126076c13fbb725c40112dc0120b78eb9b717b"
|
|
|
|
dependencies = [
|
|
|
|
"native-tls",
|
|
|
|
"tokio",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "tokio-rustls"
|
|
|
|
version = "0.23.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "c43ee83903113e03984cb9e5cebe6c04a5116269e900e3ddba8f068a62adda59"
|
|
|
|
dependencies = [
|
|
|
|
"rustls",
|
|
|
|
"tokio",
|
|
|
|
"webpki",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "tokio-stream"
|
2022-10-20 05:05:36 +00:00
|
|
|
version = "0.1.11"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-20 05:05:36 +00:00
|
|
|
checksum = "d660770404473ccd7bc9f8b28494a811bc18542b915c0855c51e8f419d5223ce"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"futures-core",
|
|
|
|
"pin-project-lite 0.2.9",
|
|
|
|
"tokio",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "tokio-util"
|
2022-09-18 19:30:38 +00:00
|
|
|
version = "0.7.4"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-09-18 19:30:38 +00:00
|
|
|
checksum = "0bb2e075f03b3d66d8d8785356224ba688d2906a371015e225beeb65ca92c740"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"bytes",
|
|
|
|
"futures-core",
|
|
|
|
"futures-io",
|
|
|
|
"futures-sink",
|
|
|
|
"pin-project-lite 0.2.9",
|
|
|
|
"tokio",
|
|
|
|
"tracing",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "toml"
|
2022-12-21 04:12:26 +00:00
|
|
|
version = "0.5.10"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-21 04:12:26 +00:00
|
|
|
checksum = "1333c76748e868a4d9d1017b5ab53171dfd095f70c712fdb4653a406547f598f"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
2023-01-04 08:17:36 +00:00
|
|
|
[[package]]
|
|
|
|
name = "tower"
|
|
|
|
version = "0.4.13"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b8fa9be0de6cf49e536ce1851f987bd21a43b771b09473c3549a6c853db37c1c"
|
|
|
|
dependencies = [
|
|
|
|
"tower-layer",
|
|
|
|
"tower-service",
|
|
|
|
"tracing",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "tower-http"
|
|
|
|
version = "0.3.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "f873044bf02dd1e8239e9c1293ea39dad76dc594ec16185d0a1bf31d8dc8d858"
|
|
|
|
dependencies = [
|
|
|
|
"bitflags",
|
|
|
|
"bytes",
|
|
|
|
"futures-core",
|
|
|
|
"futures-util",
|
|
|
|
"http",
|
|
|
|
"http-body",
|
|
|
|
"http-range-header",
|
|
|
|
"pin-project-lite 0.2.9",
|
|
|
|
"tower-layer",
|
|
|
|
"tower-service",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "tower-layer"
|
|
|
|
version = "0.3.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "c20c8dbed6283a09604c3e69b4b7eeb54e298b8a600d4d5ecb5ad39de609f1d0"
|
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "tower-service"
|
|
|
|
version = "0.3.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b6bc1c9ce2b5135ac7f93c72918fc37feb872bdc6a5533a8b85eb4b86bfdae52"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "tracing"
|
2022-10-20 05:05:36 +00:00
|
|
|
version = "0.1.37"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-20 05:05:36 +00:00
|
|
|
checksum = "8ce8c33a8d48bd45d624a6e523445fd21ec13d3653cd51f681abf67418f54eb8"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"cfg-if",
|
2023-01-04 08:17:36 +00:00
|
|
|
"log",
|
2022-07-16 21:49:35 +00:00
|
|
|
"pin-project-lite 0.2.9",
|
|
|
|
"tracing-attributes",
|
|
|
|
"tracing-core",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "tracing-attributes"
|
2022-10-20 05:05:36 +00:00
|
|
|
version = "0.1.23"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-20 05:05:36 +00:00
|
|
|
checksum = "4017f8f45139870ca7e672686113917c71c7a6e02d4924eda67186083c03081a"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "tracing-core"
|
2022-10-20 05:05:36 +00:00
|
|
|
version = "0.1.30"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-20 05:05:36 +00:00
|
|
|
checksum = "24eb03ba0eab1fd845050058ce5e616558e8f8d8fca633e6b163fe25c797213a"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"once_cell",
|
|
|
|
"valuable",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "tracing-futures"
|
|
|
|
version = "0.2.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "97d095ae15e245a057c8e8451bab9b3ee1e1f68e9ba2b4fbc18d0ac5237835f2"
|
|
|
|
dependencies = [
|
|
|
|
"pin-project",
|
|
|
|
"tracing",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "tracing-log"
|
|
|
|
version = "0.1.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "78ddad33d2d10b1ed7eb9d1f518a5674713876e97e5bb9b7345a7984fbb4f922"
|
|
|
|
dependencies = [
|
|
|
|
"lazy_static",
|
|
|
|
"log",
|
|
|
|
"tracing-core",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "tracing-serde"
|
|
|
|
version = "0.1.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "bc6b213177105856957181934e4920de57730fc69bf42c37ee5bb664d406d9e1"
|
|
|
|
dependencies = [
|
|
|
|
"serde",
|
|
|
|
"tracing-core",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "tracing-subscriber"
|
|
|
|
version = "0.2.25"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "0e0d2eaa99c3c2e41547cfa109e910a68ea03823cccad4a0525dcbc9b01e8c71"
|
|
|
|
dependencies = [
|
|
|
|
"ansi_term",
|
|
|
|
"chrono",
|
|
|
|
"lazy_static",
|
|
|
|
"matchers",
|
|
|
|
"parking_lot 0.11.2",
|
|
|
|
"regex",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
"sharded-slab",
|
|
|
|
"smallvec",
|
|
|
|
"thread_local",
|
|
|
|
"tracing",
|
|
|
|
"tracing-core",
|
|
|
|
"tracing-log",
|
|
|
|
"tracing-serde",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "trie-db"
|
2022-09-29 18:33:09 +00:00
|
|
|
version = "0.24.0"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-09-29 18:33:09 +00:00
|
|
|
checksum = "004e1e8f92535694b4cb1444dc5a8073ecf0815e3357f729638b9f8fc4062908"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"hash-db",
|
2022-12-07 23:05:06 +00:00
|
|
|
"hashbrown",
|
2022-07-16 21:49:35 +00:00
|
|
|
"log",
|
|
|
|
"rustc-hex",
|
|
|
|
"smallvec",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "trie-root"
|
|
|
|
version = "0.17.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "9a36c5ca3911ed3c9a5416ee6c679042064b93fc637ded67e25f92e68d783891"
|
|
|
|
dependencies = [
|
|
|
|
"hash-db",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "trust-dns-proto"
|
2022-10-20 05:05:36 +00:00
|
|
|
version = "0.22.0"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-20 05:05:36 +00:00
|
|
|
checksum = "4f7f83d1e4a0e4358ac54c5c3681e5d7da5efc5a7a632c90bb6d6669ddd9bc26"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"async-trait",
|
|
|
|
"cfg-if",
|
|
|
|
"data-encoding",
|
|
|
|
"enum-as-inner",
|
|
|
|
"futures-channel",
|
|
|
|
"futures-io",
|
|
|
|
"futures-util",
|
2022-09-18 19:30:38 +00:00
|
|
|
"idna 0.2.3",
|
2022-07-16 21:49:35 +00:00
|
|
|
"ipnet",
|
|
|
|
"lazy_static",
|
|
|
|
"rand 0.8.5",
|
|
|
|
"smallvec",
|
|
|
|
"thiserror",
|
|
|
|
"tinyvec",
|
2023-01-04 08:17:36 +00:00
|
|
|
"tokio",
|
2022-10-20 05:05:36 +00:00
|
|
|
"tracing",
|
2022-07-16 21:49:35 +00:00
|
|
|
"url",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "trust-dns-resolver"
|
2022-10-20 05:05:36 +00:00
|
|
|
version = "0.22.0"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-20 05:05:36 +00:00
|
|
|
checksum = "aff21aa4dcefb0a1afbfac26deb0adc93888c7d295fb63ab273ef276ba2b7cfe"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"cfg-if",
|
|
|
|
"futures-util",
|
|
|
|
"ipconfig",
|
|
|
|
"lazy_static",
|
|
|
|
"lru-cache",
|
|
|
|
"parking_lot 0.12.1",
|
|
|
|
"resolv-conf",
|
|
|
|
"smallvec",
|
|
|
|
"thiserror",
|
2023-01-04 08:17:36 +00:00
|
|
|
"tokio",
|
2022-10-20 05:05:36 +00:00
|
|
|
"tracing",
|
2022-07-16 21:49:35 +00:00
|
|
|
"trust-dns-proto",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "try-lock"
|
|
|
|
version = "0.2.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "tt-call"
|
2022-12-21 04:12:26 +00:00
|
|
|
version = "1.0.9"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-21 04:12:26 +00:00
|
|
|
checksum = "f4f195fd851901624eee5a58c4bb2b4f06399148fcd0ed336e6f1cb60a9881df"
|
2022-07-16 21:49:35 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "twox-hash"
|
|
|
|
version = "1.6.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675"
|
|
|
|
dependencies = [
|
|
|
|
"cfg-if",
|
2022-11-21 07:23:38 +00:00
|
|
|
"digest 0.10.6",
|
2022-07-16 21:49:35 +00:00
|
|
|
"rand 0.8.5",
|
|
|
|
"static_assertions",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "typenum"
|
2022-12-07 22:56:53 +00:00
|
|
|
version = "1.16.0"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-07 22:56:53 +00:00
|
|
|
checksum = "497961ef93d974e23eb6f433eb5fe1b7930b659f06d12dec6fc44a8f554c0bba"
|
2022-07-16 21:49:35 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "ucd-trie"
|
2022-09-18 19:30:38 +00:00
|
|
|
version = "0.1.5"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-09-18 19:30:38 +00:00
|
|
|
checksum = "9e79c4d996edb816c91e4308506774452e55e95c3c9de07b6729e17e15a5ef81"
|
2022-07-16 21:49:35 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "uint"
|
2022-12-07 22:56:53 +00:00
|
|
|
version = "0.9.5"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-07 22:56:53 +00:00
|
|
|
checksum = "76f64bba2c53b04fcab63c01a7d7427eadc821e3bc48c34dc9ba29c501164b52"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"byteorder",
|
|
|
|
"crunchy",
|
|
|
|
"hex",
|
|
|
|
"static_assertions",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "unicode-bidi"
|
|
|
|
version = "0.3.8"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "099b7128301d285f79ddd55b9a83d5e6b9e97c92e0ea0daebee7263e932de992"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "unicode-ident"
|
2022-12-21 04:12:26 +00:00
|
|
|
version = "1.0.6"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-21 04:12:26 +00:00
|
|
|
checksum = "84a22b9f218b40614adcb3f4ff08b703773ad44fa9423e4e0d346d5db86e4ebc"
|
2022-07-16 21:49:35 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "unicode-normalization"
|
2022-09-18 19:30:38 +00:00
|
|
|
version = "0.1.22"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-09-18 19:30:38 +00:00
|
|
|
checksum = "5c5713f0fc4b5db668a2ac63cdb7bb4469d8c9fed047b1d0292cc7b0ce2ba921"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"tinyvec",
|
|
|
|
]
|
|
|
|
|
2022-12-07 23:05:06 +00:00
|
|
|
[[package]]
|
|
|
|
name = "unicode-segmentation"
|
|
|
|
version = "1.10.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "0fdbf052a0783de01e944a6ce7a8cb939e295b1e7be835a1112c3b9a7f047a5a"
|
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "unicode-width"
|
2022-09-18 19:30:38 +00:00
|
|
|
version = "0.1.10"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-09-18 19:30:38 +00:00
|
|
|
checksum = "c0edd1e5b14653f783770bce4a4dabb4a5108a5370a5f5d8cfe8710c361f6c8b"
|
2022-07-16 21:49:35 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "unicode-xid"
|
2022-09-18 19:30:38 +00:00
|
|
|
version = "0.2.4"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-09-18 19:30:38 +00:00
|
|
|
checksum = "f962df74c8c05a667b5ee8bcf162993134c104e96440b663c8daa176dc772d8c"
|
2022-07-16 21:49:35 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "universal-hash"
|
|
|
|
version = "0.4.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "9f214e8f697e925001e66ec2c6e37a4ef93f0f78c2eed7814394e10c62025b05"
|
|
|
|
dependencies = [
|
2022-08-16 07:44:32 +00:00
|
|
|
"generic-array 0.14.6",
|
2022-07-16 21:49:35 +00:00
|
|
|
"subtle",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "unsigned-varint"
|
|
|
|
version = "0.7.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d86a8dc7f45e4c1b0d30e43038c38f274e77af056aa5f74b93c2cf9eb3c1c836"
|
|
|
|
dependencies = [
|
|
|
|
"asynchronous-codec",
|
|
|
|
"bytes",
|
|
|
|
"futures-io",
|
|
|
|
"futures-util",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "untrusted"
|
|
|
|
version = "0.7.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "url"
|
2022-09-18 19:30:38 +00:00
|
|
|
version = "2.3.1"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-09-18 19:30:38 +00:00
|
|
|
checksum = "0d68c799ae75762b8c3fe375feb6600ef5602c883c5d21eb51c09f22b83c4643"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"form_urlencoded",
|
2022-09-18 19:30:38 +00:00
|
|
|
"idna 0.3.0",
|
2022-07-16 21:49:35 +00:00
|
|
|
"percent-encoding",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "uuid"
|
|
|
|
version = "0.8.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "bc5cf98d8186244414c848017f0e2676b3fcb46807f6668a97dfe67359a3c4b7"
|
|
|
|
dependencies = [
|
2022-10-22 01:40:50 +00:00
|
|
|
"getrandom 0.2.8",
|
2022-07-16 21:49:35 +00:00
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
2023-01-05 03:52:41 +00:00
|
|
|
[[package]]
|
|
|
|
name = "validator-sets-pallet"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
|
|
|
"frame-support",
|
|
|
|
"frame-system",
|
|
|
|
"parity-scale-codec",
|
|
|
|
"scale-info",
|
|
|
|
"serai-primitives",
|
|
|
|
"validator-sets-primitives",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "validator-sets-primitives"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
|
|
|
"parity-scale-codec",
|
|
|
|
"scale-info",
|
|
|
|
"serde",
|
|
|
|
"sp-core",
|
|
|
|
"sp-std",
|
|
|
|
]
|
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "valuable"
|
|
|
|
version = "0.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "vcpkg"
|
|
|
|
version = "0.2.15"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "version_check"
|
|
|
|
version = "0.9.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "void"
|
|
|
|
version = "1.0.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "waker-fn"
|
|
|
|
version = "1.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "9d5b2c62b4012a3e1eca5a7e077d13b3bf498c4073e33ccd58626607748ceeca"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "walkdir"
|
|
|
|
version = "2.3.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "808cf2735cd4b6866113f648b791c6adc5714537bc222d9347bb203386ffda56"
|
|
|
|
dependencies = [
|
|
|
|
"same-file",
|
|
|
|
"winapi",
|
|
|
|
"winapi-util",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "want"
|
|
|
|
version = "0.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "1ce8a968cb1cd110d136ff8b819a556d6fb6d919363c61534f6860c7eb172ba0"
|
|
|
|
dependencies = [
|
|
|
|
"log",
|
|
|
|
"try-lock",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wasi"
|
|
|
|
version = "0.9.0+wasi-snapshot-preview1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wasi"
|
|
|
|
version = "0.10.0+wasi-snapshot-preview1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wasi"
|
|
|
|
version = "0.11.0+wasi-snapshot-preview1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wasm-bindgen"
|
2022-09-18 19:30:38 +00:00
|
|
|
version = "0.2.83"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-09-18 19:30:38 +00:00
|
|
|
checksum = "eaf9f5aceeec8be17c128b2e93e031fb8a4d469bb9c4ae2d7dc1888b26887268"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"cfg-if",
|
|
|
|
"wasm-bindgen-macro",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wasm-bindgen-backend"
|
2022-09-18 19:30:38 +00:00
|
|
|
version = "0.2.83"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-09-18 19:30:38 +00:00
|
|
|
checksum = "4c8ffb332579b0557b52d268b91feab8df3615f265d5270fec2a8c95b17c1142"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"bumpalo",
|
|
|
|
"log",
|
2022-08-16 07:44:32 +00:00
|
|
|
"once_cell",
|
2022-07-16 21:49:35 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
"wasm-bindgen-shared",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wasm-bindgen-futures"
|
2022-09-18 19:30:38 +00:00
|
|
|
version = "0.4.33"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-09-18 19:30:38 +00:00
|
|
|
checksum = "23639446165ca5a5de86ae1d8896b737ae80319560fbaa4c2887b7da6e7ebd7d"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"cfg-if",
|
|
|
|
"js-sys",
|
|
|
|
"wasm-bindgen",
|
|
|
|
"web-sys",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wasm-bindgen-macro"
|
2022-09-18 19:30:38 +00:00
|
|
|
version = "0.2.83"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-09-18 19:30:38 +00:00
|
|
|
checksum = "052be0f94026e6cbc75cdefc9bae13fd6052cdcaf532fa6c45e7ae33a1e6c810"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"quote",
|
|
|
|
"wasm-bindgen-macro-support",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wasm-bindgen-macro-support"
|
2022-09-18 19:30:38 +00:00
|
|
|
version = "0.2.83"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-09-18 19:30:38 +00:00
|
|
|
checksum = "07bc0c051dc5f23e307b13285f9d75df86bfdf816c5721e573dec1f9b8aa193c"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
"wasm-bindgen-backend",
|
|
|
|
"wasm-bindgen-shared",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wasm-bindgen-shared"
|
2022-09-18 19:30:38 +00:00
|
|
|
version = "0.2.83"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-09-18 19:30:38 +00:00
|
|
|
checksum = "1c38c045535d93ec4f0b4defec448e4291638ee608530863b1e2ba115d4fff7f"
|
2022-07-16 21:49:35 +00:00
|
|
|
|
|
|
|
[[package]]
|
2022-11-11 04:59:20 +00:00
|
|
|
name = "wasm-instrument"
|
|
|
|
version = "0.3.0"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-11 04:59:20 +00:00
|
|
|
checksum = "aa1dafb3e60065305741e83db35c6c2584bb3725b692b5b66148a38d72ace6cd"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
2022-11-11 04:59:20 +00:00
|
|
|
"parity-wasm",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
2022-11-11 04:59:20 +00:00
|
|
|
name = "wasm-opt"
|
|
|
|
version = "0.110.2"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-11 04:59:20 +00:00
|
|
|
checksum = "b68e8037b4daf711393f4be2056246d12d975651b14d581520ad5d1f19219cec"
|
|
|
|
dependencies = [
|
|
|
|
"anyhow",
|
|
|
|
"libc",
|
|
|
|
"strum",
|
|
|
|
"strum_macros",
|
|
|
|
"tempfile",
|
|
|
|
"thiserror",
|
|
|
|
"wasm-opt-cxx-sys",
|
|
|
|
"wasm-opt-sys",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wasm-opt-cxx-sys"
|
|
|
|
version = "0.110.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "91adbad477e97bba3fbd21dd7bfb594e7ad5ceb9169ab1c93ab9cb0ada636b6f"
|
|
|
|
dependencies = [
|
|
|
|
"anyhow",
|
|
|
|
"cxx",
|
|
|
|
"cxx-build",
|
|
|
|
"wasm-opt-sys",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wasm-opt-sys"
|
|
|
|
version = "0.110.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "ec4fa5a322a4e6ac22fd141f498d56afbdbf9df5debeac32380d2dcaa3e06941"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
2022-11-11 04:59:20 +00:00
|
|
|
"anyhow",
|
|
|
|
"cc",
|
|
|
|
"cxx",
|
|
|
|
"cxx-build",
|
|
|
|
"regex",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wasm-timer"
|
|
|
|
version = "0.2.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "be0ecb0db480561e9a7642b5d3e4187c128914e58aa84330b9493e3eb68c5e7f"
|
|
|
|
dependencies = [
|
|
|
|
"futures",
|
|
|
|
"js-sys",
|
|
|
|
"parking_lot 0.11.2",
|
|
|
|
"pin-utils",
|
|
|
|
"wasm-bindgen",
|
|
|
|
"wasm-bindgen-futures",
|
|
|
|
"web-sys",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wasmi"
|
2022-09-29 18:33:09 +00:00
|
|
|
version = "0.13.2"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-09-29 18:33:09 +00:00
|
|
|
checksum = "06c326c93fbf86419608361a2c925a31754cf109da1b8b55737070b4d6669422"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
2022-11-11 04:59:20 +00:00
|
|
|
"parity-wasm",
|
2022-07-16 21:49:35 +00:00
|
|
|
"wasmi-validation",
|
2023-01-05 03:52:41 +00:00
|
|
|
"wasmi_core",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wasmi-validation"
|
2022-09-29 18:33:09 +00:00
|
|
|
version = "0.5.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "91ff416ad1ff0c42e5a926ed5d5fab74c0f098749aa0ad8b2a34b982ce0e867b"
|
|
|
|
dependencies = [
|
2022-11-11 04:59:20 +00:00
|
|
|
"parity-wasm",
|
2022-09-29 18:33:09 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wasmi_core"
|
|
|
|
version = "0.2.1"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-09-29 18:33:09 +00:00
|
|
|
checksum = "57d20cb3c59b788653d99541c646c561c9dd26506f25c0cebfe810659c54c6d7"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
2022-09-29 18:33:09 +00:00
|
|
|
"downcast-rs",
|
2022-12-21 04:12:26 +00:00
|
|
|
"libm 0.2.6",
|
2022-09-29 18:33:09 +00:00
|
|
|
"memory_units",
|
|
|
|
"num-rational",
|
|
|
|
"num-traits",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wasmparser"
|
2022-09-29 18:33:09 +00:00
|
|
|
version = "0.89.1"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-09-29 18:33:09 +00:00
|
|
|
checksum = "ab5d3e08b13876f96dd55608d03cd4883a0545884932d5adf11925876c96daef"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"indexmap",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wasmtime"
|
2022-11-11 04:59:20 +00:00
|
|
|
version = "1.0.2"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-11 04:59:20 +00:00
|
|
|
checksum = "4ad5af6ba38311282f2a21670d96e78266e8c8e2f38cbcd52c254df6ccbc7731"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"anyhow",
|
|
|
|
"bincode",
|
|
|
|
"cfg-if",
|
|
|
|
"indexmap",
|
|
|
|
"libc",
|
|
|
|
"log",
|
2022-12-21 04:12:26 +00:00
|
|
|
"object 0.29.0",
|
2022-07-16 21:49:35 +00:00
|
|
|
"once_cell",
|
|
|
|
"paste",
|
|
|
|
"psm",
|
|
|
|
"rayon",
|
|
|
|
"serde",
|
|
|
|
"target-lexicon",
|
|
|
|
"wasmparser",
|
|
|
|
"wasmtime-cache",
|
|
|
|
"wasmtime-cranelift",
|
|
|
|
"wasmtime-environ",
|
|
|
|
"wasmtime-jit",
|
|
|
|
"wasmtime-runtime",
|
2022-10-20 05:05:36 +00:00
|
|
|
"windows-sys 0.36.1",
|
2022-09-29 18:33:09 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wasmtime-asm-macros"
|
2022-11-11 04:59:20 +00:00
|
|
|
version = "1.0.2"
|
2022-09-29 18:33:09 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-11 04:59:20 +00:00
|
|
|
checksum = "45de63ddfc8b9223d1adc8f7b2ee5f35d1f6d112833934ad7ea66e4f4339e597"
|
2022-09-29 18:33:09 +00:00
|
|
|
dependencies = [
|
|
|
|
"cfg-if",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wasmtime-cache"
|
2022-11-11 04:59:20 +00:00
|
|
|
version = "1.0.2"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-11 04:59:20 +00:00
|
|
|
checksum = "bcd849399d17d2270141cfe47fa0d91ee52d5f8ea9b98cf7ddde0d53e5f79882"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"anyhow",
|
2022-10-22 01:40:50 +00:00
|
|
|
"base64 0.13.1",
|
2022-07-16 21:49:35 +00:00
|
|
|
"bincode",
|
|
|
|
"directories-next",
|
|
|
|
"file-per-thread-logger",
|
|
|
|
"log",
|
2022-11-11 04:59:20 +00:00
|
|
|
"rustix 0.35.13",
|
2022-07-16 21:49:35 +00:00
|
|
|
"serde",
|
|
|
|
"sha2 0.9.9",
|
|
|
|
"toml",
|
2022-10-20 05:05:36 +00:00
|
|
|
"windows-sys 0.36.1",
|
2022-07-16 21:49:35 +00:00
|
|
|
"zstd",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wasmtime-cranelift"
|
2022-11-11 04:59:20 +00:00
|
|
|
version = "1.0.2"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-11 04:59:20 +00:00
|
|
|
checksum = "4bd91339b742ff20bfed4532a27b73c86b5bcbfedd6bea2dcdf2d64471e1b5c6"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"anyhow",
|
|
|
|
"cranelift-codegen",
|
|
|
|
"cranelift-entity",
|
|
|
|
"cranelift-frontend",
|
|
|
|
"cranelift-native",
|
|
|
|
"cranelift-wasm",
|
2022-12-21 04:12:26 +00:00
|
|
|
"gimli 0.26.2",
|
2022-07-16 21:49:35 +00:00
|
|
|
"log",
|
2022-12-21 04:12:26 +00:00
|
|
|
"object 0.29.0",
|
2022-07-16 21:49:35 +00:00
|
|
|
"target-lexicon",
|
|
|
|
"thiserror",
|
|
|
|
"wasmparser",
|
|
|
|
"wasmtime-environ",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wasmtime-environ"
|
2022-11-11 04:59:20 +00:00
|
|
|
version = "1.0.2"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-11 04:59:20 +00:00
|
|
|
checksum = "ebb881c61f4f627b5d45c54e629724974f8a8890d455bcbe634330cc27309644"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"anyhow",
|
|
|
|
"cranelift-entity",
|
2022-12-21 04:12:26 +00:00
|
|
|
"gimli 0.26.2",
|
2022-07-16 21:49:35 +00:00
|
|
|
"indexmap",
|
|
|
|
"log",
|
2022-12-21 04:12:26 +00:00
|
|
|
"object 0.29.0",
|
2022-07-16 21:49:35 +00:00
|
|
|
"serde",
|
|
|
|
"target-lexicon",
|
|
|
|
"thiserror",
|
|
|
|
"wasmparser",
|
|
|
|
"wasmtime-types",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wasmtime-jit"
|
2022-11-11 04:59:20 +00:00
|
|
|
version = "1.0.2"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-11 04:59:20 +00:00
|
|
|
checksum = "1985c628011fe26adf5e23a5301bdc79b245e0e338f14bb58b39e4e25e4d8681"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
2022-12-21 04:12:26 +00:00
|
|
|
"addr2line 0.17.0",
|
2022-07-16 21:49:35 +00:00
|
|
|
"anyhow",
|
|
|
|
"bincode",
|
|
|
|
"cfg-if",
|
|
|
|
"cpp_demangle",
|
2022-12-21 04:12:26 +00:00
|
|
|
"gimli 0.26.2",
|
2022-07-16 21:49:35 +00:00
|
|
|
"log",
|
2022-12-21 04:12:26 +00:00
|
|
|
"object 0.29.0",
|
2022-07-16 21:49:35 +00:00
|
|
|
"rustc-demangle",
|
2022-11-11 04:59:20 +00:00
|
|
|
"rustix 0.35.13",
|
2022-07-16 21:49:35 +00:00
|
|
|
"serde",
|
|
|
|
"target-lexicon",
|
|
|
|
"thiserror",
|
|
|
|
"wasmtime-environ",
|
|
|
|
"wasmtime-jit-debug",
|
|
|
|
"wasmtime-runtime",
|
2022-10-20 05:05:36 +00:00
|
|
|
"windows-sys 0.36.1",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wasmtime-jit-debug"
|
2022-11-11 04:59:20 +00:00
|
|
|
version = "1.0.2"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-11 04:59:20 +00:00
|
|
|
checksum = "f671b588486f5ccec8c5a3dba6b4c07eac2e66ab8c60e6f4e53717c77f709731"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
2022-12-21 04:12:26 +00:00
|
|
|
"object 0.29.0",
|
2022-09-29 18:33:09 +00:00
|
|
|
"once_cell",
|
2022-11-11 04:59:20 +00:00
|
|
|
"rustix 0.35.13",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wasmtime-runtime"
|
2022-11-11 04:59:20 +00:00
|
|
|
version = "1.0.2"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-11 04:59:20 +00:00
|
|
|
checksum = "ee8f92ad4b61736339c29361da85769ebc200f184361959d1792832e592a1afd"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"anyhow",
|
|
|
|
"cc",
|
|
|
|
"cfg-if",
|
|
|
|
"indexmap",
|
|
|
|
"libc",
|
|
|
|
"log",
|
|
|
|
"mach",
|
|
|
|
"memfd",
|
2022-11-21 07:23:38 +00:00
|
|
|
"memoffset 0.6.5",
|
2022-09-29 18:33:09 +00:00
|
|
|
"paste",
|
2022-07-16 21:49:35 +00:00
|
|
|
"rand 0.8.5",
|
2022-11-11 04:59:20 +00:00
|
|
|
"rustix 0.35.13",
|
2022-07-16 21:49:35 +00:00
|
|
|
"thiserror",
|
2022-09-29 18:33:09 +00:00
|
|
|
"wasmtime-asm-macros",
|
2022-07-16 21:49:35 +00:00
|
|
|
"wasmtime-environ",
|
|
|
|
"wasmtime-jit-debug",
|
2022-10-20 05:05:36 +00:00
|
|
|
"windows-sys 0.36.1",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wasmtime-types"
|
2022-11-11 04:59:20 +00:00
|
|
|
version = "1.0.2"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-11 04:59:20 +00:00
|
|
|
checksum = "d23d61cb4c46e837b431196dd06abb11731541021916d03476a178b54dc07aeb"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"cranelift-entity",
|
|
|
|
"serde",
|
|
|
|
"thiserror",
|
|
|
|
"wasmparser",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "web-sys"
|
2022-09-18 19:30:38 +00:00
|
|
|
version = "0.3.60"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-09-18 19:30:38 +00:00
|
|
|
checksum = "bcda906d8be16e728fd5adc5b729afad4e444e106ab28cd1c7256e54fa61510f"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"js-sys",
|
|
|
|
"wasm-bindgen",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "webpki"
|
|
|
|
version = "0.22.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "f095d78192e208183081cc07bc5515ef55216397af48b873e5edcd72637fa1bd"
|
|
|
|
dependencies = [
|
|
|
|
"ring",
|
|
|
|
"untrusted",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "webpki-roots"
|
2022-12-21 04:12:26 +00:00
|
|
|
version = "0.22.6"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-21 04:12:26 +00:00
|
|
|
checksum = "b6c71e40d7d2c34a5106301fb632274ca37242cd0c9d3e64dbece371a40a2d87"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"webpki",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wepoll-ffi"
|
|
|
|
version = "0.1.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d743fdedc5c64377b5fc2bc036b01c7fd642205a0d96356034ae3404d49eb7fb"
|
|
|
|
dependencies = [
|
|
|
|
"cc",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "which"
|
2022-09-18 19:30:38 +00:00
|
|
|
version = "4.3.0"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-09-18 19:30:38 +00:00
|
|
|
checksum = "1c831fbbee9e129a8cf93e7747a82da9d95ba8e16621cae60ec2cdc849bacb7b"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"either",
|
|
|
|
"libc",
|
2022-09-18 19:30:38 +00:00
|
|
|
"once_cell",
|
2022-07-16 21:49:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "widestring"
|
|
|
|
version = "0.5.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "17882f045410753661207383517a6f62ec3dbeb6a4ed2acce01f0728238d1983"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "winapi"
|
|
|
|
version = "0.3.9"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
|
|
|
|
dependencies = [
|
|
|
|
"winapi-i686-pc-windows-gnu",
|
|
|
|
"winapi-x86_64-pc-windows-gnu",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "winapi-i686-pc-windows-gnu"
|
|
|
|
version = "0.4.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "winapi-util"
|
|
|
|
version = "0.1.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178"
|
|
|
|
dependencies = [
|
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "winapi-x86_64-pc-windows-gnu"
|
|
|
|
version = "0.4.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "windows"
|
|
|
|
version = "0.34.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "45296b64204227616fdbf2614cefa4c236b98ee64dfaaaa435207ed99fe7829f"
|
|
|
|
dependencies = [
|
|
|
|
"windows_aarch64_msvc 0.34.0",
|
|
|
|
"windows_i686_gnu 0.34.0",
|
|
|
|
"windows_i686_msvc 0.34.0",
|
|
|
|
"windows_x86_64_gnu 0.34.0",
|
|
|
|
"windows_x86_64_msvc 0.34.0",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "windows-sys"
|
|
|
|
version = "0.36.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "ea04155a16a59f9eab786fe12a4a450e75cdb175f9e0d80da1e17db09f55b8d2"
|
|
|
|
dependencies = [
|
|
|
|
"windows_aarch64_msvc 0.36.1",
|
|
|
|
"windows_i686_gnu 0.36.1",
|
|
|
|
"windows_i686_msvc 0.36.1",
|
|
|
|
"windows_x86_64_gnu 0.36.1",
|
|
|
|
"windows_x86_64_msvc 0.36.1",
|
|
|
|
]
|
|
|
|
|
2022-10-20 05:05:36 +00:00
|
|
|
[[package]]
|
|
|
|
name = "windows-sys"
|
|
|
|
version = "0.42.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "5a3e1820f08b8513f676f7ab6c1f99ff312fb97b553d30ff4dd86f9f15728aa7"
|
|
|
|
dependencies = [
|
|
|
|
"windows_aarch64_gnullvm",
|
|
|
|
"windows_aarch64_msvc 0.42.0",
|
|
|
|
"windows_i686_gnu 0.42.0",
|
|
|
|
"windows_i686_msvc 0.42.0",
|
|
|
|
"windows_x86_64_gnu 0.42.0",
|
|
|
|
"windows_x86_64_gnullvm",
|
|
|
|
"windows_x86_64_msvc 0.42.0",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "windows_aarch64_gnullvm"
|
|
|
|
version = "0.42.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "41d2aa71f6f0cbe00ae5167d90ef3cfe66527d6f613ca78ac8024c3ccab9a19e"
|
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "windows_aarch64_msvc"
|
|
|
|
version = "0.34.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "17cffbe740121affb56fad0fc0e421804adf0ae00891205213b5cecd30db881d"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "windows_aarch64_msvc"
|
|
|
|
version = "0.36.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "9bb8c3fd39ade2d67e9874ac4f3db21f0d710bee00fe7cab16949ec184eeaa47"
|
|
|
|
|
2022-10-20 05:05:36 +00:00
|
|
|
[[package]]
|
|
|
|
name = "windows_aarch64_msvc"
|
|
|
|
version = "0.42.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "dd0f252f5a35cac83d6311b2e795981f5ee6e67eb1f9a7f64eb4500fbc4dcdb4"
|
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "windows_i686_gnu"
|
|
|
|
version = "0.34.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "2564fde759adb79129d9b4f54be42b32c89970c18ebf93124ca8870a498688ed"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "windows_i686_gnu"
|
|
|
|
version = "0.36.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "180e6ccf01daf4c426b846dfc66db1fc518f074baa793aa7d9b9aaeffad6a3b6"
|
|
|
|
|
2022-10-20 05:05:36 +00:00
|
|
|
[[package]]
|
|
|
|
name = "windows_i686_gnu"
|
|
|
|
version = "0.42.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "fbeae19f6716841636c28d695375df17562ca208b2b7d0dc47635a50ae6c5de7"
|
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "windows_i686_msvc"
|
|
|
|
version = "0.34.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "9cd9d32ba70453522332c14d38814bceeb747d80b3958676007acadd7e166956"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "windows_i686_msvc"
|
|
|
|
version = "0.36.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "e2e7917148b2812d1eeafaeb22a97e4813dfa60a3f8f78ebe204bcc88f12f024"
|
|
|
|
|
2022-10-20 05:05:36 +00:00
|
|
|
[[package]]
|
|
|
|
name = "windows_i686_msvc"
|
|
|
|
version = "0.42.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "84c12f65daa39dd2babe6e442988fc329d6243fdce47d7d2d155b8d874862246"
|
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "windows_x86_64_gnu"
|
|
|
|
version = "0.34.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "cfce6deae227ee8d356d19effc141a509cc503dfd1f850622ec4b0f84428e1f4"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "windows_x86_64_gnu"
|
|
|
|
version = "0.36.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "4dcd171b8776c41b97521e5da127a2d86ad280114807d0b2ab1e462bc764d9e1"
|
|
|
|
|
2022-10-20 05:05:36 +00:00
|
|
|
[[package]]
|
|
|
|
name = "windows_x86_64_gnu"
|
|
|
|
version = "0.42.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "bf7b1b21b5362cbc318f686150e5bcea75ecedc74dd157d874d754a2ca44b0ed"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "windows_x86_64_gnullvm"
|
|
|
|
version = "0.42.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "09d525d2ba30eeb3297665bd434a54297e4170c7f1a44cad4ef58095b4cd2028"
|
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "windows_x86_64_msvc"
|
|
|
|
version = "0.34.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d19538ccc21819d01deaf88d6a17eae6596a12e9aafdbb97916fb49896d89de9"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "windows_x86_64_msvc"
|
|
|
|
version = "0.36.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "c811ca4a8c853ef420abd8592ba53ddbbac90410fab6903b3e79972a631f7680"
|
|
|
|
|
2022-10-20 05:05:36 +00:00
|
|
|
[[package]]
|
|
|
|
name = "windows_x86_64_msvc"
|
|
|
|
version = "0.42.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "f40009d85759725a34da6d89a94e63d7bdc50a862acf0dbc7c8e488f1edcb6f5"
|
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "winreg"
|
|
|
|
version = "0.10.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "80d0f4e272c85def139476380b12f9ac60926689dd2e01d4923222f40580869d"
|
|
|
|
dependencies = [
|
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "ws_stream_wasm"
|
|
|
|
version = "0.7.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "47ca1ab42f5afed7fc332b22b6e932ca5414b209465412c8cdf0ad23bc0de645"
|
|
|
|
dependencies = [
|
|
|
|
"async_io_stream",
|
|
|
|
"futures",
|
|
|
|
"js-sys",
|
|
|
|
"pharos",
|
2023-01-05 03:52:41 +00:00
|
|
|
"rustc_version",
|
2022-07-16 21:49:35 +00:00
|
|
|
"send_wrapper",
|
|
|
|
"thiserror",
|
|
|
|
"wasm-bindgen",
|
|
|
|
"wasm-bindgen-futures",
|
|
|
|
"web-sys",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wyz"
|
2022-11-21 07:23:38 +00:00
|
|
|
version = "0.5.1"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-21 07:23:38 +00:00
|
|
|
checksum = "05f360fc0b24296329c78fda852a1e9ae82de9cf7b27dae4b7f62f118f77b9ed"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"tap",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "x25519-dalek"
|
|
|
|
version = "1.1.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "5a0c105152107e3b96f6a00a65e86ce82d9b125230e1c4302940eca58ff71f4f"
|
|
|
|
dependencies = [
|
|
|
|
"curve25519-dalek 3.2.0",
|
|
|
|
"rand_core 0.5.1",
|
|
|
|
"zeroize",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "yamux"
|
2022-08-16 07:44:32 +00:00
|
|
|
version = "0.10.2"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-08-16 07:44:32 +00:00
|
|
|
checksum = "e5d9ba232399af1783a58d8eb26f6b5006fbefe2dc9ef36bd283324792d03ea5"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"futures",
|
|
|
|
"log",
|
|
|
|
"nohash-hasher",
|
|
|
|
"parking_lot 0.12.1",
|
|
|
|
"rand 0.8.5",
|
|
|
|
"static_assertions",
|
|
|
|
]
|
|
|
|
|
2022-12-07 23:05:06 +00:00
|
|
|
[[package]]
|
|
|
|
name = "yansi"
|
|
|
|
version = "0.5.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "09041cd90cf85f7f8b2df60c646f853b7f535ce68f85244eb6731cf89fa498ec"
|
|
|
|
|
2022-11-11 05:34:40 +00:00
|
|
|
[[package]]
|
|
|
|
name = "zalloc"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
|
|
|
"zeroize",
|
|
|
|
]
|
|
|
|
|
2022-07-16 21:49:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "zeroize"
|
2022-07-22 16:36:30 +00:00
|
|
|
version = "1.5.7"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-07-22 16:36:30 +00:00
|
|
|
checksum = "c394b5bd0c6f669e7275d9c20aa90ae064cb22e75a1cad54e1b34088034b149f"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"zeroize_derive",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "zeroize_derive"
|
2022-12-07 22:56:53 +00:00
|
|
|
version = "1.3.3"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-07 22:56:53 +00:00
|
|
|
checksum = "44bf07cb3e50ea2003396695d58bf46bc9887a1f362260446fad6bc4e79bd36c"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
"synstructure",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "zip"
|
2022-10-20 05:05:36 +00:00
|
|
|
version = "0.6.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "537ce7411d25e54e8ae21a7ce0b15840e7bfcff15b51d697ec3266cc76bdf080"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
2022-12-07 23:05:06 +00:00
|
|
|
"aes 0.7.5",
|
2022-07-16 21:49:35 +00:00
|
|
|
"byteorder",
|
|
|
|
"bzip2",
|
2022-11-21 07:23:38 +00:00
|
|
|
"constant_time_eq 0.1.5",
|
2022-07-16 21:49:35 +00:00
|
|
|
"crc32fast",
|
|
|
|
"crossbeam-utils",
|
|
|
|
"flate2",
|
|
|
|
"hmac 0.12.1",
|
|
|
|
"pbkdf2 0.11.0",
|
|
|
|
"sha1",
|
2022-11-11 04:59:20 +00:00
|
|
|
"time 0.3.17",
|
2022-07-16 21:49:35 +00:00
|
|
|
"zstd",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "zstd"
|
|
|
|
version = "0.11.2+zstd.1.5.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "20cc960326ece64f010d2d2107537f26dc589a6573a316bd5b1dba685fa5fde4"
|
|
|
|
dependencies = [
|
|
|
|
"zstd-safe",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "zstd-safe"
|
|
|
|
version = "5.0.2+zstd.1.5.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "1d2a5585e04f9eea4b2a3d1eca508c4dee9592a89ef6f450c11719da0726f4db"
|
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
"zstd-sys",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "zstd-sys"
|
2022-12-07 22:56:53 +00:00
|
|
|
version = "2.0.4+zstd.1.5.2"
|
2022-07-16 21:49:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-07 22:56:53 +00:00
|
|
|
checksum = "4fa202f2ef00074143e219d15b62ffc317d17cc33909feac471c044087cad7b0"
|
2022-07-16 21:49:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"cc",
|
|
|
|
"libc",
|
|
|
|
]
|