mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-02 10:37:25 +00:00
a30092ab42
* Add markdown linting - add linter default rules - adapt rules to current code - fix the code for linting to pass - add CI check fix #1243 * Fix markdown for Substrate * Fix tooling install * Fix workflow * Add documentation * Remove trailing spaces * Update .github/.markdownlint.yaml Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fix mangled markdown/lists * Fix captalization issues on known words
755 B
755 B
Disputes Info
Get information about all disputes known by the chain as well as information about which validators the disputes
subsystem will accept disputes from. These disputes may be either live or concluded. The
DisputeState can be used to determine whether the dispute still accepts votes, as
well as which validators' votes may be included.
struct Dispute {
session: SessionIndex,
candidate: CandidateHash,
dispute_state: DisputeState,
local: bool,
}
struct SpamSlotsInfo {
max_spam_slots: u32,
session_spam_slots: Vec<(SessionIndex, Vec<u32>)>,
}
struct DisputesInfo {
disputes: Vec<Dispute>,
spam_slots: SpamSlotsInfo,
}
fn disputes_info() -> DisputesInfo;