Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsSingletonActor ¶
IsSingletonActor returns true if the actor is a singleton actor (i.e., cannot be constructed).
Types ¶
type LogLevel ¶
type LogLevel int
Specifies importance of message, LogLevel numbering is consistent with the uber-go/zap package.
const ( // DebugLevel logs are typically voluminous, and are usually disabled in // production. DEBUG LogLevel = iota - 1 // InfoLevel is the default logging priority. INFO // WarnLevel logs are more important than Info, but don't need individual // human review. WARN // ErrorLevel logs are high-priority. If an application is running smoothly, // it shouldn't generate any error-level logs. ERROR )
type VMActor ¶
type VMActor interface { // Exports returns a slice of methods exported by this actor, indexed by // method number. Skipped/deprecated method numbers will be nil. Exports() []interface{} // Code returns the code ID for this actor. Code() cid.Cid // State returns a new State object for this actor. This can be used to // decode the actor's state. State() cbor.Er }
VMActor is a concrete implementation of an actor, to be used by a Filecoin VM.
Click to show internal directories.
Click to hide internal directories.