pchain-org / pchain

Pchain client-in-Go
https://plian.org
GNU General Public License v3.0
24 stars 12 forks source link

Switch Epoch issue, epoch_no_per_year in genesis may too large in the first year #21

Closed fanbsb closed 5 years ago

fanbsb commented 5 years ago

the epoch_no_per_year setting in genesis is 12 by default, we design 1 epoch duration is equal to 1 month roughly, however, if we launch the mainnet on March, that means there are only 9 epoch/month remaining in the first year, which break the design.

We should use some other year (Ex. Financial Year) instead of Calendar Year for the calculation

fanbsb commented 5 years ago

after double check, we have already use the epoch year (the entire year) instead of calendar year