Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChainConsensus ¶
type ChainConsensus struct { Height int64 `pg:",pk,notnull,use_zero"` ParentStateRoot string `pg:",pk,notnull"` ParentTipSet string `pg:",pk,notnull"` TipSet string }
func (ChainConsensus) Persist ¶
func (c ChainConsensus) Persist(ctx context.Context, s model.StorageBatch, version model.Version) error
type ChainConsensusList ¶
type ChainConsensusList []*ChainConsensus
func (ChainConsensusList) Persist ¶
func (c ChainConsensusList) Persist(ctx context.Context, s model.StorageBatch, version model.Version) error
type ChainEconomics ¶
type ChainEconomics struct { Height int64 `pg:",pk,notnull,use_zero"` ParentStateRoot string `pg:",notnull"` CirculatingFil string `pg:"type:numeric,notnull"` VestedFil string `pg:"type:numeric,notnull"` MinedFil string `pg:"type:numeric,notnull"` BurntFil string `pg:"type:numeric,notnull"` LockedFil string `pg:"type:numeric,notnull"` FilReserveDisbursed string `pg:"type:numeric,notnull"` // contains filtered or unexported fields }
func (*ChainEconomics) AsVersion ¶
func (c *ChainEconomics) AsVersion(version model.Version) (interface{}, bool)
func (*ChainEconomics) Persist ¶
func (c *ChainEconomics) Persist(ctx context.Context, s model.StorageBatch, version model.Version) error
type ChainEconomicsList ¶
type ChainEconomicsList []*ChainEconomics
func (ChainEconomicsList) Persist ¶
func (l ChainEconomicsList) Persist(ctx context.Context, s model.StorageBatch, version model.Version) error
type ChainEconomicsV0 ¶
Click to show internal directories.
Click to hide internal directories.