github.com/XinFinOrg/xdcchain@v1.1.0/common/constants.go (about)

     1  package common
     2  
     3  import "math/big"
     4  
     5  const (
     6  	RewardMasterPercent        = 90
     7  	RewardVoterPercent         = 0
     8  	RewardFoundationPercent    = 10
     9  	HexSignMethod              = "e341eaa4"
    10  	HexSetSecret               = "34d38600"
    11  	HexSetOpening              = "e11f5ba2"
    12  	EpocBlockSecret            = 800
    13  	EpocBlockOpening           = 850
    14  	EpocBlockRandomize         = 900
    15  	MaxMasternodes             = 18
    16  	MaxMasternodesV2           = 108
    17  	LimitPenaltyEpoch          = 4
    18  	BlocksPerYear              = uint64(15768000)
    19  	LimitThresholdNonceInQueue = 10
    20  	DefaultMinGasPrice         = 2500
    21  	MergeSignRange             = 15
    22  	RangeReturnSigner          = 150
    23  	MinimunMinerBlockPerEpoch  = 1
    24  )
    25  
    26  var TIP2019Block = big.NewInt(1)
    27  var TIPSigning = big.NewInt(3000000)
    28  var TIPRandomize = big.NewInt(3464000)
    29  var TIPIncreaseMasternodes = big.NewInt(5000000) // Upgrade MN Count at Block.
    30  var IsTestnet bool = false
    31  var StoreRewardFolder string
    32  var RollbackHash Hash
    33  var MinGasPrice int64