Function phron_finality::sync::handler::request_handler::block_to_response
source · pub fn block_to_response<J: Justification, B: Block<UnverifiedHeader = <<J as Justification>::Header as Header>::Unverified>>(
block: B
) -> Vec<ResponseItem<B, J>>
Expand description
Create a pseudo-response from a single block that assumes the recipent has the parent block. Useful for broadcasting self-created blocks.