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
go-ethereum/ethvm/virtual_machine.go

10 lines
189 B
Go
Raw Normal View History

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
package ethvm
type VirtualMachine interface {
Env() Environment
RunClosure(*Closure) ([]byte, error)
Depth() int
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.23.7 Page: 80ms Template: 8ms
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