Coder Social home page Coder Social logo

sector-penalty's Introduction

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

sector-penalty's People

Contributors

rickiey avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.