lotus/build/params.go
Jakub Sztandera ef5e7674db Use incremental alg for rewards
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-09-27 00:33:38 +02:00

43 lines
883 B
Go

package build
// Core network constants
const UnixfsChunkSize uint64 = 1 << 20
const UnixfsLinksPerLevel = 1024
const SectorSize = 1024
// Blocks
const PaymentChannelClosingDelay = 6 * 60 * 2 // six hours
// Blocks
const DealVoucherSkewLimit = 10
// Blocks
const ForkLengthThreshold = 20
// Blocks
const RandomnessLookback = 20
// Blocks
const ProvingPeriodDuration = 10
const PoSTChallangeTime = 5
const PowerCollateralProportion = 20
const PerCapitaCollateralProportion = 5
const CollateralPrecision = 100
const TotalFilecoin = 2000000000
const MiningRewardTotal = 1400000000
var MiningRewardInitialAttoFilBytes = []byte{0x8, 0x54, 0xd4, 0x56, 0x70, 0x99, 0xb2, 0x4b, 0xaa}
const FilecoinPrecision = 1000000000000000000
// six years
const HalvingPeriodBlocks = 6 * 365 * 24 * 60 * 2
const AdjustmentPeriod = 7 * 24 * 60 * 2
// TODO: Move other important consts here