Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultActors = register.DefaultActors
DefaultActors is a code loader with the built-in actors that come with the system.
Functions ¶
This section is empty.
Types ¶
type ActorCodeLoader ¶
type ActorCodeLoader = dispatch.CodeLoader
ActorCodeLoader allows yo to load an actor's code based on its id an epoch.
type ActorMethodSignature ¶
type ActorMethodSignature = dispatch.MethodSignature
ActorMethodSignature wraps a specific method and allows you to encode/decodes input/output bytes into concrete types.
type ChainRandomness ¶ added in v1.1.0
type ChainRandomness = vmcontext.HeadChainRandomness
type ExecCallBack ¶
type ExecCallBack = vmcontext.ExecCallBack
type FVM ¶
type FVM struct {
// contains filtered or unexported fields
}
func (*FVM) ApplyImplicitMessage ¶
func (*FVM) ApplyMessage ¶
type FakeSyscalls ¶
type FakeSyscalls = vmcontext.FakeSyscalls
type FvmExtern ¶
type FvmExtern struct { Rand blockstoreutil.Blockstore // contains filtered or unexported fields }
func (*FvmExtern) VerifyBlockSig ¶
func (*FvmExtern) VerifyConsensusFault ¶
func (x *FvmExtern) VerifyConsensusFault(ctx context.Context, a, b, extra []byte) (*ffi_cgo.ConsensusFault, int64)
VerifyConsensusFault is similar to the one in syscalls.go used by the LegacyVM, except it never errors Errors are logged and "no fault" is returned, which is functionally what go-actors does anyway
type Interpreter ¶
type Interpreter = vmcontext.VMInterpreter
Interpreter is the LegacyVM.
func NewLegacyVM ¶ added in v1.6.0
func NewLegacyVM(ctx context.Context, option VmOption) (Interpreter, error)
NewLegacyVM creates a new LegacyVM interpreter.
type LookbackStateGetter ¶ added in v1.1.2
type LookbackStateGetter = vmcontext.LookbackStateGetter
type Rand ¶
type Rand interface { GetChainRandomness(ctx context.Context, pers acrypto.DomainSeparationTag, round abi.ChainEpoch, entropy []byte) ([]byte, error) GetBeaconRandomness(ctx context.Context, pers acrypto.DomainSeparationTag, round abi.ChainEpoch, entropy []byte) ([]byte, error) }
type SyscallsImpl ¶
type SyscallsImpl = vmcontext.SyscallsImpl
type SyscallsStateView ¶
type SyscallsStateView = vmcontext.SyscallsStateView
Click to show internal directories.
Click to hide internal directories.