threefoldtech / tfchain

Threefold Chain.
Apache License 2.0
15 stars 11 forks source link

POS: Document default era length #126

Closed robvanmieghem closed 2 years ago

DylanVerstraete commented 3 years ago

First we need to decide on a default Era duration for devnet and testnet

For example:

It looks like the epoch duration is always the amount of hours in one Era / 6

LeeSmet commented 3 years ago

Epoch and session duration are customizable, and an era is expressed as some configurable amount of sessions

DylanVerstraete commented 3 years ago

I suggest we use following values:

robvanmieghem commented 3 years ago

what are the defaults?

DylanVerstraete commented 3 years ago

what are the defaults?

There are no defaults

robvanmieghem commented 3 years ago

@DylanVerstraete we have specific session lengths now, no? So what are the era lengths now(--dev, devnet, testnet) ?

DylanVerstraete commented 3 years ago

See: https://github.com/threefoldtech/tfchain/commit/3cbba39345587a07a3b28df3d5d0fe03b9479e17 is how we configure these values