Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PeriodStore ¶
type PeriodStore struct {
// contains filtered or unexported fields
}
func NewPeriodStore ¶
func NewPeriodStore(db store.KeyValueReaderWriter) *PeriodStore
func (*PeriodStore) Period ¶
func (ns *PeriodStore) Period(domainID uint8) (*big.Int, error)
Period queries the blockstore and returns latest period for the requested domain
func (*PeriodStore) StorePeriod ¶
func (ns *PeriodStore) StorePeriod(domainID uint8, period *big.Int) error
StorePeriod stores latest committee update period per domain
Click to show internal directories.
Click to hide internal directories.