mirror of
https://github.com/serai-dex/serai.git
synced 2024-12-23 12:09:37 +00:00
98190b7b83
* initial staking pallet * add staking pallet to runtime * support session rotation for serai * optimizations & cleaning * fix deny * add serai network to initial networks * a few tweaks & comments * fix some pr comments * Rewrite validator-sets with logarithmic algorithms Uses the fact the underlying DB is sorted to achieve sorting of potential validators by stake. Removes release of deallocated stake for now. --------- Co-authored-by: Luke Parker <lukeparker5132@gmail.com>
91 lines
1.8 KiB
TOML
91 lines
1.8 KiB
TOML
[workspace]
|
|
resolver = "2"
|
|
members = [
|
|
"common/std-shims",
|
|
"common/zalloc",
|
|
"common/db",
|
|
"common/env",
|
|
|
|
"crypto/transcript",
|
|
|
|
"crypto/ff-group-tests",
|
|
"crypto/dalek-ff-group",
|
|
"crypto/ed448",
|
|
"crypto/ciphersuite",
|
|
|
|
"crypto/multiexp",
|
|
|
|
"crypto/schnorr",
|
|
"crypto/dleq",
|
|
"crypto/dkg",
|
|
"crypto/frost",
|
|
"crypto/schnorrkel",
|
|
|
|
"coins/bitcoin",
|
|
"coins/ethereum",
|
|
"coins/monero/generators",
|
|
"coins/monero",
|
|
|
|
"message-queue",
|
|
|
|
"processor/messages",
|
|
"processor",
|
|
|
|
"coordinator/tributary/tendermint",
|
|
"coordinator/tributary",
|
|
"coordinator",
|
|
|
|
"substrate/primitives",
|
|
|
|
"substrate/tokens/primitives",
|
|
"substrate/tokens/pallet",
|
|
|
|
"substrate/in-instructions/primitives",
|
|
"substrate/in-instructions/pallet",
|
|
|
|
"substrate/validator-sets/primitives",
|
|
"substrate/validator-sets/pallet",
|
|
|
|
"substrate/staking/pallet",
|
|
|
|
"substrate/runtime",
|
|
"substrate/node",
|
|
|
|
"substrate/client",
|
|
|
|
"mini",
|
|
|
|
"tests/no-std",
|
|
|
|
"tests/docker",
|
|
"tests/message-queue",
|
|
"tests/processor",
|
|
"tests/coordinator",
|
|
"tests/full-stack",
|
|
"tests/reproducible-runtime",
|
|
]
|
|
|
|
# Always compile Monero (and a variety of dependencies) with optimizations due
|
|
# to the extensive operations required for Bulletproofs
|
|
[profile.dev.package]
|
|
subtle = { opt-level = 3 }
|
|
curve25519-dalek = { opt-level = 3 }
|
|
|
|
ff = { opt-level = 3 }
|
|
group = { opt-level = 3 }
|
|
|
|
crypto-bigint = { opt-level = 3 }
|
|
dalek-ff-group = { opt-level = 3 }
|
|
minimal-ed448 = { opt-level = 3 }
|
|
|
|
multiexp = { opt-level = 3 }
|
|
|
|
monero-serai = { opt-level = 3 }
|
|
|
|
[profile.release]
|
|
panic = "unwind"
|
|
|
|
[patch.crates-io]
|
|
# subxt *can* pull these off crates.io yet there's no benefit to this
|
|
sp-core-hashing = { git = "https://github.com/serai-dex/substrate" }
|
|
sp-std = { git = "https://github.com/serai-dex/substrate" }
|