iota/crypto/addresses.py
def create_iterator(self, start=0, step=1):
        # type: (int, int) -> Generator[Address, None, None]
        """
        Creates an iterator that can be used to progressively generate new
        addresses.

        :param start:
            Starting index.

            Warning: This method may take awhile to reset if ``start``
            is a large number!

        :param step:
            Number of indexes to advance after each address.

            Warning: The generator may take awhile to advance between
            iterations if ``step`` is a large number!
        """
        key_iterator = (
            KeyGenerator(self.seed).create_iterator(
                start,
                step,
                self.security_level,
            )
        )

        while True:
            yield self._generate_address(key_iterator)
def create_iterator(self, start=0, step=1):
        # type: (int, int) -> Generator[Address, None, None]
        """
        Creates an iterator that can be used to progressively generate new
        addresses.

        :param start:
            Starting index.

            Warning: This method may take awhile to reset if ``start``
            is a large number!

        :param step:
            Number of indexes to advance after each address.

            Warning: The generator may take awhile to advance between
            iterations if ``step`` is a large number!
        """
        key_iterator = (
            KeyGenerator(self.seed).create_iterator(
                start,
                step,
                self.security_level,
            )
        )

        while True:
            yield self._generate_address(key_iterator)
Creates an iterator that can be used to progressively generate new
        addresses.

        :param start:
            Starting index.

            Warning: This method may take awhile to reset if ``start``
            is a large number!

        :param step:
            Number of indexes to advance after each address.

            Warning: The generator may take awhile to advance between
            iterations if ``step`` is a large number!