# Functions
CreateMessage creates a message given its kind.
CreateReplySlots creates a slice of no-operation repliers, to be substituted with actual repliers (by message listeners).
GetVMArguments reads initialization arguments from the pipe.
IsContractResponse returns whether a message is a contract response.
IsCriticalError returns whether the error is critical.
IsDiagnose returns whether a message is a diagnose request.
IsGasScheduleChangeResponse returns a message with gas schedule response.
IsHookCall returns whether a message is a hook call.
IsStopRequest returns whether a message is a stop request.
IsVersionResponse returns version response.
NewGasScheduleChangeResponse creates a message to respond.
NewMessageBlockchainCurrentEpochRequest creates a request message.
NewMessageBlockchainCurrentEpochResponse creates a response message.
NewMessageBlockchainCurrentNonceRequest creates a request message.
NewMessageBlockchainCurrentNonceResponse creates a response message.
NewMessageBlockchainCurrentRandomSeedRequest creates a request message.
NewMessageBlockchainCurrentRandomSeedResponse creates a response message.
NewMessageBlockchainCurrentRoundRequest creates a request message.
NewMessageBlockchainCurrentRoundResponse creates a response message.
NewMessageBlockchainCurrentTimeStampRequest creates a request message.
NewMessageBlockchainCurrentTimeStampResponse creates a response message.
NewMessageBlockchainGetAllStateRequest creates a request message.
NewMessageBlockchainGetAllStateResponse creates a response message.
NewMessageBlockchainGetBlockhashRequest creates a request message.
NewMessageBlockchainGetBlockhashResponse creates a response message.
NewMessageBlockchainGetBuiltinFunctionNamesRequest creates a request message.
NewMessageBlockchainGetBuiltinFunctionNamesResponse creates a response message.
NewMessageBlockchainGetCodeRequest creates a request message.
NewMessageBlockchainGetCodeResponse creates a response message.
NewMessageBlockchainGetCompiledCodeRequest creates a request message.
NewMessageBlockchainGetCompiledCodeResponse creates a response message.
NewMessageBlockchainGetESDTTokenRequest creates a request message.
NewMessageBlockchainGetESDTTokenResponse creates a response message.
NewMessageBlockchainGetShardOfAddressRequest creates a request message.
NewMessageBlockchainGetShardOfAddressResponse creates a response message.
NewMessageBlockchainGetStateRootHashRequest creates a request message.
NewMessageBlockchainGetStateRootHashResponse creates a response message.
NewMessageBlockchainGetStorageDataRequest creates a request message.
NewMessageBlockchainGetStorageDataResponse creates a response message.
NewMessageBlockchainGetUserAccountRequest creates a request message.
NewMessageBlockchainGetUserAccountResponse creates a response message.
NewMessageBlockchainIsPayableRequest creates a request message.
NewMessageBlockchainIsPayableResponse creates a response message.
NewMessageBlockchainIsSmartContractRequest creates a request message.
NewMessageBlockchainIsSmartContractResponse creates a response message.
NewMessageBlockchainLastEpochRequest creates a request message.
NewMessageBlockchainLastEpochResponse creates a response message.
NewMessageBlockchainLastNonceRequest creates a request message.
NewMessageBlockchainLastNonceResponse creates a response message.
NewMessageBlockchainLastRandomSeedRequest creates a request message.
NewMessageBlockchainLastRandomSeedResponse creates a response message.
NewMessageBlockchainLastRoundRequest creates a request message.
NewMessageBlockchainLastRoundResponse creates a response message.
NewMessageBlockchainLastTimeStampRequest creates a request message.
NewMessageBlockchainLastTimeStampResponse creates a response message.
NewMessageBlockchainNewAddressRequest creates a request message.
NewMessageBlockchainNewAddressResponse creates a response message.
NewMessageBlockchainProcessBuiltinFunctionRequest creates a request message.
NewMessageBlockchainProcessBuiltinFunctionResponse creates a response message.
NewMessageBlockchainSaveCompiledCodeRequest creates a request message.
NewMessageBlockchainSaveCompiledCodeResponse creates a response message.
NewMessageContractCallRequest creates a MessageContractCallRequest.
NewMessageContractDeployRequest creates a MessageContractDeployRequest.
NewMessageContractResponse creates a MessageContractResponse.
NewMessageDiagnoseWaitRequest creates a message.
NewMessageDiagnoseWaitResponse creates a message.
NewMessageGasScheduleChangeRequest creates a MessageGasScheduleChangeRequest.
NewMessageInitialize creates a new message.
NewMessageStop creates a new message.
NewMessageVersionRequest creates a MessageVersionRequest.
NewMessageVersionResponse creates a MessageVersionResponse.
NewMessenger creates a new messenger.
NewMessengerPipes creates a new messenger from pipes.
NewReceiver creates a new receiver.
NewSender creates a new sender.
No description provided by the author
No description provided by the author
No description provided by the author
NewUndefinedMessage creates an undefined message.
SendVMArguments sends initialization arguments through a pipe.
WrapCriticalError wraps an error.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
EnvVarVMPath is an environment variable.
ErrCodeCannotCreateFile signals a critical error.
ErrCodeInit signals a critical error.
ErrCodeSuccess signals success.
ErrCodeTerminated signals a critical error.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
ErrBadHookResponseFromNode signals a critical error.
ErrBadMessageFromVM signals a critical error.
ErrBadRequestFromNode signals a critical error.
ErrBadVMArguments signals a critical error.
ErrCannotReceiveHookCallResponse signals a critical error.
ErrCannotSendContractRequest signals a critical error.
ErrCannotSendHookCallRequest signals a critical error.
ErrCannotSendHookCallResponse signals a critical error.
ErrInvalidMessageNonce signals a critical error.
ErrStopPerNodeRequest signals a critical error.
ErrVMClosed signals a critical error.
ErrVMNotFound signals a critical error.
ErrVMTimeExpired signals a critical error.
# Structs
Account holds the account info (is a substructure of an IPC message).
CriticalError signals a critical error.
Message is the implementation of the abstraction.
MessageBlockchainCurrentEpochRequest represents a request message.
MessageBlockchainCurrentEpochResponse represents a response message.
MessageBlockchainCurrentNonceRequest represents a request message.
MessageBlockchainCurrentNonceResponse represents a response message.
MessageBlockchainCurrentRandomSeedRequest represents a request message.
MessageBlockchainCurrentRandomSeedResponse represents a response message.
MessageBlockchainCurrentRoundRequest represents a request message.
MessageBlockchainCurrentRoundResponse represents a response message.
MessageBlockchainCurrentTimeStampRequest represents a request message.
MessageBlockchainCurrentTimeStampResponse represents a response message.
MessageBlockchainGetAllStateRequest represents a request message.
MessageBlockchainGetAllStateResponse represents a response message.
MessageBlockchainGetBlockhashRequest represents a request message.
MessageBlockchainGetBlockhashResponse represents a response message.
MessageBlockchainGetBuiltinFunctionNamesRequest represents a request message.
MessageBlockchainGetBuiltinFunctionNamesResponse represents a response message.
NewMessageBlockchainGetCodeRequest represents a request message.
MessageBlockchainGetCodeResponse represents a response message.
MessageBlockchainGetCompiledCodeRequest represents a request message.
MessageBlockchainGetCompiledCodeResponse represents a response message.
MessageBlockchainGetESDTTokenRequest represents a request message.
MessageBlockchainGetESDTTokenResponse represents a response message.
MessageBlockchainGetShardOfAddressRequest represents a request message.
MessageBlockchainGetShardOfAddressResponse represents a response message.
MessageBlockchainGetStateRootHashRequest represents a request message.
MessageBlockchainGetStateRootHashResponse represents a response message.
MessageBlockchainGetStorageDataRequest represents a request message.
MessageBlockchainGetStorageDataResponse represents a response message.
MessageBlockchainGetUserAccountRequest represents a request message.
MessageBlockchainGetUserAccountResponse represents a response message.
MessageBlockchainIsPayableRequest represents a request message.
MessageBlockchainIsPayableResponse represents a response message.
MessageBlockchainIsSmartContractRequest represents a request message.
MessageBlockchainIsSmartContractResponse represents a response message.
MessageBlockchainLastEpochRequest represents a request message.
MessageBlockchainLastEpochResponse represents a response message.
MessageBlockchainLastNonceRequest represents a request message.
MessageBlockchainLastNonceResponse represents a response message.
MessageBlockchainLastRandomSeedRequest represents a request message.
MessageBlockchainLastRandomSeedResponse represents a response message.
MessageBlockchainLastRoundRequest represents a request message.
MessageBlockchainLastRoundResponse represents a response message.
MessageBlockchainLastTimeStampRequest represents a request message.
MessageBlockchainLastTimeStampResponse represents a response message.
MessageBlockchainNewAddressRequest represents a request message.
MessageBlockchainNewAddressResponse represents a response message.
MessageBlockchainProcessBuiltinFunctionRequest represents a request message.
MessageBlockchainProcessBuiltinFunctionResponse represents a response message.
MessageBlockchainSaveCompiledCodeRequest represents a request message.
MessageBlockchainSaveCompiledCodeResponse represents a response message.
MessageContractCallRequest is a call request message (from the Node).
MessageContractDeployRequest is a deploy request message (from the Node).
MessageContractResponse is a contract response message (from VM).
MessageDiagnoseWaitRequest is a diagnose request message (from Node).
MessageDiagnoseWaitResponse is a diagnose response message (from VM).
MessageGasScheduleChangeRequest is a deploy request message (from the Node).
MessageInitialize is a message sent by Node to initialize VM.
MessageStop is a message sent by Node to stop VM.
MessageVersionRequest is a version request message (from the Node).
MessageVersionResponse is a version response message (from VM).
Messenger intermediates communication (message exchange) via pipes.
Receiver intermediates communication (message receiving) via pipes.
Sender intermediates communication (message sending) via pipes.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
UndefinedMessage is an undefined message.
VMArguments represents the initialization arguments required by VM, passed through the initialization pipe.
# Interfaces
MessageHandler is a message abstraction.
# Type aliases
MessageKind is the kind of a message (that is passed between the Node and VM).
MessageReplier is a callback signature.