store

package
v0.0.0-...-531134c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 20, 2024 License: LGPL-3.0 Imports: 6 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL