Files
stacks-puppet-node/blockstack/lib/storage/__init__.py
2016-06-09 03:18:42 -04:00

29 lines
1.1 KiB
Python

#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Blockstack
~~~~~
copyright: (c) 2014-2015 by Halfmoon Labs, Inc.
copyright: (c) 2016 by Blockstack.org
This file is part of Blockstack
Blockstack 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 3 of the License, or
(at your option) any later version.
Blockstack 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 Blockstack. If not, see <http://www.gnu.org/licenses/>.
"""
import auth
import crawl
from crawl import get_cached_zonefile, get_zonefile_from_storage, get_zonefile_from_peers, store_cached_zonefile, store_zonefile_to_storage
from auth import is_current_zonefile_hash, verify_zonefile, serialize_zonefile