epochs

Abstract

This document specifies the internal x/epochs module of the BlockX Chain.

Often, when working with the Cosmos SDK, we would like to run certain pieces of code every so often.

The purpose of the epochs module is to allow other modules to maintain that they would like to be signaled once in a time period. So, another module can specify it wants to execute certain code once a week, starting at UTC-time = x. epochs creates a generalized epoch interface to other modules so they can be more easily signaled upon such events.