# Path: btcrecover/addressset.py
# def bytes_to_int(bytes_rep):
#     def __init__(self, table_len, bytes_per_addr = 8, max_load = 0.75):
#     def __getstate__(self):
#     def __setstate__(self, state):
#     def  __len__(self):
#     def __contains__(self, address):
#     def add(self, address):
#     def _find(self, addr_to_find):
#     def __iter__(self):
#     def __reversed__(self):
#     def _remove_nonheader_attribs(attrs):
#     def _header(self):
#     def tofile(self, dbfile):
#     def fromfile(cls, dbfile, mmap_access = mmap.ACCESS_READ, preload = True):
#     def close(self, flush = True):
#     def __del__(self):
# def varint(data, offset):
# def create_address_db(dbfilename, blockdir, update = False, progress_bar = True):
# class AddressSet(object):
#     VERSION    = 1
#     MAGIC      = b"seedrecover address database\r\n"  # file magic
#     HEADER_LEN = 65536


from btcrecover import addressset
from os import path
import argparse, sys, atexit
        import argcomplete

# btcrecover is free software: you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version
# 2 of the License, or (at your option) any later version.
#
# btcrecover is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see http://www.gnu.org/licenses/

# If you find this program helpful, please consider a small
# donation to the developer at the following Bitcoin address:
#
#           3Au8ZodNHPei7MQiSVAWb7NB2yqsb48GW4
#
#                      Thank You!

from __future__ import print_function


if __name__ == "__main__":

    parser = argparse.ArgumentParser()
    parser.add_argument("--datadir",    metavar="DIRECTORY", help="the Bitcoin data directory (default: auto)")
    parser.add_argument("--update",     action="store_true", help="update an existing address database")
    parser.add_argument("--force",      action="store_true", help="overwrite any existing address database")
    parser.add_argument("--no-pause",   action="store_true", default=len(sys.argv)>1, help="never pause before exiting (default: auto)")

# Path: btcrecover/addressset.py
# def bytes_to_int(bytes_rep):
#     def __init__(self, table_len, bytes_per_addr = 8, max_load = 0.75):
#     def __getstate__(self):
#     def __setstate__(self, state):
#     def  __len__(self):
#     def __contains__(self, address):
#     def add(self, address):
#     def _find(self, addr_to_find):
#     def __iter__(self):
#     def __reversed__(self):
#     def _remove_nonheader_attribs(attrs):
#     def _header(self):
#     def tofile(self, dbfile):
#     def fromfile(cls, dbfile, mmap_access = mmap.ACCESS_READ, preload = True):
#     def close(self, flush = True):
#     def __del__(self):
# def varint(data, offset):
# def create_address_db(dbfilename, blockdir, update = False, progress_bar = True):
# class AddressSet(object):
#     VERSION    = 1
#     MAGIC      = b"seedrecover address database\r\n"  # file magic
#     HEADER_LEN = 65536


# Path: create-address-db.py
from btcrecover import addressset
from os import path
import argparse, sys, atexit
        import argcomplete

# btcrecover is free software: you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version
# 2 of the License, or (at your option) any later version.
#
# btcrecover is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see http://www.gnu.org/licenses/

# If you find this program helpful, please consider a small
# donation to the developer at the following Bitcoin address:
#
#           3Au8ZodNHPei7MQiSVAWb7NB2yqsb48GW4
#
#                      Thank You!

from __future__ import print_function


if __name__ == "__main__":

    parser = argparse.ArgumentParser()
    parser.add_argument("--datadir",    metavar="DIRECTORY", help="the Bitcoin data directory (default: auto)")
    parser.add_argument("--update",     action="store_true", help="update an existing address database")
    parser.add_argument("--force",      action="store_true", help="overwrite any existing address database")
    parser.add_argument("--no-pause",   action="store_true", default=len(sys.argv)>1, help="never pause before exiting (default: auto)")

    parser.add_argument("--no-progress",action="store_true", default=not sys.stdout.isatty(), help="disable the progress bar (shows cur. blockfile instead)")
