vm makeover

This commit is contained in:
Jae Kwon
2015-03-17 21:46:26 -07:00
parent f03547007a
commit c21369cebd
11 changed files with 607 additions and 684 deletions

18
vm/gas.go Normal file
View File

@ -0,0 +1,18 @@
package vm
const (
GasSha3 uint64 = 1
GasGetAccount uint64 = 1
GasStorageCreate uint64 = 1
GasStorageUpdate uint64 = 1
GasStackOp uint64 = 1
GasEcRecover uint64 = 1
GasSha256Word uint64 = 1
GasSha256Base uint64 = 1
GasRipemd160Word uint64 = 1
GasRipemd160Base uint64 = 1
GasIdentityWord uint64 = 1
GasIdentityBase uint64 = 1
)