feat: initialize Kurdistan SDK - independent fork of Polkadot SDK

This commit is contained in:
Kurdistan Tech Ministry committed 2025-12-13 15:44:15 +03:00
commit e4778b4576
6838 files changed
+1847450

No files matched your search

@@ -0,0 +1,27 @@
# 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`](../types/disputes.md#disputestate) can be used to determine whether the dispute still accepts votes, as
well as which validators' votes may be included.
```rust
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;
```