def _register_rpc_handlers(self) -> None:
    self.host.set_stream_handler(REQ_RESP_HELLO_SSZ, self._handle_hello)
    self.host.set_stream_handler(REQ_RESP_GOODBYE_SSZ, self._handle_goodbye)
    self.host.set_stream_handler(REQ_RESP_BEACON_BLOCKS_SSZ, self._handle_beacon_blocks)
    self.host.set_stream_handler(REQ_RESP_RECENT_BEACON_BLOCKS_SSZ, self._handle_recent_beacon_blocks)
def _register_rpc_handlers(self) -> None:
    self.host.set_stream_handler(REQ_RESP_HELLO_SSZ, self._handle_hello)
    self.host.set_stream_handler(REQ_RESP_GOODBYE_SSZ, self._handle_goodbye)
    self.host.set_stream_handler(REQ_RESP_BEACON_BLOCKS_SSZ, self._handle_beacon_blocks)
    self.host.set_stream_handler(REQ_RESP_RECENT_BEACON_BLOCKS_SSZ, self._handle_recent_beacon_blocks)