verifreg

package
v0.21.1 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: Apache-2.0, MIT Imports: 17 Imported by: 0

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
}
View Source
var VerifregStateLoader = func(store adt.Store, act *types.Actor) (interface{}, error) {
	return verifreg.Load(store, act)
}

Functions

This section is empty.

Types

type ClaimExtractor added in v0.14.0

type ClaimExtractor struct{}

func (ClaimExtractor) Extract added in v0.14.0

type ClaimsChange added in v0.14.0

type ClaimsChange struct {
	Provider []byte
	ClaimID  []byte
	Current  *typegen.Deferred
	Previous *typegen.Deferred
	Change   tasks.ChangeType
}

type ClaimsChangeMap added in v0.14.0

type ClaimsChangeMap map[address.Address][]*ClaimsChange

type ClientExtractor

type ClientExtractor struct{}

func (ClientExtractor) Extract

type VerifiedRegistryExtractionContext

type VerifiedRegistryExtractionContext struct {
	PrevState, CurrState verifreg.State
	PrevTs, CurrTs       *types.TipSet

	Store                adt.Store
	PreviousStatePresent bool
}

func (*VerifiedRegistryExtractionContext) HasPreviousState

func (v *VerifiedRegistryExtractionContext) HasPreviousState() bool

type VerifiedRegistryExtractor

type VerifiedRegistryExtractor struct{}

func (VerifiedRegistryExtractor) Extract

type VerifierExtractor

type VerifierExtractor struct{}

func (VerifierExtractor) Extract

Jump to

Keyboard shortcuts

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