Documentation ¶
Index ¶
- Constants
- func Finish()
- func FinishRun()
- func FinishStore()
- func Init(filepath string)
- func InitMeasure()
- func PauseOpCode()
- func ResetRun()
- func ResumeOpCode()
- func StartOpCode(code byte)
- func StartStore(code byte)
- func StopOpCode()
- func StopStore(size int)
- func StoreCodeString(storeCode byte) string
- type Code
Constants ¶
View Source
const ( // gno store StoreGetObject byte = 0x01 // get value and unmarshl to object from store StoreSetObject byte = 0x02 // marshal object and set value in store StoreDeleteObject byte = 0x03 // delete value from store StoreGetPackage byte = 0x04 // get package from store StoreSetPackage byte = 0x05 // get package from store StoreGetType byte = 0x06 // get type from store StoreSetType byte = 0x07 // set type in store StoreGetBlockNode byte = 0x08 // get block node from store StoreSetBlockNode byte = 0x09 // set block node in store StoreAddMemPackage byte = 0x0A // add mempackage to store StoreGetMemPackage byte = 0x0B // get mempackage from store StoreGetPackageRealm byte = 0x0C // add mempackage to store StoreSetPackageRealm byte = 0x0D // get mempackage from store AminoMarshal byte = 0x0E // marshal mem package and realm to binary AminoMarshalAny byte = 0x0F // marshal gno object to binary AminoUnmarshal byte = 0x10 // unmarshl binary to gno object, package and realm // underlying store StoreGet byte = 0x11 // Get binary value by key StoreSet byte = 0x12 // Set binary value by key FinalizeTx byte = 0x13 // finalize transaction )
store code
View Source
const OpsEnabled = false
View Source
const RecordSize int = 10
the byte size of a exported record
View Source
const StorageEnabled = false
Variables ¶
This section is empty.
Functions ¶
func FinishStore ¶
func FinishStore()
func InitMeasure ¶
func InitMeasure()
func StartOpCode ¶
func StartOpCode(code byte)
func StartStore ¶
func StartStore(code byte)
func StoreCodeString ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.