code: def on_block_received(self, block_id):
          
          _libexec('chain_controller_on_block_received', self.pointer,
                   ctypes.c_char_p(block_id.encode('utf-8')))
docs: This is exposed for unit tests, and should not be called directly.