当前位置:网站首页>Lotus 1.16.0 minimum snapshot export import
Lotus 1.16.0 minimum snapshot export import
2022-07-30 16:35:00 【mixboot】
系列文章目录
lotus
lotus 1.16.0 Minimal snapshot export 导入
前言
lotus 1.16.0 最小快照
一、lotus
# lotus --version
lotus version 1.16.0+mainnet+git.01254ab32
二、导出最小快照
1.Export snapshots in the background
screen -S chia
lotus chain export --recent-stateroots=901 --skip-old-msgs my-snapshot.car
- The snapshot export is complete
68G Jul 29 12:26 my-snapshot.car
三、导入快照
- 参考
lotus daemon stop
mv ~/.lotus/datastore/chain ~/.lotus/datastore/chain_backup
mkdir ~/.lotus/datastore/chain
lotus daemon --import-snapshot my-snapshot.car --halt-after-import
lotus daemon
lotus sync status
lotus sync wait
- 运行
lotus daemon stop
# mv lotus/datastore/chain/ lotus/datastore/chain_backup
# mkdir lotus/datastore/chain
# du -sh lotus/datastore/*
- 导入快照
lotus daemon --import-snapshot my-snapshot.car --halt-after-import
四、运行 lotus
nohup lotus daemon > /seal/daemon.log 2>&1 &
五、导出快照时间
- Minimum snapshot export time
1h30m
# cat daemon.log | grep export
2022-07-29T10:54:35.818+0800 INFO chainstore store/snapshot.go:171 export started
2022-07-29T12:10:28.248+0800 INFO chainstore store/snapshot.go:103 export {
"height": "2024640"}
2022-07-29T12:13:22.675+0800 INFO chainstore store/snapshot.go:103 export {
"height": "2021760"}
......
2022-07-29T12:26:59.062+0800 INFO chainstore store/snapshot.go:103 export {
"height": "2880"}
2022-07-29T12:26:59.627+0800 INFO chainstore store/snapshot.go:103 export {
"height": "0"}
2022-07-29T12:26:59.722+0800 INFO chainstore store/snapshot.go:182 export finished {
"duration": 5543.90347304}
参考
边栏推荐
- 应用OPC解决方案实现控制系统数据的安全交换
- Leetcode 119. Yang Hui's Triangle II
- How to remove last character from string in php
- 配置Path环境变量
- C语言学习之旅 【函数(二)】
- Qt 容器控件之Tab Widget 使用详解
- Overview of TiDB Tool Functions
- arcpy tutorial
- Large-scale integrated office management system source code (OA+HR+CRM) source code sharing for free
- The service already exists!解决办法
猜你喜欢
3D激光SLAM:LeGO-LOAM论文解读---系统概述部分
Why is there no data reported when the application is connected to Huawei Analytics in the application debugging mode?
Large-scale integrated office management system source code (OA+HR+CRM) source code sharing for free
【AGC】质量服务2-性能管理示例
【AGC】Open Test Example
详解最实用的几种dll注入方式
第一次用debug查询,发现这个为空,是不是代表还没获得数据库的意思?求帮助。
DTSE Tech Talk丨第2期:1小时深度解读SaaS应用系统设计
基于STM32F407使用ADC采集电压实验
Scheduling_Channel_Access_Based_on_Target_Wake_Time_Mechanism_in_802.11ax_WLANs
随机推荐
[AGC] Quality Service 2 - Performance Management Example
【AGC】Open Test Example
如何在分面中添加数学表达式标签?
Visual Studio编辑器 2019:scanf函数返回值被忽略(C4996)报错及解决办法
函数调用方式_stdcall 、 _cdecl 、_thiscall
涨姿势了!原来这才是多线程正确实现方式
Scheduling_Channel_Access_Based_on_Target_Wake_Time_Mechanism_in_802.11ax_WLANs
测试管理与规范
大型综合办公管理系统源码(OA+HR+CRM)源码免费分享
云风:不加班、不炫技,把复杂的问题简单化
PCIE下载的驱动安装
数组和指针(2)
新人学习小熊派网络应用开发
配置Path环境变量
【HMS core】【FAQ】push kit, WisePlay DRM, Location Kit, Health Kit, 3D Modeling Kit, SignPal Kit Typical Questions Collection 4
第六章:决胜秋招
Jetpack Compose 到底优秀在哪里?| 开发者说·DTalk
MySql 和 PostgreSQL 数据库 根据一张表update另一张表数据
3D激光SLAM:LeGO-LOAM论文解读---特征提取部分
Large-scale integrated office management system source code (OA+HR+CRM) source code sharing for free