input-output-hk / chain-libs

blockchain libs
Apache License 2.0
35 stars 26 forks source link

Allow Genesis block to start at epoch=N #5

Open vincenthz opened 5 years ago

vincenthz commented 5 years ago

Allow the system to start at a defined offset epoch=N instead of assuming epoch=0, which need to de-hardcode couple of place that expect to start at date=0.0

edolstra commented 5 years ago

Hm, what's the use case for starting at a non-zero epoch?

edolstra commented 5 years ago

I guess continuity with an existing chain might be one.

vincenthz commented 5 years ago

yes @edolstra, that's the reason