Some final parameter setting for devent 7

This commit is contained in:
Łukasz Magiera 2019-11-09 01:18:15 +01:00
parent 28367c5ba1
commit 3b6c079014
3 changed files with 9 additions and 9 deletions

View File

@ -46,16 +46,21 @@ const AllowableClockDrift = BlockDelay * 2
const ForkLengthThreshold = 100
// Blocks (e)
const BlocksPerEpoch = 3
const BlocksPerEpoch = 5
// Blocks
const Finality = 500
// constants for Weight calculation
// The ratio of weight contributed by short-term vs long-term factors in a given round
const WRatioNum = int64(1)
const WRatioDen = 2
// /////
// Proofs
// Blocks
const ProvingPeriodDuration = 300
const ProvingPeriodDuration = 160
// PoStChallangeTime sets the window in which post computation should happen
// Blocks
@ -103,11 +108,6 @@ const FilecoinPrecision = 1_000_000_000_000_000_000
// Blocks
const HalvingPeriodBlocks = 6 * 365 * 24 * 60 * 2
// constants for Weight calculation
// The ratio of weight contributed by short-term vs long-term factors in a given round
const WRatioNum = int64(1)
const WRatioDen = 2
// TODO: Move other important consts here
func init() {

View File

@ -133,7 +133,7 @@ class Address extends React.Component {
let transfer = <span/>
if(this.props.transfer) {
transfer = <span>&nbsp;{this.props.transfer}FIL</span>
transfer = <span>&nbsp;<Fil>{this.props.transfer}</Fil>FIL</span>
}
let minerInfo = <span/>

View File

@ -207,7 +207,7 @@ func (m *Miner) onSectorUpdated(ctx context.Context, update sectorUpdate) {
m.handle(ctx, sector, m.committing, api.Proving)
case api.SectorNoUpdate: // noop
default:
log.Error("unexpected sector update state: %d", update.newState)
log.Errorf("unexpected sector update state: %d", update.newState)
}
}