Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
StatApplied uint64
)
stat counters
Functions ¶
func NewDualExecutionFVM ¶ added in v1.8.0
Types ¶
type FVM ¶
type FVM struct {
// contains filtered or unexported fields
}
func NewDebugFVM ¶ added in v1.8.0
func (*FVM) ApplyImplicitMessage ¶
func (*FVM) ApplyMessage ¶
type FvmExecutionTrace ¶
type FvmExecutionTrace struct {
Msg *types.Message
MsgRct *types.MessageReceipt
Error string
GasCharges []FvmGasCharge `cborgen:"maxlen=1000000000"`
Subcalls []FvmExecutionTrace `cborgen:"maxlen=1000000000"`
}
This may eventually become identical to ExecutionTrace, but we can make incremental progress towards that
func (*FvmExecutionTrace) MarshalCBOR ¶
func (t *FvmExecutionTrace) MarshalCBOR(w io.Writer) error
func (*FvmExecutionTrace) ToExecutionTrace ¶
func (t *FvmExecutionTrace) ToExecutionTrace() types.ExecutionTrace
func (*FvmExecutionTrace) UnmarshalCBOR ¶
func (t *FvmExecutionTrace) UnmarshalCBOR(r io.Reader) (err error)
type FvmExtern ¶
type FvmExtern struct {
Rand
blockstoreutil.Blockstore
// contains filtered or unexported fields
}
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 FvmGasCharge ¶ added in v1.8.0
func (*FvmGasCharge) MarshalCBOR ¶ added in v1.8.0
func (t *FvmGasCharge) MarshalCBOR(w io.Writer) error
func (*FvmGasCharge) UnmarshalCBOR ¶ added in v1.8.0
func (t *FvmGasCharge) UnmarshalCBOR(r io.Reader) (err error)
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)
}
func NewWrapperRand ¶ added in v1.8.0
func NewWrapperRand(r vm.ChainRandomness) Rand
Click to show internal directories.
Click to hide internal directories.