Skip to content

Estimated Filecoin network penalties for miner faulted sector

License

Notifications You must be signed in to change notification settings

labs3/sector-penalty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sector_penalty

Estimated Filecoin network penalties for miner faulted sector

  • windowPoSt handleProvingDeadline penalty
  • sector InitialPledge calculate
  • sector terminate penalty
  • depositToBurn

usege:

you can replace lotus_api_endpoint and token in init.go

$ go run main.go windowPost         
Current network penalty for windowPoSt failure of 32GB sector: 0.003561825011436986 FIL = 3561825011436986 attoFIL

or: designated miner

$ go run main.go windowPost f0397332        
Current network penalty for windowPoSt failure of 32GB sector: 0.003561831381557233 FIL = 3561831381557233 attoFIL 
miner f0397332 fault sectors 232 , recoveries sectors 0 
miner f0397332 Estimated 24-hour windowPoSt penalty for failed sectors: 0.8263448805212781 FIL = 826344880521278056 attoFIL
$ go run main.go init-pledge
InitialPledge for 32 GiB:  0.17011580252903266
InitialPledge for 1 TiB:  5.443705680929045  
$ go run main.go sector terminate f01132416 16781
miner: f01132416 sector ID: 16781 , start height: 1451551  expiration height: 3000401,  ExpectedDayReward: 651360883065113 
penalty for terminating sector : 58320649085073059 attoFIL about 0.0583206491 FIL 

Alt

About

Estimated Filecoin network penalties for miner faulted sector

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages