Open travisperson opened 2 years ago
Currently network blocktime is hard coded to 30 seconds, most networks operate on blocktime but it should still be a configurable option or discoverable instead of the hard coded value.
There is a PR (https://github.com/filecoin-project/lotus/pull/8546) that will expose blocktime from the API that can be used later.
This could be calculated by taking the genesis timestamp and a current head TipSet.
I forgot this is actually provided by the Filecoin.Version API.
Filecoin.Version
Currently network blocktime is hard coded to 30 seconds, most networks operate on blocktime but it should still be a configurable option or discoverable instead of the hard coded value.
There is a PR (https://github.com/filecoin-project/lotus/pull/8546) that will expose blocktime from the API that can be used later.
This could be calculated by taking the genesis timestamp and a current head TipSet.