交易状态

正常流程:DealUnknown->DealAccepted->DealStaged->DealSealing->DealComplete
异常流程:DealUnknown->DealRejected|DealNoUpdate|DealError

扇区状态

	    *   Empty
		|   |
		|   v
		*<- Packing <- incoming
		|   |
		|   v
		*<- Unsealed <--> SealFailed
		|   |
		|   v
		*   PreCommitting <--> PreCommitFailed
		|   |                  ^
		|   v                  |
		*<- WaitSeed ----------/
		|   |||
		|   vvv      v--> SealCommitFailed
		*<- Committing
		|   |        ^--> CommitFailed
		|   v             ^
		*<- CommitWait ---/
		|   |
		|   v
		*<- Proving
		|
		v
		FailedUnrecoverable

		UndefinedSectorState <- ¯\_(ツ)_/¯
		    |                     ^
		    *---------------------/

存储矿工日志

2020-03-20T00:19:25.024+0800	INFO	deals	impl/provider.go:263	Handling storage deal proposal!
2020-03-20T00:19:25.052+0800	INFO	deals	impl/provider.go:149	incoming deal
2020-03-20T00:19:25.052+0800	INFO	deals	impl/provider.go:170	Deal bafyreicdvucs4w45sr4skoxqf3fbq2fez4mtct4ggjpseysk4kqoutptki updated state to DealAccepted
2020-03-20T00:19:37.041+0800	INFO	provideradapter	storageadapter/provider.go:47	publishing deal
2020-03-20T00:19:49.613+0800	INFO	deals	impl/provider_states.go:96	fetching data for a deal 4
2020-03-20T00:19:49.926+0800	INFO	deals	impl/provider.go:170	Deal bafyreicdvucs4w45sr4skoxqf3fbq2fez4mtct4ggjpseysk4kqoutptki updated state to DealStaged
2020-03-20T00:19:49.927+0800	INFO	sectors	sealing/sealing.go:113	Seal piece for deal 4
2020-03-20T00:19:49.938+0800	INFO	sectors	sealing/sealing.go:124	Start sealing 2
2020-03-20T00:19:49.939+0800	WARN	provideradapter	storageadapter/provider.go:129	New Sector: 2 (deal 4)
2020-03-20T00:19:49.939+0800	INFO	deals	impl/provider.go:170	Deal bafyreicdvucs4w45sr4skoxqf3fbq2fez4mtct4ggjpseysk4kqoutptki updated state to DealSealing
2020-03-20T00:19:49.939+0800	INFO	deals	impl/provider.go:170	Deal bafyreicdvucs4w45sr4skoxqf3fbq2fez4mtct4ggjpseysk4kqoutptki updated state to DealComplete
2020-03-20T00:19:49.939+0800	INFO	sectors	sealing/states.go:17	performing filling up rest of the sector...	{"sector": 2}
2020-03-20T00:19:49.941+0800	INFO	sectors	sealing/states.go:62	performing sector replication...	{"sector": 2}
2020-03-20T00:19:49.996+0800	INFO	sectors	sealing/states.go:120	submitting precommit for sector: 2
2020-03-20T00:19:50.002+0800	INFO	sectors	sealing/states.go:131	Sector precommitted: 2
2020-03-20T00:20:01.056+0800	INFO	sectors	sealing/states.go:142	precommit message landed on chain: 2
2020-03-20T00:20:01.056+0800	INFO	sectors	sealing/states.go:145	precommit for sector 2 made it on chain, will start proof computation at height 912
2020-03-20T00:20:49.044+0800	INFO	sectors	sealing/states.go:175	scheduling seal proof computation...
2020-03-20T00:31:55.152+0800	WARN	sectors	sealing/states.go:243	finalize sector: prepare move sealed: no available storage: no suitable path for sector fond
2020-03-20T00:31:55.152+0800	INFO	sectors	sealing/fsm.go:161	Proving sector 2