Virtual machine memory automatic expansion system and method based on block chain

The invention provides a virtual machine memory automatic expansion system and method based on a block chain, and the system comprises a compiler module which carries out the analysis of a WASM binarycode, and generates a memory assembly instruction; an execution engine module which is used for exec...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: DU MANXIANG
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention provides a virtual machine memory automatic expansion system and method based on a block chain, and the system comprises a compiler module which carries out the analysis of a WASM binarycode, and generates a memory assembly instruction; an execution engine module which is used for executing the generated memory assembly instruction; a memory module which is used for performing memory management on instantiation of the execution engine module and operation of the assembly instruction; a GAS module is used for preventing malicious attacks by consuming the GAS; and a blockchain andvirtual machine interaction module used for receiving input of external parameters to the execution engine module and transmitting an execution result of the execution engine module to the blockchain. According to the method, through automatic memory expansion, execution of any type of contract compiled by the complete language of the Turing does not need to consider memory limitation, and meanwhile, the memory allocation