diff --git a/build/params.go b/build/params.go index 39aadaaa1..75f49e74d 100644 --- a/build/params.go +++ b/build/params.go @@ -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() { diff --git a/lotuspond/front/src/Address.js b/lotuspond/front/src/Address.js index db6870e9a..1ac98d7f2 100644 --- a/lotuspond/front/src/Address.js +++ b/lotuspond/front/src/Address.js @@ -133,7 +133,7 @@ class Address extends React.Component { let transfer = if(this.props.transfer) { - transfer =  {this.props.transfer}FIL + transfer =  {this.props.transfer}FIL } let minerInfo = diff --git a/storage/sealing.go b/storage/sealing.go index bffb878b8..77ce1312c 100644 --- a/storage/sealing.go +++ b/storage/sealing.go @@ -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) } }