def cache_path(n, *paths):
    return os.path.join(get_datadir_path(cachedir, n), 'regtest', *paths)
def cache_path(n, *paths):
    return os.path.join(get_datadir_path(cachedir, n), 'regtest', *paths)