Files
pezkuwi-subxt/substrate/client/consensus/slots/Cargo.toml
T
André Silva a9c21b8b84 babe: report equivocations (#6362)
* slots: create primitives crate for consensus slots

* offences: add method to check if an offence is unknown

* babe: initial equivocation reporting implementation

* babe: organize imports

* babe: working equivocation reporting

* babe: add slot number to equivocation proof

* session: move duplicate traits to session primitives

* babe: move equivocation stuff to its own file

* offences: fix test

* session: don't have primitives depend on frame_support

* babe: use opaque type for key owner proof

* babe: cleanup client equivocation reporting

* babe: cleanup equivocation code in pallet

* babe: allow sending signed equivocation reports

* node: fix compilation

* fix test compilation

* babe: return bool on check_equivocation_proof

* babe: add test for equivocation reporting

* babe: add more tests

* babe: add test for validate unsigned

* babe: take slot number in generate_key_ownership_proof API

* babe: add benchmark for equivocation proof checking

* session: add benchmark for membership proof checking

* offences: fix babe benchmark

* babe: add weights based on benchmark results

* babe: adjust weights after benchmarking on reference hardware

* babe: reorder checks in check_and_report_equivocation
2020-07-04 12:18:13 +02:00

35 lines
1.5 KiB
TOML

[package]
name = "sc-consensus-slots"
version = "0.8.0-rc4"
authors = ["Parity Technologies <admin@parity.io>"]
description = "Generic slots-based utilities for consensus"
edition = "2018"
build = "build.rs"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
homepage = "https://substrate.dev"
repository = "https://github.com/paritytech/substrate/"
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "1.3.1" }
sc-client-api = { version = "2.0.0-rc4", path = "../../api" }
sp-core = { version = "2.0.0-rc4", path = "../../../primitives/core" }
sp-application-crypto = { version = "2.0.0-rc4", path = "../../../primitives/application-crypto" }
sp-blockchain = { version = "2.0.0-rc4", path = "../../../primitives/blockchain" }
sp-consensus-slots = { version = "0.8.0-rc4", path = "../../../primitives/consensus/slots" }
sp-runtime = { version = "2.0.0-rc4", path = "../../../primitives/runtime" }
sp-state-machine = { version = "0.8.0-rc4", path = "../../../primitives/state-machine" }
sp-api = { version = "2.0.0-rc4", path = "../../../primitives/api" }
sc-telemetry = { version = "2.0.0-rc4", path = "../../telemetry" }
sp-consensus = { version = "0.8.0-rc4", path = "../../../primitives/consensus/common" }
sp-inherents = { version = "2.0.0-rc4", path = "../../../primitives/inherents" }
futures = "0.3.4"
futures-timer = "3.0.1"
parking_lot = "0.10.0"
log = "0.4.8"
[dev-dependencies]
substrate-test-runtime-client = { version = "2.0.0-rc4", path = "../../../test-utils/runtime/client" }