@api_request
@reply_type([ProtocolMessageTypes.respond_unfinished_block])
async def request_unfinished_block(self, request_unfinished_block: full_node_protocol.RequestUnfinishedBlock) -> Optional[Message]:
    unfinished_block: Optional[UnfinishedBlock] = self.full_node.full_node_store.get_unfinished_block(request_unfinished_block.unfinished_reward_hash)
    if (unfinished_block is not None):
        msg = make_msg(ProtocolMessageTypes.respond_unfinished_block, full_node_protocol.RespondUnfinishedBlock(unfinished_block))
        return msg
    return None
@api_request
@reply_type([ProtocolMessageTypes.respond_unfinished_block])
async def request_unfinished_block(self, request_unfinished_block: full_node_protocol.RequestUnfinishedBlock) -> Optional[Message]:
    unfinished_block: Optional[UnfinishedBlock] = self.full_node.full_node_store.get_unfinished_block(request_unfinished_block.unfinished_reward_hash)
    if (unfinished_block is not None):
        msg = make_msg(ProtocolMessageTypes.respond_unfinished_block, full_node_protocol.RespondUnfinishedBlock(unfinished_block))
        return msg
    return None