Logo
Explore Help
Sign In
gaspersic/go-ethereum
1
0
Fork 0
You've already forked go-ethereum
Code Issues Pull Requests Projects Releases Wiki Activity
Files
03cc5df9b7ea7d9bf5569b5b4e320c7c7d0e0930
go-ethereum/vm/virtual_machine.go

9 lines
187 B
Go
Raw Normal View History

Moved ethvm => vm
2014-10-18 13:31:20 +02:00
package vm
Refactored VM to two separate VMs; std & debug Standard VM should be about 10x faster than the debug VM. Some error checking has been removed, all of the log statements and therefor quite some unnecessary if-statements.
2014-10-14 11:48:52 +02:00
type VirtualMachine interface {
Env() Environment
Changed context and ADDMOD, MULMOD * Cleaned up VM execution. VM run now takes a context * ADDMOD/MULMOD - removed incorrect cast
2015-03-13 13:44:15 +01:00
Run(context *Context, data []byte) ([]byte, error)
Tests for native function calling
2014-10-14 13:37:26 +02:00
Printf(string, ...interface{}) VirtualMachine
Endl() VirtualMachine
Refactored VM to two separate VMs; std & debug Standard VM should be about 10x faster than the debug VM. Some error checking has been removed, all of the log statements and therefor quite some unnecessary if-statements.
2014-10-14 11:48:52 +02:00
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.5 Page: 107ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API