pub trait Debug: Sized + Send + Sync + 'static {
    fn bad_blocks(&self) -> Result<Vec<Rich<Block>>>;

    fn to_delegate<M: Metadata>(self) -> IoDelegate<Self, M> { ... }
}
Expand description

Debug RPC interface.

Required methods

Returns recently seen bad blocks.

Provided methods

Create an IoDelegate, wiring rpc calls to the trait methods.

Implementors