von_anchor/anchor/issuer.py
async def _set_rev_reg(self, rr_id: str, rr_size: int) -> None:
        """
        Move precomputed revocation registry data from hopper into place within tails directory.

        :param rr_id: revocation registry identifier
        :param rr_size: revocation registry size, in case creation required
        """

        LOGGER.debug('Issuer._set_rev_reg >>> rr_id: %s, rr_size: %s', rr_id, rr_size)
        assert self._rrbx

        dir_hopper_rr_id = join(self._dir_tails_hopper, rr_id)

        while Tails.linked(dir_hopper_rr_id, rr_id) is None:
            await asyncio.sleep(1)
        await self._send_rev_reg_def(rr_id)

        cd_id = rev_reg_id2cred_def_id(rr_id)
        (next_tag, rr_size_suggested) = Tails.next_tag(self._dir_tails, cd_id)
        rr_id = rev_reg_id(cd_id, next_tag)
        try:
            makedirs(join(self._dir_tails_sentinel, rr_id), exist_ok=False)
        except FileExistsError:
            LOGGER.warning('Rev reg %s construction already in progress', rr_id)
        else:
            open(join(self._dir_tails_sentinel, rr_id, '.{}'.format(rr_size or rr_size_suggested)), 'w').close()

        LOGGER.debug('Issuer._set_rev_reg <<<')

        Move precomputed revocation registry data from hopper into place within tails directory.

        :param rr_id: revocation registry identifier
        :param rr_size: revocation registry size, in case creation required
        
Move precomputed revocation registry data from hopper into place within tails directory.
Move precomputed revocation registry data from hopper into place within tails directory .
async def _set_rev_reg(self, rr_id: str, rr_size: int) -> None:
        LOGGER.debug('Issuer._set_rev_reg >>> rr_id: %s, rr_size: %s', rr_id, rr_size)
        assert self._rrbx
        dir_hopper_rr_id = join(self._dir_tails_hopper, rr_id)
        while Tails.linked(dir_hopper_rr_id, rr_id) is None:
            await asyncio.sleep(1)
        await self._send_rev_reg_def(rr_id)
        cd_id = rev_reg_id2cred_def_id(rr_id)
        (next_tag, rr_size_suggested) = Tails.next_tag(self._dir_tails, cd_id)
        rr_id = rev_reg_id(cd_id, next_tag)
        try:
            makedirs(join(self._dir_tails_sentinel, rr_id), exist_ok=False)
        except FileExistsError:
            LOGGER.warning('Rev reg %s construction already in progress', rr_id)
        else:
            open(join(self._dir_tails_sentinel, rr_id, '.{}'.format(rr_size or rr_size_suggested)), 'w').close()
        LOGGER.debug('Issuer._set_rev_reg <<<')
async def _set_rev_reg ( self , rr_id : str , rr_size : int ) -> None : LOGGER . debug ( 'Issuer._set_rev_reg >>> rr_id: %s, rr_size: %s' , rr_id , rr_size ) assert self . _rrbx dir_hopper_rr_id = join ( self . _dir_tails_hopper , rr_id ) while Tails . linked ( dir_hopper_rr_id , rr_id ) is None : await asyncio . sleep ( 1 ) await self . _send_rev_reg_def ( rr_id ) cd_id = rev_reg_id2cred_def_id ( rr_id ) ( next_tag , rr_size_suggested ) = Tails . next_tag ( self . _dir_tails , cd_id ) rr_id = rev_reg_id ( cd_id , next_tag ) try : makedirs ( join ( self . _dir_tails_sentinel , rr_id ) , exist_ok = False ) except FileExistsError : LOGGER . warning ( 'Rev reg %s construction already in progress' , rr_id ) else : open ( join ( self . _dir_tails_sentinel , rr_id , '.{}' . format ( rr_size or rr_size_suggested ) ) , 'w' ) . close ( ) LOGGER . debug ( 'Issuer._set_rev_reg <<<' )
Move precomputed revocation registry data from hopper into place within tails directory.
Move precomputed revocation registry data from hopper into place within tails directory .
"""
        Move precomputed revocation registry data from hopper into place within tails directory.

        :param rr_id: revocation registry identifier
        :param rr_size: revocation registry size, in case creation required
        """
self
rr_id
str
revocation registry identifier
revocation registry identifier
rr_size
int
revocation registry size, in case creation required
revocation registry size in case creation required