Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var VerifregClaimsMapLoader = func(m interface{}) (adt.Map, *adt.MapOpts, error) { verifregState := m.(verifreg.State) claimsMap, err := verifregState.ClaimsMap() if err != nil { return nil, nil, err } return claimsMap, &adt.MapOpts{ Bitwidth: verifregState.ClaimsMapBitWidth(), HashFunc: verifregState.ClaimsMapHashFunction(), }, nil }
Functions ¶
This section is empty.
Types ¶
type ClaimExtractor ¶ added in v0.14.0
type ClaimExtractor struct{}
func (ClaimExtractor) Extract ¶ added in v0.14.0
func (c ClaimExtractor) Extract(ctx context.Context, a actorstate.ActorInfo, node actorstate.ActorStateAPI) (model.Persistable, error)
type ClaimsChange ¶ added in v0.14.0
type ClaimsChangeMap ¶ added in v0.14.0
type ClaimsChangeMap map[address.Address][]*ClaimsChange
type ClientExtractor ¶
type ClientExtractor struct{}
func (ClientExtractor) Extract ¶
func (ClientExtractor) Extract(ctx context.Context, a actorstate.ActorInfo, node actorstate.ActorStateAPI) (model.Persistable, error)
type VerifiedRegistryExtractionContext ¶
type VerifiedRegistryExtractionContext struct {
PrevState, CurrState verifreg.State
PrevTs, CurrTs *types.TipSet
Store adt.Store
PreviousStatePresent bool
}
func NewVerifiedRegistryExtractorContext ¶
func NewVerifiedRegistryExtractorContext(ctx context.Context, a actorstate.ActorInfo, node actorstate.ActorStateAPI) (*VerifiedRegistryExtractionContext, error)
func (*VerifiedRegistryExtractionContext) HasPreviousState ¶
func (v *VerifiedRegistryExtractionContext) HasPreviousState() bool
type VerifiedRegistryExtractor ¶
type VerifiedRegistryExtractor struct{}
func (VerifiedRegistryExtractor) Extract ¶
func (VerifiedRegistryExtractor) Extract(ctx context.Context, a actorstate.ActorInfo, node actorstate.ActorStateAPI) (model.Persistable, error)
type VerifierExtractor ¶
type VerifierExtractor struct{}
func (VerifierExtractor) Extract ¶
func (VerifierExtractor) Extract(ctx context.Context, a actorstate.ActorInfo, node actorstate.ActorStateAPI) (model.Persistable, error)
Click to show internal directories.
Click to hide internal directories.