github.com/lino-network/lino@v0.6.11/x/reputation/repv2/const.go (about)

     1  package repv2
     2  
     3  const (
     4  	// Inherited from testnet, the unit of 1 reputation is one coin
     5  	// of testnet, which is 10^(-5) * 0.012 USD.
     6  	// Caller need to convert the amount of donation to the number of test coins.
     7  	DefaultRoundDurationSeconds = 25 * 3600 // how many seconds does a round last, default: 25 hours
     8  	DefaultSampleWindowSize     = 10        // how many rounds are used to sample out user's customer score.
     9  	DefaultDecayFactor          = 10        // reputation decay factor %.
    10  
    11  	// Initial and minimum score is 10^(-5), one coin.
    12  	DefaultInitialReputation = 1
    13  )