mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 23:21:02 +00:00
Update docs for BeforeBestBlockBy (#5849)
This commit is contained in:
@@ -68,7 +68,8 @@ impl<Block, B> VotingRule<Block, B> for () where
|
||||
}
|
||||
|
||||
/// A custom voting rule that guarantees that our vote is always behind the best
|
||||
/// block, in the best case exactly one block behind it.
|
||||
/// block by at least N blocks. In the best case our vote is exactly N blocks
|
||||
/// behind the best block.
|
||||
#[derive(Clone)]
|
||||
pub struct BeforeBestBlockBy<N>(N);
|
||||
impl<Block, B> VotingRule<Block, B> for BeforeBestBlockBy<NumberFor<Block>> where
|
||||
|
||||
Reference in New Issue
Block a user