lotus storage 存储过程

lotus storage 存储过程

1,lotus storage 存储过程

		*   Empty
		|   |
		|   v
		*<- Packing(打包) <- incoming(载入)
		|   |
		|   v
		*<- Unsealed(解封) <--> SealFailed(封装失败)
		|   |
		|   v
		*   PreCommitting(预提交中) <--> PreCommitFailed(预提交失败)
		|   |                  ^
		|   v                  |
		*<- PreCommitted (预提交)------/
		|   |||
		|   vvv      v--> SealCommitFailed(密封提交失败)
		*<- Committing(提交中)
		|   |        ^--> CommitFailed(提交失败)
		|   v             ^
		*<- CommitWait(提交等待) ---/
		|   |
		|   v
		*<- Proving(证明中)
		|
		v
		FailedUnrecoverable(不可恢复的失败)

		UndefinedSectorState (未定义的扇区状态)<- ¯\_(ツ)_/¯
		    |                     ^
		    *---------------------/

参考:

  1. filecoin-project/lotus/storage/sectors.go
发布了630 篇原创文章 · 获赞 162 · 访问量 108万+

猜你喜欢

转载自blog.csdn.net/u010953692/article/details/103698002