rename pv64 module to snapshot

This commit is contained in:
Robert Habermeier 2016-06-13 20:00:00 +02:00
parent 6ec282fe98
commit 22a19819c6
3 changed files with 4 additions and 4 deletions

View File

@ -756,13 +756,13 @@ impl<V> BlockChainClient for Client<V> where V: Verifier {
}
fn take_snapshot(&self, root_dir: &Path) {
use pv64::{ManifestData, chunk_blocks, chunk_state};
use snapshot::{ManifestData, chunk_blocks, chunk_state};
let best_header_bytes = self.best_block_header();
let best_header = HeaderView::new(&best_header_bytes);
let state_root = best_header.state_root();
trace!(target: "pv64_snapshot", "Taking snapshot starting at block {}", best_header.number());
trace!(target: "snapshot", "Taking snapshot starting at block {}", best_header.number());
let mut path = root_dir.to_owned();
path.push("snapshot/");

View File

@ -111,7 +111,7 @@ pub mod pod_state;
pub mod engine;
pub mod migrations;
pub mod miner;
pub mod pv64;
pub mod snapshot;
mod blooms;
mod db;

View File

@ -14,7 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with Parity. If not, see <http://www.gnu.org/licenses/>.
//! Pv64 snapshot creation helpers.
//! Snapshot creation helpers.
// Try to have chunks be around 16MB (before compression)
const PREFERRED_CHUNK_SIZE: usize = 16 * 1024 * 1024;