Some final parameter setting for devent 7
This commit is contained in:
parent
28367c5ba1
commit
3b6c079014
@ -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() {
|
||||
|
@ -133,7 +133,7 @@ class Address extends React.Component {
|
||||
|
||||
let transfer = <span/>
|
||||
if(this.props.transfer) {
|
||||
transfer = <span> {this.props.transfer}FIL</span>
|
||||
transfer = <span> <Fil>{this.props.transfer}</Fil>FIL</span>
|
||||
}
|
||||
|
||||
let minerInfo = <span/>
|
||||
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user