Documentation ¶
Index ¶
- Constants
- Variables
- func ActorNameByCode(c cid.Cid) string
- func IsAccountActor(c cid.Cid) bool
- func IsBuiltinActor(c cid.Cid) bool
- func IsMultisigActor(c cid.Cid) bool
- func IsPaymentChannelActor(c cid.Cid) bool
- func IsStorageMinerActor(c cid.Cid) bool
- func Load(store adt.Store, act *types.Actor) (cbor.Marshaler, error)
- func QAPowerForWeight(size abi.SectorSize, duration abi.ChainEpoch, ...) abi.StoragePower
- func RegisterActorState(code cid.Cid, loader ActorStateLoader)
- type ActorStateLoader
- type ExtendedSectorInfo
- type FilterEstimate
- func FromV0FilterEstimate(v0 smoothing0.FilterEstimate) FilterEstimate
- func FromV2FilterEstimate(v2 smoothing2.FilterEstimate) FilterEstimate
- func FromV3FilterEstimate(v3 smoothing3.FilterEstimate) FilterEstimate
- func FromV4FilterEstimate(v4 smoothing4.FilterEstimate) FilterEstimate
- func FromV5FilterEstimate(v5 smoothing5.FilterEstimate) FilterEstimate
- func FromV6FilterEstimate(v6 smoothing6.FilterEstimate) FilterEstimate
- func FromV7FilterEstimate(v7 smoothing7.FilterEstimate) FilterEstimate
- type PoStProof
- type SectorInfo
Constants ¶
View Source
const ( EpochDurationSeconds = builtin7.EpochDurationSeconds EpochsInDay = builtin7.EpochsInDay SecondsInDay = builtin7.SecondsInDay )
View Source
const ( MethodSend = builtin7.MethodSend MethodConstructor = builtin7.MethodConstructor )
Variables ¶
View Source
var ActorStateLoaders = make(map[cid.Cid]ActorStateLoader)
View Source
var BurntFundsActorAddr = builtin7.BurntFundsActorAddr
View Source
var CronActorAddr = builtin7.CronActorAddr
View Source
var (
ExpectedLeadersPerEpoch = builtin7.ExpectedLeadersPerEpoch
)
View Source
var ReserveAddress = makeAddress("t090")
View Source
var RootVerifierAddress = makeAddress("t080")
View Source
var SaftAddress = makeAddress("t0122")
View Source
var SystemActorAddr = builtin7.SystemActorAddr
Functions ¶
func ActorNameByCode ¶
func ActorNameByCode(c cid.Cid) string
func IsAccountActor ¶
func IsAccountActor(c cid.Cid) bool
func IsBuiltinActor ¶
func IsBuiltinActor(c cid.Cid) bool
func IsMultisigActor ¶
func IsMultisigActor(c cid.Cid) bool
func IsPaymentChannelActor ¶
func IsPaymentChannelActor(c cid.Cid) bool
func IsStorageMinerActor ¶
func IsStorageMinerActor(c cid.Cid) bool
func QAPowerForWeight ¶
func QAPowerForWeight(size abi.SectorSize, duration abi.ChainEpoch, dealWeight, verifiedWeight abi.DealWeight) abi.StoragePower
func RegisterActorState ¶
func RegisterActorState(code cid.Cid, loader ActorStateLoader)
Types ¶
type ActorStateLoader ¶
type ExtendedSectorInfo ¶
type ExtendedSectorInfo = proof7.ExtendedSectorInfo
type FilterEstimate ¶
type FilterEstimate = smoothing0.FilterEstimate
func FromV0FilterEstimate ¶
func FromV0FilterEstimate(v0 smoothing0.FilterEstimate) FilterEstimate
func FromV2FilterEstimate ¶
func FromV2FilterEstimate(v2 smoothing2.FilterEstimate) FilterEstimate
func FromV3FilterEstimate ¶
func FromV3FilterEstimate(v3 smoothing3.FilterEstimate) FilterEstimate
func FromV4FilterEstimate ¶
func FromV4FilterEstimate(v4 smoothing4.FilterEstimate) FilterEstimate
func FromV5FilterEstimate ¶
func FromV5FilterEstimate(v5 smoothing5.FilterEstimate) FilterEstimate
func FromV6FilterEstimate ¶
func FromV6FilterEstimate(v6 smoothing6.FilterEstimate) FilterEstimate
func FromV7FilterEstimate ¶
func FromV7FilterEstimate(v7 smoothing7.FilterEstimate) FilterEstimate
type SectorInfo ¶
type SectorInfo = proof7.SectorInfo
These are all just type aliases across actor versions. In the future, that might change and we might need to do something fancier.
Click to show internal directories.
Click to hide internal directories.