Documentation ¶
Index ¶
- 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 FilterEstimate
- type PoStProof
- type SectorInfo
Constants ¶
This section is empty.
Variables ¶
View Source
var ActorStateLoaders = make(map[cid.Cid]ActorStateLoader)
View Source
var BurntFundsActorAddr = builtin0.BurntFundsActorAddr
View Source
var ReserveAddress = makeAddress("t090")
View Source
var RootVerifierAddress = makeAddress("t080")
View Source
var SystemActorAddr = builtin0.SystemActorAddr
Functions ¶
func ActorNameByCode ¶ added in v0.9.0
func ActorNameByCode(c cid.Cid) string
func IsAccountActor ¶ added in v0.9.0
func IsAccountActor(c cid.Cid) bool
func IsBuiltinActor ¶ added in v0.9.0
func IsBuiltinActor(c cid.Cid) bool
func IsMultisigActor ¶ added in v0.9.0
func IsMultisigActor(c cid.Cid) bool
func IsPaymentChannelActor ¶ added in v0.9.0
func IsPaymentChannelActor(c cid.Cid) bool
func IsStorageMinerActor ¶ added in v0.9.0
func IsStorageMinerActor(c cid.Cid) bool
func QAPowerForWeight ¶
func QAPowerForWeight(size abi.SectorSize, duration abi.ChainEpoch, dealWeight, verifiedWeight abi.DealWeight) abi.StoragePower
Doesn't change between actors v0 and v1
func RegisterActorState ¶ added in v0.9.0
func RegisterActorState(code cid.Cid, loader ActorStateLoader)
Types ¶
type ActorStateLoader ¶ added in v0.9.0
type FilterEstimate ¶
type FilterEstimate = smoothing0.FilterEstimate
func FromV0FilterEstimate ¶
func FromV0FilterEstimate(v0 smoothing0.FilterEstimate) FilterEstimate
func FromV2FilterEstimate ¶ added in v0.9.0
func FromV2FilterEstimate(v1 smoothing2.FilterEstimate) FilterEstimate
type SectorInfo ¶
type SectorInfo = proof0.SectorInfo
TODO: Why does actors have 2 different versions of this?
Click to show internal directories.
Click to hide internal directories.